2
votes
0answers
133 views

How to reboot/shut down gracefully in Awesome WM?

My current configuration uses kdesu shutdown -[rh] now to reboot/shut down. The entire shutdown procedure takes about 1-2 seconds. But after every boot Firefox says it was shut down prematurely, ...
2
votes
1answer
443 views

Why won't this shutdown script work when executed by ACPID?

Based on this thread I modified my /etc/acpi/powerbtn.sh script to account for LXDE sessions: # getXuser gets the X user belonging to the display in $displaynum. # If you want the foreground X user, ...
10
votes
4answers
524 views

How do I shutdown, reboot and logout the system from the command-line?

I would like to do that using the command-line, because sometimes my computer freezes and I need to force a shutdown (I know it's not good to the hardware). And: What is the difference between Halt ...