Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 24 Oct 2017, 05:53
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
pm-utils & GUI tools qshutdown/autopoweroff
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
labbe5

Joined: 13 Nov 2013
Posts: 979
Location: Canada

PostPosted: Mon 27 Feb 2017, 09:12    Post subject:  pm-utils & GUI tools qshutdown/autopoweroff
Subject description: to suspend or hibernate your laptop desktop with command lines
 

https://www.cyberciti.biz/faq/linux-command-to-suspend-hibernate-laptop-netbook-pc/

Ubuntu has pm-utils installed by default.

You can invoque suspend with : $ sudo pm-suspend
or invoque hibernation with : $ sudo pm-hibernate
You can suspend or hibernate at a precise time with (30 minutes) :
echo 'pm-suspend' | at now + 30 minutes


For systemd, there is another set of commands (link for more info) :
echo 'systemctl suspend' | at now + 30 minutes

You can shutdown laptop desktop with :
$ sudo shutdown now -h -P (OS will halt and power off immediately)
Or alternatively, at a precise time :
$ sudo shutdown 5:30 -h -P
OS will shutdown at 5:30 AM.

Making aliases may help you shorten the above commands to a simple letter.

Last edited by labbe5 on Tue 16 May 2017, 15:02; edited 1 time in total
Back to top
View user's profile Send private message 
labbe5

Joined: 13 Nov 2013
Posts: 979
Location: Canada

PostPosted: Tue 16 May 2017, 15:00    Post subject: qshutdown & autopoweroff
Subject description: GUI tools to shutdown computer/server at a fixed time
 

You can easily shutdown computer with a command line :

1- now : shutdown now -h -P
2- at a fixed time : shutdown 21:15 -h -P

-h & -P is a command to halt and to poweroff computer

When you want your computer to shutdown after it has completed a task, such as ripping a DVD, and you are away from home, you can set the shutdown time with above command line.

Or use a GUI tool :

qshutdown will help users that are averse to using a terminal emulator :

You need to install qshutdown with PPA, so it is for Dog-based OS :

$sudo add-apt-repository ppa:hakaishi/qshutdown
The repository key will be installed and for efreshing your source file you do : apt update ($sudo apt update for non-root users)
Then apt install qshutdown

https://github.com/deragon/autopoweroff

Autopoweroff is a more versatile GUI tool than qshutdown, and more useful for home server.
A .deb file here :
https://sourceforge.net/projects/autopoweroff/
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0248s ][ Queries: 13 (0.0032s) ][ GZIP on ]