I'm fairly excited for Unity, as it looks like a promising new direction for Ubuntu. However, I do have a concern - will it be possible to use Unity without the global menu?
I have my window manager set to focus-follows-mouse/sloppy focus, and find the productivity gains to be immense. Sloppy focus is incompatible, however, with global menus, as it is possible for the focus to change while you move from window to menu.
Will Unity support an option to use window menus while still using Unity?
11.04 - 13.10
Yes, the Desktop version of Unity will use the global menu by default.
Unity will continue to run without it and your menus will appear inside the application windows as normal. You can also tell the appmenu to ignore specific applications if you're having a problematic app.
The command line way to remove the package is:
Removing the appmenu will break the HUD feature
14.04
The Global Menu can be optionally switched in favour of Local Integrated Menus (LIM) - aka - more traditional window based menus.
The reason for this additional ability is ostensibly due to the increasing prevalence of high-resolution displays and as such the perceived mouse-travel from application to the global-menu would be relatively large.
To toggle the global menu off or on can be achieved via the appearance control-panel applet:
Once clicked, the application menus appear within the window decoration as shown here:
Command line.
The above can be achieved using the terminal command:
Integrated menus can be disabled (i.e. switch global menu back on)
If you dont like Locally Integrated Menus then the old trick of removing
indicator-appmenu
still works although this will break the HUDFor reference, here is how to disable the global menu on a per application basis: https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationMenu#Troubleshooting
11.04 - 13.10 - How to disable the global menu (appmenu / application menu)
For current user only, all applications
Add this to ~/.gnomerc and log out of the desktop and in again:
For current user only, only applications launched from the shell
Add this to ~/.bashrc and restart the shell:
For current user only, only for specific applications launched from the shell
Add lines like this to ~/.bashrc and restart the shell:
Based on https://askubuntu.com/a/132581/32651.
For current user only, only for specific application launchers
See https://askubuntu.com/a/6802/32651.
For all users, all applications (fix it in /etc)
Create config file with fix (note that the parentheses are part of the command):
After this, log out of the desktop and in again.
To remove the fix:
Based on http://www.webupd8.org/2011/03/disable-appmenu-global-menu-in-ubuntu.html.
For all users, all applications (uninstall packages)
Ubuntu 11.04 and 11.10:
Ubuntu 12.04:
After this, log out of the desktop and in again.
To undo, just install the packages again:
sudo apt-get install [...]
From http://www.webupd8.org/2011/03/disable-appmenu-global-menu-in-ubuntu.html.
Notes 1
Just doing
will still give problems with gvim and image viewers etc. since
UBUNTU_MENUPROXY
will still be set to'libappmenu.so'
by theappmenu-gtk
andappmenu-gtk3
packages.Notes 2
The default value is
UBUNTU_MENUPROXY='libappmenu.so'
. TheUBUNTU_MENUPROXY=
statement clears the variable. Note thatexport [...]
is not required when changing an already existing variable.See also
** (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
See https://askubuntu.com/a/6802/32651.
References
I have been successfully using unity with focus follows mouse and the global menu by only accessing the application menu via the f10 key shortcut. In many ways this is better than moving the mouse away from where ever you were focused on anyway.
11.10
To disable the menu, instead of removing the indicator-appmenu you could hide its shared library file:
and to reenable, undo it:
source
18.04
Maybe there is an more-obvious way that i missed, but this somehow did the trick:
Go to "Top Bar"
11.10
I successfully disabled the global application menu by following the advice from http://www.addictivetips.com/ubuntu-linux-tips/how-to-disable-global-menu-in-ubuntu-11-10-tip/.
I deinstalled the packages appmenu-gtk3, appmenu-gtk and appmenu-qt by running:
Apparently, you can get the functionality back by reinstalling the packages.