Archives For Howtos

KeePassX 2 YubiKey support

KeePassXC, a community fork of KeePassX password manager, released version 2.6.1 today with some new features, improvements, and various fixes.

KeePassXC 2.6.1 release highlights:

  • Add option to Auto-Type just the username or password
  • Automatic database locking with Xfce screensaver.
  • Add command for retrieving current TOTP
  • Add OARS metadata
  • Substitute tilde with USERPROFILE on Windows
  • Change actions for F1, F2, and F3 keys
  • Improve man page, and password generator UI / UX
  • And various bug-fixes, see here for more details.

How to Install KeePassXC 2.6.1 in Ubuntu:

The official upstream PPA has made the packages of the password manager for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04, and derivatives.

1.) Open terminal either by pressing Ctrl+Alt+T on keyboard, or by searching for ‘terminal’ from system application launcher.

When terminal opens, run command to add the PPA:

sudo add-apt-repository ppa:phoerious/keepassxc

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

2.) Then either update the software package using Software Updater

or run command to install the software:

sudo apt update && sudo apt install keepassxc

Uninstall:

You can run the PPA repository simply by running command in terminal:

sudo add-apt-repository --remove ppa:phoerious/keepassxc

And if you want, remove keepassxc password manger via command:

sudo apt remove --autoremove keepassxc

Want to get more information in the clock menu underneath the calendar? You can get the current weather condition via an extension.

Weather in the clock is a simple extension based on Gnome Weather that adds an icon representing the current weather condition and the current actual temperature to the clock in the panel.

If you like it, do following steps one by one to install it on Ubuntu 20.04.

1.) First open terminal by pressing Ctrl+Alt+T on keyboard. When it opens, run command to install Gnome Weather:

sudo apt install gnome-weather

2.) Then search for and launch weather from ‘Show Applications’ menu and setup your location:

3.) Finally install the gnome shell extension.

  • Run command to install chrome-gnome-shell if it’s not installed:
    sudo apt install chrome-gnome-shell

  • Then go to extensions.gnome.org, turn on the toggle and install the extension.

    If you don’t see the toggle on icon, follow the link to install browser extension, then refresh the web page.

Mainline is a graphical tool to install the latest mainline Kernel in Ubuntu, Linux Mint, and derivatives.

Mainline (Ubuntu Mainline Kernel Installer) is an open-source fork of ukuu, which now is pay for use. It offers a simple interface with updated list of the “mainline” Kernels, allows to one-click install, remove, or purge Kernels in Ubuntu-based distributions.

Mainline features:

  • Fetches list of available kernels from Ubuntu Mainline PPA
  • Optionally watches and displays notifications when a new kernel update is available
  • Downloads and installs packages automatically
  • Display available and installed kernels conveniently
  • Install/remove kernels from gui
  • For each kernel, the related packages (headers & modules) are installed or removed at the same time

How to install Mainline in Ubuntu:

NOTE: 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.

The software has an official PPA so far contains packages for Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04, Ubuntu 24.04, and derivatives.

1.) To add the PPA, open terminal from system application launcher and run command:

sudo add-apt-repository ppa:cappelikan/ppa

2.) Then check updates and install the tool via commands:

sudo apt update

sudo apt install mainline

Uninstall:

To remove the PPA, run command:

sudo add-apt-repository --remove ppa:cappelikan/ppa

To remove the Ubuntu Mainline Kernel Installer, run command:

sudo apt remove mainline

LibreOffice

LibreOffice office suite 7.0 was released a few days ago. For those sticking to the PPA .deb packages, you can now install it in Ubuntu 18.04, Ubuntu 20.04, Linux Mint 19.x, and 20.

LibreOffice 7.0 release highlights:

  • ODF 1.3 document support
  • Skia graphics engine + Vulkan support.
  • Better Microsoft Office DOCX / XLSX / PPTX support.
  • remove Adobe Flash export support
  • HiDPI, import/export, and other improvements.

How to Install LibreOffice 7.0 via PPA:

1. Add the PPA.

LibreOffice 7.0.x specific PPA has been created hours ago contains the latest deb packages. You can add it to your system by launching terminal and run command:

sudo add-apt-repository ppa:libreoffice/libreoffice-7-0

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

You may alternatively add the LibreOffice Fresh PPA and wait it to be updated via command:

sudo add-apt-repository ppa:libreoffice/ppa

2. Install LibreOffice 7.0.

Software Updater utility will keep back the new PPA packages. So you have to run command in terminal to install / upgrade to LibreOffice 7.0:

sudo apt full-upgrade

Uninstall:

To remove the PPA repository, either go to Software & Updates -> Other Software or run command:

sudo add-apt-repository --remove ppa:libreoffice/libreoffice-7-0

For any reason you want to revert back to the Ubuntu stock LibreOffice version, instead of removing the PPA, run command to purge it which also downgrade all installed packages:

sudo apt install ppa-purge && sudo ppa-purge ppa:libreoffice/libreoffice-7-0

Open source painting software Pinta 1.7 was released a few days ago. Here’s how to install it in Ubuntu 20.04 and Ubuntu 18.04.

Pinta 1.7 is the first release in over 5 years. Release highlights include:

  • Added a tab view to switch between images.
  • Rotate / Zoom dialog now supports zooming and panning
  • Added a Smooth Erase tool
  • The Pencil tool can switch between different blend modes.
  • Added support for JASC PaintShop Pro palette files.
  • The transform tools can now rotate in fixed increments by holding Shift.
  • The Move Selected tool can now scale by holding Ctrl.
  • Dragging and dropping a URL (e.g. image from a web browser) to download and open the image
  • Rewritten user guide.
  • See release note for details.

How to Install Pinta 1.7 in Ubuntu:

The Pinta official PPA has made the packages for Ubuntu 18.04, Ubuntu 20.04, Linux Mint 19,x and 20.

1. Open terminal from system application menu, and run command to add the PPA:

sudo add-apt-repository ppa:pinta-maintainers/pinta-stable

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

2. Then you can upgrade Pinta from an old release via Software Updater (Update Manager):

or run apt command in terminal to install or upgrade the software:

sudo apt update

sudo apt install pinta

Uninstall:

To remove the PPA repository, either use Software & Updates -> Other Software, or run command:

sudo add-apt-repository --remove ppa:pinta-maintainers/pinta-stable

And remove Pinta if you want via command:

sudo apt remove --autoremove pinta

How to Install Linux Kernel 5.8 in Ubuntu

Last updated: August 4, 2020

Linux Kernel

Linus Torvalds announced the release of Linux kernel 5.8 two days ago on Sunday. Here’s how to install it in Ubuntu and / or Linux Mint.

New features in Linux Kernel 5.8 include:

  • Qualcomm Adreno 405 / 640 / 650 open-source support.
  • AMDGPU TMZ support.
  • Intel Tiger Lake SAGV support.
  • New Arm SoC and platform support.
  • AMD Energy Driver.
  • Initial support for booting POWER10 processors.
  • Intel Tiger Lake Thunderbolt support for Intel’s Gateway SoCs.
  • And many other new features and improvements.

How to Install Linux Kernel 5.8 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.8 (64-bit) are now available for download at the link below:

Download Kernel 5.8

Select generic for common system, and lowlatency for a low latency system (e.g. for recording audio):

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

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

cd /tmp/

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8/amd64/linux-headers-5.8.0-050800_5.8.0-050800.202008022230_all.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8/amd64/linux-headers-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8/amd64/linux-image-unsigned-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb

wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8/amd64/linux-modules-5.8.0-050800-generic_5.8.0-050800.202008022230_amd64.deb

sudo dpkg -i *.deb

Once installed, restart your computer and enjoy!

Uninstall Linux Kernel 5.8:

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.8:

sudo dpkg --purge linux-image-unsigned-5.8.0-050800-generic

This simple tutorial shows how to install and apply Faenza Icons in Ubuntu 20.04 LTS.

Faenza is a set of icons for Gnome provides monochromatic icons for panels, toolbars and buttons and colorful squared icons for devices, applications, folder, files and Gnome menu items. Four themes are included to fit with light or dark themes/panels.

faenza icons 1.3.1 ubuntu 14.10

1.) Install Faenza icons

To install the icon theme, simply open terminal from your system application launcher. When it opens, run command:

sudo apt install faenza-icon-theme

Type user password (no asterisk feedback) for sudo prompt and hit Enter.

2.) Apply the icon theme in Ubuntu 20.04:

The icon theme offers Faenza, Faenza-Ambiance, Faenza-Radiance, Faenza-dark, darker, darkest. You can choose one of them in Gnome shell via Gnome Tweaks.

Install Gnome Tweaks either via sudo apt install gnome-tweaks command or from Software utility (if you don’t have it).

gnome shell

This simple tutorial shows how to install Mac OS Catalina style Gnome Shell theme and icons in Ubuntu 20.04 LTS.

Following steps include how to install the GTK theme, icon theme, tweak panel appearance, and install useful extensions. When everything’s done, your Gnome desktop will look like:

1. First install Gnome Tweaks and required theme engines.

Open terminal (press Ctrl+Alt+T on keyboard), paste following command (Ctrl+Shift+V) and run to install some required libraries:

sudo apt-get install gtk2-engines-murrine gtk2-engines-pixbuf gnome-tweaks libcanberra-gtk3-module libcanberra-gtk-module libglib2.0-dev gir1.2-gtkclutter-1.0

Type user password (no asterisk feedback) and hit Enter.

2. Download / Install Mac OS Catalina Theme:

The light, dark, transparent theme packages are available at gnome-look.org page (under files tab).

Select download one or all of the packages as you want. You may also download “Extra” tarball for wallpaper and fonts.

Then install them via:

  1. Go to Downloads folder and extract all the three tarball.
  2. Open new Files (Nautilus file browser) window.
  3. Press Ctrl+H to display hidden file folders.
  4. Then navigate to .themes folder (create the folder if not exist!).
  5. Finally move the theme package folders from Downloads to .themes.

2. Download / Install Mac OS Icon Theme:

There are a few OS X icon themes available, click here (files tab) to get one of them.

Then install the icons via:

  1. Go to Downloads folder and extract the tarball.
  2. Open new Files (Nautilus file browser) window.
  3. Press Ctrl+H to display hidden file folders.
  4. Then navigate to .icons folder (create the folder if not exist!).
  5. Finally move the icon package folders from Downloads to .icons.

3. Install user theme Gnome Shell extension.

You can skip this step if you have already installed the User Theme extension, and don’t want the Blur effect.

1.) First time installing a gnome shell extension? Do open terminal by pressing Ctrl+Alt+T on keyboard, then run command:

sudo apt install chrome-gnome-shell

Go to extensions.gnome.org, and click the link to install the browser integration.

2.) Click here to install user theme extension to load shell themes from user directory.

3.) (Optional) Click here to install extension to apply a Blur effect.

4. Apply the Mac OS Catalina Theme and Icon:

Launch Gnome Tweaks and navigate to Appearance, there you can choose themes for Applications, Icons, Gnome Shell.

5. Adjust the left dock panel.

Open terminal (Ctrl+Alt+T) and run following commands one by one:

  • To move left dock panel to bottom, run command:
    gsettings set org.gnome.shell.extensions.dash-to-dock dock-position BOTTOM
  • To shorten the dock panel, run:
    gsettings set org.gnome.shell.extensions.dash-to-dock extend-height false
  • Move app launcher icon to left:
    gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true
  • Set dock panel background transparency (range from 0 to 1):
    gsettings set org.gnome.shell.extensions.dash-to-dock background-opacity 0.3

Gnome’s top bar can auto-hide itself like the left dock panel does via a Gnome Shell extension.

In Ubuntu 18.04, you can enable the feature by installing the gnome shell extension easily from Ubuntu Software.

In Ubuntu 20.04, it’s still easy to install the hide top bar extension, though the Software utility does not longer handle the extension packages.

For Ubuntu 22.04 user, please scroll down and see the update section.

1.) Press Ctrl+Alt+T on keyboard to open terminal. Then run the apt command to install the extension:

sudo apt install gnome-shell-extension-autohidetopbar

Type user password (no asterisk feedback) for sudo prompt and hit Enter.

2.) Once installed, restart Gnome Shell by pressing Alt+F2 and type r in the pop-up “Run a Command” box and hit Enter.

3.) Finally open either Extensions or Gnome Tweaks (both available to install in Software), and enable “Hide Top Bar” extension.

That’s it. Enjoy!

Update for Ubuntu 22.04 LTS

The extension works for Ubuntu 22.04 with GNOME 42, though it’s not available in system repository anymore.

Firstly, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the command below to install required packages first:

sudo apt install chrome-gnome-shell gnome-shell-extension-prefs

Next, go to the link page below, install browser extension if prompt and turn on the slider icon to install the extension:

NOTE: The pre-installed Firefox (Snap) does not support installing Gnome Extensions! Use another browser or install Firefox as classic Deb.

It will work immediately after you installed it. To manage its behavior, search for and open “Extensions” app and click the related “Settings” button.

App to Manage your extensions

This simple tutorial shows how to install Conky Manager 2, the graphical front-end for Conky system monitor, in Ubuntu 20.04 and Ubuntu 22.04 LTS.

Conky is a light-weight system monitor for Linux Xorg, that displays CPU, GPU, and disk usage, network speed, weather, date and time and other information on desktop as widget.

And Conky Manager is a graphical tool that manages Conky config files. It provides options to start/stop, browse and edit Conky themes installed on the system.

The software was originally developed by by teejee2008 (Tony George), but not been updated for quite a few years. And Conky Manager 2 takes the job to make it work on recent Linux systems with updated Conky versions support.

Install Conky Manager 2 Ubuntu via PPA:

For those still using conky widget to monitor CPU/RAM, network usage, and weather information, I’ve create an unofficial PPA contains the most recent packages for Ubuntu 22.04 and Ubuntu 20.04, with both 64-bit and arm64/armhf OS types support.

1.) First, open terminal by either pressing Ctrl+Alt+T on keyboard, or searching from ‘Activities’ overview screen. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:ubuntuhandbook1/conkymanager2

Type user password (no asterisk feedback) for sudo prompts and hit Enter to continue.

2.) Then install Conky Manager2 and conky as dependency library via command:

sudo apt install conky-manager2

NOTE: Linux Mint needs to manually update cache via sudo apt update command first.

Start and use Conky Manager 2:

Once installed, search for and launch Conky Manager app from the activities overview screen (or from start menu depends on your DE).

The app comes with some default themes, though may not well configured for your desktop. Tick or un-tick any item in the list will start or stop conky with that theme, though you may also use the tool bar buttons.

And, you can use the “spanner” icon to config theme options, including screen location, size, background transparency. Advanced users may also click on the ‘pencil‘ icon to edit it via configuration file.

There are also tons of Conky themes on the web. You can download one, and install it easily by clicking the second folder icon (with a little emblem).

Uninstall Conky, Conky Manager:

For any reason, you can easily remove the Ubuntu PPA by running the command below in terminal:

sudo add-apt-repository --remove ppa:ubuntuhandbook1/conkymanager2

If you want to remove Conky as well as Conky manager run command:

sudo apt remove --autoremove conky conky-manager2