LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-08-2023, 05:53 AM   #1
Jason.nix
Member
 
Registered: Feb 2023
Posts: 569

Rep: Reputation: 10
Post The system will suspend now!


Hello,
To prevent the system from being suspended, I did the following steps:
Quote:
Click on the power button. Click the settings gearwheel in the resulting dropdown box. Click "Power" in the left menu of the resulting popup settings window. Under "Power Saving Options" select "Never" instead of "20 minutes".
But the system goes to suspend again!

Thank you.
 
Old 11-08-2023, 08:05 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,400
Blog Entries: 28

Rep: Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166
What distro/version are you using?

It's a long shot in the dark, but did you reboot after changing the settings?
 
Old 11-14-2023, 11:18 PM   #3
Jason.nix
Member
 
Registered: Feb 2023
Posts: 569

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by frankbell View Post
What distro/version are you using?

It's a long shot in the dark, but did you reboot after changing the settings?
Hello,
Thank you so much for your reply.
I use Debian 12.0.
 
Old 11-22-2023, 02:15 AM   #4
Jason.nix
Member
 
Registered: Feb 2023
Posts: 569

Original Poster
Rep: Reputation: 10
Hello,
No idea?

Thanks.
 
Old 11-22-2023, 02:49 AM   #5
lvm_
Senior Member
 
Registered: Jul 2020
Posts: 1,010

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
man systemd-sleep.conf, perhaps?
 
1 members found this post helpful.
Old 11-22-2023, 04:27 AM   #6
Jason.nix
Member
 
Registered: Feb 2023
Posts: 569

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by lvm_ View Post
man systemd-sleep.conf, perhaps?
Hello,
Thank you so much for your reply.
I did:
Code:
# systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
But, it didn't matter
 
  


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
Bash does not suspend/cancel pm-suspend theKbStockpiler Linux - General 1 11-05-2012 02:37 PM
[SOLVED] Suspend problem - suspend sometimes does a logout taylorkh Linux - Hardware 4 06-24-2010 04:12 PM
pm-suspend vs. alternatives. gnome vs. enlightenment suspend. mkultra329 Linux - Newbie 1 02-19-2010 10:56 AM
Plz explain Suspend to Disk and Suspend to Ram pkhera_2001 Linux - Newbie 2 02-18-2008 07:23 AM
difference between "suspend to standby" and "suspend to ram" nappaji Linux - Hardware 1 08-23-2006 08:17 PM

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

All times are GMT -5. The time now is 07:13 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