Skip to content
Provides a way to run menubar commands through dmenu
Branch: master
Clone or download
Pull request Compare This branch is 21 commits ahead, 2 commits behind RafaelBocquet:master.
jamcnaughton Advice for showing menubar
The 'export APPMENU_DISPLAY_BOTH=1' command can be useful so its mentioned in the README.
Latest commit e765155 May 16, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Added Licence May 15, 2017 Advice for showing menubar May 16, 2017 Make Generic May 13, 2017 Rofi/demnu switch May 14, 2017


Provides a way to run menubar commands through a searchable list.


  • python-dbus
  • rofi (or alternatively: dmenu)
  • appmenu-qt
  • unity-gtk-modules
    • Some systems may need unity-gtk-module-standalone-bzr installed instead.
      • If using the bzr packge you may need to set com.canonical.unity-gtk-module gtk2-shell-shows-menubar to false under dconf.


  1. should be started (with python 3+) on the session's startup.

  2. The following should be added to the user's .profile:

    if [ -n "$GTK_MODULES" ]
    if [ -z "$UBUNTU_MENUPROXY" ]

    You can also add export APPMENU_DISPLAY_BOTH=1 to this file on some distributions to show the menubar in apps that may otherwise hide it when the hud-menu-service is running.

  3. should be bound to run (with python 3+) with a shortcut (such as a keyboard shortcut).


The user should active the shortcut when the window they wish to show the application menu entries for has focus. This will open the dmenu at the top. The user can then use the keyboard to search and navigate the entries. Pressing enter will execute the selected entry and pressing escape will close the dmenu without executing anything.

Explanation is an implementation of the com.canonical.AppMenu.Registrar DBus service. Applications exporting their menu through dbusmenu need this service to run. tries to get the menu of the currently focused X11 window, lists possible actions and asks the user which one to run.

Using dmenu in place of rofi

If you wish to use dmenu in place of rofi ensure all calls to (shortcuts and bindings) supply dmeny as an argument.


Installation of unity-gtk-modules may disable the global-menu on some distributions as its constituent packages conflict with those the menus may depend on. This is very problematic for applications that can't support the hud-menu like FireFox and Libreoffice.

You can’t perform that action at this time.