LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 07-06-2013, 08:21 AM   #1
sinbad13
LQ Newbie
 
Registered: Jun 2013
Location: London
Posts: 21

Rep: Reputation: Disabled
Sleep mode, list instead of icons


I have an Asus Eeee as I begin the changeover to Linux. I have ubuntu installed, watched Learnable's Linux tuitions, but sadly that's done in a rambling way and has not been so helpful.

My questions: How to send the netbook into the equivalent of 'sleep', please? In Windows, start/sleep.

Settings in ubuntu show in icons. I'd prefer a list, especially on a small netbook screen. How can I change the display to 'list', please?

I'm so pleased to be using Linux. I'm sure this is the future, and not just because of the giants' greed which will kill them -(if there's any justice in the world, of course).

Many thanks paul
 
Old 07-06-2013, 09:06 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 9,915

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Sleep = suspend mode. There is also hibernate, which is a switch-off mode. To see what you can do, open a terminal and type
Code:
cat  /sys/power/state
If the output included 'mem' you can suspend; If it includes 'disk' you can also hibernate.

Most X window managers will have fancy icons somewhere allowing you to suspend/hibernate. There is pm-suspend and pm-hibernate, or you can use this
Code:
echo mem > /sys/power/state
. A quick press of the power button usually brings it back.
 
1 members found this post helpful.
Old 07-06-2013, 09:58 AM   #3
sinbad13
LQ Newbie
 
Registered: Jun 2013
Location: London
Posts: 21

Original Poster
Rep: Reputation: Disabled
Thanks very much, BusinessKid. I'm looking forward to trying the code.

First off, though, I found settings/suspend and clicked that.

Unfortunately - and the reason I didn't want to just explore - a swift press of the power button doesn't do anything. It remains, well, suspended. I suppose I will have to stop the machine and start again.

I wonder if you know why it doesn't want to behave? Perhaps there's a separate - and obliging - suspend command somewhere.
 
Old 07-06-2013, 11:16 AM   #4
sinbad13
LQ Newbie
 
Registered: Jun 2013
Location: London
Posts: 21

Original Poster
Rep: Reputation: Disabled
Yes, had to force a shutdown. This from the terminal ...

Quote:
asus_thatsus@ubuntu:~$
asus_thatsus@ubuntu:~$ cat /sys/power/state
mem disk
asus_thatsus@ubuntu:~$ echo mem > sys/power/state
bash: sys/power/state: No such file or directory
asus_thatsus@ubuntu:~$ ^C
asus_thatsus@ubuntu:~$
Any thought, please, BusinessKid, or anyone?
 
Old 07-06-2013, 12:09 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 9,915

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Sorry, typo.

echo mem > /sys/power/state

You (or I) left off the leading '/'
 
1 members found this post helpful.
Old 07-06-2013, 03:55 PM   #6
sinbad13
LQ Newbie
 
Registered: Jun 2013
Location: London
Posts: 21

Original Poster
Rep: Reputation: Disabled
Ah, I'm sure it couldn't have been you, BusinessKid. My excuse is that I merely copied your code. Why didn't I add the missing few characters? Possibly because I am brand spanking new to the Linux command prompt. That's my best attempt at an excuse - but what a feeble excuse. Sorry.

I'll try harder, promise, as I get this code into place. Thanks very much, BK.
 
Old 07-06-2013, 04:03 PM   #7
sinbad13
LQ Newbie
 
Registered: Jun 2013
Location: London
Posts: 21

Original Poster
Rep: Reputation: Disabled
Well, well, BK, it seems your influence stretches to my new Linux plaything. The response to the corrected code is a simple - and emphatic - 'Permission denied.'
Can't say that Linux leaves you wondering what it means.
 
Old 07-07-2013, 03:08 AM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
'Permission denied.'
You have to run command as root or by using sudo.
 
1 members found this post helpful.
Old 07-07-2013, 04:47 AM   #9
sinbad13
LQ Newbie
 
Registered: Jun 2013
Location: London
Posts: 21

Original Poster
Rep: Reputation: Disabled
Thanks very much, Eddy. I suppose I am trying to run with you and Business Kid before I have begun to toddle. I've found what looks like a good reference place for Linux coding, and I have a tutorial or two on my ipad. GUI applications make one lazy. I should find time for them. Long ago, in DOS days, I used the command prompt in windows, and especially for mysql.
Thanks very much for your help, to you and Business Kid.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
disable sleep mode, away mode standby, etc. ZiGz Linux - General 4 06-19-2016 01:15 PM
Sleep mode tlcasey100 Linux - Newbie 1 08-02-2010 06:33 AM
how to disable sleep/hibernate mode in runlevel 3 mode libin88 Linux - General 1 11-23-2008 04:54 AM
Sleep mode mrsolo Linux - Hardware 4 11-26-2002 08:05 PM
sleep mode mr.moto Linux - General 2 12-29-2001 09:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration