qBittorrent

qBittorrent 4.1.2, free and reliable p2p bittorrent client, was released a few days ago with some new features, various bug-fixes and other improvements.

qBittorrent 4.1.2 release highlights:

  • New options for “inhibit sleep”
  • Add option for regexps in the transferlist search filter’s context menu
  • Add async io threads option to AdvancedSettings
  • Allow save resume interval to be disabled
  • Add checkbox for recursive download dialog
  • Add changelog link in program updater
  • Implement “Sequential downloading” feature.
  • Various bug-fixes, WebUI improvements, and more.

How to Install qBittorrent 4.1.2 in Ubuntu:

The official qBittorrent PPA maintains qBittorrent binary packages for Ubuntu 16.04, Ubuntu 18.04, and derivatives (though the new 4.1.2 release is not ready at the moment of writing).

1. To add the PPA, open terminal either via Ctrl+Alt+T or searching “Terminal” from app launcher. When it opens, run:

sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable

Type in your password (no visual feedback while typing due to security reason) when it prompts and hit Enter to continue.

2. To upgrade from a previous release, launch Software Updater and you’ll see qBittorrent available for upgrade after checking for updates.

upgrade qBittorrent

Or run commands below to install /upgrade it from terminal:

sudo apt update && sudo apt install qbittorrent

Uninstall:

To remove qBittorrent PPA, go to Software & Updates -> Other Software, or run command in terminal:

sudo add-apt-repository --remove ppa:qbittorrent-team/qbittorrent-stable

To remove the bittorrent client, either use your system package manager or run command:

sudo apt-get remove --autoremove qbittorrent

Visual Studio Code IDE

Microsoft Visual Studio Code 1.26 was released a day ago with a number of significant updates.

According to the release note, some of the key highlights in VS Code 1.26 include:

  • Breadcrumbs – A navigation bar allows to quickly navigate between symbols and files.
  • You can now apply Quick Fixes from the Problems panel
  • User setup package for Windows is now available on stable.
  • Column selection is supported within the Integrated Terminal via Alt+click
  • “Add missing import” Quick Fix to all missing imports in a JavaScript/TypeScript file
  • JSX tags closed automatically when type > in a JavaScript or TypeScript file
  • Better JS/TS error reporting
  • Add IntelliSense autocompletions to the extension search field.

How to Install VS Code 1.26 in Ubuntu:

The official .deb package for Debian/Ubuntu is available for download at the link below:

Download VS Code (.deb)

Grab the deb and install it via either Gdebi package manager or command in terminal(Ctrl+Alt+T):

sudo dpkg -i ~/Downloads/code_*.deb; sudo apt -f install

For those who want to receive updates for VS Code via Software Updater utility, add the Microsoft repository via following steps (64bit only):

1. Open terminal (Ctrl+Alt+T) and run command to add the repository:

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

2. Download and install the repository key via commands:

curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg

sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

Uninstall Visual Studio Code:

To remove the code editor, either use Synaptic Package Manager or run command:

sudo apt-get remove --autoremove code

And remove the Microsoft repository by launching Software & Updates utility and navigating to Other Software tab.

Linux Kernel

Linus Torvalds finally announced the release of Linux Kernel 4.18 yesterday afternoon. He wrote in lkml.org:

It was a very calm week, and arguably I could just have released on schedule last week, but we did have some minor updates. Mostly networking, but some vfs race fixes (mentioned in the rc8 announment
as “pending”) and a couple of driver fixes (scsi, networking, i2c). Some other minor random things (arm crypto fix, parisc memory ordering fix). Shortlog appended for the (few) details.

Some of these I was almost ready to just delay to until the next merge window, but they were marked for stable anyway, so it would just have caused more backporting. The vfs fixes are for old races that are
really hard to hit (which is obviously why they are old and weren’t noticed earlier). Some of them _have_ been seen in real life, some of them probably need explicit help to ever trigger (ie artificial delays
just to show that “yes, this can actually happen in theory”).

Changes in kernel 4.18 include:

  • Initial support for the Qualcomm Snapdragon 845 SoC.
  • Various power management improvements to AMDGPU
  • Initial NVIDIA GV100 Volta support within Nouveau DRM driver
  • 32-bit ARM finally gets mitigated for Spectre V1/V2
  • Various new sound chips support
  • USB 3.2 and USB Type-C improvements.
  • And many other changes.

How to Install Linux Kernel 4.18 in Ubuntu:

There a few tools, e.g., UKTools and Ukuu, make it easy to install the latest Kernel in Ubuntu.

You can also manually download the Kernel 4.18 Ubuntu binary packages at:

Download Kernel 4.18

Depends on your OS type, download and install the packages in turns:

  1. linux-headers-4.18.0-xxxxxx_all.deb
  2. linux-headers-4.18.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-modules-4.18.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  4. linux-image-xxx-4.18.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio), amd64 for 64bit system, i386 for 32bit system, or armhf, arm64, etc for other OS types.

Also you can download and install the kernel binaries via terminal commands:

For 64-bit OS:

cd /tmp/

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-headers-4.18.0-041800_4.18.0-041800.201808122131_all.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-headers-4.18.0-041800-generic_4.18.0-041800.201808122131_amd64.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-image-unsigned-4.18.0-041800-generic_4.18.0-041800.201808122131_amd64.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-modules-4.18.0-041800-generic_4.18.0-041800.201808122131_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-headers-4.18.0-041800_4.18.0-041800.201808122131_all.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-headers-4.18.0-041800-generic_4.18.0-041800.201808122131_i386.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-image-4.18.0-041800-generic_4.18.0-041800.201808122131_i386.deb

wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18/linux-modules-4.18.0-041800-generic_4.18.0-041800.201808122131_i386.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 4.17:

Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 4.18.0:

sudo dpkg --purge linux-image-4.18.0-041800-generic linux-image-unsigned-4.18.0-041800-generic

shutter screenshot

For those who don’t use the default Gnome screenshot tool, here’s how to make the ‘PrintScreen’ keyboard key take a screenshot via another (Shutter in this case) screen capturing tool.

1. Launch System Settings and navigate to Devices -> keyboard.

2. In right, scroll down and find out the line says “Save a screenshot to Pictures“. Click on it, and in pop-up dialog change the shortcut from Print to any other key.

3. Scroll down and click plus sign to add a new shortcut, then:

  • type a name for the new shortcut.
  • type shutter -s as the shortcut function.
  • set the shortcut key to PrintScreen.

Finally click the Add button and done.

In addition, you can add more shortcuts for shutter, e.g., shutter -f to take a screenshot of full-screen and shutter -w for window capturing.

Linux Kernel

There’s already a graphical tool called Ukuu which make it easy to install the latest Linux Kernels in Ubuntu and Linux Mint.

Today I’m going to show you a new command line tool called UKTools which provides:

  • uktools-upgrade, one command to install the latest Linux kernel (stable) from kernel.ubuntu.com.

  • uktools-purge, one command to remove old kernels, the first and the last two are excluded.

The tools also support cron jobs to automatically run upgrade and/or purge scripts.

NOTE that the mainline kernels are provided by Ubuntu Kernel Team for testing and debugging purposes. They are not supported and are not appropriate for production use. You should only install these if they may fix a critical problem you’re having with the current kernel. Read more about mainline kernels.

How to Install UKTools in Ubuntu:

The application does not has any Ubuntu binary at the moment. However, it’s easy to compile it from the source.

1. Open terminal (Ctrl+Alt+T) and clone the source via command:

git clone https://github.com/usbkey9/uktools && cd uktools

2. Then compile and install it via command:

make

The setup runs automatically if it’s installed successfully.

Uninstall:

Keep the uktools folder in your user root directory, so you can re-run UKTools setup, or remove the command line tool via command:

cd ~/uktools/ && make uninstall