[Solved] suspend, hibernate, drop out of xwin to console

Post your comments, questions, bug reports or suggest new features for alphaOS
Anniekin
Competent
Posts: 37
Joined: 06 Nov 2014, 03:14
Contact:

[Solved] suspend, hibernate, drop out of xwin to console

Postby Anniekin » 07 Nov 2014, 04:36

What are the commands for suspend and hibernate, please, and how to drop to console (automatic login creating endless loop)
Last edited by Anniekin on 12 Nov 2014, 01:00, edited 1 time in total.

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: suspend, hibernate, drop out of xwin to console

Postby Scooby » 07 Nov 2014, 16:13

Anniekin wrote:What are the commands for suspend and hibernate

I don't think they are supported, never used them

it's suggested in this forum pm-utils will do the trick

viewtopic.php?f=6&t=9&p=1246&hilit=suspend#p1246

viewtopic.php?f=6&t=1096&p=2836&hilit=suspend#p2836


Anniekin wrote:, please, and how to drop to console (automatic login creating endless loop)


If you want to disable automatic login either

1. Edit /etc/rc.conf and change X_AUTOLOGIN="yes"
to X_AUTOLOGIN="no"

or


2, Boot with boot parameter "noxorg"

in grub2, with my personal path to alphaos, it would look like

Code: Select all

menuentry "16.0 AlphaOS  noxorg" {
set my_root="16alphaos64"
search --no-floppy --file --set=root /$my_root/boot/initrfs.img
linux /$my_root/boot/vmlinuz from=$my_root noxorg
initrd /$my_root/boot/initrfs.img
}

Anniekin
Competent
Posts: 37
Joined: 06 Nov 2014, 03:14
Contact:

Re: suspend, hibernate, drop out of xwin to console

Postby Anniekin » 07 Nov 2014, 16:59

There is an option for it on a fresh install of alphaos-16 when you choose to reboot or shutdown from the openbox right click menu and it works so i need to put it in the enlightenment config

Scooby
Site Admin
Posts: 826
Joined: 09 Sep 2013, 16:52

Re: suspend, hibernate, drop out of xwin to console

Postby Scooby » 07 Nov 2014, 18:01

Anniekin wrote:There is an option for it on a fresh install of alphaos-16 when you choose to reboot or shutdown from the openbox right click menu and it works so i need to put it in the enlightenment config

If it is in your openbox rightclick menu check code in /root/.config/openbox/menu.xml

after checking the above led me to file /usr/bin/wmlogout which is a bash script
open it and get wot u need

It would be nice to see some screenshots of your enlightenment configuration :D


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 13 guests

cron