While configuring a Lubuntu 14.04.5 live version, I need to open a lightweight editor in a robust way, to do so I need to get ride of the menu bar, so the file to be edited can only be saved by pressing a hotkey. In the preferences, the other bars can get hidden, but not this one. I've also explored openbox, with no results.

  • Can't help with your actual problem but a somewhat related question was asked way back in 2011: lists.geany.org/pipermail/users/2011-October/007443.html and following posts. I'll just point out that openbox won't be expected to control whether or not the menu bar is visible. Openbox, in this context, is limited to the window decoration and the menu which appears at the top left of a window on pressing alt+spacebar. – DK Bose Oct 18 '16 at 2:31
  • You're right, @DKBose. If not to hide it, may be a way to block the options would be possible... – nightcod3r Oct 18 '16 at 8:33

There seems to be at least two options: one is to recompile Geany's sources after including a line like gtk_widget_hide(menu_bar);, where menu_bar would be the widget for the menu bar (you'll have to find out, don't know the exact name) -contribution by Pedro Cirne-; and the other is to install topmenu in Lubuntu 16.04 like this:

sudo apt-get update
sudo apt-get install topmenu-gtk-common

and then follow these instructions.

This will take Geany's menu bar to the global menu bar, which (in my case) is also hidden, so no more menu bars to play with.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.