Archives For November 30, 1999

Adding an app shortcut icon to the Desktop in Ubuntu is not that easy for beginners by default. User has to first open the folder that stores the app shortcut files (usually /usr/share/applications). Then drag and drop the .desktop files into user’s “Desktop” folder. Make executable in file properties dialog and finally select ‘Allow Launching‘ via context menu option.

To make life easier, a Gnome extension is available to make the process to create a desktop shortcut for apps as easy as few clicks. Since Ubuntu uses full-screen app launcher, it’s not Windows 10/11 style drag and drop adding desktop icons. Instead, it adds ‘Add to Desktop‘ option to app icon’s context menu.

Like in Linux Mint and/or Zorin OS, user just needs to search the app in ‘Show Applications’ or ‘Activities’ overview screen, right-click on the app icon, and finally click ‘Add to Desktop’ to pin to desktop.

Install ‘Add to Desktop’ Extension:

1. To install a Gnome extension, first press Ctrl+Alt+T on keyboard to open terminal and run command to make sure the ‘chrome-gnome-shell‘ package is installed.

sudo apt install chrome-gnome-shell

2. Next go to extension web page via the link button below and turn on the toggle icon to install it:

Don’t see the toggle icon? Install browser extension via ‘Click here to install browser extension‘ link and refresh the web page.

NOTE: The extensions support for all recent Gnome versions, so it works on all current Ubuntu releases including Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.10. For other Linux with GNOME (e.g., Debian, Fedora), user needs to enable desktop icon support first (e.g., using Desktop Icon NG).

The extension should work immediately after installation. If not, try restarting Gnome Shell by either logging out and back in, or pressing Alt+F2, type r and hit Enter in ‘Run a Command’ box.

That’s all. Enjoy!

In Windows 10, user may right-click on the ‘File Explorer’ icon on panel to access pinned folders (e.g., Desktop, Downloads and Documents) quickly.

Ubuntu has first implemented this feature in Ubuntu 21.10, though it seems to be not working properly due to bug. Ubuntu 20.04 may manually add the context (right-click) menu options so user can right-click on the ‘Files’ icon to choose open favorite folders quickly.

Step 1: Copy File Manager .desktop file to local folder:

The file manager’s shortcut icon is handled by the relative .desktop file located in “/usr/local/applications” directory. It’s recommended to copy the file to local user directory, so the changes will function for current user only.

1. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, copy the file to local directory via command:

sudo cp /usr/share/applications/org.gnome.Nautilus.desktop ~/.local/share/applications/

2. The file pasted into local directory is still owned by root. You may change the ownership by running command:

sudo chown $USER:$USER ~/.local/share/applications/org.gnome.Nautilus.desktop

Here $USER returns your current username.

Step 2: Edit the .desktop file and add more actions:

Now edit the .desktop file by running command in terminal:

gedit ~/.local/share/applications/org.gnome.Nautilus.desktop

This command will open the file in Gedit text editor. When it opens, do following steps one by one:

1.) First, comment the “DBusActivatable=true” line by adding ‘#‘ at the beginning to disable it. Or, the ‘Exec’ value will be overrided.

2.) Add more values to “Actions“, such as downloads, documents, videos and whatever as you prefer. And, separate them via ‘;‘ without blank space.

Accordingly, add the “[Desktop Action downloads]”, “[Desktop Action documents]”, “[Desktop Action videos]” segments in the bottom. And, each segment has:

  • Name” to display in the right click menu.
  • Exec” command to open the desired folder, usually nautilus /home/USERNAME/folder

Step 3: Restart Gnome Shell to apply change:

After saving the file, restart Gnome Shell. In Ubuntu 20.04 default Xorg session, simply press Ctrl+Alt+F2, then try r in pop-up dialog and hit Enter.

The ‘Files‘ icon in left dock panel should now take use of the .desktop file in user directory and provide the quick access folders you set via right-click menu.

That’s all. Enjoy!

For people with dyslexia, scopic sensitivity, and related conditions, GNOME has an extension to adds a a translucent colored overlay over your desktop that may help.

It’s ‘ColorTint’ that adds an indicator applet in system tray area. User may click the drop down menu options to enable/disable the overlay, change the color via RGB slider bar, and adjust transparency via the Alpha slider.

How to Install ColorTint:

The extension works on GNOME 40 (Ubuntu 21.10) and GNOME 3.32 (Ubuntu 18.04), however lacks Ubuntu 20.04 support

1.) Firstly, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to install the ‘chrome-gnome-shell’ package to enable ability to install Gnome Extension via web broser:

sudo apt install chrome-gnome-shell

2.) Next, go to the link below and turn on the slider icon to install the extension:

Don’t see the toggle icon? Try installing the browser extension via the link in the page and then refresh it.

NOTE: The pre-installed Firefox in Ubuntu 21.10 is a Snap package that so far does not support for installing Gnome Extensions, use another browser or install Firefox as native Deb package via command:

sudo apt install firefox

And, to manage all installed extensions, install ‘Gnome Extensions‘ app either from Ubuntu Software or by running command in terminal:

sudo apt install gnome-shell-extension-prefs

That’s all. Enjoy!

How to hide top-bar, remove left dock and ‘Activities’, as well as toggle visibility of a few other Gnome Panel items are often asked questions. I used to use a few extensions to do the jobs until met ‘Just Perfection’.

Just Perfection includes a list of options to toggle visibility of GNOME UI Elements, customize panel size, padding, and change the behavior.

Its settings page starts with a portrait of an old man (Sorry for my poor cultural knowledge, I don’t know who is he).

An old man in Just Perfection settings

Just scroll down, and you’ll see the options to:

  • override Gnome Shell theme to create a minimal desktop.
  • Hide top-bar.
  • Hide top-bar in overview screen.
  • Remove top left “Activities” button.
  • Disable (the focused) app-menu, clock, system tray menu (Aggregate menu).
  • Remove search box, workspace picker, close button & caption of selected app in overview
  • Disable the dock launcher, on screen display (when changing volume/brightness via Fn key).
  • Disable hot corner watermark animation.
  • Turn on/off icons for top-bar items.
  • Remove panel arrow (little triangle behind app-menu and battery icon).
  • Toggle hot corner, app gesture, type to search.
  • Customize panel position (top or bottom), clock position, panel size and button padding, animation speed, etc.

How to Install Just Perfection Extension:

The extension so far supports Gnome from v3.36 to v41, so Ubuntu 20.04 and higher may install it via following steps:

1.) Firstly, press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command to install required libraries:

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

2.) Next, go to the extension web page and turn on the toggle icon to install it:

If you don’t see the toggle icon, click the link in the top to install browser extension and refresh the web page.

(NOTE: the default Firefox in Ubuntu 21.10 is a Snap app that does not support for installing Gnome Extensions.)

After installation, search for and open ‘Gnome Extensions‘ app from Activities overview screen and click the setting wheel for the extension to customize GNOME UI:



For Ubuntu, Fedora, and other Linux with GNOME desktop, here’s how to type unusual characters (e.g., , ©, , ¼, , etc) using the standard QWERTY computer keyboard.

Without using a virtual keyboard, the standard physical keyboard supports for inserting alternate characters and symbols using the Compose key in Linux. Here’s how to enable and use the key in Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.10 & higher with default GNOME desktop.

Enable Compose key in GNOME:

1. Firstly, search for and install “Gnome Tweaks” configuration tool via Ubuntu Software.

For those familiar with Linux commands may also press Ctrl+Alt+T on keyboard to open terminal and run command to install the tool:

sudo apt install gnome-tweaks

2. Secondly, open ‘Activities’ overview screen, search for and open ‘GNOME Tweaks’:

3. When the configuration tool opens, do:

  • Go to “Keyboard & Mouse” in the left pane.
  • Click on ‘Disable‘ area in the right side after the Compose Key setting.
  • Turn on the toggle in pop-up dialog.
  • Finally choose a key to use as compose key.

Type unusual characters via Compose Key:

After enabled the functions, you may now press Compose key, then start typing the keys below one by one to insert a character. For example, type Compose key then ~ finally u will input ũ. No need to hold the compose key, though you have to hit the key combination in a short time period in Ubuntu 21.10. For Ubuntu 20.04, it even works 1 min after the compose key is pressed.

Common Compose Key combinations via Wikipedia. In first column, you may replace a with most uppercase and lowercase vowels:

PressForPressForPressForPressFor
‘ + aáa + eæ< + <«– + L£
” + aäA + EÆ> + >»^ + 0
` + aào + eœ/ + /\^ + 1¹
~ + aãO + EŒ/ + C^ + 2²
^ + aâd + hð/ + oø^ + 3³
c + aǎD + HÐ/ + OØ^ + _ + aª
< + sšo + o°? + ?¿^ + _ + oº
o + aåo + x¤‘ + <_ + 0
– + aāo + c©‘ + >_ + 1
, + aąo + r®, + cç_ +2
b + aăs + o§. + CÇ_ + 3
? + as + sß” + <~ + nñ
. + aȧS + S” + >| + c¢
. + ^·t + hþ! + !¡= + y¥
– + DĐT + HÞ– + – + – = + c
t + m– + – + .1 + 2½
x + x×– + :÷1 + 4¼
. + .– + dđ3 + 4¾

Ubuntu by default displays only date and time in the center of top-bar. Users have to click on it to see which day is today in drop-down calendar.

To make life easier, you may configure the GNOME desktop to show the day of week in top-bar. And, here’s how.

Option 1: Single command to Display Weekday in Top bar:

For those familiar with Linux commands, press Ctrl+Alt+T on keyboard to open terminal. When it opens, copy and paste the command below and hit run:

gsettings set org.gnome.desktop.interface clock-show-weekday true

After that, it shows the weekday name in short (e.g., Sat and Sun) immediately.

Option 2: Toggle Weekday Display via Gnome Tweaks:

The must have GNOME configuration tool ‘Gnome Tweaks’ provides the toggle option for those hate Linux commands. If you don’t have it, search for and install via Ubuntu Software:

Next, press Super/Windows key to bring up activities overview screen. Then search for and launch Gnome Tweaks. Navigate to “Top Bar” from left pane, and then you’ll see the option to toggle “Weekday”.

As you may know, the advanced configuration tool “Dconf Editor” also provides a graphical option to toggle this function at “org/gnome/desktop/interface”, though the previous two methods is good enough to do the trick.

That’s all. A quick glance at screen top now tell you the day of week. Enjoy!

The Ubuntu Software app in Ubuntu 21.10 Impish has an ugly font rendering on default Wayland. The text in the app looks a bit pixelated.

I found the issue firstly when Impish was in beta stage. The issue was reported to also affect LibreOffice, Chromium, and other Snap apps, though most of them has been updated with it fixed.

Ubuntu Software with Bad Font

According to Daniel van Vugt, this issue is caused by a few key settings change. The following keys has been removed in Ubuntu 21.10:

org.gnome.settings-daemon.plugins.xsettings antialiasing
org.gnome.settings-daemon.plugins.xsettings hinting
org.gnome.settings-daemon.plugins.xsettings rgba-order

And, following ones take the places instead:

org.gnome.desktop.interface font-antialiasing
org.gnome.desktop.interface font-hinting
org.gnome.desktop.interface font-rgba-order

Not only Snap apps, but also font-manager and Gnome Tweaks are affected by this change. And, Ubuntu Software (aka “Snap Store”) has fixed the issue in via the current beta release.

Snap Store Beta

Upgrade Snap Store via Beta Channel:

So the solution is either wait until Canonical published the update, or update Snap Store (Ubuntu Software) through beta channel if you use it regularly.

To do so, simply press Ctrl+Alt+T on keyboard to open terminal, and then run command:

snap refresh --channel beta snap-store

After that, font will be properly loaded next boot.

If you’ve found that Snap Store in stable channel has been updated to version higher than “3.38.0-66”. You may revert back by running command:

snap refresh --channel stable snap-store

That’s it. Enjoy!

Many users do not like the purple background in GDM login screen. Here’s how to change it to another image or color in Ubuntu 21.10 Impish Indri.

Since GNOME made it hard to hack the GDM login background, some scripts born in Github.com to help users to get rid of the boring purple screen in Ubuntu. And, here’s the one created for Ubuntu 21.10, that support set an image, single color, or gradient color as login background.

Download the script:

Press Ctrl+Alt+T on keyboard to open terminal. Then run command to download the script:

wget -qO - https://github.com/PRATAP-KUMAR/ubuntu-gdm-set-background/archive/main.tar.gz | tar zx --strip-components=1 ubuntu-gdm-set-background-main/ubuntu-gdm-set-background

or you may download from the github page using web browser.

Once you got it, add executable permission by running command:

chmod u+x ubuntu-gdm-set-background

Change login screen background via the script:

Finally you may run command to set an image as login screen background:

sudo ./ubuntu-gdm-set-background --image PATH/TO/IMAGE

Instead of typing path to image file manually, just drag and drop it into terminal will do the trick.

Or, set a single color via command (replace the color value #ABCABC):

sudo ./ubuntu-gdm-set-background --color \#ABCABC

To set gradient color, use either one of the commands below:

sudo ./ubuntu-gdm-set-background --gradient horizontal \#aAbBc \#dDeEfF
sudo ./ubuntu-gdm-set-background --gradient vertical \#aAbBcC \#dDeEfF

And “--reset” flag is available to restore the change:

sudo ./ubuntu-gdm-set-background --reset

If everything goes well, it will output something like this:

seems 'background change is successful'
Changes will be effective after a Reboot (CTRL+ALT+F1 may show the changes immediately)
If something wrong, logon to tty and run the below command
sudo update-alternatives --quiet --set gdm-theme.gresource /usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource

As it indicates, it you get login issue after running this script. Press Ctrl+Alt+F3 to switch into TTY console, manually type user & password to login, and restore via command:

sudo update-alternatives --quiet --set gdm-theme.gresource /usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource

That’s it. Enjoy!

This simple tutorial shows how to remove the trash icon from the dock in Ubuntu 23.10 Mantic Minotaur.

Different to the previous releases, Ubuntu 23.10 puts the trash icon on left dock instead of the desktop. However, I don’t use the trash icon in either location. Instead, I removes files using right-click menu options, and go to trash via file manager left sidebar.

If you also find it useless, then here’s how to remove it either via a single command or by a graphical configuration tool.

Single command to remove Trash from the dock:

Press Ctrl+Alt+T key combination on keyboard to open terminal. When it opens, run the command below will tell Ubuntu Dock to hide the trash icon:

gsettings set org.gnome.shell.extensions.dash-to-dock show-trash false

(Optional) The command takes effect immediately. If you change your mind and want to revert it back. Use command:

gsettings reset org.gnome.shell.extensions.dash-to-dock show-trash

Hide Trash Icon using “Settings”:

Since Ubuntu 22.04, System ‘Settings’ (aka Gnome Control Center) has an option to toggle display the icons on left dock.

First, click on top-right corner system tray icon to open ‘Settings‘.

When it opens, navigate to “Ubuntu Desktop” in the left pane, then scroll down in right and click on “Configure dock behavior“. In the pop-up dialog, you’ll see the option to turn on/off ‘Trash’, as well as mounted volumes/usb disk, etc.

Hide Trash Icon using Dconf Editor:

For beginners and/or those hate Linux commands, an advanced graphical configuration tool “Dconf Editor” is present to do the job.

First, search for install “Dconf Editor” from Ubuntu Software if you don’t have it:

Next, search for and launch the tool from activities overview screen. When it opens, click on “I’ll be careful” button, and then navigate to “org/gnome/shell/extensions/dash-to-dock“.

There you’ll see all the settings for Ubuntu Dock. Scroll down and toggle off the slider icon for “show-trash” will do the trick.

That’s it. Enjoy!

After installed the new Ubuntu 22.04, 23.04 and Ubuntu 23.10, one of the top things to do is tweaking the left dock panel.

Via “System Settings -> Appearance”, you may change the panel position to bottom, adjust icon size, and enable auto-hide. However, the 9 dots ‘Show Applications’ (or ‘Show Apps’) icon sticks to the bottom which is not movable.

Move ‘Show Applications’ button to the Top:

Though you can not drag moving the icon, Ubuntu has hidden option to change the position. And you may run single command in terminal to do the trick.

Press Ctrl+Alt+T on keyboard to open terminal. When it opens, paste the command below and hit Enter:

gsettings set org.gnome.shell.extensions.dash-to-dock show-apps-at-top true

The icon goes to top (or left if you moved dock to bottom) immediately after running the command. So it will look like:

Shorten the Dock Panel:

The dock launcher is easy to move to the bottom, but Appearance setting does not has option to make it compact, so to have Mac OS style short bottom panel.

To shorten Ubuntu Dock, press Ctrl+Alt+T to open terminal and run command:

gsettings set org.gnome.shell.extensions.dash-to-dock extend-height false

After that, it will look like:

Configure Ubuntu Dock via Dconf Editor:

For those hate Linux commands, there’s an advanced configuration tool ‘Dconf Editor’ available to do the trick.

Search for and install the tool from Ubuntu Software if you don’t have it.

Next, open Dconf Editor by searching from activities overview screen. Then navigate to “org/gnome/shell/extensions/dash-to-dock“. There you’ll see a list of options to configure the dock panel, including moving ‘Show Applications’, ‘extend-height’, ‘click to minimize’, and more.

That’s all. Enjoy!