LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 01-23-2020, 01:55 AM   #1
l0rddarkf0rce
Member
 
Registered: Nov 2004
Location: Virginia, US
Distribution: Slackware 14.1 multilib
Posts: 149

Rep: Reputation: 33
Prevent machine from sleeping


I am new to Mint, so if this has been asked before, just point me in the correct direction. I have an older laptop that I use as my VPN server and it just keeps going to sleep whenever I close the lid, sometimes even when the l leave the screen open it just decides that it will take a nap, which is a problem if I am trying to connect to it.

I already went to XFCE Power Manager settings and set everything to 'Do nothing' for all buttons and Laptop Lid settings are set to 'Switch off display'. System power saving settings are set to 'Never'. Display power management is disabled.

Any ideas on how to prevent this will be appreciated.
 
Old 01-23-2020, 06:11 AM   #2
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Do you have the "presentation mode" option in the small menu for the power applet/icon found on the panel?
 
Old 01-23-2020, 06:47 AM   #3
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,759

Rep: Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761
You might also want to check the BIOS settings. I have had one laptop that had firmware sleep settings that took priority over every operating system setting. (Great battery life, but useless for anything else, it fried with a MB burnout at about 3 years old. Corporate lowest bidder resource.)
 
Old 01-23-2020, 10:10 AM   #4
l0rddarkf0rce
Member
 
Registered: Nov 2004
Location: Virginia, US
Distribution: Slackware 14.1 multilib
Posts: 149

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by phantom_cyph View Post
Do you have the "presentation mode" option in the small menu for the power applet/icon found on the panel?
I just saw that and enabled it. If this work, will it still work if I have the screen saver on? Will it work if the lid is closed? In any case thanks for the suggestion.
 
Old 01-23-2020, 10:12 AM   #5
l0rddarkf0rce
Member
 
Registered: Nov 2004
Location: Virginia, US
Distribution: Slackware 14.1 multilib
Posts: 149

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by wpeckham View Post
You might also want to check the BIOS settings. I have had one laptop that had firmware sleep settings that took priority over every operating system setting. (Great battery life, but useless for anything else, it fried with a MB burnout at about 3 years old. Corporate lowest bidder resource.)
I use to have Slackware on this machine and it never took naps. I logged in, did what I needed to do, logout, close the lid and that was it I never had to go into the BIOS and mess with it, but I'll check it.
 
Old 01-23-2020, 01:27 PM   #6
l0rddarkf0rce
Member
 
Registered: Nov 2004
Location: Virginia, US
Distribution: Slackware 14.1 multilib
Posts: 149

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by phantom_cyph View Post
Do you have the "presentation mode" option in the small menu for the power applet/icon found on the panel?
Well that did not work. Enabled presentation mode locked the screen and a bit later that comp went to sleep. The search for a solution continues.
 
Old 01-23-2020, 09:13 PM   #7
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,759

Rep: Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761
Let us know what you find. Even what does not work might provide clues.
 
Old 03-01-2020, 11:46 PM   #8
gordy.king
LQ Newbie
 
Registered: Mar 2020
Posts: 1

Rep: Reputation: Disabled
Red face screen sleep settings in robolinux

screen sleep settings in Robo Linux or command to set time length
 
Old 03-02-2020, 01:14 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by l0rddarkf0rce View Post
I have an older laptop that I use as my VPN server and it just keeps going to sleep
My solution would be to not have a GUI on that hing at all.
I use an old laptop as a server and NEVER had this sort of problem.
Even closing the lid does not put it to sleep.
 
1 members found this post helpful.
Old 03-02-2020, 06:13 AM   #10
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS, Manjaro
Posts: 5,759

Rep: Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761Reputation: 2761
Quote:
Originally Posted by ondoho View Post
My solution would be to not have a GUI on that hing at all.
I use an old laptop as a server and NEVER had this sort of problem.
Even closing the lid does not put it to sleep.
OR: have the gui installed but not running. so to engage the gui you need to command "startx" or "xinit". Then exit the gui whenever you are not directly using it.
 
Old 03-07-2020, 11:31 AM   #11
rjs1943
Member
 
Registered: Jan 2011
Posts: 55

Rep: Reputation: 3
Prevent sleep mode

I use the App "Caffeine" to prevent my laptop from going to sleep. I just click in the Caffeine icon in the panel and I can work all day and laptop will not screen-save, suspend, hibernate ETC. You need to download the Caffeine app and Caffeine indicator to put in your panel in order to activate and deactivate Caffeine.

https://linux.softpedia.com/get/Util...ca-49465.shtml
 
1 members found this post helpful.
  


Reply



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
Easy one for you guys - Prevent monitor from sleeping RaspPi Linux - Newbie 2 10-10-2013 10:15 AM
Any way to prevent external HDD from sleeping? Cinnamint Linux - Hardware 1 08-15-2013 09:29 AM
Installing XFree86 4.2.0 Dual Monitors not sleeping The Jesus Linux - Software 0 05-01-2002 06:38 PM
Sleeping system wyvis Linux - General 4 01-17-2002 05:06 PM
Sleeping SAMBA CPUNeck Linux - Newbie 3 11-27-2001 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 12:26 PM.

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
Open Source Consulting | Domain Registration