0

I'm running Ubuntu 20.04 under WSL 2 and GUI apps are working quite well via VcXsrv except that they don't respect the Windows 10 dark mode setting. I have dark mode on all the time so I'm fine with just having it always use dark mode for linux apps. I'd much prefer to use linux apps when possible but I also really like using the dark theme.

I've tried the steps suggested in this AskUbuntu question page, but that doesn't appear to have worked.

Specifically: I created a settings.ini in both ~/.config/gtk-3.0 and ~/.config/gtk-4.0 containing the recommended setting.

I've also executed gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'.

I restarted all of my GUI apps but they still are still using the normal light theming.

Is it possible to have linux GUI apps use dark theming under WSL 2?

1

To solve this issue I am using an app from the Microsoft Store (free) that is called GWSL, it basically creates the Xserver on its own and exports it. So after installing it you can open any GUI Ubuntu application from the terminal. Then you can modify the appearance under:
GWSL Distro Tools -> GTK Theme

GWSL Options:
GWSL Options

Tilix terminal:
Tilix terminal

Nautilus:
Nautilus

New contributor
Claudio Cortellessa is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.