Porteus 5.0 RC2 bug 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.
User avatar
Ed_P
Moderator
Moderator
Posts: 5625
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Porteus 5.0 RC2 bug reports

Post#91 by Ed_P » 23 Aug 2020, 01:06

The Create New File function in make-changes from RC1 works in RC2 thought the window is a little wide. :D

Added in 13 hours 46 minutes 12 seconds:
RC2 eats batteries when the lid is closed on my notebook. Battery 100% before going to bed, ~1% when I get up and I have to reboot to get back to Porteus.

Image

Added in 3 hours 40 minutes 9 seconds:
.Trash-1000 :shock: And found.000 :o On my NTFS drive. :crazy:

Inside the .Trash folder are two folders; files and info. Inside files folder are all the 5.0 rc files I had been testing with and deleted the other day using 5.0 RC2. Inside the info folder are *.trashinfo files, one for each file in the files folder, stating the original location of the deleted file and the date it was deleted.

Why is 5.0 RC2 creating Trash folders on Windows drives???
Ed

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

Porteus 5.0 RC2 bug reports

Post#92 by fulalas » 23 Aug 2020, 20:15

@Ed_P, now you know what setting you should change in order to suspend when the lid is closed, right? :)

Yes, finally non-POSIX partitions have support to trash. Isn't amazing? :) If you want to delete for real just press SHIFT + delete.

User avatar
Ed_P
Moderator
Moderator
Posts: 5625
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Porteus 5.0 RC2 bug reports

Post#93 by Ed_P » 23 Aug 2020, 22:04

fulalas wrote:
23 Aug 2020, 20:15
@Ed_P, now you know what setting you should change in order to suspend when the lid is closed, right? :)
Actually no. I don't see Suspend as an option for When the Lid is Closed, AC or Battery mode. Shutdown immediately, Lock Screen, Do nothing. That's all that's listed.
Yes, finally non-POSIX partitions have support to trash. Isn't amazing? :) If you want to delete for real just press SHIFT + delete.
On a non-POSIX drive Delete should default to Delete, like it always did. If someone selects Trash, on a non-POSIX drive, then warn them that a .Trash folder will be created. Does Delete default to Trash on other Linux systems?
Ed

donald
Full of knowledge
Full of knowledge
Posts: 1640
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Porteus 5.0 RC2 bug reports

Post#94 by donald » 23 Aug 2020, 23:56

Hi Ed
Where exactly was the Trash folder?

I have a NTFS formatted usb-stick with 5.0rc2-xfce on it and the Trash folder
/home/guest/local/share/Trash is inside the save.dat file.
[which I had to create using another version of porteus]

User avatar
Ed_P
Moderator
Moderator
Posts: 5625
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Porteus 5.0 RC2 bug reports

Post#95 by Ed_P » 24 Aug 2020, 00:36

It is on the same NTFS drive that the files were on and showed when I viewed the drive as root. :o And do note the name starts with a dot.
Ed

roadie
Full of knowledge
Full of knowledge
Posts: 250
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 5.0-RC1
Location: In a hayfield

Porteus 5.0 RC2 bug reports

Post#96 by roadie » 25 Aug 2020, 03:53

Ed_P wrote:
23 Aug 2020, 22:04
fulalas wrote:
23 Aug 2020, 20:15
@Ed_P, now you know what setting you should change in order to suspend when the lid is closed, right? :)
Actually no. I don't see Suspend as an option for When the Lid is Closed, AC or Battery mode. Shutdown immediately, Lock Screen, Do nothing. That's all that's listed.
Yes, finally non-POSIX partitions have support to trash. Isn't amazing? :) If you want to delete for real just press SHIFT + delete.
On a non-POSIX drive Delete should default to Delete, like it always did. If someone selects Trash, on a non-POSIX drive, then warn them that a .Trash folder will be created. Does Delete default to Trash on other Linux systems?

As to the suspend issue, I can confirm this, a quick fix is using dconf-editor to change the settings. It's under org/cinnamon/setting-daemon/plugins/power

User avatar
Ed_P
Moderator
Moderator
Posts: 5625
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Porteus 5.0 RC2 bug reports

Post#97 by Ed_P » 25 Aug 2020, 04:08

roadie wrote:
25 Aug 2020, 03:53
As to the suspend issue, I can confirm this, a quick fix is using dconf-editor to change the settings. It's under org/cinnamon/setting-daemon/plugins/power
:%)

Code: Select all

guest@porteus:~$ su
Password: 
root@porteus:/home/guest# ls /org
/bin/ls: cannot access '/org': No such file or directory
root@porteus:/home/guest# ls org
/bin/ls: cannot access 'org': No such file or directory
root@porteus:/home/guest# 
-update-

:o dconf-editor path to settings. :oops:

-update II

Code: Select all

guest@porteus:~$ dconf-editor
bash: dconf-editor: command not found
guest@porteus:~$ su
Password: 
root@porteus:/home/guest# dconf-editor
bash: dconf-editor: command not found
root@porteus:/home/guest# 
dconf-editor is in 4.0. :crazy:
Ed

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

Porteus 5.0 RC2 bug reports

Post#98 by Blaze » 25 Aug 2020, 05:56

Linux 5.4.57-porteus #1 SMP Sun Aug 9 09:03:28 UTC 2020 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Ed_P
Moderator
Moderator
Posts: 5625
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Porteus 5.0 RC2 bug reports

Post#99 by Ed_P » 25 Aug 2020, 05:58

Cinnamon 19.x Power Settings - How to expand options available for critical battery states. :o

I like it Blaze. :good:

-update-


5.0's cs_power.py lines 607-628

Code: Select all

    lid_options = [
        ("suspend", _("Suspend")),
        ("shutdown", _("Shutdown immediately")),
        ("hibernate", _("Hibernate")),
        ("blank", _("Lock Screen")),
        ("nothing", _("Do nothing"))
    ]

    button_power_options = [
        ("blank", _("Lock Screen")),
        ("suspend", _("Suspend")),
        ("shutdown", _("Shutdown immediately")),
        ("hibernate", _("Hibernate")),
        ("interactive", _("Ask")),
        ("nothing", _("Do nothing"))
    ]

    critical_options = [
        ("shutdown", _("Shutdown immediately")),
        ("hibernate", _("Hibernate")),
        ("nothing", _("Do nothing"))
    ]
Suspend is definitely listed. :hmmm:


Added in 1 hour 1 minute 12 seconds:
Where there's a will...

Code: Select all

root@porteus:/home/guest# usm -g dconf-editor

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) dconf-editor-3.18.2-x86_64-1.txz
#? 1

Processing:   dconf-editor-3.18.2-x86_64-1.txz 
Ignored libraries: 

Libraries required:  17
Libraries found in system: 17
Libraries to resolve: 0



 The following packages are required. 
dconf-editor-3.18.2-x86_64-1.txz [152K] [not installed]

Total size: 152 KB

 Press [r] to remove packages, [q] to quit, or enter to start downloading.
Downloading: dconf-editor-3.18.2-x86_64-1.txz  DONE

root@porteus:/home/guest# 

Code: Select all

root@porteus:/tmp/usm# txz2xzm *.txz
Verifying package dconf-editor-3.18.2-x86_64-1.txz.
Installing package dconf-editor-3.18.2-x86_64-1.txz:
PACKAGE DESCRIPTION:
# dconf-editor (graphical editor for dconf)
#
# The dconf-editor program provides a graphical interface for editing
# settings that are stored in the dconf database.  The gsettings utility
# provides similar functionality on the command line.
#
Executing install script for dconf-editor-3.18.2-x86_64-1.txz.
Reloading system message bus configuration...
Package dconf-editor-3.18.2-x86_64-1.txz installed.
Creating /tmp/usm/dconf-editor-3.18.2-x86_64-1.xzm

root@porteus:/tmp/usm# 
Ed

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

Porteus 5.0 RC2 bug reports

Post#100 by fulalas » 25 Aug 2020, 08:49

Yeah, dconf-editor was removed because it's non-essential and it's for advanced users only, so they can download it from some repository. :good:

User avatar
Ed_P
Moderator
Moderator
Posts: 5625
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Porteus 5.0 RC2 bug reports

Post#101 by Ed_P » 25 Aug 2020, 16:14

The power problem is more complicated than suspected.

Image

dconf Editor shows the lid action is already set to Suspend, but Power Management is showing it set to Lock Screen, with no option for Suspend. Personally I would like to see it do both when the lid is closed. :)

Added in 23 hours 28 minutes 39 seconds:
And

Code: Select all

root@porteus:/home/guest# gsettings get org.cinnamon.settings-daemon.plugins.power lid-close-battery-action
'suspend'
root@porteus:/home/guest# 
Added in 15 hours 4 minutes 24 seconds:
I tried Albert's suggestion but the Power Management window hasn't changed. I will leave the notebook unplugged tonight and see what the battery looks like in the morning.

powerfix.sh

Code: Select all

#!/bin/sh

# https://forums.linuxmint.com/viewtopic.php?t=302573
# https://forums.linuxmint.com/viewtopic.php?p=1821917&sid=5a4dcabfb730fa1beea6abd60a9bb8ca#p1821917
# Per-user configuration takes precedence over system-wide settings.

#set -x;
if [ `whoami` != "root" ]; then
  echo -E "Enter root's password" $(tput bold)$(tput setaf 1)  # 1-red, 2-green, 6-cyan, 7-white
  su -c "sh $0 $1 $2" ; exit
fi 
echo $(tput sgr0)

mkdir /etc/dconf
cd /etc/dconf
mkdir profile db db/site.d
echo "user-db:user"   >  /etc/dconf/profile/user
echo "system-db:site" >> /etc/dconf/profile/user

echo "[org/cinnamon/settings-daemon/plugins/power]" >  /etc/dconf/db/site.d/cinnamon-power.dconf
echo "lid-close-battery-action='suspend'"           >> /etc/dconf/db/site.d/cinnamon-power.dconf 

echo 

echo "+ ls -R /etc/dconf"
ls -R /etc/dconf
echo 
echo "+ cat /etc/dconf/profile/user"
cat /etc/dconf/profile/user
echo
echo "+ cat /etc/dconf/db/site.d/cinnamon-power.dconf"
cat /etc/dconf/db/site.d/cinnamon-power.dconf
echo
echo "Press Enter to update dconf."
read

OPTIONAL="/mnt/sda6/porteus5.0/Optional"
MODULE="dconf-editor*.xzm"
activate $OPTIONAL/$MODULE > /dev/null 2>&1 &
sleep 2

dconf update
read
Added in 19 minutes 8 seconds:
:o And then there is this series of commands, with the 1st one the most surprising,

Code: Select all

guest@porteus:~$ gsettings get org.cinnamon.settings-daemon.plugins.power lid-close-battery-action
'blank'
guest@porteus:~$ su
Password: 
root@porteus:/home/guest# gsettings get org.cinnamon.settings-daemon.plugins.power lid-close-battery-action
'suspend'
root@porteus:/home/guest# exit
exit
guest@porteus:~$ gsettings set org.cinnamon.settings-daemon.plugins.power lid-close-battery-action suspend
guest@porteus:~$ gsettings get org.cinnamon.settings-daemon.plugins.power lid-close-battery-action
'suspend'
guest@porteus:~$ 
gsettings seems to be included in 5.0 and does what the dconf-editor apt does. :)
The Power Management window now shows the Battery Lid closed option as blank. :) I think the apt needs work. :happy62:

Now to see what the overnight brings. :)

Added in 8 hours 14 minutes 27 seconds:
Battery 72% this morning. :Yahoo!:

I think the gsettings edit as guest did it. :celebrate14: Will reboot and try just it to verify.
Ed

Payoon
Black ninja
Black ninja
Posts: 78
Joined: 01 Mar 2013, 19:16
Distribution: Porteus 3.2 32 bit XFCE
Location: Duisburg, Germany

Porteus 5.0 RC2 bug reports

Post#102 by Payoon » 27 Aug 2020, 13:16

Hi folks,
First thank You for Porteus 5 RC2. Looks fine and all my old modules seem to work. I have though a small (hopefully) problem. I cannot adjust my brightness with the FN > and FN < keys. I have tried

Code: Select all

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor acpi_osi=linux"
but that seems to work only with grub 2. I am confident it is not a big thing, because in my beloved Porteus 3.2.2 the keys work fine. But I want to upgrade to Porteus 5 so does anyone have an idea to solve this?

Stay all healthy.

Payoon

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

Porteus 5.0 RC2 bug reports

Post#103 by fulalas » 27 Aug 2020, 20:35

@Payoon, what desktop environment are you using?

Payoon
Black ninja
Black ninja
Posts: 78
Joined: 01 Mar 2013, 19:16
Distribution: Porteus 3.2 32 bit XFCE
Location: Duisburg, Germany

Porteus 5.0 RC2 bug reports

Post#104 by Payoon » 27 Aug 2020, 23:56

Hi Fulalas,
I am using the XFCE Desktop on Acer Aspire ES 15 notebook.

User avatar
Ed_P
Moderator
Moderator
Posts: 5625
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Porteus 5.0 RC2 bug reports

Post#105 by Ed_P » 28 Aug 2020, 06:15

There is a connection between the Lid Closed battery drain problem and the Power Management app. In AF mode the app shows the option as blank but gsettings shows it as set to the desired suspend option. A user seeing it as blank in the app will change it and suspend isn't listed as an option.

AF mode settings:

Code: Select all

+ gsettings get org.cinnamon.settings-daemon.plugins.power sleep-display-battery
1800
+ gsettings get org.cinnamon.settings-daemon.plugins.power sleep-inactive-battery-timeout
0
+ gsettings get org.cinnamon.settings-daemon.plugins.power lid-close-battery-action
'suspend'
+ gsettings get org.cinnamon.settings-daemon.plugins.power critical-battery-action
'hibernate'
Ed

Post Reply