You are not logged in.
Hi all,
I am running xfce 4.18 on debian 12,
how can I enable CSD globally?
In particular, how can I use CSD for xfce4-terminal, and disable xfwm for that?
Cheers
Last edited by carloratm (2025-01-09 08:07:07)
Offline
how can I enable CSD globally?
Set "export GTK_CSD=1" in your environment file. Either /etc/environment or a file in /etc/profile.d (depends on distro).
In particular, how can I use CSD for xfce4-terminal, and disable xfwm for that?
GTK_CSD=1 xfce4-terminal
...but here's the thing. When you run one instance of xfce-terminal it starts a server aspect that impacts all successive instances. Try closing all xfce4-terminal instances then run that command from the Alt-F2 run box.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
GTK_CSD=1 xfce4-terminal
This is exactly what I tried, based on other posts on this forum, without any luck.
I am assuming that with GTK_CSD enabled I should not see the xfwm4 window border around my terminal.
I double checked that no other terminal process was running.
My xfwm theme is Default.
Terminal version is xfce4-terminal 1.0.4 (Xfce 4.18)
Any Idea?
Cheers
Offline
In Xubuntu 22.04 with Xfce 4.18 (but xfce4-terminal 1.1.3) both bethod work...
You can also from non-csd terminal and/or with other non-csd terminal(s) running run:
GTK_CSD=1 xfce4-terminal --disable-server
Added later 11 min 12 s:
Tried "Debian 12.8 Xfce Live" in virtual, with same xfce4-terminal 1.0.4 as you and enabling GTK_CSD too working :-)
Offline
Tried "Debian 12.8 Xfce Live" in virtual, with same xfce4-terminal 1.0.4 as you and enabling GTK_CSD too working :-)
Ahhhh it seems an issue on my setup, but no clue where to look.
PS: just to be on the safe side, can you confirm you don't see the default xfwm4 window decoration on the terminal window?
Cheers!
Offline
sure i can confirm and also working after install to vdisk and full upgrade ;-)
Offline
Thank you!
I made some progress, I was able to isolate the xfconf file responsible to break the CSD on my system.
It's this one:
https://github.com/carlotm/dotfiles/blo … /xfwm4.xml
Now I would be curious to know which specific setting breaks the CSD.
I'll make some tests after work.
Ok that was easy, it's the compositor that must be enabled!
Cheers!
Last edited by carloratm (2025-01-09 08:05:14)
Offline
This is the first post/thread I recall ever seeing that actually wants CSD to be working. I guess the gnome developers will be happy about it.
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline
This is the first post/thread I recall ever seeing that actually wants CSD to be working. I guess the gnome developers will be happy about it.
I didn't even know what CSD was until 10 days ago TBH.
The only reason I want to enable that is to let only a specific app (xfce4-terminal) to use dark borders.
IIUC you can only achieve that with CSD.
Cheers!
Offline
[ Generated in 0.010 seconds, 8 queries executed - Memory usage: 565.29 KiB (Peak: 582.13 KiB) ]