Skip to content

GTK Applications

A large numbers of for linux uses applications GTK (GIMP Toolkit) for UI. You can apply theme by editing gtk.css. Apply this method will make effect most gtk based applications with some exception.

Here some of the applications that will effected by this:
NameToolkitNameToolkit
ThunarGTK 3GeditGTK 3
GNOME TerminalGTK 3GNOME Files (Nautilus)GTK 4
GNOME CalendarGTK 4GNOME MapsGTK 4
GNOME WeatherGTK 4GNOME CalculatorGTK 4
GNOME MusicGTK 4GNOME PhotosGTK 4
GNOME ContactsGTK 4EvinceGTK 3
Eye of GNOMEGTK 3GearyGTK 4
FractalGTK 4BuilderGTK 4
LoupeGTK 4SnapshotGTK 4
CelluloidGTK 4FoliateGTK 3
LollypopGTK 3BluemanGTK 3
NM-AppletGTK 3PavucontrolGTK 3
MousepadGTK 3AtrilGTK 3
PlumaGTK 3EngrampaGTK 3
XedGTK 3XreaderGTK 3
GalculatorGTK 3LXTerminalGTK 3

Add the following line to the configuration:

toml
[links]
"gtk.css" = [
  "~/.config/gtk-3.0/gtk.css",
  "~/.config/gtk-4.0/gtk.css",
]

INFO

You need to generate colors for these configuration files to be created. Run:

bash
rong video path/to/image/or/video

Reload

Restarting you're gtk based applications will apply the material theme. If you're changing the theme color then run:

Replace [mode] with light or dark.

bash
gsettings set org.gnome.desktop.interface gtk-theme ""
gsettings set org.gnome.desktop.interface gtk-theme adw-gtk3-[mode]