Xfce Forum

Sub domains
 

You are not logged in.

#1 2025-01-07 15:42:37

carloratm
Member
Registered: 2023-12-11
Posts: 19
LinuxChrome 122.0

[SOLVED] How to enable CSD globally and for xfce4-terminal?

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

#2 2025-01-07 18:26:18

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,678
LinuxFirefox 133.0

Re: [SOLVED] How to enable CSD globally and for xfce4-terminal?

carloratm wrote:

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

#3 2025-01-08 06:02:57

carloratm
Member
Registered: 2023-12-11
Posts: 19
LinuxChrome 122.0

Re: [SOLVED] How to enable CSD globally and for xfce4-terminal?

ToZ wrote:
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

J6mhsvf.png

Offline

#4 2025-01-08 07:11:20

k3dAR
Member
From: Czech Republic
Registered: 2022-07-27
Posts: 32
LinuxChrome 132.0

Re: [SOLVED] How to enable CSD globally and for xfce4-terminal?

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

#5 2025-01-08 08:31:47

carloratm
Member
Registered: 2023-12-11
Posts: 19
LinuxChrome 118.0

Re: [SOLVED] How to enable CSD globally and for xfce4-terminal?

k3dAR wrote:

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

#6 2025-01-08 17:20:15

k3dAR
Member
From: Czech Republic
Registered: 2022-07-27
Posts: 32
LinuxChrome 132.0

Re: [SOLVED] How to enable CSD globally and for xfce4-terminal?

sure i can confirm and also working after install to vdisk and full upgrade ;-)
Debian12-Xfce4-Terminal-With-and-Without-CSD.png

Offline

#7 2025-01-09 08:03:39

carloratm
Member
Registered: 2023-12-11
Posts: 19
LinuxChrome 118.0

Re: [SOLVED] How to enable CSD globally and for xfce4-terminal?

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

#8 2025-01-09 10:30:42

eriefisher
Moderator
From: ON, Canada
Registered: 2008-10-25
Posts: 601
LinuxFirefox 134.0

Re: [SOLVED] How to enable CSD globally and for xfce4-terminal?

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

#9 2025-01-09 11:27:38

carloratm
Member
Registered: 2023-12-11
Posts: 19
LinuxChrome 118.0

Re: [SOLVED] How to enable CSD globally and for xfce4-terminal?

eriefisher wrote:

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 8 queries executed - Memory usage: 565.29 KiB (Peak: 582.13 KiB) ]