Page 7 of 22
Porteus 5.0 RC2 bug reports
Posted: 23 Aug 2020, 01:06
by Ed_P
The Create New File function in make-changes from RC1 works in RC2 thought the window is a little wide.
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.
Added in 3 hours 40 minutes 9 seconds:
.Trash-1000
And found.000
On my
NTFS drive.
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???
Porteus 5.0 RC2 bug reports
Posted: 23 Aug 2020, 20:15
by fulalas
@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.
Porteus 5.0 RC2 bug reports
Posted: 23 Aug 2020, 22:04
by Ed_P
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?
Porteus 5.0 RC2 bug reports
Posted: 23 Aug 2020, 23:56
by donald
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]
Porteus 5.0 RC2 bug reports
Posted: 24 Aug 2020, 00:36
by Ed_P
It is on the same NTFS drive that the files were on and showed when I viewed the drive as root.
And do note the name starts with a dot.
Porteus 5.0 RC2 bug reports
Posted: 25 Aug 2020, 03:53
by roadie
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
Porteus 5.0 RC2 bug reports
Posted: 25 Aug 2020, 04:08
by Ed_P
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-
dconf-editor path to settings.
-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.
Porteus 5.0 RC2 bug reports
Posted: 25 Aug 2020, 05:56
by Blaze
Porteus 5.0 RC2 bug reports
Posted: 25 Aug 2020, 05:58
by Ed_P
Cinnamon 19.x Power Settings - How to expand options available for critical battery states.
I like it
Blaze.
-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.
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#
Porteus 5.0 RC2 bug reports
Posted: 25 Aug 2020, 08:49
by fulalas
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.
Porteus 5.0 RC2 bug reports
Posted: 25 Aug 2020, 16:14
by Ed_P
The power problem is more complicated than suspected.
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:
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.
Now to see what the overnight brings.
Added in 8 hours 14 minutes 27 seconds:
Battery 72% this morning.
I think the gsettings edit as guest did it.
Will reboot and try just it to verify.
Porteus 5.0 RC2 bug reports
Posted: 27 Aug 2020, 13:16
by Payoon
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
Porteus 5.0 RC2 bug reports
Posted: 27 Aug 2020, 20:35
by fulalas
@Payoon, what desktop environment are you using?
Porteus 5.0 RC2 bug reports
Posted: 27 Aug 2020, 23:56
by Payoon
Hi Fulalas,
I am using the XFCE Desktop on Acer Aspire ES 15 notebook.
Porteus 5.0 RC2 bug reports
Posted: 28 Aug 2020, 06:15
by Ed_P
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'