LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Closing lid restarts computer (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/closing-lid-restarts-computer-817823/)

ferrari353 07-03-2010 10:32 AM

Closing lid restarts computer
 
Okay so when I close my lid, my computer restarts, and then it automatically boots Linux because that's the first one in the list. It's never done this before. So is this because of Linux?
Also, my computer is set to sleep when the lid closes.

smoker 07-03-2010 11:00 PM

You don't mention which distribution you are using, neither do you state the make and model of the laptop. You also don't mention whether windows is installed as well as linux, or what OS is running when the problem occurs.

If it is linux related, then it will be to do with the acpi or pm-utils configuration. Read more about acpi here, or search for your distro's implementation of pm-utils.

ferrari353 07-05-2010 10:49 PM

I'm using Ubuntu. I'm partitioned it with Windows Vista. and I have a Dell Inspiron 1525.

tredegar 07-11-2010 11:57 AM

There are lots of "ubuntus", so I'll assume you are using 10.01, the latest. Go to:
System
Preferences
Screensaver

Click the Power Management Button
... "When laptop lid is closed" ... Change it from "Shutdown" to something else.

Take a look at all the other options whilst you are there, then close the windows.

Edit: Just re-read your post
The above advice isn't helpful to you. Sorry.
"Sleep" is broken on many laptops with linux. Try choosing another option. "Blank Screen" works for me.
/Edit

ferrari353 07-12-2010 01:43 AM

I changed it to blank screen, and it works but after 30 mins its set to sleep, so it restarts then. So I set that to blank screen too and it works now. thanks!!

ferrari353 07-13-2010 04:31 PM

Nevermind, it's still restarting. I don't know what to do now...

tredegar 07-13-2010 04:46 PM

Maybe go back to the "Power Management" and look carefully at all the available tabs: "On mains power", "On battery Power", "General".

Failing that, maybe just stop "shutting the lid" and either use your computer, or turn it off.

ferrari353 07-13-2010 05:54 PM

Yeah but I don't use it at a desk, I use it on my couch, and I have to get up constantly to eat, let my dogs in or out, go to the bathroom, etc.
I've looked at all the tabs, and nothing there could do it.

tredegar 07-13-2010 06:57 PM

I don't think I can answer this. You are making a joke perhaps?
Quote:

Yeah but I don't use it at a desk, I use it on my couch
OK
Quote:

I have to get up constantly to eat
I simply don't believe this.
Two meals a day fixes me up. It takes almost no time.
Quote:

[I have to] let my dogs in or out
You mean you don't take them out for a walk?
Quote:

[I have to] go to the bathroom, etc
I don't think I want to hear any more about your personal life.
Quote:

I've looked at all the tabs, and nothing there could do it.
Perhaps a short walk (with the dogs) will help you clear your mind.

ferrari353 07-13-2010 07:02 PM

It's not a joke...and I eat a lot. You don't know my dogs, they go in and out constantly. I use my laptop for personal use, not business, that's why I use it on the couch. If I could access the internet on Linux, I'd show you everything it says.

ferrari353 07-13-2010 11:04 PM

I think I'm done for now with Ubuntu. I'll try Mint or Fedora or another top Linux, and then maybe when I'm more experienced with Linux I can come back.

tredegar 07-14-2010 05:54 AM

Trying Mint is a good idea.
Let us know if it handles sleep any better on your PC.

ferrari353 07-14-2010 11:47 AM

How do I uninstall Ubuntu?
This seems really complicated.

tredegar 07-14-2010 01:58 PM

Quote:

How do I uninstall Ubuntu?
There's no need to "uninstall" it :)

Just make a note of the partition it is currently installed to.

mount will help you here: What partition is currently mounted as / ?

Example output from mount:

Code:

/dev/sda5 on / type ext3 (rw,relatime,errors=remount-ro)
So / is on /dev/sda5 and you should ask your new distro to install to /dev/sda5.

Ubuntu will be overwritten, and gone.

ferrari353 07-14-2010 08:46 PM

What is mount?
Also, I know nothing about partitions...I don't want to screw it up. I'll back it up first.
I got Paragon Partition Manager 11. I can delete partitions now but I don't know which one I'm supposed to delete...
http://i28.tinypic.com/2ylk4g6.png


All times are GMT -5. The time now is 05:56 AM.