Sublime text does not detect the dark theme on GNOME

Sublime text also doesn’t seem to detect the dark/light theme anymore on GNOME, it always displays the light theme.

Okay, solution for this one:

Sublime is a “legacy GTK application”, and it will try and get the used theme from the “Legacy applications”, trying to see if it’s a dark or light theme:

If you have the Night theme switcher extension installed, set the following to run upon theme change, since it doesn’t support changing the “legacy GTK theme” anymore:

Set commands to run on changing:

gsettings set org.gnome.desktop.interface gtk-theme <your-preferred-light-theme>


gsettings set org.gnome.desktop.interface gtk-theme <your-preferred-dark-theme>

This will make sublime start changing its theme again.

194 posts were merged into an existing topic: [Stable Update] 2024-05-13 - Kernels, Plasma 6, Gnome 46, LxQT 2.0, Nvidia, Pacman