I disown this, since gtk3-classic
is there to provide this functionality, and there upstream does maintanance, contrary to here.
Search Criteria
Package Details: gtk3-nocsd-git 3.0.8+2.r84.20221015.a356bf7-2
Package Actions
- View PKGBUILD / View Changes
- Download snapshot
- Search wiki
- Flag package out-of-date
- 1 pending request
- Submit Request
Git Clone URL: | https://aur.archlinux.org/gtk3-nocsd-git.git (read-only, click to copy) |
---|---|
Package Base: | gtk3-nocsd-git |
Description: | A LD_PRELOAD library to disable gtk+ 3 client side decoration. |
Upstream URL: | https://github.com/fredldotme/gtk3-nocsd |
Licenses: | LGPL2.1 |
Conflicts: | gtk3-nocsd |
Provides: | gtk3-nocsd |
Submitter: | dreieck |
Maintainer: | None |
Last Packager: | dreieck |
Votes: | 3 |
Popularity: | 0.022540 |
First Submitted: | 2023-07-23 16:24 (UTC) |
Last Updated: | 2023-07-24 08:57 (UTC) |
Dependencies (5)
- bash (bash-devel-static-gitAUR, bash-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- gtk3 (gtk3-ubuntuAUR, gtk3-no_deadkeys_underlineAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-classic-xfceAUR, gtk3-classicAUR)
- git (git-gitAUR) (make)
- gobject-introspection (gobject-introspection-gitAUR) (make)
Required by (0)
Sources (3)
dreieck commented on 2024-04-08 21:10 (UTC) (edited on 2024-04-08 21:11 (UTC) by dreieck)
dreieck commented on 2024-04-08 21:07 (UTC) (edited on 2024-04-08 21:08 (UTC) by dreieck)
After some testing,
export GTK_CSD=0
export LD_PRELOAD=libgtk3-nocsd.so.0
lines are less error prone in
~/.bash_profile
But this then only catches software that is started manually from terminals running bash
. Not for programmes started via GUI launchers, not from programmes started from other shells, etc.
Maybe there some other places where global environment variables can be set that do not depend on the user opening a shell to be set?
morsmortium commented on 2024-04-08 16:43 (UTC)
After some testing,
export GTK_CSD=0
export LD_PRELOAD=libgtk3-nocsd.so.0
lines are less error prone in ~/.bash_profile
rado84 commented on 2024-03-30 19:01 (UTC)
Dreieck, thati is not entirely... accurate. Some of the gnome apps I use are version 46 (such as gnome-disk-utility) and yet NOCSD works on it like a charm. Others, however, completely ignore the dark themes. I think it's all individual app by app, not general for all apps. GEdit is also v46.2, and NOCSD works there like a charm as well. Besides, you can always downgrade them all to v45, which I did with gnome-system-monitor bc it was all white and completely ignoring the NOCSD library. I'm not talking about forever, just until they make them backwards compatible with GTK3.
Ralf_Mardorf commented on 2024-01-31 14:54 (UTC)
Ralf_Mardorf commented on 2024-01-31 08:52 (UTC)
False alarm, I have now installed gtk3 only and no problems with a new user account, but my old user account still has this problem. Some config must still be fishy.
Ralf_Mardorf commented on 2024-01-31 05:00 (UTC) (edited on 2024-01-31 05:06 (UTC) by Ralf_Mardorf)
I have been experiencing serious problems for a few days now, see How to disable gtk3 client side decoration?.
MarsSeed commented on 2023-08-25 11:29 (UTC)
@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.
morsmortium commented on 2023-08-24 22:36 (UTC)
On wayland putting
export GTK_CSD=0
export LD_PRELOAD=libgtk3-nocsd.so.0
in ~/.profile works
dreieck commented on 2023-07-30 08:40 (UTC) (edited on 2023-07-30 08:43 (UTC) by dreieck)
@MarsSeed:
here is a more robust successor solution: the lah7/gtk3-classic project.
I remember that gtk3-nocsd-git did look more 'classic' than gtk3-classic
It was my fault; unset GTK_CSD
(!) does restore window decorations.
Pinned Comments
rado84 commented on 2024-03-30 19:01 (UTC)
Dreieck, thati is not entirely... accurate. Some of the gnome apps I use are version 46 (such as gnome-disk-utility) and yet NOCSD works on it like a charm. Others, however, completely ignore the dark themes. I think it's all individual app by app, not general for all apps. GEdit is also v46.2, and NOCSD works there like a charm as well. Besides, you can always downgrade them all to v45, which I did with gnome-system-monitor bc it was all white and completely ignoring the NOCSD library. I'm not talking about forever, just until they make them backwards compatible with GTK3.
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
.