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

Notices


Reply
  Search this Thread
Old 01-05-2023, 02:11 AM   #16
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,409

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145

Quote:
Originally Posted by rkelsen View Post
Maybe on certain hardware it does?

On my laptop (which is a Dell XPS), it certainly seems to suspend properly without any special configuration. Maybe that's not the same as hibernating? I'm not sure, but if I leave the laptop unattended for 15 minutes, I have to close and reopen the lid (or press the power switch) for it to show the login screen again. The same thing happens if I close the lid while logged in.

On my desktop, I can wiggle the mouse and have the screen come back to life.
"Hibernation" is not appropriate, we should have been more precise
Suspend to RAM (S3, aka "Sleep") can work out-of-the-box, indeed
Suspend to Disk (S4, aka "Hibernate") must be configured to work

Last edited by marav; 01-05-2023 at 02:14 AM.
 
1 members found this post helpful.
Old 01-05-2023, 02:41 AM   #17
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Hibernate is like a poweroff / boot sequence but instead of starting from fresh, it resumes the last opened session
It's the most saving power mode. I don't know, but at this point I prefer poweroff and start from fresh
 
1 members found this post helpful.
Old 01-06-2023, 05:32 PM   #18
notzed
Member
 
Registered: Dec 2020
Location: South Australia
Distribution: slackware64-current
Posts: 95

Rep: Reputation: Disabled
Quote:
Originally Posted by beancounterx View Post
XFCE power management doesn't work. I've researched this with no joy. I tried setting /etc/elogind/logind.conf ,sleep section, allowsuspend=no allowhebernation=no. No joy.
Any ideas would be appreciated.
Honestly it's a massive mess. upower/elogind/screensavers/powermanagers, xset/tset, ... all fight and interfere with one another for control, there are hidden/hard to find settings to configure who does what, plus plenty of dbus/policykit/systemd shenanigans and complexities on top. Plus all the *d bugs we've come to know and loathe.

Easiest if you want to completely disable all blanking is to configure elogind/xset to do nothing, then uninstall/disable all the screensavers and power managers.

for xfce4 sessions that means disable/remove:

xscreensaver
xfce4-screensaver
xfce4-power-manager

/etc/elogind/login.conf: (the default)
IdleAction=ignore

and if you need it, in ~/.xprofile
xset s off
 
3 members found this post helpful.
Old 01-07-2023, 05:17 AM   #19
arfon
Member
 
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 380

Rep: Reputation: Disabled
I don't know if this is still the case but Slackware used to use APM to blank the screen when NOT running X. It would cause me all sorts of aggravation to try and disable the screen saver in XFCE only to forget about APM.

I think ACPI is doing it in your case.

I also think your solution is in this thread-
https://www.linuxquestions.org/quest...ed-4175686924/

Specifically this part:
Code:
xset -dpms
xset s off
xset s noblank

Last edited by arfon; 01-07-2023 at 05:23 AM.
 
2 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
How do you stop pre-typed text from showing up in the Username field? Anyone know? Pen guin Linux - General 6 06-27-2021 08:02 AM
FocusWriter - Anyone know how to stop this from loading the last file open? (or offer alternative app) questionsBot Linux - Software 1 07-05-2020 05:32 AM
What is more stable: Slackware or Debian Stable ? Xeratul Slackware 100 11-14-2015 10:07 PM
Stop Hibernation Ace Blackwell Linux - Desktop 3 06-25-2010 09:24 AM
The more I know the less I know I know sjb LinuxQuestions.org Member Intro 1 02-11-2008 12:50 PM

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

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