PDA

View Full Version : Menu Bar missing on applications as super user



bart-burroughs-cox
September 1st, 2016, 05:33 PM
When opening an app like gedit as sudo the menu bar is not available so there is no way to do anything except save the file under the existing name or exit. any idea how to fix the issue? no menu bar appears for any application. Nautilus, Gedit etc.:(

mook765
September 1st, 2016, 11:45 PM
You should not use GUI-based applications with sudo. Use "gksudo" instead.
gksudo nautilus
gksudo gedit

bart-burroughs-cox
September 2nd, 2016, 04:52 PM
doesn't make a difference. Using gksudo to start the program does not provide the menu bar.

howefield
September 2nd, 2016, 05:09 PM
Are you using the Unity desktop and do you get menus as a normal user ?


echo $XDG_CURRENT_DESKTOP