Archives For Gnome

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.

For those prefer Gnome 3 style Activities overview, here’s how to bring back the vertical workspace thumbnails in Ubuntu 21.10 and Ubuntu 22.04.

Since Ubuntu 21.10, the default GNOME desktop brings new design of the Activities overview screen. It now has large and horizontal workspaces locates across the center of screen. Along with thumbnails in the top, you can either click / use keyboard shortcuts or touchpad gestures to switch workspaces.

Personally I like the new design. But for those who are accustomed to the vertical view, here’s an extension to restore the change.

1. Prepare for installing Gnome Shell Extension:

Before getting started, make sure chrome-gnome-shell package is installed for GNOME Shell extensions integration for web browsers.

To do so, open terminal (Ctrl+Alt+T) and paste the command below and hit Enter:

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

The command also installs the app for managing Gnome Extensions.

2. Install Vertical Overview extension:

Next go to the link page below in your web browser, then turn on the slider icon to install the extension:

Don’t worry if you don’t see the slider icon, click the ‘click here to install browser extension’ link to install browser extension and re-fresh the web page.

NOTE: The preinstalled Firefox in Ubuntu 22.04 does not support installing Gnome Extensions. As a workaround, you may search for & install “Extension Manager” in Ubuntu Software. Then, use the tool to search and install Vertical Overview extension.

Install the extension via Extension Manager tool

3. Configure Overview Appearance:

After installed the extension, you can press Win/Super key and search for and open ‘Gnome Extensions app’ to configure its settings.

Click on the gear button, then you can change the workspace thumbnail size, position, as well as toggle on / off the big central workspace.

That’s all. Enjoy!

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 change the position of top-bar items, e.g., Activities button, app menu, date and time, and system tray icons?

A Top Bar Organizer extension now is available for Ubuntu 21.04 Gnome 40. With it, you can drag and drop to re-order top panel items as you prefer. For example, moving the Activities button or date & time clock menu to right corner.

Install Top Bar Organizer:

1.) Firstly open terminal by pressing Ctrl+Alt+T on keyboard. When terminal opens, run command to install Gnome extension integration for web browser, as well as Gnome Extension management tool:

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:

Don’t see the slider icon? Install browser extension by clicking on ‘Click here to install browser extension’ link and refresh the web page.

3.) Finally search for and open ‘Extensions‘ from system app launcher. And click on the gear icon to open the extension settings.

Next drag and drop to re-order all panel items and 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.

Want to get Google search suggestions in your system search results? There’s now an extension to enable the feature in Gnome Desktop.

Google Search Provider is the extension inspired by DuckDuckGo Search Provider. With it, typing any keyword in the Activities overview or ‘Show Applications’ search box will display Google search suggestions. And you can click to open the result in your favorite web browser.

How to Install the Extension in Ubuntu:

The Gnome Shell extension so far supports Gnome 3.36 & 3.38, so it should work in Ubuntu 20.04, Ubuntu 20.10, and the upcoming Ubuntu 21.04.

1.) Firstly open terminal (Ctrl+Alt+T) and run command to install the chrome-gnome-shell package if you don’t have it:

sudo apt install chrome-gnome-shell

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

If you don’t see the toggle icon, click the link “Click here to install browser extension” and refresh the web page afterward.

Uninstall Gnome Shell Extension

To remove the extension, either go to the web page again or use Extensions tool, which can be installed via sudo apt install gnome-shell-extension-prefs command.

Want to try out the new Gnome 40 Desktop? You can install it in Ubuntu 21.04 Hirsute Hippo via PPA.

Gnome 40 was released more than a week ago with new features including new design for the overview screen, a horizontal workspace switcher, Dock at the bottom, new gestures, and more.

While Ubuntu 21.04 includes Gnome 3.38.x with some Gnome 40 core applications, you can get the new desktop environment via this third-party PPA.

WARNING: GNOME 40 is not yet officially supported in Ubuntu 21.04. The PPA packages is just for testing purpose! Use it at your own risk!

1.) Firstly open terminal by pressing Ctrl+Alt+T on keyboard. When it opens, run command to add the PPA:

sudo add-apt-repository ppa:shemgp/gnome-40

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

2.) After adding the PPA, run command to upgrade the mutter window manager:

sudo apt install mutter

You can follow the command in the PPA description, which adds the package version in the code. It however just works with the package name only.

3.) Then install Gnome Shell 40 via command:

sudo apt install gnome-shell

4.) As the default Yaru theme is not updated for Gnome 40, you have to install and use Gnome Session instead of the Ubuntu Session. To install it, run command:

sudo apt install gnome-session

5.) And run command for the rest packages:

sudo apt upgrade

Finally reboot your machine. When you’re in login screen, DO SELECT “Gnome” or “Gnome on Xorg” before logging in. To do so, select your user and then click the gear button in the bottom-right and select Gnome in popup menu.

How to Uninstall Gnome 40:

To remove the new Gnome Desktop and revert back to the original v3.38.x, run command to purge the Ubuntu PPA:

sudo apt install ppa-purge && sudo ppa-purge ppa:shemgp/gnome-40

And if you no longer use the Gnome Session from login screen, remove it via command:

sudo apt remove gnome-session

Prefer the light mode appearance? Here’s how to change the system tray menu, date & time menu, notifications, and other top panel drop-down menus from dark to light in Ubuntu 21.04.

Different to previous Ubuntu releases, Ubuntu 21.04 now has top-panel menus in dark mode. It’s good for those prefer the dark themes. However, light mode fans need to change the Gnome Shell theme to get better experience.

Before:

After:

1. Install User Themes Extension:

To get started, you have to first install the User Themes Gnome Shell extension, which enables ability to change the Gnome Shell Theme.

Method 1: Install the extension via single command:

Press Ctrl+Alt+T on keyboard to bring up a terminal window and run the command below will install a dozen of extensions, including User Themes, in Ubuntu:

sudo apt install gnome-shell-extensions

Once installed, log out and back in.

Method 2: Install the extension from extensions.gnome.org:

For clean freak just need the single extension, firstly install chrome-gnome-shell package via command:

sudo apt install chrome-gnome-shell

Then click to go to the extension web page and turn on the toggle icon to install the extension.

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

2. Change Gnome Shell Theme:

After installed User Themes extension, launch Gnome Tweaks (install it from Ubuntu Software) and go to Extensions tab.

There scroll down, find out and turn on the extension, click the gear button to get into settings. And finally select Yaru-light or gnome classic for even light top panel.

That’s it. Enjoy!