This is Global Menu for using in Vala Panel and xfce4-panel. 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 this files:
export GTK_MODULES=unity-gtk-module:$GTK_MODULES
- Add to .config/gtk-3.0/settings.ini file only:
gtk-shell-shows-app-menu=true
gtk-shell-shows-menubar=true
- Add to ~/.profile:
export UBUNTU_MENUPROXY=1
- For XFCE Only: open
xfce4-settings-editor
and add keys Gtk/ShellShowsMenubar and Gtk/ShellShowsAppmenu to xsettings hive of xfce4 settings.
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
Building unity-gtk-module from sources for distros other than Arch or Ubuntu
bzr branch lp:unity-gtk-module
git clone https://github.com/rilian-la-te/unity-gtk-module-packages.git
- Copy a patch from github package to unity-gtk-module branch
patch -p0 -i "unity-gtk-module-gsettings.patch"
../configure --prefix=/usr --sysconfdir=/etc --with-gtk=2 --enable-gtk-doc --disable-static && make && sudo make install && ../configure --prefix=/usr --sysconfdir=/etc --with-gtk=3 --enable-gtk-doc --disable-static && make && sudo make install
- Athor [email protected]
- Ikey Doherty [email protected] for sidebar widget and icontasklist