9

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…

Braiam
  • 69,112
Fabby
  • 35,017

1 Answers1

4

I found the answer after all:

If you're using X11 forwarding, don't forget to look at the ~/.config/ for the user actually running gedit! Not the ~/.config/ of the user that the application is displayed in!

In this particular case, deleting the ~/.config/gedit solved this particular problem as gedit 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")

  1. Use the toolbar for the most-often used commands.
  2. Use the Keyboard short-cuts: As the only menu-item I'm really missing from the toolbar is "File - Save As", I just press Alt+F and the menu seems to be coming out of the system menu when using this workaround. Then just press A for "As" and you get to the "Save As" dialog...

The same system can be used for Edit, View, Search, Tools, Documents and Help

Fabby
  • 35,017