As those of you who use Ubuntu with Unity will know, this distro comes with a very useful tool installed that allows us search des installed programs to files on our PC. This tool is known as HUD (Heads Up Display) and makes it much easier for us to find a file or application lost by our system.
In this article we want to teach you how we can install the Unity HUD on Ubuntu MAT, Linux Mint, Xubuntu, and ultimately any Ubuntu-based distro. We tell you.
Thanks to the i3-hud-menu developed by Rafael Bocquet, We can use the Unit HUD in virtually any desktop environment. So if you were looking for such a tool, maybe this is a good solution for you.
This tool developed by Bocquet, works with GTK2, GTK3 and applications that use QT4. However, the application has some bugs with QT5 such as LibreOffice. Moreover, this tool, despite its usefulness, has some limitations:
- Firefox or Thunderbid does not work
- It does not work with QT5 applications
- It does not work with LibreOffice.
- For it to work with Java applications that use the swing library, you will need to install JAvatana.
First of all, you need to install a couple of packages, which they basically are python3, python-dbus, tomorrow, appmenu-qt, unity-gtk-module, i wget. All you have to do is run:
sudo apt install python3 python-dbus dmenu appmenu-qt unity-gtk2-module unity-gtk3-module wget
Now we can proceed to download and install the application. To do this we run the following:
cd /tmp wget https://github.com/jamcnaughton/i3-hud-menu/archive/master.tar.gz tar -xvf master.tar.gz sudo mkdir -p /opt/i3-hud-menu sudo cp -r i3-hud-menu-master/* /opt/i3-hud-menu/
Basically, what we do is get the whole source code project from its Github repository, save it to / tmp /, unzip it and create a directory where we will copy the whole project.
Now, we need to open the ~ / file.profiles of our system. As you can see at the beginning with “.” this is a hidden file, so if you are going to open it graphically, you will need to press Ctrl + H to view it.
Once the file is open, add the following source code to the end of it:
export APPMENU_DISPLAY_BOTH=1 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
If that doesn’t work, you can try copying the same source code into the file ~ / .Bashrc.
Now, and as a last step, we just have to make the application run at the beginning of our session. To do this, we need to make the program that runs at startup is called i3-appmenu-service.py inside the directory ~/ Opt / i3-hud-menu /. If you are on Xubuntu, you can go to System configuration, Then in Session and Startup (Or its Spanish equivalent), then in Autostart application and finally click on Add and then fill in the information as follows:
- en first name we have to put «i3 menu service», or a name that helps us to identify the application.
- en Description we can write a little explanation about what the application does, although this field is not necessary.
- en Command we have to put the route of the program, which in our case is /opt/i3-hud-menu/i3-appmenu-service.py.
How to add startup applications depends on the distro we are using, but in general we will always have to follow the same “path”: Settings -> Startup Applications -> Add and finally fill in the fields as we just told you. to mention.
Now, the interesting thing would be to be able to open this application using a combination of keys, right?
So to do that, just go to the system settings, and click on the tab:
- keyboard in Xubuntu.
- Keyboard shortcuts and Ubuntu Mate.
- Add custom shortcut a Linux Mint.
Then we have to choose the key combination we want in my case (Alt + L), and we will see a window like the following:
In which we will have to write the path of the program to be run, which in our case is /opt/i3-hud-menu/i3-appmenu-service.py a Command (Or its translation in Spanish).
From now on, you will find it a little easier to find applications on your system. Until the next 😉
Original source: Wepupd