Porteus-v5.0x86_64_bugs reports

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Porteus-v5.0x86_64_bugs reports

Post#226 by fulalas » 09 Aug 2023, 14:13

@Majestic, there's a reason why Porteus uses gtk3-classic. If you change anything system-wise it will break the whole purpose of gtk3-classic.

AFAIK, there are only 2 solutions. Either we change how Firefox handles these buttons (see my workaround above) or we fix gtk3-classic to handle this specific issue.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3885
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus-v5.0x86_64_bugs reports

Post#227 by Blaze » 10 Aug 2023, 09:00

Majestic wrote:
09 Aug 2023, 09:59
Now it works for Cinnamon and LXDE in the gtk+3-classic, you need to add to /etc/profile, export GTK_CSD = 1
I confirm that.

I added

Code: Select all

export GTK_CSD=1
to /etc/profile and now (after reboot) I don't have issues with double title-bars

But it's broken some decoration of DE :(

Thanks to Majestic
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

itrukrakso
Black ninja
Black ninja
Posts: 62
Joined: 23 Jul 2022, 07:42
Distribution: Porteus 5.01_x86_64 Xfce

Porteus-v5.0x86_64_bugs reports

Post#228 by itrukrakso » 10 Aug 2023, 10:20

Hi,

@ Blaze, try it in ~.bashrc

User avatar
Blaze
DEV Team
DEV Team
Posts: 3885
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus-v5.0x86_64_bugs reports

Post#229 by Blaze » 10 Aug 2023, 16:11

Hi itrukrakso.

Image
with .bashrc is the same issue

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3941
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.0x86_64_bugs reports

Post#230 by ncmprhnsbl » 10 Aug 2023, 23:45

Blaze wrote:
10 Aug 2023, 09:00
But it's broken some decoration of DE
what if you just prefix the firefox or thunderbird command with that? ie.

Code: Select all

env GTK_CSD=1 thunderbird
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Blaze
DEV Team
DEV Team
Posts: 3885
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus-v5.0x86_64_bugs reports

Post#231 by Blaze » 11 Aug 2023, 07:19

ncmprhnsbl, thanks.
Now I fixed simple-scan.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3941
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.0x86_64_bugs reports

Post#232 by ncmprhnsbl » 12 Aug 2023, 04:40

i've now changed the update-firefox-live script so that the mozilla-firefox.desktop Exec line is:

Code: Select all

Exec=env GTK_CSD=1 firefox %u
this should allow 'tabs in titlebar' (which is turned off by default via distribution.ini) to work in cinnamon without double window decoration and to appear as an option in openbox/lxde/lxqt, for those that want it.
thanks to Majestic for the insights :)

note about cinnamon and gtk3-classic:
gtk3-classic patches don't remove any features, just change some defaults ( eg CSD off, overlay scrollbars off, file open dialog layout etc..)
afaiui, cinnamon apps have their own internal way of using(or not) gtk3 features eg. overlay scrollbars are used regardless of gtk3-classic and CSD is suppressed even using plain gtk3.
but these internal settings can be overridden by setting env variable.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Porteus-v5.0x86_64_bugs reports

Post#233 by Rava » 12 Aug 2023, 07:19

ncmprhnsbl wrote:
12 Aug 2023, 04:40
gtk3-classic patches don't remove any features, just change some defaults ( eg CSD off, overlay scrollbars off, file open dialog layout etc..)
afaiui, cinnamon apps have their own internal way of using(or not) gtk3 features eg. overlay scrollbars are used regardless of gtk3-classic and CSD is suppressed even using plain gtk3.
What does CSD stand for in this context?
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3941
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.0x86_64_bugs reports

Post#234 by ncmprhnsbl » 13 Aug 2023, 00:04

Rava wrote:
12 Aug 2023, 07:19
What does CSD stand for in this context?
"client side decorations", meaning window decorations like titlebar being set by the "client" ie. the application rather than the window manager, eg. "tabs in titlebar" of firefox.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3941
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.0x86_64_bugs reports

Post#235 by ncmprhnsbl » 20 Aug 2023, 07:52

ncmprhnsbl wrote:
12 Aug 2023, 04:40
i've now changed the update-firefox-live script so that the mozilla-firefox.desktop Exec line is:
i noticed that this breaks the function of /opt/porteus-scripts/xorg/browser for firefox, so instead of using the .desktop method, we now have a script called 'firefox' in /usr/bin replacing what is usually a symlink to /usr/lib64/firefox-<version>/firefox
eg.

Code: Select all

#!/bin/bash
exec env GTK_CSD=1 /usr/lib64/firefox-116.0.3/firefox "$@"
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Porteus-v5.0x86_64_bugs reports

Post#236 by fulalas » 20 Aug 2023, 12:45

Maybe there's an easier solution:

Tell Firefox to use the window title bar by right clicking the tab bar → "Customise Toolbar..." and then checking "Title Bar" in the bottom-left.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3941
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.0x86_64_bugs reports

Post#237 by ncmprhnsbl » 20 Aug 2023, 23:38

fulalas wrote:
20 Aug 2023, 12:45
Maybe there's an easier solution:
Tell Firefox to use the window title bar by right clicking the tab bar → "Customise Toolbar..." and then checking "Title Bar" in the bottom-left.
that is already set as default in distrubution.ini
the point of enabling CSD as above is:
to allow you to uncheck "Title Bar" in the bottom-left if you want 'tabs in titlebar' without in cinnamon getting the 'double titlebar' and in DEs using openbox, allowing that option to appear.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

senglory
White ninja
White ninja
Posts: 7
Joined: 20 Nov 2021, 21:43
Distribution: Porteus v5

Porteus-v5.0x86_64_bugs reports

Post#238 by senglory » 03 Sep 2023, 20:13

Porteus XFCE v5 64bit, taken from the latest ISO at http://dl.porteus.org/x86_64/current/ and installed as a VMWare virtual machine. Tried to download, install and run Chrome via Browser Selection Tool but got nothing visible after clicking on the corresponding browser icon. However, when I tried to run the executable file explicitly I got tons of weird errors (see the log). What's wrong with my installation and how to have it fixed?

User avatar
Rava
Contributor
Contributor
Posts: 5416
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Porteus-v5.0x86_64_bugs reports

Post#239 by Rava » 03 Sep 2023, 21:37

e.g.about this one

Code: Select all

/opt/google/chrome/libGLESv2.so: /opt/google/chrome/libGLESv2.so: cannot open shared object file: Permission denied
Can you do a

Code: Select all

ls -l  /opt/google/chrome/libGLESv2.so
and post the output?
I presume you are user guest when trying to get chrome to run, then also be user guest when executing the ls -l as described above.
The error sounds like user guest has no read permission for /opt/google/chrome/libGLESv2.so
Or it could be the folder(s), then also check via ls -ld the folders:

Code: Select all

ls -ld  /opt/google/chrome/
ls -ld  /opt/google/
/opt/ should be readable for user guest.

Added in 3 minutes 58 seconds:
The "-d" option for the folders is crucial since you want the ls on the folder itself and not on the contents of the folder (as would be the case without the -d option)
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3941
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

Porteus-v5.0x86_64_bugs reports

Post#240 by ncmprhnsbl » 04 Sep 2023, 02:35

senglory wrote:
03 Sep 2023, 20:13
Porteus XFCE v5 64bit, taken from the latest ISO at http://dl.porteus.org/x86_64/current/ and installed as a VMWare virtual machine. Tried to download, install and run Chrome via Browser Selection Tool but got nothing visible after clicking on the corresponding browser icon. However, when I tried to run the executable file explicitly I got tons of weird errors (see the log). What's wrong with my installation and how to have it fixed?
works okay here in VirtualBox (as root and guest) .. i don't know anything about vmware setups.
your shasum looks correct.
a lot of those errors look like chrome doesn't like your virtual hardware.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply