Registered Member
|
I recently switched my desktop from Gnome to KDE. In gnome-terminal, I was able to do this:
Since switching to KDE, however, the above command yields the following and then starts console VIM.
Is there some configuration setting somewhere I need to change to get this to work? |
Administrator
|
You could try to uncomment the line
in your sudoers file (using visudo). Alternatively you can try to used kdesu/kdesudo instead of sudo.
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
Registered Member
|
Adding HOME to env_keep did the trick. I should have the same problem on my Gnome boxes, though, right? The contents of my various sudoers files are all the same, so I'm not sure where the difference is.
|
Administrator
|
Yeah, I don't know if Gnome does anything special. If you still have Gnome installed you could try to comment out the line in sudoers again and see if it still works in Gnome.
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
Registered Member
|
I still have Gnome installed on my laptop. I've gone back and forth a few times now with that setting and haven't seen the same behavior. Oh well. It'll just have to be one of those things I research when there aren't more pressing concerns. Thanks for your help.
|
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]