LinuxQuestions.org
Review your favorite Linux distribution.
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 12-22-2020, 08:43 PM   #1
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 977

Rep: Reputation: 239Reputation: 239Reputation: 239
pm-utils gone, where is the suspend in xfce?


After the last big upgrade (which I just manage to do today) there is no longer a 'suspend' option on the XFCE panel logout button. Also there is no longer an option to set 'suspend' in the power manager for when closing the lid (quite handy when working with a laptop on the go).

The sleep button on my keyboard works though (Fn + F12), but closing the lid only turns screen off, music keeps going..... (so no automatic suspend)

I have nothing from the kde/kdei-folders installed and don't like to install kde just to get a login manager; I use the simple log-in manager Slim for that (from SlackBuilds.org).

I understand that pm-utils was made redundant with elogind coming in but maybe not covering this use case?

Is there a workaround or do I have to live with Fn + F12 before rushing off to the train?

Cheers,

rob
 
Old 12-23-2020, 02:33 AM   #2
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,407
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
I can't recall now but isn't there a config setting about inhibitors in /etc/elogind.conf ? Or could an old acpi rule call pm-utils instead of the new way ?
 
Old 12-23-2020, 02:52 AM   #3
_peter
Member
 
Registered: Sep 2014
Location: paris
Distribution: slackware
Posts: 314

Rep: Reputation: Disabled
is this acceptable for you to add a custom shortcut to those xfce panel buttons and lid closing action ?
Code:
loginctl suspend
 
Old 12-23-2020, 03:50 AM   #4
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,419

Rep: Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159Reputation: 4159
You can have a look at my post on this subject :

https://www.linuxquestions.org/quest...wn-4175685878/

Post #14
 
Old 12-23-2020, 09:45 AM   #5
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 977

Original Poster
Rep: Reputation: 239Reputation: 239Reputation: 239
Thanks for all the tips.
@Marav, your post brought back the suspend options on the panel-logout action
@Tonus /etc/elogind/logind.conf showed that the thing should suspend automatically when closing lid
@_peter that would be very useful when I discover some scripts are calling pm-suspend in vain...

also discovered that xfce-screensaver might be involved and had to check its settings which seemed to activate the lid:
https://arcolinuxforum.com/viewtopic.php?t=1879
Ive never installed xscreensaver (as that was easier than trying to see why it interfered with stuff like this), maybe -as promised- the xfce-one works.

This can be seen as solved. A conky glitch I got around; suddenly no transparent background anymore after the upgrade so that the info was no longer blending in with my random background of choice. Found via the man-page the lines
Quote:
own_window_argb_visual = true,
own_window_argb_value = 0,
Including those in my .conkyrc repaired this...
 
  


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
[SOLVED] XFCE 4.6 Cannot shutdown, reboot or suspend system from XFCE lpallard Slackware 17 11-04-2012 06:17 PM
[SOLVED] acpid, pm-utils, suspend/resume and -current tuxrules Slackware 12 09-16-2009 09:33 PM
need help with suspend/waking up - pm-utils and acpid lumak Slackware 1 03-09-2009 12:59 PM
Request for Testing: Suspend/Resume (pm-utils backend) rworkman Slackware 16 11-10-2008 11:04 AM
gnome-powermanager suspend error (quriks/pm-utils) vatten Linux - Software 0 09-06-2008 09:24 AM

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

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