hdfssk/gtk3-nocsd

Project ID: 15326

Description

gtk3-nocsd is a small module that disables Gtk+ 3 client side decorations.

Since Gtk+ 3.10, many GNOME applications have begun using client-side header bars, which combine traditional window manager-provided title bars with client-side menu and tool bars. When used with gnome-shell, header bar applications use less screen space for window controls, and can directly update their own controls. The GNOME project has made project-wide adoption of header bars an official goal.

However, header bar applications can have integration problems with non-GNOME desktop environments: blocking non-gnome shell window manager features like window shading, and presenting an inconsistent UI / look. Unfortunately, Gtk+ 3.20 does not provide an option to turn client side decorations off in these cases. This LD_PRELOADable library (partially) turns them off, reenabling the window manager-provided title bar and window border.

Installation Instructions

gtk3-nocsd will automatically suppress CSDs at X session start when running a non-GNOME environment; GNOME will show CSDs normally.

Administrators can override this default behavior systemwide by editing /etc/X11/Xsession.d/01gtk3-nocsd and changing the following setting - 0 suppresses CSDs, 1 enables them:

export GTK_CSD=[0|1]

Users can add this line to their ~/.xsessionrc .

To install the package:

  • sudo dnf -y copr enable hdfssk/gtk3-nocsd
  • sudo dnf -y install gtk3-nocsd

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Fedora 39 i386 (20)*, ppc64le (19)*, x86_64 (46)* Fedora 39 (0 downloads)
Fedora 40 i386 (7)*, ppc64le (12)*, x86_64 (51)* Fedora 40 (101 downloads)
Fedora 41 i386 (4)*, ppc64le (4)*, x86_64 (35)* Fedora 41 (44 downloads)
Fedora rawhide i386 (32)*, ppc64le (30)*, x86_64 (47)* Fedora rawhide (210 downloads)

* Total number of downloaded packages.