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”.