@morsmortium, I recommend that you try out gtk3-classic
.
(Or gtk3-classic-xfce
, if you are on a current devel version of Xfce and testing it under Wayland.)
The separate gtk3-nocsd preload hook is no longer under active development, but the gtk3-classic fork is, and it already contains a working no-CSD patch, along with many other reverts and refinements targeted for non-GNOME desktops.
Pinned Comments
dreieck commented on 2023-07-23 16:50 (UTC) (edited on 2023-08-25 07:16 (UTC) by dreieck)
Two notes
Issues with gnome apps
Most or all Gnome-Apps are gtk4 based now. For this this hack of course does not work, and with
GTK_CSD=0
makes the client side buttons vanish while still not have the window manager taking them over.How to activate
In order to automatically preload
libgtk3-nocsd.so
at X session startup, copy/usr/share/doc/gtk3-nocsd/xinit/30-gtk3-nocsd.sh
to/etc/X11/xinit/xinitrc.d/30-gtk3-nocsd.sh
. Otherwise, individual programmes can be run with GTK3 client side decoration disabled by running them asgtk3-nocsd <command> [<command arguments>]
. Seeman 1 gtk3-nocsd
.