v5-templates-official-gtk-qt.md
This guide covers theming applications built with GTK, Qt, and KDE Plasma toolkits.
Section titled “GTK 3/4 Applications”
GTK applications include most GNOME apps and many Linux applications. Noctalia can automatically theme them using the adw-gtk3 theme.
Install required packages:
Apply the GTK theme:
Terminal window
gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3'
Section titled “Troubleshooting”
Terminal window
gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3'gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' # or 'prefer-light'
Terminal window
flatpak install org.gtk.Gtk3theme.adw-gtk3-darkflatpak install org.gtk.Gtk3theme.adw-gtk3
Section titled “Qt Applications”
Qt applications include KDE apps and many cross-platform applications. KDE apps (Dolphin, KDE Connect) require the use of a KColorScheme, and so this is the preferred way to theme QT applications. Use of a normal QT theme instead of a KColorScheme can cause colors to appear incorrectly or unreadable when running KDE apps. If KDE apps are not used, then the normal QT theme can be used instead.
Install an application that allows you to apply QT/KColorScheme themes: While the setup steps will go through the process of using qt6ct-kde, there are multiple options available.
Set environment variable: Add this to your window manager configuration or shell profile:
Enable the KColorScheme (or QT theme) in Noctalia:
qt6ct from terminalnoctalia (KColorScheme) if using a KColorScheme for KDE app compatibility, or noctalia for a normal QT theme without the need for KDE app compatibility.Section titled “Troubleshooting”
QT_QPA_PLATFORMTHEME environment variable is not correctly set to qt6ct (Note: This may require a reboot if you set it for the first time).Section titled “KDE Plasma (KColorScheme)”
If you’re using KDE Plasma, Noctalia can apply colors through the native KColorScheme system.
noctalia color schemeSection titled “Troubleshooting”