Given:
I'm using export $(dbus-launch)
in my /etc/bash.bashrc
file as I'm normally running under a non-admin user and need to su - admin
to do anything dangerous.
Normal behaviour: Go to dash, open gedit. The top menu is visible.
Abnormal behaviour
Go to terminal, type: gedit
. Then the top menu is invisible. (Problem persists even when sending to bg)
Additional info:
I noticed when I do a gksudo gedit
, that the menu appears below the menu bar of the window instead of the top menu…
More additional info:
I just found the culprit: X11-forwarding. The "abnormal" behaviour stops when I remove export $(dbus-launch)
from my bash.bashrc
file.
Does anyone have a clue how to bring abnormal back to normal? (keeping x11-forwarding?) I've looked everywhere, but except for a bug on the preferences not showing, I found no solutions to this problem…
gtk-launch gedit
orgtk-launch gedit /path/to/a/file
. This uses the .desktop to launchx11-forwarding
covers the fact that you're using a terminal. If you feel it doesn't, consider command-line.alias gedit='gtk-launch gedit'