Read the full post at darknet.org.uk
Read the full post at darknet.org.uk
Even though the PPA is probably the most stable way of upgrading to the latest proprietary Nvidia drivers version in Ubuntu, it’s still considered in testing. That means issues may still occur (though I didn’t encounter any and I’ve been using it for some time), so you should only use this PPA if you have experience with recovering your system from a failed graphics driver upgrade.
1. Add the PPA.
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
2. Install (and activate) the latest Nvidia graphics drivers
After the driver is downloaded and installed, restart your system. That’s it!
apt-cache search nvidia
apt search nvidia
i3-hud-menu works with GTK2, GTK3 (but not client-side decorated apps) and Qt4 applications.
i3-hud-menu has quite a few issues / limitations but I decided to post an article about it anyway since some of you might still find it useful.
Also, I’m hoping someone reading this article might be able to fix or at least come up with some workarounds for some of the issues below. If you do, please let us know in the comments!
i3-hud-menu limitations / issues:
It appears that the LibreOffice and the Qt5 applications issue occur because “APPMENU_DISPLAY_BOTH=1” is not respected. Furthermore, using “UBUNTU_MENUPROXY=” (for example, using “UBUNTU_MENUPROXY= libreoffice –writer”) or blacklisting it via Dconf Editor (com > canonical > unity-gtk-module > blacklist) doesn’t get the LibreOffice menu to show up.
On Arch Linux (possibly in other Linux distributions as well), which requires the unity-gtk-module-standalone-bzr package, you need to run the following command (or change this via Dconf Editor: com > canonical > unity-gtk-module, set gtk2-shell-shows-menubar to “false”) and reboot to ensure that menus are displayed in GTK applications:
gsettings set com.canonical.unity-gtk-module gtk2-shell-shows-menubar false
sudo apt install python3 python-dbus dmenu appmenu-qt unity-gtk2-module unity-gtk3-module wget
2. Download and install i3-hud-menu
To download and install J.A. McNaughton’s i3-hud-menu fork from the command line, use the following commands:
tar -xvf master.tar.gz
sudo mkdir -p /opt/i3-hud-menu
sudo cp -r i3-hud-menu-master/* /opt/i3-hud-menu/
If you want to install it yourself, grab the code from GitHub (but note that the instructions below assume that you’ve installed i3-hud-menu in /opt/i3-hud-menu/)
3. Load the Unity gtk module
if [ -n "$GTK_MODULES" ]
if [ -z "$UBUNTU_MENUPROXY" ]
… and save the file.
If after completing all the steps below, i3-hud-menu doesn’t work, you can try to paste the lines above in ~/.bashrc instead of ~/.profile.
4. Add i3-appmenu-service.py to startup
The next step is to add i3-appmenu-service.py to the system startup. If you’ve installed i3-hud-menu using the commands above, this file should be located in /opt/i3-hud-menu/
Xubuntu: To add i3-appmenu-service.py to startup, launch Session and Startup from the menu / System Settings, and on the “Application Autostart” tab click “Add”, enter “i3 menu service” under “Name”, and “/opt/i3-hud-menu/i3-appmenu-service.py” (without the quotes) under “Command”:
Ubuntu MATE: launch Control Center and open Startup Applications, click “Add”, use “i3 menu service” under “Name”, and “/opt/i3-hud-menu/i3-appmenu-service.py” (without the quotes) under “Command”, and click “Add”:
Linux Mint (Cinnamon): launch Startup Applications from the menu, click Add > Custom Command, use “i3 menu service” under “Name”, and “/opt/i3-hud-menu/i3-appmenu-service.py” (without the quotes) under “Command”, and click “Add”:
5. Assign a keyboard shortcut to i3-hud-menu.py
The keyboard shortcut you assign to i3-hud-menu.py will be used to open i3-hud-menu and search through an application’s menu. Here’s how to configure it in some Ubuntu flavors and Linux Mint (Cinnamon).
Xubuntu: open “Keyboard” from the menu / System Settings, and on the “Application Shortcuts” tab, click “Add”. Use “/opt/i3-hud-menu/i3-hud-menu.py” (without the quotes; if you’ve installed i3-hud-menu to a different location, make sure you use the correct path) for the command, click “OK:
… and assign it a keyboard shortcut:
Ubuntu MATE: from Control Center open Keyboard Shortcuts, click “Add”, under “Name” enter “i3-hud-menu” (without the quotes), and use “/opt/i3-hud-menu/i3-hud-menu.py” (without the quotes; if you’ve installed i3-hud-menu to a different location, make sure you use the correct path) for “Command”:
Linux Mint (Cinnamon): launch Keyboard from the menu, click “Add custom shortcut”, enter “i3-hud-menu” (without the quotes) under “Name”, “/opt/i3-hud-menu/i3-hud-menu.py” (without the quotes; if you’ve installed i3-hud-menu to a different location, make sure you use the correct path) under “Command” and click “Add”:
… and assign it a keyboard shortcut.
via / further reference: