How to Switch to Dark Mode in Fedora Linux [Beginner's Tip]

Unlike Ubuntu, Fedora offers the actual, vanilla GNOME experience. And that works pretty well. The horizontal layout, the three finger swipe, it’s all good.

The one thing I don’t like is the default standard theme which is a mix of Adwaita Light (default) theme and the dark shell.

So, while the notifications and notification area are dark, rest of the system and applications have light theme. And quite honestly, it looks dull for my taste.

fedora gnome standard theme
Fedora GNOME standard theme

On the other side, the dark theme makes it look better.

fedora gnome dark theme
Fedora GNOME dark theme

Let me show you how to turn the dark mode on in Fedora or any other distribution that uses GNOME desktop environment.

Switch to dark mode in Fedora

Alright! I’ll share the command line method because it is quicker. Open a terminal and use this command:

gsettings set org.gnome.desktop.interface gtk-theme Adwaita-dark

That’s it. It was easy, right? But I’ll also show the GUI method.

Since I use Ubuntu primarily, my reference point is always Ubuntu. Ubuntu provides the option to switch between the light and dark theme in the system settings itself.

However, there is no such settings in the vanilla GNOME. You’ll have to install GNOME Tweaks tool on Fedora first and then use it to switch themes.

You could either search for it in the software center and click the ‘Install’ button:

install gnome tweaks fedora
Install GNOME Tweaks from the software center in Fedora

Or, you type the following command in the terminal:

sudo dnf install gnome-tweaks

Once installed, search for it in the system menu by pressing the super key (Windows key):

start gnome tweaks tool in fedora
Start GNOME Tweaks

Click on the Appearance tab in the left sidebar and click on the Applications under the Themes section.

change gtk theme fedora
Changing theme in Fedora

You’ll see a few available themes here. You should select Adwaita-dark here. As soon as you select it, the application will switch to dark theme.

switching dark mode fedora
Selecting the Adwaita-dark theme

And that’s all you need to do to switch to dark mode in Fedora. Since the GNOME Shell is already using dark theme, you don’t need to explicitly set it to dark mode. All the notifications, message tray etc. are in dark mode always.

Conclusion

You can find various dark GTK themes and install them to give your Fedora a different dark look. However, I have noticed that it is only the system’s own dark theme that is recognized by web browsers.

So, if you visit a website that automatically enables dark mode based on your system theme, it will work with Adwaita-dark but may not work with other dark GTK themes.

That’s one sure shot advantage of using dark theme provided by the system.

As you can see, it’s not a rocket science to enable dark mode in Fedora. It’s just a matter of knowing and finding things.

Enjoy the dark colors!

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.