gtk3-nocsd(1)

gtk3-nocsd1

Transparently disable gtk+3 client side decorations (csd)

Usage

gtk3-nocsd command [command arguments ...]

Overview

gtk3-nocsd runs a command in the environment where Gtk+3 client side decorations (CSD) are disabled, by using LD_PRELOAD to load the library libgtk3-nocsd.so.0 that overrides some GLib, GDK and Gtk API calls with customized variants.

Options

command

The command to execute. It may be either a full path or the name of the command in PATH. In case command cannot be found in PATH, gtk3-nocsd will fail.

command arguments

Arbitrary number of arguments to pass to the command being executed.

Integration in debian

Usage of gtk3-nocsd is not required in Debian by default, because gtk3-nocsd functionality is activated automatically on Xsession startup if anything but GNOME is used. On GNOME CSDs will remain enabled. Both the administrator and each individual user may override those defaults.

Administrators may choose to re-enable CSDs by default by editing the file /etc/X11/Xsession.d/01gtk3-nocsd and changing the following setting:

export GTK_CSD=1

Users may choose to override this (in either way) by adding a similar line to their ~/.xsessionrc. For more details, please see /usr/share/doc/gtk3-nocsd/README.Debian.

Caveats

When using gtk3-nocsd with setarch (including alias such as linux32), or anyway with chroots with different architectures than the host's, make sure to install the matching architecture version of libgtk3-nocsd.so.0 both in the setarch environment and the host's environment. Note that the gtk3-nocsd binary must then be installed in a system path (/usr/bin, /usr/local/bin, ...), so that it will set LD_PRELOAD to just the library name and let the dynamic linker find it automatically - allowing the dynamic linker to pick the version for the correct architecture. If gtk3-nocsd is not installed in a system path, it will use a full path, allowing only for a single version of the library to be used.

Releases

Unchanged in 5 releases since Debian 9 (Stretch).

  1. 9–13

From gtk3-nocsd 3-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.