You are not logged in.
Pages: 1
Hi all,
is it possible to change the xfwm4 theme for a specific app?
I use a dark terminal theme and I would like the window decorations to be dark just for the terminal emulator.
Cheers!
Last edited by carloratm (2023-12-11 14:40:25)
Offline
Hello and welcome.
Unfortunately it is not possible for non-CSD use. Please see this closed bug report.
However, if you are using CSD, the application manages the titlebar area, in which case you could theme it differently if the application allows it.
So, for example in the case of xfce4-terminal:
GTK_CSD=1 GTK_THEME="Adwaita-dark" xfce4-terminal --disable-server
...the "--disable-server" is only required if you want to mix and match terminal windows or to just test to see if it works. If you want them all the same, you can omit that parameter and update the xfce4-terminal desktop file "Exec=" line to something like:
Exec=env GTK_CSD=1 GTK_THEME="Adwaita-dark" xfce4-terminal
...this might need further testing to get it right, plus your GTK theme needs to support.
Other apps or terminals may need further tweaking.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
The solution you proposed fits well.
I will change my terminal emulator to xfce4-terminal
Thanks a lot
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 522.77 KiB (Peak: 528.55 KiB) ]