Archives For Howtos

Like Firefox, the Chromium web browser package in recent Ubuntu repository is just empty package that links to Snap version.

If you would like to install the classic .Deb version instead, here are 2 choices that work on Ubuntu 22.04 LTS.

Option 1: Use Rob Savoury’s PPA

Rob Savoury is maintaining a collections of software packages in PPAs including Chromium browser. With this unofficial PPA, you may get the the latest Chromium packages in Ubuntu 22.04 and Ubuntu 20.04.

This could be the easiest way, however, only 64-bit modern PC/laptop is supported!

1.) Add the PPA

Firstly, press Ctrl+Alt+T on keyboard to open a terminal window. When it opens, run the command below to add the PPA:

sudo add-apt-repository ppa:savoury1/chromium

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

2.) Install the browser package

After adding the PPA, you can install the browser package via commands:

sudo apt update
sudo apt install chromium-browser

How to Uninstall:

To remove the browser package, open terminal (Ctrl+Alt+T) and run command:

sudo apt remove --autoremove chromium-browser

And remove the Ubuntu PPA by launching “Software & Updates” and remove the source line from “Other Software” tab.

Remove Rob Savoury’s Chromium PPA

Option 2: Install Chromium from Ubuntu 18.04 Repository

Ubuntu 18.04 still provides the most recent Chromium .Deb package and keeps updating in its repository.

Until April 2023 (end of life date of Ubuntu 18.04), you may install the package from that repository in 64-bit and ARM64/ARMhf machines running Ubuntu 22.04.

However, the process is a little bit complicated due to change of the apt key policy. For choice, there’s a third-party PPA keeps a copy the packages for Ubuntu 20.04 and Ubuntu 22.04.

1.) Install Ubuntu 18.04 repository key:

Firstly, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the command below get the bionic-updates repository key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32

Due to change of the apt-key policy, run the command below to move the key to “/usr/share/keyrings“.

sudo mv /etc/apt/trusted.gpg /usr/share/keyrings/bionic-updates.gpg

2.) Add Ubuntu 18.04 updates repository:

Next, run the command below in terminal to create and edit repository file:

sudo gedit /etc/apt/sources.list.d/bionic-updates.list

When file opens, paste the single line below and save it.

deb [signed-by=/usr/share/keyrings/bionic-updates.gpg] http://archive.ubuntu.com/ubuntu bionic-updates universe

3.) Setup package priority

It’s IMPORTANT to set package priority so ONLY chromium browser package is allowed to be installed from this repository!!

Open terminal (Ctrl+Alt+T) and run command below to create and edit a preference file:

sudo gedit /etc/apt/preferences.d/99bionic-updates

When the file opens, paste following lines to tell only allows chromium related packages and prevent all others!

# Prefer 'chromium-browser' package from Ubuntu 18.04 updates repository

Package: chromium-browser*
Pin: release a=bionic-updates
Pin-Priority: 501

# Prefer 'chromium-chromedriver' package from Ubuntu 18.04 updates repository

Package: chromium-chromedriver
Pin: release a=bionic-updates
Pin-Priority: 501

# Prefer 'chromium-codecs-ffmpeg' package from Ubuntu 18.04 updates repository

Package: chromium-codecs-ffmpeg*
Pin: release a=bionic-updates
Pin-Priority: 501

# Prevent all other packages from Ubuntu 18.04 repository

Package: *
Pin: release a=bionic-updates
Pin-Priority: -10

4.) Update & Install Chromium

Finally, run the apt update command to refresh package cache:

sudo apt update

And, install the browser package from Ubuntu 18.04 repository using command:

sudo apt install chromium-browser

How to Remove 18.04 Repository and Uninstall Chromium

Like the Rob Savoury’s PPA package, simply run the command below in terminal will remove the browser package:

sudo apt remove --autoremove chromium-browser

If you want to get rid of Ubuntu 18.04 repository, run the command below one by one in terminal:

  • Remove the source file:
    sudo rm /etc/apt/sources.list.d/bionic-updates.list
  • Remove the keyring:
    sudo rm /usr/share/keyrings/bionic-updates.gpg
  • And clear the priority file:
    sudo rm /etc/apt/preferences.d/99bionic-updates
  • Finally, refresh system package cache to apply changes:
    sudo apt update

Summary:

There are quite a few software sources to get the Chromium package in .Deb version. Here, the third-party Rob Savoury’s PPA could be the easiest way which however contains only 64-bit package. The old Ubuntu 18.04 repository is good choice for those need arm64/armhf package, though the support will end in April 2023.

DeaDBeeF music player released new 1.9.0 version a day ago. Here’s what’s new and how to install the application in Ubuntu.

DeaDBeeF is one of my favorite music players, especially for its design mode. Glory to Ukraine! In this release you’ll see two little hearts (in blue and yellow) in the title bar of app window.

The 1.9.0 release added some new features including:

  • Long file seeking support for Opus and FFMPEG
  • HTTPS support for vfs_curl in portable builds, via libmbedtls
  • Design mode for CocoaUI
  • New Scope and Spectrum Analyzer visualizations
  • Visualization appearance preferences pane
  • New album art loader
  • Title formatting $year(time) function
  • GTK UI for editing a chosen field of multiple selected tracks, in a table interface
  • Creating new playlist via clicking the “+” button in the playlist tab strip
  • Improved DSP preferences GTK UI
  • Improved handling of invalid MP3 files
  • Last.fm scrobbler will use HTTPS by default

And, you can now easily get the menu to set dB scale, Linear scale, or Cubic scale by simply right-clicking on volume slider. There are as well various bug fixes, see HERE for more.

How to Install DeaDBeeF 1.9.0 in Ubuntu:

The software project provides official packages for 64-bit modern PC/laptop. For Debian, Ubuntu, Linux Mint based systems, simply download the “deadbeef-static_1.9.0-1_amd64.deb” from the link page below:

After downloaded the package, open your Downloads folder, right-click blank area and select “Open in Terminal”. Finally, install the package by running the command below in pop-up terminal:

sudo apt install ./deadbeef-static*amd64.deb

It works in all current Ubuntu releases, including Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.10 and Ubuntu 22.04.

Once installed, press Windows (Super) key on keyboard. Then search for and open the player to enjoy your music!

In addition for those prefer Ubuntu PPA, here’s one that built with Qt5 interface and MPRISv2 plugin support.

It should be trustworthy as the maintainer is the guy behind Debian and Ubuntu’s official Tesseract OCR package. However, the package version there at the moment of writing is still the last v1.8.8. And, it’s better to remove “deadbeef-static” first before installing the music player from this PPA.

How to Remove DeaDBeeF:

The package is installed as deadbeef-static. To remove it, open terminal by pressing Ctrl+Alt+T on keyboard. Then run command:

sudo apt remove --autoremove deadbeef-static

That’s all. Enjoy!

User of Google Chrome or Chromium based web browser? Here are the workarounds if you found that double-clicking does not work for maximizing/restoring app window in Ubuntu Linux.

When double-clicking on the header bar of any app window, it should maximize or restore the application. However, it just changes the cursor to drag arrow and back then, nothing else happens in Ubuntu 22.04 with Chrome/Chromium.

Double click does not maximize Chrome

This should be a compatibility issue between the browser and GNOME Wayland. Someone has reported the same issue that happened in Fedora 34.

It’s not a big deal if you OK to triple click or use title-bar button to do maximize/restore action. But if you want, there are a few workarounds until Google or GNOME fixed the issue.

Workaround 1: Use system title bar

Just right-click on browser header bar, then select “Use system title bar and borders” in pop-up menu option.

An external title bar will appear on top of the browser. The double click function works well in this case, though it takes a bit more screen space and looks not so good in Linux today.

To restore the change, right-click on tab bar to get the previous menu and un-tick the menu option.

Workaround 2: Switch back Xorg session

As mentioned above, this issue only happens in Wayland session. User may switch back the classic Xorg session to workaround it as well as many legacy applications (e.g., Peek, Shutter) that are not properly working issue.

To do so, log out current session (save your work first!) and click your username in login screen. Then click the bottom right gear button and select “Ubuntu on Xorg“. Finally, type password to login.

To verify your session, either open “System Settings -> About -> Check ‘Windowing System'”, or run the command below in terminal:

echo $XDG_SESSION_TYPE

Workaround 3: Disable touchpad tap and drag

The Xorg session is the good choice except for those using touchpad tap clicking to simulate double-click action.

If you use touchpad for the most time like me, and there are physical left/right buttons, then disable tap and drag feature will make double tapping work for maximizing Chrome/Chromium browser.

To do so, either press Ctrl+Alt+T on keyboard to open terminal and run the single command:

gsettings set org.gnome.desktop.peripherals.touchpad tap-and-drag false

Or install ‘Dconf Editor’ from Ubuntu Software. Open it, and navigate to ‘org.gnome.desktop.peripherals.touchpad’. And, finally turn off the key for ‘tap-and-drag’.

That’s all. Enjoy!

This is a beginner’s guide shows how to install and use the Dropbox cloud storage and file sharing tool in Ubuntu 22.04.

Dropbox is a popular file hosting service powered by the American company Dropbox, Inc. It provides free account with 2 GB storage and paid plans for more. You can use it as a cloud storage and/or for sharing files with your friends.

Step 1: Enable Multiverse Repository

Dropbox is easy to install in Ubuntu, Debian, Fedora, Linux Mint and their based systems that use GNOME or MATE desktop via file manager extension.

For Ubuntu, first search for and open ‘Software & Updates‘ utility from top left Activities overview screen.

When it opens, make sure the ‘multiverse’ repository which includes the packages is enabled. For Fedora Workstation, you need to enable third-party non-free repositories first.

Step 2: Install Nautilus/Caja Extension

Now, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run the command below to refresh system package cache:

sudo apt update

And then install the package for GNOME (the default desktop environment):

sudo apt install nautilus-dropbox

For MATE desktop, replace nautilus-dropbox with caja-dropbox in the command.

For Fedora, replace apt in the previous command with dnf to install the package.

After installation, it may pop-up a dialog indicates to restart your file manager. It’s OK to just close it.

Step 3: Install the daemon

Click on the top-left ‘Activities’ or use 3-finger up gesture to get into overview screen. Then, you can search for and launch Dropbox.

The first time launching the app will indicate to download & install the proprietary daemon package.

Just click on “OK” button. It will start downloading and installing the daemon automatically. Depends on your internet connection, the process can take up a few minutes. And, if you close the process dialog mistakenly, re-launch the app should start it again.

Step 4: Use Dropbox

Once the installation process done, an indicator applet should appear in top-right corner system tray. And, it will open the login page in your default web browser automatically. If NOT, click the “sign in” indicator menu option to open it manually. Then sign in in the web page (or sign up if you don’t have an account).

After signed in, you’ll see a new “Dropbox” folder in user home, as well as some new indicator menu options.

To upload (sync) your files or folders into cloud, simply put them into the “Dropbox” folder, either by using copy & paste action or via your files/folders’ right-click menu options.

If you want, you may share your files in that folder quickly by getting an URL from its context menu option “Copy Dropbox Link“. Then, anywhere with any device can open the file by visiting the URL via a web browser.

get URL link and share file with your friends

For the indicator menu, there are options to quickly launch Dropbox local folder and web page, enable/disable syncing, and launch ‘Preference’ to configure auto-startup, bandwidth, proxy, account, etc.

How to Remove Dropbox integration:

To remove the client, first exit Dropbox via indicator menu option. Then run the command below in terminal (Ctrl+Alt+T):

sudo apt remove --autoremove nautilus-dropbox

For MATE, use caja-dropbox instead of nautilus-dropbox in command.

To clean up, you may remove the “Dropbox” folder (backup your data first), “.dropbox” and “.dropbox-dist” folders. For the hidden folders, you need to press Ctrl+H on keyboard to view them, and press the key combination again to hide them.

And, search for and open “Startup Applications Preferences” from Activities overview. When it opens, you can remove the startup configuration for Dropbox, though it no longer works as daemon has been removed.

That’s all. Enjoy!

This quick tutorial shows how to easily set a solid color as background wallpaper in your Ubuntu 22.04 PC/laptop.

To stay focused and increase productivity, user may set a solid color desktop background which can also reduce eye strain. And, a black background will consume significantly less power especially for AMOLED displays.

If you already downloaded a solid color wallpaper from web, or created one via an image editor, simply click the “Add Picture” button in system settings -> Background. Then, your image will be there as a choice.

Add Personal Wallpapers

Set Solid color background via Dconf Editor

Instead of using an image file, there’s a hidden option that could work better! Not only for Ubuntu, it also works on Fedora, Debian, Manjaro, and other Linux with GNOME Desktop.

1. Firstly, search for and install “Dconf Editor” configuration tool from Ubuntu Software:

Or press Ctrl+Alt+T on keyboard, and run the command below in pop-up terminal to install the tool:

sudo apt install dconf-editor

2. Once installed, either press Windows (Super) key on keyboard or click the top-left corner “Activities”, then search for and open ‘Dconf Editor’

3. When the tool opens, navigate to ‘org/gnome/desktop/background‘ page. There you need to do:

  • Clear the value of ‘picture-uri‘ and ‘picture-uri-dark to disable current wallpapers for both light and dark mode. Click them one by one, disable “use default value”, and set empty content for custom value.
  • Set ‘color-shading-type’ to ‘solid’ (usually default).
  • Change value of ‘primary-color’ to display as background. (#000000 for dark, #ffffff for white. Or use color picker tool to get other color value)

For choice, you may set gradient color background, by setting ‘color-shading-type’ to ‘vertical’ or ‘horizontal’, and set color value of “secondary-color”.

Linux commands to set solid color background.

If you’re familiar with Linux command line, press Ctrl+Alt+T on keyboard to open a terminal window.

When it opens, run the commands below one by one to disable current wallpapers for light and dark mode:

gsettings set org.gnome.desktop.background picture-uri ''
gsettings set org.gnome.desktop.background picture-uri-dark ''

In case you’ve set gradient color background before, reset the “color-shading-type” via command:

gsettings reset org.gnome.desktop.background color-shading-type

Finally, run the command below in set a solid color background (total dark for example):

gsettings set org.gnome.desktop.background primary-color '#000000'

How to Restore:

To restore the changes, simply open Settings -> Background and select a wallpaper as you want. Just note that you need to do this in both Light and Dark mode in Ubuntu 22.04 LTS.