Applications ran with elevated privileges don't have their menubar on the Unity panel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
New
|
Undecided
|
Unassigned |
Bug Description
Unity Version: unity 3.8.16
Ubuntu 11.04
Steps to reproduce:
1. Open a terminal
2. Open a program with elevated privileges (sudo), like "sudo firefox"
3. Observed result: The menubar is not on the Unity top panel, but instead inside the frame
This happens with all the programs I tried (xchat, gnome-terminal, gparted, etc.)
What I think happens is that sudo clobbers environment required for dbusmenu to work.
One of the suggested fixes is to "add dbus environment variables into sudo's whitelist" because "sudo strips away a lot of environment variables. Among them, the dbus-related things which prevent dbusmenu from working properly".
The attachment is what happens when I run "sudo gnome-terminal".