This is Global Menu for using in Vala Panel, xfce4-panel and mate-panel (Budgie 10.x also planned). unity-gtk-module is used as backend.
Dependencies:
All:
- GLib (>= 2.40.0)
- GTK+ (>= 3.12.0)
- valac (>= 0.24.0)
- libbamf (>=0.5.0)
- Create a .gtkrc in your home(~) directory
- Create a .config/gtk-3.0/settings.ini file in your home(~) directory
- Add to .config/gtk-3.0/settings.ini file in all distros:
gtk-shell-shows-app-menu=true
gtk-shell-shows-menubar=true
- Add to .gtkrc-2.0 file in Ubuntu-based:
gtk-shell-shows-app-menu=1
gtk-shell-shows-menubar=1
- For XFCE Only:
xfconf-query -c xsettings -p /Gtk/ShellShowsMenubar -n -t bool -s true
xfconf-query -c xsettings -p /Gtk/ShellShowsAppmenu -n -t bool -s true
- Add to .profile and .bashrc on Ubuntu:
if [ -n "$GTK_MODULES" ]; then
GTK_MODULES="${GTK_MODULES}:unity-gtk-module"
else
GTK_MODULES="unity-gtk-module"
fi
if [ -z "$UBUNTU_MENUPROXY" ]; then
UBUNTU_MENUPROXY=1
fi
export GTK_MODULES
export UBUNTU_MENUPROXY
Arch Linux
- Install from AUR unity-gtk-module-standalone-bzr for appmenu to work
- Install Appmenu to get appmenu for Qt4 Applications to work. Qt 5.7 must work out of the box.
- Install these libdbusmenu-glib libdbusmenu-gtk3 libdbusmenu-gtk2 to get Chromium/Google Chrome to work
For distros other than Arch or Ubuntu
- Build vala-panel-appmenu with
-DENABLE_UNITY_GTK_MODULE=ON
- Follow instructions into README
- Athor [email protected]
- Ikey Doherty [email protected] for sidebar widget and icontasklist