Skip to content

Dear Internet Explorer user: Your browser is no longer supported

Please switch to a modern browser such as Microsoft Edge, Mozilla Firefox or Google Chrome to view this website's content.

Dark Theme in WSL2

Implement a “dark theme” for GUI apps in Windows Subsystem for Linux (WSL2)

To enact a “dark theme” in Ubuntu 22.04, I installed GNOME Tweaks:

sudo apt install gnome-tweaks

Then I configured the following settings:

gsettings set org.gnome.shell.ubuntu color-scheme prefer-dark
gsettings set org.gnome.desktop.interface gtk-theme Yaru-dark
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
gsettings reset org.gnome.shell.ubuntu color-scheme

Graphical apps such as Nautilus and Firefox were then displayed with a “dark theme”.

Screen capture of file manager utility in Linux Ubuntu 22.04
Nautilus with Dark Theme enabled in Windows Subsystem for Linux (WSL2) Ubuntu 22.04
   

Comments

No comments have yet been submitted. Be the first!

Have Your Say

The following HTML is permitted:
<a href="" title=""> <b> <blockquote cite=""> <code> <em> <i> <q cite=""> <strike> <strong>

Comments will be published subject to the Editorial Policy.