Archives For Gnome Shell

The popular Gnome 3 desktop session for Linux. Available in Ubuntu Software Center.

Gnome 40 automatically logs into ‘Activities’ overview screen instead of a blank desktop. Don’t like this feature? Just disable it!

Gnome 40 finally lands in Ubuntu 21.10, brings the new design of its ‘Activities’ overview screen. The workspaces are now horizontal and locate across the center of screen. Along with small boxes under the search box, all running app windows will be there. And it introduces new touchpad gestures to switch between workspaces.

Instead of a blank desktop, Gnome 40 shows you the redesigned Activities by default. It’s great for you to get start directly by searching items, or accessing favorite apps on the left dock.

But I don’t like the feature and want to disable it! Well, an extension is here to do the job.

“No overview at start-up” is the simple extension to revert the change, so Ubuntu 21.10, Fedora 34 or other Linux with Gnome 40 will log into a blank desktop just like before.

Install No overview at start-up Extension:

1. Firstly, press win/super key, then search for and open terminal. When terminal opens, copy and paste the command below and hit run.

The command will install the “chrome-gnome-shell” package to enable ability to install Gnome Shell Extensions from web browser. And install “gnome-shell-extension-prefs” (Gnome Extensions App) for managing extensions.

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

type user password (no asterisk feedback) when it asks and hit Enter. Then type ‘y’ if asked to confirm to install the packages

2. Next, go to the extension page via the link button below. Turn on the toggle icon to install it.

If you don’t see the slider icon, click the ‘click here to install browser extension‘ link to install browser add-on and reload the page.

The extension should function once you installed it. And you can click ‘Activities’ then search and open Gnome Extensions App to toggle on / off, or remove the extensions.

That’s it. Enjoy!

Want to automatically power off Ubuntu after given time? Here’s an Extension adds the option to top-right system menu.

Yes, you can do this either via a graphical shutdown application, or shutdown command with few parameter. However, for beginners or those hate Linux command, life will be easier with the ShutdownTimer extension.

The extension adds an option under Power Off/Log Out menu. With it, you can just move the slider to change time delay, and turn on the toggle icon to automatically shutdown your computer.

A setting dialog is available by clicking on the gear icon. There you can set the minimum and maximum time value, and use Automatic Suspend instead of shutdown.

As some running apps/services might prevent user shutdown, “Root mode” is available to perform the action via super user privilege. However, you need to type user password every time you enable automatic shutdown.

How to Install the ShutdownTimer extension:

The extension supports all current Ubuntu releases running with default Gnome Desktop. As well, GNOME 40 is supported.

1.) Firstly, open terminal by pressing Ctrl+Alt+T on keyboard. When terminal opens, run command to install the required packages:

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

2.) Secondly, go to the extension web page and click on the slider 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.

Once you installed the extension, the option should appear in system menu immediately. Log out and back in or restart Gnome Shell if you don’t see the option.

This simple tutorial shows how to add a system tray menu option to switch between Dark and Light system mode in Ubuntu.

By default, the System Settings -> Appearance page offers options to choose Standard, Light, and Dark window colors. It however only apply the app theme.

For system menu, notifications, date and time menu, etc, you have to install user themes extension, and change the Gnome Shell theme individually via Gnome Tweak Tool.

Here I’m going to introduce a new Gnome Shell Extension called ‘Ubuntu Appearance‘. With it, you can toggle fully dark and light mode easily via a few clicks.

The extension features:

  • Integrate Light, Dark, Standard option into system tray menu.
  • Toggle fully dark / light mode, not only app window colors but also system theme (e.g., system menu, calendar, notifications.).
  • Option name vary according to current system mode.
  • The user themes extension is not required.

Install Ubuntu Appearance extension:

1.) Firstly, open terminal by pressing Ctrl+Alt+T on keyboard. When terminal opens, run command to install required packages:

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

2.) Secondly, go to the extension web page and click on the slider icon to install it.

Though the extension says for Gnome 40, it works well in my Ubuntu 20.04 and Ubuntu 21.04 machine.

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

Once you installed the extension, the option should appear in system menu immediately. Log out and back in or restart Gnome Shell if you don’t see the option.

Unlike laptop lid close action, it’s easy to tell Ubuntu to shutdown or hibernate automatically when reached idle timeout.

In all current Ubuntu releases, including Ubuntu 18.04, Ubuntu 20.04, and Ubuntu 21.04 running with the default GNOME desktop, you can enable ‘Automatic Suspend‘ feature in Power Settings easily.

What if you want to power off, hibernate, or even log-out Ubuntu after it reached inactivity timeout? Here’s how to do this in two ways.

Method 1. Run 2 commands to enable Automatic Shutdown / Hibernate:

Firstly open terminal either from system application launcher or by pressing Ctrl+Alt+T on keyboard.

NOTE: Hibernate does not function out-of-the-box in current Ubuntu releases. You have to enable it first if you need automatic hibernation.

When terminal opens, run command:

  • Enable automatic shutdown for desktop PC or laptop on AC power:
    gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'shutdown'

    For choices, you can change ‘shutdown’ in command to ‘hibernate‘, ‘logout‘, ‘nothing‘, etc.

  • Change the inactivity timeout (in seconds), half an hour for instance:
    gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 1800

For laptops on battery, use following commands instead:

gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'shutdown'
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 1800

Method 2: Change system idle action via Dconf Editor.

For those prefer graphical configuration tool, search for and install ‘Dconf Editor‘ from Ubuntu Software.

Then launch the tool, and go to ‘org/gnome/settings-daemon/plugins/power‘.

Next scroll down, find out and change the values of ‘sleep-inactive-ac-type‘ and ‘sleep-inactive-ac-timeout‘ for system idle action when on AC power.

When on battery, change the values of ‘sleep-inactive-battery-type‘ and ‘sleep-inactive-battery-timeout‘ instead.

Changes will take place immediately when you click on ‘Apply’ button.

Gnome Tweaks, one of the must have apps for configuring Ubuntu, removes GNOME Shell Extensions support by releasing version 40.

Which means in next Ubuntu release which will ship with Gnome 40+, you have to use another tool to manage Gnome Shell Extensions.

If you have tried out Fedora 34, you should already see the prompt at first launch of Gnome Tweaks: “Extensions management has been moved to GNOME Extensions”.

The “new” tool “GNOME Extensions” is available in Ubuntu universe repositories since Ubuntu 20.04 LTS. If you don’t have it, open terminal by pressing Ctrl+Alt+T on keyboard, and run command to install it:

sudo apt install gnome-shell-extension-prefs

Then you can open it from system app launcher.

Different to the extensions tab in Gnome Tweaks, the GNOME Extensions tool displays built-in Gnome Shell extensions and user installed extensions separately.

Besides the slider icons to toggle on/off extensions and gear buttons to change extension settings, there’s a triangle icon after each extension. Clicking on the icon will expand the extension with a brief description as well as the website and remove buttons.

In addition, Fedora users can get the tool by installing gnome-extensions-app package. Other Linux with Gnome Desktop can install the flatpak package.