|
| ||||||||||
| Tags: command line, hibernate mode, linux, sleep mode, standby mode, suspend, ubuntu |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Performing sleep / standby / hibernate / suspend operations from command line in Linux Ubuntu
For the sleep mode you can enter the following code Code: pmi action suspend Code: pmi action hibernate Code: gnome-screensaver-command –lock |
|
#2
| |||
| |||
| Re: Performing sleep / standby / hibernate / suspend operations from command line in Linux Ubuntu
You haven’t mentioned anything about the suspend and the resume state. Frankly speaking I am new to this pmi. I don’t know how is this pmi action implemented? Till now I was using ‘sudo /etc/acpi/sleep.sh’ and I faced several issues such as wireless was not getting connected when I resumed, the system does sometimes ignore the hdd parameters script. Anyways I will give a try for the commands that you have given, hopefully pmi will be able to give me a much better result than the sudo, that’s what I am expecting. |
|
#3
| |||
| |||
| Re: Performing sleep / standby / hibernate / suspend operations from command line in Linux Ubuntu
See if you are using gnome then the proper solution should be Code: gnome-power-cmd suspend Code: gnome-power-cmd hibernate |
|
#4
| |||
| |||
| Re: Performing sleep / standby / hibernate / suspend operations from command line in Linux Ubuntu Quote:
|
|
#5
| |||
| |||
| Re: Performing sleep / standby / hibernate / suspend operations from command line in Linux Ubuntu Quote:
|
|
#6
| |||
| |||
| Re: Performing sleep / standby / hibernate / suspend operations from command line in Linux Ubuntu Quote:
sudo apt-get install powermanagement-interface". So that’s the message that I get. Now recently I got to know that built-in Suspend in Keyboard Shortcuts does not work as well. what to do can you tell me? |
|
#7
| |||
| |||
| Re: Performing sleep / standby / hibernate / suspend operations from command line in Linux Ubuntu Quote:
Code: sudo apt-get install pmi Code: sudo pmi action suspend Code: ‘gksu pmi action suspend’ |
|
#8
| |||
| |||
Re: Performing sleep / standby / hibernate / suspend operations from command line in Linux Ubuntu Quote:
|
|
#9
| |||
| |||
| Re: Performing sleep / standby / hibernate / suspend operations from command line in Linux Ubuntu
Hey dude just take a chill pill here is the following command for not entering the password. Code: sudo apt-get install powermanagement-interface Code: sudo visudo Code: yourusername ALL=NOPASSWD: /usr/sbin/pmi |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Performing sleep / standby / hibernate / suspend operations from command line in Linux Ubuntu" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cannot communicate with primary dns server - Vista Suspend/Sleep/Standby issue | DesTiny! | Vista Help | 1 | 3 Weeks Ago 05:43 PM |
| Laptop won’t suspend or hibernate after installing Ubuntu 9.10 | Scottish | Operating Systems | 2 | 30-05-2012 01:14 PM |
| Suspend, Hibernate unable to work in ubuntu 10.04 | Bellare | Operating Systems | 9 | 31-03-2012 01:10 AM |
| Difference between Sleep or Standby and Hibernate | sara | Operating Systems | 3 | 22-05-2009 10:47 PM |
| Improved Windows operations in Ubuntu (Linux) | aneesh | Operating Systems | 1 | 24-12-2008 07:47 PM |