Closed bbb651 closed 3 years ago
Try to run Firefox without gtk3-nocsd.
Actually I don't see much sense using gtk3-nocsd with KDE. Breeze theme already have GTK CSD support and it way better than hacks used by gtk3-nocsd.
Try to run Firefox without gtk3-nocsd.
How do I exclude apps while having:
export GTK_CSD=0
export LD_PRELOAD=<"full path" of your libgtk3-nocsd.so.0 file>
in my ~/.bashrc
? Will unsetting the environment variables in the .desktop
file work?
Breeze theme already have GTK CSD support and it way better than hacks used by gtk3-nocsd.
I'm not sure what you mean, I didn't like the way it looked, the window decoration looked like the before screenshot and it now looks like the after screenshot.
P.S. Running it after unsetting the environment variable works, I'm still not sure how to do it automatically.
If you're using gtk3-nocsd script - I could change it this way:
diff --git a/gtk3-nocsd.in b/gtk3-nocsd.in
index 5655e31..a790d71 100644
--- a/gtk3-nocsd.in
+++ b/gtk3-nocsd.in
@@ -75,6 +75,14 @@ fi
# Find the real program (the first one that's not symlinked to get3-nocsd)
APPNAME="$(basename "$0")"
+if [ x"$GTK3_NOCSD_IGNORE" != x ]; then
+ for IGNORE in $(echo "$GTK3_NOCSD_IGNORE" | tr ',' ' '); do
+ if [ x"$IGNORE" = x"$APPNAME" ]; then
+ exec "$0" "$@"
+ fi
+ done
+fi
+
for APPPATH in $(which -a "$APPNAME") /bin/false; do
APPPATH_LINK="$(readlink ${RLINK_ARGS} "$APPPATH")"
[ x"${APPPATH_LINK##*/}"x = x"gtk3-nocsd"x ] || break
Then you could create global variable GTK3_NOCSD_IGNORE=firefox,some_other_app
and gtk3-nocsd will skip firefox
and some_other_app
.
Also try to use branch https://github.com/ZaWertun/gtk3-nocsd/tree/test/libhandy. It's still work in progress but already able to remove extra window buttons for example in gnome-disk-utility-40.1. But still I can't get rid of those black borders:
Should be fixed in 9a72d37c228841fc2c90b3a7ee49a9b448e94796. I've tested it with Firefox-89.0.
Thanks! Also I was using the AUR package and I found it's really outdated, last update was on 2019-08-07, so I've removed it and I'll try to build it from source when I have time.
When ticking off the
Titlebar Bar
checkbox in theCustomize...
page and/or settingbrowser.tabs.drawInTitlebar
totrue
inabout:config
, I would expect the title bar to be hidden, and it behaved as expected until I installed this package, now it looks like this:Is there any way workaround to hide the title bar? I tried the window specific settings in Plasma but haven't had much luck.
Firefox 89.0 (64-bit), Plasma 5.22.0, kernel version 5.12.9-arch1-1