Archives For Gnome

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 to do the trick in Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 24.04.

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

For those who are familiar with Linux commands, it can be done by running a single gsettings command.

To do so, press Ctrl+Alt+T on keyboard to open up a terminal window. When it opens, 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: Use System Settings (for Ubuntu 24.04)

For Ubuntu 24.04 with GNOME 46, system settings (aka Gnome Control Center) has include a toggle option to show/hide the weekday in top-bar.

First, press Super (Windows logo key) + S to open system status menu (Quick Settings), then click launch “Settings”. When it opens, navigate to System in left, then go to Date & Time, finally turn on the option for “Week Day” to enable this feature.

Option 3: Toggle Weekday Display via Gnome Tweaks

For Ubuntu 22.04 and Ubuntu 20.04, 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”.

Option 4: Use Dconf Editor

As you may know, the advanced configuration tool “Dconf Editor” also provides a graphical option to toggle this function.

First, search for and install ‘Dconf Editor’ from either Ubuntu Software or App Center.

Then, launch the tool and navigate to “org/gnome/desktop/interface“. Finally, find out and turn on the option for “clock-show-weekday”:

As you see, the tool also provides tons of other configure options. Use them as you want and 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!

This simple tutorial shows how to remove the trash icon from the dock in Ubuntu 24.04 Noble Numbat.

Different to the previous releases, Ubuntu 24.04 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.


Continue Reading…

After installed the new Ubuntu 22.04 and Ubuntu 24.04, 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!

For laptop and desktop PC with more than one audio input and output devices, it’s possible to switch between audio devices quickly with upper right corner system tray menu.

It’s a common situation that users have more than one audio devices connected to the computer. GNOME, the default Ubuntu Desktop Environment, provides Sound settings to choose which input and/or output device to use.

To make life easier, a Gnome extension is available to integrate the settings into system tray status menu under volume control slider. So users can quickly choose a speaker, HMDI, microphone or other input device via few clicks.

The extension offers a setting dialog allows to select which device, e.g., HDMI , Speakers, microphone etc, you would like to display or hide in menu. It’s possible to hide the menu when there’s only one choice, or manually toggle visible of either menu, as well as audio profiles.

Install the audio device chooser extension:

The extension supports up to GNOME 40, it works on Ubuntu 18.04, Ubuntu 20.04, Ubuntu 21.04, and next Ubuntu 21.10. As well, all recent GNOME based Linux distros, e.g., Debian 11, Fedora 34, CentOS 8, and Manjaro are supported.

1.) Firstly, open terminal by either searching from activities overview or pressing Ctrl+Alt+T on keyboard.

2.) When terminal opens, run command to install the chrome-gnome-shell package which allows to install Gnome extensions using your web browser. Also install gnome-shell-extension-prefs (Gnome Extensions app) package, the tool to manage all installed extensions.

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

3.) Finally, go to the link button below and turn on the slider icon to install the extension.

Don’t worry if you don’t see the toggle icon, install the browser extension via ‘Click here to install the browser extension’ link and refresh the web page will make it visible.

After installation, search for and open “Gnome Extensions” from the overview screen. Then click on the gear button for this extension to configure the audio device chooser menu.

That’s all. Enjoy!

After half a year of development, the GNOME project announced version 41 of its popular Linux desktop environment.

GNOME 41 comes with some exciting new features. The upper right corner system tray menu now includes option to make it easy to switch Power Mode between “Balanced” and “Power Saver”. It’s said that “Performance mode” is only visible on hardware that supports this feature, though I don’t understand which hardware required, may be a dedicated graphics card.

The GNOME Settings panel introduced two new items in the left pane: Multitasking and Mobile Network.

The “Multitasking” pane offers options to toggle top-left hot-corner to open Activities overview, app window auto-resizing function when dragging against screen edges; set dynamic or fixed number of workspaces; show workspace on primary only or all displays; super + tab switching for apps on all workspaces or current workspace only.

The “Mobile Network” pane is only visible when a supported modem is present, e.g., 2G, 3G, 4G, and GSM/LTE. It allows to set the network type, whether to use mobile data and data roaming. And it supports multiple SIMs and modems, allows to easy switching network modes.

Other changes in Gnome 41 include:

  • New “Connections” remote desktop app with VNC and RDP support.
  • Overhaul Gnome Software.
  • Redesigned Gnome Music.
  • Faster response to keyboard & pointer input on Wayland.
  • New default GL renderer for GTK4.
  • Create encrypted .zip archives in Files.
  • Import events to Calendar from .ics files.
  • Code cleanup in Mutter, and more.

How to Get Gnome 41:

Usually, the newest GNOME desktop will be first made into Fedora and Arch Linux. Users are recommended to wait your Linux distribution to include the desktop environment.

For testing and development purpose, you can try the GNOME OS either in virtual machine or real computer. Or download the iso image from the link button below:

For users switching from macOS, there’s a GNOME Extension to replace the top-left corner ‘Activities‘ with system logo menu.

So the top-left corner will display your selected logo icon instead of the ‘Activities’ button. When you click on it, a drop-down menu opens with options to quick access:

  • About system page.
  • System Settings.
  • Software Center.
  • Activities.
  • Force Quit App – it runs xkill so mouse pointer turns to a fork icon. Click any app window will kill it! Or right-click to cancel.
  • Terminal.
  • Gnome Extensions App.

This will make one more click to access the ‘Activities’ overview screen. You can however press Win/Super key instead, or enable “Activities Overview Hot Corner” (hit top-left corner via cursor) in Gnome Tweaks under ‘Top Bar’ settings.

Install the Logo Menu Extension:

The extension works on all recent Gnome releases shipped in Ubuntu 20.04, Ubuntu 21.04, Ubuntu 21.10, Debian 11, Fedora 34, CentOS 8, Arch Linux, and more.

For Ubuntu, firstly open terminal (Ctrl+Alt+T) and run command to install the browser integration package for installing Gnome Shell extensions via your web browser. As well, install the Gnome Extensions App to manage them.

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

Next go to the extension page via the link button below, turn on the slider icon to install it:

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

Restart Gnome Shell if the ‘Activities‘ button does not change. To do so, either press Alt+F2, type r, and hit Enter, or log out and back in.

And finally press Win/Super key on keyboard, search for and open ‘Gnome Extensions App‘. Then click on the gear button to configure the extension:

  • choose desired icon, since it defaults to Fedora logo.
  • adjust the icon size.
  • specify executable for terminal and software center (For Ubuntu, it’s snap-store by default).

Missing the old Ubuntu Unity style login screen? It’s easy to get it back in Ubuntu 18.04, Ubuntu 20.04 and higher.

LightDM, stands for Light Display Manager, is a free open-source project by Canonical, the company behind Ubuntu. Ubuntu up to version 16.04 LTS uses it as the default display manager. And it’s present in Linux Mint 20 and some Ubuntu flavors.

For those prefer the LightDM style login screen, it’s available in Ubuntu universe repositories:

How to Install LightDM in Ubuntu 20.04 & Higher:

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

sudo apt install lightdm unity-greeter

While the installing process, it will prompt to configure the display manager. Just hit Enter on the screen.

At the next screen, use up/down arrow key to choose “lightdm” and hit Enter to apply.

Once installed, restart your computer and you’ll see the new login screen!

Configure LightDM login screen:

Uses are mostly want to remove the white dots and change the login background wallpaper.

To do so, open terminal (Ctrl+Alt+T) and run command to install dconf-editor if you don’t have it:

sudo apt install dconf-editor

Next, run command to grant lightdm user privilege to access control list:

xhost +SI:localuser:lightdm

Finally launch dconf editor via lightdm:

sudo -u lightdm dconf-editor

When it opens, navigate to “com/canonical/unity-greeter“. Then turn off ‘draw-grid’, and change background image as you want.

For more settings, see the Ubuntu Wiki.

How to Restore Gnome Login Screen:

To revert back the original GDM display manager. Firstly, open terminal and run command to disable LightDM:

sudo systemctl disable lightdm.service

Then launch the configure screen by running the command below:

sudo dpkg-reconfigure lightdm

This time choose ‘gdm3’ to handle the login screen and hit Enter.

Finally, remove lightdm as well as its dependency packages via command:

sudo apt remove --autoremove lightdm unity-greeter

That’s all. Enjoy!

Ubuntu 21.10 daily build got an update for its gnome-control-center package(System Settings) recently. The ‘Standard’ mode is finally removed from the Appearance settings.

The Yaru theme developer team submitted the request to remove the ‘Standard’ theme when in June, since both GTK3 and GTK4 do NOT support having different background / text colors for headerbar than in the rest of the window.

The development build of Ubuntu 21.10 finally apply the change in the recent update. The ‘Window colors’ options under Appearance settings are now only fully dark and fully light. There’s no longer dark header bar with light window color called ‘Standard’.

Along with the new thumbnail preview, the context menus for the desktop, file manager, and other Gnome apps also inherit the dark and light appearance setting.

They are still some apps, e.g, Gnome Terminal and Ubuntu Software, that are not implemented for the changes.

As before, the settings do not change the color of top-bar menus, notification, and left dock menu, etc. However, a patched version of gnome-control-center is available to easily toggle the WHOLE system to Dark or Light.

Want to enable Guest account in Ubuntu? Without switching to another display manager, you can add Guest in Gnome login screen for people to use your computer while NOT being able to install/remove app, change system wide settings, and access files outside its own directory.

Guest is available by default in Ubuntu 16.04 Unity desktop. After Ubuntu switched to Gnome Desktop, the feature is removed. For those need Guest account, it’s easy to add it back via following steps.

1. Create Guest Account.

Firstly, open system settings either from top-right system menu, or by searching from Activities overview screen.

Next, navigate to Users in left pane (For Ubuntu 24.04, go to “System -> Users” in settings app) and click “Unlock” button and type your user password to unlock the settings page.

Finally, click on “Add User…” to create a new user:

  • select Standard, (for Ubuntu 24.04, leave “Administrator” turned off) so it has no sudo permission, can’t install/remove app, and no access file outside its user home.
  • set username to Guest.
  • And set password for it. REQUIRED though it’s useless. Next step I’ll tell how to enable no password login.

2. Enable No Password Login for Guest

Press Ctrl+Alt+T on keyboard to open terminal, then copy and paste the command below and hit Enter.

sudo gedit /etc/pam.d/gdm-password

This command will open the configuration file. Simply add the following line at the beginning (so it will be the first line) and save it:

auth sufficient pam_succeed_if.so user ingroup guest

OK, in next boot you’ll see the Guest account in GNOME login screen. Simple click to login without typing password, and enjoy!

3.(Optional) Add more Restrictions:

The Guest account can’t install/remove apps, manage PPAs, access files out of its home directory. Any action needs authentication will ask for typing password for Admin Account.

It however has permissions to customize its own desktop appearance, access CD Rom, mount/un-mount USB and other removable devices, use audio/video devices (e.g., webcam, microphone), full and direct access to serial ports.

These permissions are handled via groups. You can check which groups that include Guest account via command:

cat /etc/group |grep guest

And the Debian Wiki tells what do the groups do. By removing Guest from a group will disable the permission. For example, remove it from plugdev group run command:

sudo gpasswd --delete guest plugdev

For even more restrictions, e.g., disable save file, lock down appearance settings, disable printing, etc., go to the Gnome Wiki.