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…
I found the answer after all:
If you're using X11 forwarding, don't forget to look at the
~/.config/
for the user actually runninggedit
! Not the~/.config/
of the user that the application is displayed in!In this particular case, deleting the
~/.config/gedit
solved this particular problem asgedit
just recreates it afterwards. (dumb me: I should have renamed it and looked what the differences were, so I could have posted the perfect answer, but at the time, I was trying to solve another problem)Original answer:
Too bad no one found any answer, so I'll post my own work-arounds as a "solution"
(I know though they're not really "solutions"; they're just "work-arounds")
The same system can be used for Edit, View, Search, Tools, Documents and Help