Page 1 of 1

Power setting not working

Posted: 10 Sep 2016, 17:36
by Jeff66
Hello. I am trying to get a power setting to work. I have set the Power Management Preference, When the power button is pressed to suspend. It never works. It will only shutdown. If I change it to ask me, it will only shut down. Any ideas?

Re: Power setting not working

Posted: 11 Sep 2016, 20:33
by francois
Welcome to porteus Jeff:

What version of porteus you are using and what desktop?

Re: Power setting not working

Posted: 11 Sep 2016, 20:41
by Blaze
Hi, Jeff66. Welcome on the board!
You can try last RC version of Porteus distro from here

Re: Power setting not working

Posted: 12 Sep 2016, 00:50
by francois
Under porteus 3.1 lxqt and kde:
Use the hibernate function to shutdown, that will replace the effect of changes cheatcode. You have to use the resume cheatcode instructing where to save the state of the system and instruct the computer to save the information in a swapfile:
http://unix.stackexchange.com/questions ... t-settings
where sdxy=the identity of the swap file (to find swap file use fdisk -l command)
Example (the resume cheatcode as to be added to the appropriate location in the /boot/syslinux/porteus.cfg file:

Code: Select all

LABEL gui
MENU LABEL Graphics mode (LXQT)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/porteus resume=/dev/sda8

Re: Power setting not working

Posted: 12 Sep 2016, 18:00
by Jeff66
Thank you for all your comments. Sorry I should have said this in the original post. I am running Porteus-MATE-v3.1-i486 on USB formatted to ext4.

Re: Power setting not working

Posted: 12 Sep 2016, 19:48
by Jeff66
Hey Blaze, if I want to try out the latest RC can I just copy over the base modules or should I reformat, copy everything and run the installer?

Re: Power setting not working

Posted: 12 Sep 2016, 19:55
by Bogomips
Jeff66 wrote:should I reformat, copy everything and run the installer?
If successful doing this previously, then best to start with a clean slate. :wink:

Re: Power setting not working

Posted: 13 Sep 2016, 15:34
by Blaze
Jeff66 wrote:should I reformat, copy everything and run the installer?
Yep, it's better way.
Cheers

Re: Power setting not working

Posted: 13 Sep 2016, 23:23
by francois
It depends if you are able to erase all the files or not. Try it. 8)