How to disable the Global Menu / Application Menu / AppMenu
Original discussion was found on: http://www.tinyguru.com/ubuntu/qid10481.html.
For a single user only, all applications
-
According to original: Add this to ~/.gnomerc and log out of the desktop and in again:
STARTUP="env UBUNTU_MENUPROXY= $STARTUP"
STARTUP="env -u UBUNTU_MENUPROXY $STARTUP"
For a single user only, only applications launched from the shell
-
Add this to ~/.bashrc and restart the shell:
UBUNTU_MENUPROXY=
For a single user only, only for specific applications launched from the shell
-
Add lines like this to ~/.bashrc and restart the shell:
alias gvim='UBUNTU_MENUPROXY= gvim'
For a single user only, only for specific application launchers
For all users, all applications with a fix in /etc
-
Create config file with fix (note that the parentheses are part of the command):
(umask 022; echo UBUNTU_MENUPROXY= | sudo tee /etc/X11/Xsession.d/81ubuntumenuproxy)
After this, log out of the desktop and in again.
sudo rm /etc/X11/Xsession.d/81ubuntumenuproxy
For all users, all applications fix by uninstalling packages
-
Ubuntu 11.04 and 11.10:
sudo apt-get remove appmenu-gtk indicator-applet-appmenu indicator-appmenu
sudo apt-get remove appmenu-gtk appmenu-gtk3 appmenu-qt indicator-appmenu
Notes 1
-
Just doing
sudo apt-get remove indicator-appmenu
Notes 2
- The default value is UBUNTU_MENUPROXY='libappmenu.so'. The UBUNTU_MENUPROXY= statement clears the variable. Note that export [...] is not required when changing an already existing variable.
See also
- Gvim might spit out this warning 25 seconds after being started:
** (gvim:20320): WARNING **: Unable to create Ubuntu Menu Proxy: Timeout was reached
To fix this, either disable global menu, at least for gvim, or fix gvim.
To fix this, disable the global menu properly, at least for those applications.
APPMENU_DISPLAY_BOTH=1

