How to disable suspend when plugged

Please post all general support questions for LXDE here.
Locked
Demontager
Posts: 7
Joined: Sun Sep 02, 2012 7:14 am
Contact:

How to disable suspend when plugged

Post by Demontager »

I need to disable suspend function on laptop when it connected to power supply line, XFCE power management control menu offering maximum 5 hours and 50 mins, but no options to putt it off. http://6g6.eu/sih0-desk.jpeg
But i need keep suspend when on battery power.

My system is Lubuntu 12.10, on laptop Asus U36SD
Rex Bouwense
Posts: 1109
Joined: Sat Aug 27, 2011 5:44 pm
Location: Sierra Vista, Arizona USA
Contact:

Re: How to disable suspend when plugged

Post by Rex Bouwense »

OK. Move the little dot all of the way to the left and the word never will appear. That is how I do it. By the way I also use an ASUS (an old EeePC 1000h).
Rex
Demontager
Posts: 7
Joined: Sun Sep 02, 2012 7:14 am
Contact:

Re: How to disable suspend when plugged

Post by Demontager »

Oh, i feel bit stupid.. Sorry it was not so obvious for me at first look.
Yes, when i moved dot at very left got "Never" appeared.
Thanks, Rex!
Rex Bouwense
Posts: 1109
Joined: Sat Aug 27, 2011 5:44 pm
Location: Sierra Vista, Arizona USA
Contact:

Re: How to disable suspend when plugged

Post by Rex Bouwense »

Hey, I am not going to tell you how long it took me to find that. Glad to be of assistance. Stick around the forums and perhaps you can help someone with your knowledge. Enjoy lxde.
Rex
Demontager
Posts: 7
Joined: Sun Sep 02, 2012 7:14 am
Contact:

Re: How to disable suspend when plugged

Post by Demontager »

Ah i see, so i was not alone :D
Check this http://ubuntuforums.org/showthread.php?t=2080229 same question asked.
Actually i came from Gnome2 then Gnome3 and lastly found LXDE the thing i need, simple and fast.
My next question about LXDE is coming soon, again not so obvious way to solve.
Rex Bouwense
Posts: 1109
Joined: Sat Aug 27, 2011 5:44 pm
Location: Sierra Vista, Arizona USA
Contact:

Re: How to disable suspend when plugged

Post by Rex Bouwense »

I have installed Ubuntu Tweak on a Lubuntu system and there doesn't seem to be any problem. However, I really do not use it that much. The stuff that you may want to use Tweak to accomplish can just as easily be done on the terminal. If you are like me you might have to do a little research to find the correct commands. I have found (and used) a web site created and maintained by seppalta (also a mod on this forum).
http://lxlinux.com/#index
It answers alot of questions.
Did I read that post on the Ubuntu Forums correctly, you have 8GB of RAM? With that much RAM I wouldn't believe that you need any Swap. I could not envision a situation where you would exceed that much.
Rex
Demontager
Posts: 7
Joined: Sun Sep 02, 2012 7:14 am
Contact:

Re: How to disable suspend when plugged

Post by Demontager »

Yep, i got 8 Gb ram and SSD on my laptop. I know that swap not needed here, i added it because planned to use hibernate, but then found this future not usefull for me as suspend more convinient for me and not using swap.
Thanks for page, saw it before already. I want to ask you one thing - Did ubuntu tweak install compiz for you as dependency ? Actually don't gonna use compiz as it breaks LXDE simplicity and speed.
Locked