only the icons are different (you saw ) and -d yesno has two buttons.. the next version will have a -w option to set the window title..
Porteus 5.0 RC2 bug reports
- ncmprhnsbl
- DEV Team
- Posts: 3939
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Porteus 5.0 RC2 bug reports
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Porteus 5.0 RC2 bug reports
My new dialog code:
Thank you again for your help.
Added in 16 minutes 17 seconds:
Sorry about the quality. We need a cheatcode that allows writing these lines to a file.
Code: Select all
read size used avail percent <<< $SDspace
if [ ${percent%\%} -gt 85 ]; then
/usr/share/porteus/gtkdialog.py -p "Warning! save.dat file $percent full" -s "Used: $used - Free: $avail" -d err
exit
else
# https://forum.porteus.org/viewtopic.php?p=78822#p78822 - ncmprhnsbl - '/usr/share/porteus/gtkdialog.py -h' to see the usage..
/usr/share/porteus/gtkdialog.py -p "save.dat file $percent full - Used: $used - Free: $avail" -d info
exit
fi
# if no dialog option.
if [ ${percent%\%} -gt 85 ]; then
echo
redwarning "Warning! save.dat file $percent full. Used: $used Free: $avail"
echo
sleep 2
else
echo "save.dat file $percent full. Used: $used Free: $avail"
fi
Added in 16 minutes 17 seconds:
This is what I see when shutting down. No savedat space line.
Sorry about the quality. We need a cheatcode that allows writing these lines to a file.
Ed
- Blaze
- DEV Team
- Posts: 3885
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
Porteus 5.0 RC2 bug reports
roadie, ok, try this Kernel 5.4.67 x86_64
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
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
-
- Full of knowledge
- Posts: 400
- Joined: 02 Jan 2011, 18:41
- Distribution: Porteus 5.0-RC1
- Location: In a hayfield
Porteus 5.0 RC2 bug reports
Blaze, yes, this kernel is fine, touchpad works. I was able to patch the 5.7.19 source, so I'll try to compile the kernel today
Code: Select all
guest@porteus:~$ dmesg | grep ELAN
[ 1.360278] usb 1-1.1: Product: ELAN:Fingerprint
[ 1.360280] usb 1-1.1: Manufacturer: ELAN
[ 2.225973] i2c_hid i2c-ELAN1300:00: i2c-ELAN1300:00 supply vdd not found, using dummy regulator
[ 2.226088] i2c_hid i2c-ELAN1300:00: i2c-ELAN1300:00 supply vddl not found, using dummy regulator
[ 2.372819] input: ELAN1300:00 04F3:3087 Mouse as /devices/platform/AMD0010:03/i2c-0/i2c-ELAN1300:00/0018:04F3:3087.0004/input/input11
[ 2.383712] input: ELAN1300:00 04F3:3087 Touchpad as /devices/platform/AMD0010:03/i2c-0/i2c-ELAN1300:00/0018:04F3:3087.0004/input/input12
[ 2.383883] hid-generic 0018:04F3:3087.0004: input,hidraw3: I2C HID v1.00 Mouse [ELAN1300:00 04F3:3087] on i2c-ELAN1300:00
[ 2.912636] input: ELAN1300:00 04F3:3087 Mouse as /devices/platform/AMD0010:03/i2c-0/i2c-ELAN1300:00/0018:04F3:3087.0004/input/input17
[ 2.912839] input: ELAN1300:00 04F3:3087 Touchpad as /devices/platform/AMD0010:03/i2c-0/i2c-ELAN1300:00/0018:04F3:3087.0004/input/input18
[ 2.912973] hid-multitouch 0018:04F3:3087.0004: input,hidraw3: I2C HID v1.00 Mouse [ELAN1300:00 04F3:3087] on i2c-ELAN1300:00
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Porteus 5.0 RC2 bug reports
When I activate the pysolfc-2.6.4-x86_64-alldesktops.xzm module it doesn't appear in the Porteus Menu. There is no Games category created.
The /usr/share/applications/pysol.desktop file:
The /usr/share/applications/pysol.desktop file:
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=PySol Fan Club Edition
Exec=pysol.py
Terminal=false
Type=Application
Categories=Game;CardGame;
Icon=/usr/share/icons/pysol01.png
Ed
Porteus 5.0 RC2 bug reports
hi Ed_P the slackbuild deps list need "six" but i do not have found in my sbo...i have the sbo-git version
- ncmprhnsbl
- DEV Team
- Posts: 3939
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Porteus 5.0 RC2 bug reports
you can get the package python-six from slackware-current
but this isn't the problem Ed has uncovered: the pysol bundle works fine, it's just that Cinnamon menu fails to recognise the .desktop for some reason..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Porteus 5.0 RC2 bug reports
The .desktop problem extends to:
AisleRiot-3.22.4-x86_64-don.xzm
pysolfc-2.6.3-x86_64-alldesktops.xzm
xmahjongg-3.7-x86_64-don.xzm
None show in a Porteus menu Games section or any other section.
Added in 1 hour 29 minutes 31 seconds:
Where is the Cinnamon menu template stored?
Added in 18 minutes 44 seconds:
Found it.
/home/guest/.cinnamon/configs/menu@cinnamon.org/0.json
Added in 2 hours 58 minutes 26 seconds:
A fix. Add GTK to the .desktop's Categories setting.
No idea why it works but it does.
AisleRiot-3.22.4-x86_64-don.xzm
pysolfc-2.6.3-x86_64-alldesktops.xzm
xmahjongg-3.7-x86_64-don.xzm
None show in a Porteus menu Games section or any other section.
Added in 1 hour 29 minutes 31 seconds:
Where is the Cinnamon menu template stored?
Added in 18 minutes 44 seconds:
Found it.
/home/guest/.cinnamon/configs/menu@cinnamon.org/0.json
Added in 2 hours 58 minutes 26 seconds:
A fix. Add GTK to the .desktop's Categories setting.
Code: Select all
Categories=GTK;Game;CardGame;
Ed
- ncmprhnsbl
- DEV Team
- Posts: 3939
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Porteus 5.0 RC2 bug reports
nice catch
ironic, since pysol-fc doesn't use gtk( it uses python/tk)
i've added this to the .desktop part of update-palemoon-live script, so maybe that will fix it for that too..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Porteus 5.0 RC2 bug reports
Does this explain my GTK scenario ncmp?
/mnt/live/memory/images/gtk+2-2.24.32-x86_64-3.xzm
I've been running it since April 23, '20. Don't remember who told me to, I suspect jssouza.
/mnt/live/memory/images/gtk+2-2.24.32-x86_64-3.xzm
I've been running it since April 23, '20. Don't remember who told me to, I suspect jssouza.
Ed
- ncmprhnsbl
- DEV Team
- Posts: 3939
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Porteus 5.0 RC2 bug reports
you need that for palemoon(and any other gtk2 apps)
i did a little experiment: activated palemoon> doesn't appear in the menu>opened the .desktop file in an editor>did nothing>saved unchanged file>now it appears in the menu..
now i think the 'GTK' addition to Categories doesn't have an effect, simply resaving the .desktop, somehow "wakes up" cinnamon's menu..
strangely, also, pysol-fc appeared straightaway, without doing that, here..
can you post output of:
Code: Select all
cat /opt/porteus-scripts/xorg/update-menu
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Porteus 5.0 RC2 bug reports
Sure.ncmprhnsbl wrote: ↑02 Oct 2020, 05:28can you post output of:Code: Select all
cat /opt/porteus-scripts/xorg/update-menu
Code: Select all
guest@porteus:~$ cat /opt/porteus-scripts/xorg/update-menu
#!/bin/sh
# Update openbox app menu:
echo "Updating menu: update-desktop-database"
update-desktop-database
guest@porteus:~$
Ed
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Porteus 5.0 RC2 bug reports
Very nice work from the development team. Your tenacity and courage will be certainly become some day legendary.
This rc version works fine for now on my toshiba satellite z930. Though I have not been triggering all the possible buttons to test the beast. But I will do. I understand that always fresh mode is the way to test.
Are there peculiar area that you would like to be tested? Is it pertinent to test with the slackware current packages?
Slackyd is still a package included stock. It does not seem to work:
slackyd might be worth being kept working as this has been traditionally one of the mainly package building tool on porteus before usm creation.
This rc version works fine for now on my toshiba satellite z930. Though I have not been triggering all the possible buttons to test the beast. But I will do. I understand that always fresh mode is the way to test.
Are there peculiar area that you would like to be tested? Is it pertinent to test with the slackware current packages?
Slackyd is still a package included stock. It does not seem to work:
Code: Select all
guest@porteus:~$ sudo slackyd -u
Warning: package `libreoffice-5.2.3.3-x86_64' isn't standard. Skipping.
Repository: slackware [www.slackware.at]
`- Downloading FILELIST.TXT [File Not Found]
Warning: cannot retreive all file (0/8). Trying next: nothing
guest@porteus:~$
Prendre son temps, profiter de celui qui passe.
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Porteus 5.0 RC2 bug reports
ncmprhnsbl wrote: ↑02 Oct 2020, 05:28i did a little experiment: activated palemoon> doesn't appear in the menu>opened the .desktop file in an editor>did nothing>saved unchanged file>now it appears in the menu..
now i think the 'GTK' addition to Categories doesn't have an effect, simply resaving the .desktop, somehow "wakes up" cinnamon's menu..
I tried the same thing with the pysol desktop file and got the same results as you. I checked the file's permissions before and after and they didn't change.
I wonder if fulalas's file attributes change is tied to this.
Ed
- ncmprhnsbl
- DEV Team
- Posts: 3939
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Porteus 5.0 RC2 bug reports
well there's (part of) your problem : deactivate the porteus-scripts-xorg-20200920-noarch.xzm (updated scripts) because this is overwriting the cinnamon update-menu script..Ed_P wrote: ↑02 Oct 2020, 05:58Sure.Code: Select all
guest@porteus:~$ cat /opt/porteus-scripts/xorg/update-menu #!/bin/sh # Update openbox app menu: echo "Updating menu: update-desktop-database" update-desktop-database
if you want to use porteus-scripts-xorg-20200920-noarch.xzm: extract it; remove /opt/porteus-scripts/xorg/update-menu; and recompress it.
just using it normally should be enough to find bugs and slackware current packages are the ones most likely to work..
needs some configuration: /etc/slackyd/slackyd.conf .. finding a working mirror is the trick, i think.. i managed to do this, but have forgotten what it was exactly..
there's also getpkg to fetch packages from slackware-current(if you know what you're looking for)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44