Monthly Archives: June 2016

How To Install The Latest Nvidia Drivers In Ubuntu Via PPA

Upgrading to the latest version of the proprietary Nvidia drivers in Ubuntu was pretty complicated a while back. You would either have to use the official Linux installer, which was not always reliable, at least for me, or use a bleeding edge PPA, like the Xorg Edgers PPA, which would upgrade multiple packages, most of which were unstable.

That’s no longer the case thanks to the Proprietary GPU Drivers PPA, which offers stable proprietary Nvidia graphics driver updates, without updating other libraries to unstable versions (some libraries may still be updated using this PPA, if they are needed by the drivers, but there’s nothing unstable in the PPA).

Despite its name, the PPA only provides proprietary Nvidia graphics drivers updates, with no support for AMD or Intel.

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.

I should also mention that the PPA provides packages for all supported Ubuntu versions (16.10, 16.04, 15.10, 14.04 and 12.04). At the time I’m writing this article, the PPA provides the latest long lived branch version (367.27) of the Nvidia graphics drivers for Ubuntu 16.10 and 16.04 and the latest short lived branch version (364.19) for Ubuntu 15.10, 14.04 and 12.04.
You can check the latest Nvidia Linux graphics drivers version by visiting THIS page.

Install the latest Nvidia graphics drivers in Ubuntu via PPA

1. Add the PPA.

Before proceeding, please read the PPA description!
To add the Proprietary GPU Drivers PPA in Ubuntu and update the software sources, use the following commands:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update

2. Install (and activate) the latest Nvidia graphics drivers

From System Settings or directly from the menu / Dash, open Software & Updates, click on the “Additional Drivers” tab, select the driver you want to use, and click “Apply changes”:

After the driver is downloaded and installed, restart your system. That’s it!

You can also install the latest drivers using Synaptic or from the command line. To see the available versions, you can use:
apt-cache search nvidia


apt search nvidia
And look for the packages called “nvidia-VERSION”, for instance “nvidia-367” for the latest 367.27 graphics drivers, and install it (“sudo apt install nvidia-VERSION”).

from Web Upd8 – Ubuntu / Linux blog

via Blogger

How To Get A Unity-Like HUD (Searchable Menu) In Xubuntu, Ubuntu MATE, Linux Mint, More

You’re probably familiar with the Unity HUD, or Head-Up Display, which lets you search through and application’s menu. Thanks to Rafael Bocquet’s i3-hud-menu (and J.A. McNaughton’s fork), you can use this menu search feature in pretty much any desktop environment (and in any Linux distribution in which you can install unity-gtk-module).

i3-hud-menu allows searching and navigating through an application’s menu using the keyboard, with the use of dmenu (dmenu doesn’t have mouse support by default). Here’s how it looks like in Xubuntu 16.04:

i3-menu-hud Xubuntu

And in Linux Mint 17.3 Cinnamon:

i3-menu-hud Linux Mint Cinnamon

i3-hud-menu works with GTK2, GTK3 (but not client-side decorated apps) and Qt4 applications.

The tool is buggy with Qt5 applications as well as LibreOffice – see the limitations / issues section below for more information.

Important: issues and limitations

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 doesn’t work with client-side decorated applications;
  • it doesn’t work with Firefox or Thunderbird;
  • it doesn’t work with Qt5 apps (make sure appmenu-qt5 and libdbusmenu-qt5 are not installed or else you won’t have a menu for Qt5 apps, such as VLC in Ubuntu 16.04 – if you do install those packages, you can use the menu via i3-hud-menu, but the actual menu won’t be visible in the application);
  • using it, LibreOffice no longer has a menu if the “libreoffice-gtk” package is installed – this package is used for GTK+ integration (though using i3-hud-menu, you can search the menu, but actually using the menu items doesn’t work for some reason);
  • to get i3-hud-menu to work with Java swing applications, you’ll need JAyatana;
  • probably more.

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

Install and configure i3-hud-menu

Important note: I included exact instructions for Xubuntu, Ubuntu MATE and Linux Mint Cinnamon edition, but this should work with any Ubuntu or Linux Mint flavor (14.04 and newer only). It may also work in other Linux distributions, as long as you can install unity-gtk-module and appmenu-qt.

1. Install the required dependencies: python3, python-dbus, dmenu, appmenu-qt and unity-gtk-module.
In Ubuntu (14.04 and newer), use the following command (will also install “wget”, required under step 2):
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:

cd /tmp
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

Open ~/.profile with a text editor (“.profile” is a hidden file in your home folder so use Ctrl + H to see hidden files in your gile manager), paste the following at the end of the file:
if [ -n "$GTK_MODULES" ]



… 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 to startup

The next step is to add 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 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/” (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/” (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/” (without the quotes) under “Command”, and click “Add”:

5. Assign a keyboard shortcut to

The keyboard shortcut you assign to 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/” (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:

You can even use “Alt”, like in Ubuntu (with Unity), but I don’t recommend it as you won’t be able to use other shortcuts that use Alt. You can use something like Alt + 1 or any other keyboard shortcut that’s not already in use.

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/” (without the quotes; if you’ve installed i3-hud-menu to a different location, make sure you use the correct path) for “Command”:

… and assign it a keyboard shortcut. Note that unlike Xubuntu, Ubuntu MATE doesn’t allow assigning Alt as a shortcut. You can use something like Alt + 1 or whatever other keyboard shortcut you want, but make sure it’s not already in use.

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/” (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.

6. And finally, restart the session (logout/login), focus an application and use the keyboard shortcut you set in step 5 to open i3-hud-menu.

via / further reference:

from Web Upd8 – Ubuntu / Linux blog

via Blogger

Tool To Customize Numix Theme Colors `Oomox` Sees New Release, Now Available In PPA

Oomox is a tool that allows creating different color variations of the popular Numix GTK2/GTK3 theme. It features built-in presets, so you can easily generate various themes without much effort, or you can use the tool to change the theme colors individually.

Oomox supports GTK3 and GTK2, and it includes Openbox and Xfwm4 themes. Unity is also supported, though changing the window buttons color is not yet supported. 

The required GTK version is 3.16 or newer – as far as Ubuntu is concerned, that means Oomox supports Ubuntu (and derivatives: Ubuntu GNOME, Xubuntu, Ubuntu MATE and Lubuntu) 15.10 and 16.04.
The latest Oomox 0.17.0, released recently, brings options for roundness and gradient, along with various other improvements. Also, to make it easier to install in Ubuntu, I uploaded it to the main WebUpd8 PPA (based on the AUR package).

Changes in Oomox 0.17.0:

  • new presets: gnome-colors monovedek-gray and superdesk;
  • implement roundness for gtk2;
  • make roundness configurable for GTK+ 3 themes;
  • make gradient configurable for GTK+ 3 themes;
  • make spacing configurable for GTK+ 3 themes;
  • added preview for roundness and gradient in the user interface;
  • creation of dark GTK+3 theme version is optional now;
  • gnome-colors shiki-noble-dark preset uses lighter buttons now;
  • don’t include dark variant for dark colorschemes;
  • fix export just after overriding default colorscheme;
  • fix export to unexisting dir;
  • multiple GTK 3.20 fixes;
  • more.

A complete changelog can be found on GitHub.

Here are the new monovedek-gray and superdesk presets in action:

Oomox Numix
superdesk preset in GNOME Shell (Ubuntu GNOME 16.04)

Oomox Numix
superdesk preset

Oomox Numix
monovedek-gray preset in Unity (Ubuntu 16.04)

Oomox Numix
monovedek-gray preset

Download / install Oomox

Ubuntu 16.04 and 15.10 / Linux Mint 18 users can install Oomox by using the main WebUpd8 PPA. To add the PPA and install Oomox, you can use the following commands:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install oomox

If you don’t want to add the PPA, you can download the deb from HERE.

To use Oomox, simply launch it from the menu / Dash, select the preset or change the colors individually, and click “Export theme”. Once the theme is exported, use an application such as GNOME Tweak Tool or Unity Tweak Tool to change the theme.
Oomox can also be used from the command line, as long as you know the name of the preset you want to build, by using “oomox-cli”, if you’ve used the PPA or the AUR package (use “./” if you’re running Oomox downloaded from GitHub). For example, to build the “gnome-colors/shiki-brave” preset, use:
oomox-cli ./colors/gnome-colors/shiki-brave
For the correct preset name / path, see the Oomox installation folder (/opt/oomox if you’ve used the PPA).

Arch Linux users can install Oomox via AUR.

For installing Oomox in other Linux distributions, see the instructions on GitHub.

from Web Upd8 – Ubuntu / Linux blog

via Blogger

qBittorrent 3.3.5 Released With New Torrent Management Mode, Other Improvements

qBittorrent 3.3.5 was released today and it includes new features, such as a torrent management mode, a new cookie management dialog, as well as other improvements and bug fixes.
qBittorrent is a BitTorrent client that aims to provide a free software alternative to μTorrent, available for Linux, Windows, Mac OS X and FreeBSD.
The application comes with an integrated search engine, web interface, sequential download support, bandwidth scheduler, advanced RSS support with download filters, torrent creation tool, IP filtering and other useful features.

The latest qBittorrent 3.3.5 ships with useful new feature: torrent management mode. If you set this mode to automatic and you change the category or save path, the torrent is relocated to the new category folder / new save path:

qbittorrent torrent management mode

Other changes in qBittorrent 3.3.5 include:

  • sort labels with natural sort algorithm in the right-click menu;
  • add option to automatically remove .torrent files upon adding;
  • display notifications when a torrent is added;
  • new cookies management dialog and various related fixes;
  • use unique temp directories;
  • add option to bind directly to an IP instead of using a network Interface;
  • add detailed tooltips on the progress and availability bars in the General button of each torrent;
  • let user able to specifiy a filter when choosing an IP filter file;
  • improve usability of “Run External Program”. Users can now write shell scripts;
  • WebUI:
    • implement setting/removing/showing categories;
    • add command to get the logs;
    • expose Add trackers feature;
  • Search:
    • implement search filters in the proxy model;
    • various UI cleanups and optimizations;
    • fix Torrentz, Mininova, LegitTorrents, PirateBay plugins;
  • various other improvements and bug fixes.

A complete changelog can be found HERE.

Download qBittorrent

Download qBittorrent (binaries available for Windows, Mac and multiple Linux distributions as well as source)
qBittorrent is available in the official Ubuntu repositories, but it’s an old version. Ubuntu 16.04 provides version 3.3.1, Ubuntu 15.10 has qBittorrent 3.2.3, while Ubuntu 16.04 (and thus, Linux Mint 17.x) still uses the old qBittorrent 3.1.8.

If you don’t care about using the latest version, you can install it from the repositories by searching for it in Ubuntu Software, Synaptic, or by using the following command:

sudo apt install qbittorrent

To install the latest qBittorrent 3.3.5 in Ubuntu 16.04, 15.10 or 14.04 / Linux Mint 18 or 17.x and derivatives, you can use the official qBittorrent PPA. Add the PPA and install the application using the following commands:
sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable
sudo apt update
sudo apt install qbittorrent

Report any bugs you may encounter @ GitHub.

from Web Upd8 – Ubuntu / Linux blog

via Blogger

How To Easily Create AppFolders In GNOME Shell Using GNOME AppFolders Manager Or GNOME Software

By default, the GNOME (Shell) overview displays applications in two views: “all”, where all the applications are listed in alphabetic order, and “frequent”, in which the frequently used applications are displayed.
GNOME Shell supports grouping applications in app folders, and there are two such predefined folders, “Utilities” and “Sundry”. Some might not know how to create custom app folders, so here are two ways of achieving this.

Create and edit GNOME Shell app folders with GNOME AppFolders Manager

GNOME Appfolders Manager

GNOME AppFolders Manager is a tool to create and edit app folders in GNOME Shell.
The application is fairly easy to use – in the left section, you can create, delete or edit app folders, while in the right section you can add (or remove) applications to app folders.
Once you’ve added the applications you want to an app folder, click the save button. That’s it! Here’s a custom GNOME application folder I created using GNOME AppFolders Manager:

GNOME Appfolders

To install GNOME AppFolders Manager in Ubuntu GNOME 16.04, 15.10 or 15.04 (the app requires GNOME 3.12+, while Ubuntu 14.04 uses GNOME 3.10), you can use the main WebUpd8 PPA. Add the PPA and install the app using the following commands:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install gnome-appfolders-manager

Arch Linux users can install GNOME AppFolders Manager via AUR.

For other Linux distributions, see the application installation page.

Report any bugs you may find @ GitHub.

Add applications to app folders using GNOME Software

Note that in my test, the instructions below did not work in Ubuntu 16.04 with GNOME 3.18 and GNOME Software 3.20 (no error was displayed, the appfolder simply wasn’t created). It didn’t work in Fedora 24 with GNOME 3.20 either, but it did work in Fedora 22 with GNOME 3.16.

Also, GNOME Software is not available in the official repositories for Ubuntu versions older than 16.04. So for Ubuntu and for GNOME versions in which this functionality is broken, use GNOME AppFolders Manager.

If you’re using GNOME Software, you can easily add applications to app folders and create new app folders. To do this, launch GNOME Software, switch to the “Installed” tab and click the select button (top right):

GNOME Appfolders

Then, select the applications you want to add to a folder and click “Add to Folder”:
GNOME Appfolders

And finally, simply select the app folder you want to add the applications to, or click “+” to add a new app folder, and click “Add”:

GNOME Appfolders

In the same way, you can also remove or move applications from app folders.

Here’s the result:

GNOME Appfolders

from Web Upd8 – Ubuntu / Linux blog

via Blogger