Archives For Howtos

Vivaldi web browser released the new stable version 2.8 today. Here’s how to install it in Ubuntu 18.04 and higher.

Vivaldi 2.8 features sync support for Android release, and also following changes:

  • Add keyboard navigation to bookmark menu bar
  • Bookmark manager columns width should be resizable
  • Toggle images via keyboard: Ctrl+Alt+Shift+I / ⌥⌘I
  • Bookmark menu supports for hovering across horizontal menu or the bookmarks bar
  • Various bug-fixes range over bookmark, history, Windows and mac OS platform, and more.

Download / Install Vivaldi in Ubuntu:

The official Ubuntu .DEB packages are available for download at the link below:

Download Vivaldi (DEB)

Grab the deb matches your OS, then install it via Ubuntu Software or Gdebi package manager. Or run command in terminal:

sudo dpkg -i ~/Downloads/vivaldi-stable_2.8*.deb

For those who want to receive future Vivaldi updates via Software Updater utility, the browser has an official apt repository for Ubuntu / Debian based system.

Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for terminal from application menu. When it opens, run following commands one by one:

1. Download and install the repository keyring:

wget -qO- https://repo.vivaldi.com/archive/linux_signing_key.pub | sudo apt-key add -

Typer user password when it prompts and hit Enter to continue.

2. Add Vivaldi repository via command:

sudo add-apt-repository 'deb https://repo.vivaldi.com/archive/deb/ stable main'

3. Finally check updates and install the web browser via command:

sudo apt update && sudo apt install vivaldi-stable

Or upgrade from an old version via Software Updater utility.

(Optional): To remove Vivaldi apt repository from you system, launch Software & Updates and navigate to Other Software tab.

gnome shell

This quick tutorial shows how to make the scrollbars of GTK3 applications always visible, like Gnome terminal does, no matter whether the mouse cursor is moved over or not.

The scrollbar is only visible when the mouse cursor is moved mover in most of GTK3 applications. It will disappear in a few seconds once the cursor’s moved away.

On a per-app basis, you can start application by setting GTK_OVERLAY_SCROLLING=0 environment variable.

For example, open terminal (Ctrl+Alt+T) and run command to launch Gedit text editor:

GTK_OVERLAY_SCROLLING=0 gedit

To apply for all applications for current user, open terminal (Ctrl+Alt+T) and run command to edit .profile file:

gedit ~/.profile

When the files opens in text editor, add following 2 lines in the end and save the file.

export GTK_OVERLAY_SCROLLING=0
gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/DBus --method org.freedesktop.DBus.UpdateActivationEnvironment '{"GTK_OVERLAY_SCROLLING": "0"}'

To apply changes, simply log out and login back.

To restore the changes, edit .profile file again and remove the previous lines.

Krita

Professional free and open-source painting software Krita 4.2.6 was released a week ago. Ubuntu native .deb package now is finally available to install in Ubuntu 18.04 via PPA.

Krita 4.2.6 release highlights:

  • Important workaround for users with an AMD Ryzen 5 3500 CPU caused crashes.
  • Add new layer from visible to layer right-click context menu.
  • Angle is now the default renderer when running for the first time on Windows
  • Allow selection overlay to be reset to default.
  • Allow ‘Add Clone Layer’ to Work on Multiple Layers
  • And many bug-fixes.

For those prefer installing Krita in Ubuntu to using non-install appimage file, Krita Lime PPA has made the package for Ubuntu 18.04 and Linux Mint 19.x.

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from application menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:kritalime/ppa

Type your user password (no asterisk feedback) when it prompts and hit Enter.

2. Then upgrade Krita via Software Updater:

upgrade krita

or run command one by one in terminal to install or upgrade the painting software:

sudo apt update

sudo apt install krita

Uninstall:

To remove the PPA, launch Software & Updates and navigate to Other Software tab.

To remove Krita, run command:

sudo apt remove --autoremove krita krita-*

Linux Kernel

Linux Kernel 5.3 was released yesterday. Linus Torvalds announced that:

So we’ve had a fairly quiet last week, but I think it was good that we ended up having that extra week and the final rc8.

Even if the reason for that extra week was my travel schedule rather than any pending issues, we ended up having a few good fixes come in, including some for some bad btrfs behavior. Yeah, there’s some unnecessary noise in there too (like the speling fixes), but we also had several last-minute reverts for things that caused issues.

One _particularly_ last-minute revert is the top-most commit (ignoring the version change itself) done just before the release, and while it’s very annoying, it’s perhaps also instructive.

Linux 5.3 kernel brings many exciting changes including initial Intel HDR display support, Intel Speed Select support, Radeon RX 5700 Navi series support, better Intel Icelake Gen 11 graphics support, ACRN guest hypervisor support.

How to Install Linux Kernel 5.3 in Ubuntu:

The mainline kernels do not include any Ubuntu-provided drivers or patches. They are not supported and are not appropriate for production use

The mainline kernel packages for Linux 5.3 are available for download at the link below:

Download Kernel 5.3

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

  1. linux-headers-5.3.0-xxxxxx_all.deb
  2. linux-headers-5.3.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  3. linux-modules-5.3.0-xxx-generic(/lowlatency)_xxx_amd64(/i386).deb
  4. linux-image-xxx-5.3.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.

Alternatively you can download and install the kernel binaries via terminal commands ( open terminal via Ctrl+Alt+T):

For 64-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-headers-5.3.0-050300_5.3.0-050300.201909152230_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-headers-5.3.0-050300-generic_5.3.0-050300.201909152230_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-image-unsigned-5.3.0-050300-generic_5.3.0-050300.201909152230_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-modules-5.3.0-050300-generic_5.3.0-050300.201909152230_amd64.deb

sudo dpkg -i *.deb

for 32-bit OS:

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-headers-5.3.0-050300_5.3.0-050300.201909152230_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-headers-5.3.0-050300-generic_5.3.0-050300.201909152230_i386.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-image-5.3.0-050300-generic_5.3.0-050300.201909152230_i386.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.3/linux-modules-5.3.0-050300-generic_5.3.0-050300.201909152230_i386.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.3:

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 5.3:

sudo dpkg --purge linux-image-5.3.0-050300-generic linux-image-unsigned-5.3.0-050300-generic

MusicBrainz Picard, a cross-platform music tagger, released version 2.2 a day ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 19.04.

MusicBrainz Picard is a free and open-source software application for identifying, tagging, and organising digital audio recordings. It was developed by the MetaBrainz Foundation, a non-profit company that also operates the MusicBrainz database.

The latest Picard 2.2 was released with following new features:

  • Post save plugins
  • Built-in media player (beta feature)
  • Support for ReplayGain 2.0 tags
  • Replace genre / folksonomy tag blacklist with more comprehensive list
  • Replace hardcoded colors by user-configurable ones
  • Add plugin hook for file-added-to-a-track event, file-removed-from-a-track event, album-removed event, and file loaded event
  • Provide $is_video() / $is_audio scripting functions
  • Tons of bug-fixes, and many improvements.

How to Install Picard in Ubuntu:

Picard is available as Snap (runs in sandbox, version 2.2 is not ready at the moment), which can be directly installed from Ubuntu Software in Ubuntu 18.04 and higher.

MusicBrainz stable PPA also contains the latest packages for Ubuntu 18.04, Ubuntu 19.04, Ubuntu 19.10, Linux Mint 19.x, and their derivatives.

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from application menu. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:musicbrainz-developers/stable

Type user password when it prompts and hit Enter to continue.

2. After that, either upgrade from an existing version via Software Updater:

or simply run commands one by one to install the music tagger:

sudo apt update

sudo apt install picard