Pass the GTK_THEME
environment variable to the app:
$ GTK_THEME=<theme> <path>
You can replace <theme>
with any available theme:
$ ls /usr/share/themes
Adwaita Adwaita-dark Default Emacs HighContrast Pop Pop-dark Raleigh
Note that the Adwaita-dark
theme is actually Adwaita:dark
.
For .desktop
files, you need to wrap the command inside a shell command.
For example:
[Desktop Entry]
Version=1.0
Name=PulseUI
Comment=LINUX UI CLIENT
Exec=bash -c "GTK_THEME=Adwaita /opt/pulsesecure/bin/pulseUI"
Icon=/opt/pulsesecure/resource/pulse.png
Terminal=false
Type=Application
Categories=Utility;Application;
StartupWMClass=pulseUI