Skip to content

rufkeya/vala-panel-appmenu

 
 

Repository files navigation


Vala Panel Application Menu

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)

Installation after building

  • 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

For distros other than Arch or Ubuntu

  • Build vala-panel-appmenu with -DENABLE_UNITY_GTK_MODULE=ON
  • Follow instructions into README

Author

Special thanks:

About

Global Menu for Vala Panel (and xfce4-panel and mate-panel)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vala 80.8%
  • CMake 13.4%
  • C 5.7%
  • CSS 0.1%