There are many users who do not want to use Unity as an official desktop or simply can not use Ubuntu for their hardware but if they want to get the same features as in the official flavor, such as the Global Menu. in that small tutorial we teach you how to get Global Menu in Xubuntu 16.04, The official taste for teams with few resources.
In this case to get the same functionality as Global Menu we will do with TopMenu, An application that we find in the official repositories of Ubuntu (Xubuntu, Lubuntu, Ubuntu Gnome, etc …) and that will allow us to have Global Menu in Xubuntu.
We install TopMenu as follows, open a console and type the following:
sudo apt install xfce4-topmenu-plugin libtopmenu-client-gtk2-0 libtopmenu-server-gtk2-0 libtopmenu-client-gtk3-0 libtopmenu-server-gtk3-0 topmenu-gtk2 topmenu-gtk3
Once everything is installed, before rebooting the system we must create a text file that we will call «topmenu-gtk.sh»And that we will keep in /etc/profile.d. In the text file we will write the following:
#!/bin/sh export GTK_MODULES=$GTK_MODULES:topmenu-gtk-module
Well now we have everything ready, we just need to insert in the Xubuntu panel the item that refers to TopMenu, for the Xubuntu panel to work as if it had a Global Menu. So in this case we have to go to Panel-> Panel Preferences-> Items-> Add Items and select TopMenu.
After that the Global Menu will work but we need to keep two things in mind. The first of which TopMenu does not work with QT libraries so we won’t be able to make it work on Kubuntu. The second thing is that TopMenu has a bug that does that do not work on panels where they do not have a solid color, So you will need to use a panel with this look.
Now, once ready, we need to reboot the system to incorporate the new changes and you will see how the Global Menu we created works. The steps are simple and anyone can do it, so now there is no excuse to have Global Menu on Xubuntu 16.04.