README.md
1---
2Application Menu GTK+ Module
3---
4
5This is renamed port of [Launchpad repository](https://launchpad.net/unity-gtk-module) of Unity GTK+ Module.
6
7Unity GTK+ Module is small GTK Module than strips menus from all GTK programs, converts to MenuModel and send to AppMenu.
8Ubuntu users now does not need to install this.
9
10**REQUIRED DEPENDENCES**
11
12*All:*
13 * GLib (>= 2.50.0)
14 * GTK+ (>= 3.22.0)
15
16*GTK2 Support*
17 * GTK+ (>= 2.24.0)
18
19*Demos*
20 * valac (>= 0.24.0)
21
22---
23Usage Instructions
24---
25**XFCE**
26- Type following into your console:
27`xfconf-query -c xsettings -p /Gtk/Modules -n -t string -s "appmenu-gtk-module"`
28
29**BUDGIE***
30- Type following into your console:
31`gsettings set org.gnome.settings-daemon.plugins.xsettings enabled-gtk-modules "['appmenu-gtk-module']"`
32
33**OTHER**
34- Create file .gtkrc-2.0 into your home directory, if it do not exists already
35 - Add to this file `gtk-modules="appmenu-gtk-module"`
36- Create file .config/gtk-3.0/settings.ini into your home directory, if it do not exists already
37Add to this file:
38 - If it is just created, `[Settings]`
39 - And then ``gtk-modules="appmenu-gtk-module"``
40
41**IF ABOVE DOES NOT WORK**
42* Add to .profile or .bashrc:
43
44```sh
45if [ -n "$GTK_MODULES" ]; then
46 GTK_MODULES="${GTK_MODULES}:appmenu-gtk-module"
47else
48 GTK_MODULES="appmenu-gtk-module"
49fi
50
51if [ -z "$UBUNTU_MENUPROXY" ]; then
52 UBUNTU_MENUPROXY=1
53fi
54
55export GTK_MODULES
56export UBUNTU_MENUPROXY
57```
58
59**IF NONE OF THESE ARE WORKING**
60* Add above snippet to any place where environment variables should set.
61
62**YOU SHOULD RELOGIN AFTER INSTALLING THIS MODULE FIRST TIME**
63
64
65