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:
Nothing wrong there, but when you disable Title Bar:
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
- ncmprhnsbl
- DEV Team
- Posts: 3938
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Firefox Title Bar Issue
probly this: How to get csd back in xfce4
for a quick test:
in a terminal:
if that works, do this:
create (as root) /etc/profile.d/restore-csd.sh and put:
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):
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?
for a quick test:
in a terminal:
Code: Select all
export GTK_CSD=1
firefox
create (as root) /etc/profile.d/restore-csd.sh and put:
Code: Select all
#!/bin/sh
export GTK_CSD=1
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"
EDIT: went to check this out... but.. seems newer firefox doesn't have that option(disable titlebar) anymore... what version are you using?
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
Firefox Title Bar Issue
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!
- ncmprhnsbl
- DEV Team
- Posts: 3938
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Firefox Title Bar Issue
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)ncmprhnsbl wrote: ↑09 Sep 2022, 00:06EDIT: went to check this out... but.. seems newer firefox doesn't have that option(disable titlebar) anymore... what version are you using?
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44