Current Date: Sun, Apr 11, 2021 3:26 AM

How to enable Dark Mode in Ubuntu 20.04 LTS

How to enable Dark Mode in Ubuntu 20.04 LTS

If you have ever used dark mode on a mobile phone, then you will be surprised to learn that it is also available on Linux computers. Basically, Dark Mode will change the color scheme of programs and UI to dark color and make it appear less light while also easier on the eyes. Enabling Dark Mode on your system not only reduces eye strain but also extends battery life.

In this tutorial, Make tech easier will show you how to enable Dark Mode on a full Ubuntu Linux system.

Prerequisites

  • Ubuntu 20.04 system
  • User with sudo privilege

Note:

  • The procedure discussed in this article has been tested on Ubuntu 20.04 LTS.
  • To launch Terminal command, press Ctrl + Alt + T.

Enable Dark Mode in Ubuntu

Follow the steps below to enable Dark Mode in Ubuntu:

Step 1: Launch Settings

First you will need to launch the app Settings in the system. You can do so by going to the top right corner of the screen and clicking on the system menu. Then, from the menu that appears, click Settings.

Another way to open a widget Settings is right-click Desktop and from the context menu that appears, select Settings.

Step 2: Turn on Dark Mode

From the left sidebar in the app Settings, select tab Appearance. Here, you will find 3 different themes in the section Window colors. Ubuntu has a standard theme enabled by default.

Now, to enable Dark Mode on your system, select "Dark" as shown in the following screen shot. The changes will be applied immediately and you will see nearly all of the default apps, including windows Settings and Nautilus File Manager is currently in dark background.

How to enable Dark Mode in Ubuntu 20.04 LTS Choose "Dark"

However, you will notice that the dark theme has not yet been applied to the shell, such as in the right-click context menu and notification area, the system menu, and the application menu (in the top panel).

In the following screen shot, you can see that application File Manager andSettings is in dark background while the context menu is in bright mode.

How to enable Dark Mode in Ubuntu 20.04 LTS File Manager and Settings apps are in dark background while the context menu is bright

Turn on completely dark background

In the next section, I will see how to enable Dark Mode in the rest of the UI shell areas. In this way, you can achieve a completely dark background in your system.

Follow the steps below to enable completely dark background on Ubuntu:

Step 1: Install the Gnome shell extensions

You will need Gnome shell extensions that allow you to enable dark theme for shell. Use the following command in Terminal to install the Gnome shell extensions:

$ sudo apt install gnome-shell-extensions

Step 2: Install Gnome Tweaks utility

Then install the Gnome Tweaks utility with the following command:

$ sudo apt install gnome-tweaks

Step 3: Turn on User Themes extensions

Now, open the Gnome Extensions app on your system. To do so, press the super key and type extensions in the search bar. When the icon is for the application Extensions appears as you can see in the following screen shot, click the icon to open it.

App Extensions, slide the toggle button beside User Themes to the position On.

How to enable Dark Mode in Ubuntu 20.04 LTS Slide the toggle button next to User Themes to the On position

Now, log out of the system and login again or just press Alt + F2 then pressr to restart Gnome shell.

Step 4: Change Shell theme

Now, open the widget Gnome Tweaks and from the left sidebar, select a tab Appearance. Then choose Yaru-dark from the drop-down options side by side Shell.

The changes will be applied immediately, and you will see the dark theme applied to all remaining areas, including the right-click context menu, notification area, system menu, and apps menu.

How to enable Dark Mode in Ubuntu 20.04 LTS Dark theme is applied to all remaining regions

Turn off Dark Mode

If you are bored with the dark theme, you can disable it from the Gnome Tweaks utility.

1. Open utilities Gnome Tweaks and from the left sidebar, select a tab Appearance.

2. Then choose a theme Default from the drop-down options side by side Applications and Shell.

How to enable Dark Mode in Ubuntu 20.04 LTS Select the Default theme from the drop-down options next to Applications and Shell

Now the dark background mode will be disabled and the default light mode will be applied to the system.

See more:

  • How to install Putty SSH Client on Ubuntu 20.04 LTS