Page 1 of 1

Firefox Title Bar Issue

Posted: 08 Sep 2022, 10:12
by JTD
Hello people, I have an issue with Porteus 5.0 XFCE (no idea if its desktop environment specific) and Firefox Title Bar, to ilustrate the issue better, here is a picture with Title Bar enabled:

Image

Nothing wrong there, but when you disable Title Bar:

Image

The Title Bar at the top won't go away, in fact it creates another set of Minimize, Maximize and Close icons right below them.

I did more tests with a Firefox fork and also Linux Mint XFCE (Waterfox AppImage, since it's the same file being tested on both Porteus and Mint) and disabling Title Bar works on Mint, not on Porteus (same issue as the Firefox images above)

Is there a tweak or something that was enabled within Porteus XFCE window buttons that is forcing them to stay? If so, how can I disable it so I can have web browser tabs at the very top of the monitor?

Thank you in advance!

Firefox Title Bar Issue

Posted: 09 Sep 2022, 00:06
by ncmprhnsbl
probly this: How to get csd back in xfce4
for a quick test:
in a terminal:

Code: Select all

export GTK_CSD=1
firefox
if that works, do this:
create (as root) /etc/profile.d/restore-csd.sh and put:

Code: Select all

#!/bin/sh

export GTK_CSD=1
and make sure it's executable : chmod +x /etc/profile.d/restore-csd.sh
if you're using changes, this be enough (with reboot)
if not, here's script to make a module( name it "whatever" and run as root: sh whatever):

Code: Select all

#!/bin/bash
echo -e '#!/bin/sh\n\nexport GTK_CSD=1\n' > /etc/profile.d/restore-csd.sh
chmod +x /etc/profile.d/restore-csd.sh
mkdir /tmp/module
cp -a --parents /etc/profile.d/restore-csd.sh /tmp/module
dir2xzm /tmp/module /tmp/restore-csd.xzm
echo "restore-csd.xzm is in /tmp, move it to your modules folder and reboot"
and if your want disappearing scrollbars; add export GTK_OVERLAY_SCROLLING=1 to that file too..

EDIT: went to check this out... but.. seems newer firefox doesn't have that option(disable titlebar) anymore... what version are you using?

Firefox Title Bar Issue

Posted: 09 Sep 2022, 16:15
by JTD
That was it! The Client Side Decorations were the reason, and that script as a module works like a charm, thank you very much for your help!

Firefox Title Bar Issue

Posted: 11 Sep 2022, 00:27
by ncmprhnsbl
ncmprhnsbl wrote:
09 Sep 2022, 00:06
EDIT: went to check this out... but.. seems newer firefox doesn't have that option(disable titlebar) anymore... what version are you using?
to clarify (to myself mostly), seems this option doesn't show in firefox in some window managers(eg. openbox) (unless CSD is already enabled.. ie $ GTK_CSD=1 firefox)