SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So, I reinstalled Slackware and gave powerkit a try. I think it is a promising start, but I have a few comments and suggestions:
Backlight controls are grayed out. I saw the note in the manpage about proper permissions being required (and the 90-backlight.rules file), but it wasn't clear to me what I needed to change.
I'm not sure whether this is possible or not, but personally I use xautoset and i3lock instead of xscreensaver. It appears xscreensaver is required at least to detect when the machine is idle, but it would be nice to at least be able to set a custom command for the screen locking action. (Personally, that's a deal breaker for me, as I hate the xscreensaver lock screen.)
It would also be nice to have an option to dim the screen after X minutes of inactivity.
The inhibitors tab is blank for me with no buttons or apparent way to do anything.
As a wish list thing: my personal power management scripts include an inhibitor based on CPU activity, which I find highly effective for overriding auto suspend. I have it set up to inhibit when CPU usage is 4% over at least 15 seconds, and then re-enable auto suspend when it is under 4% for 30 seconds. It would be awesome to have that in powerkit. I can share the code if you are interested.
Last edited by montagdude; 11-04-2018 at 09:24 PM.
hi, thanks this is useful to me in fluxbox as a drop in replacement to xfce4-power-manager - couldn't see the battery decay with xfce4-power-manager.
i don't know why the powerkit icon doesn't show up right away in the fluxbox tray, more reading needed.
suspend is actually really nice and quick on slackware :]
Just got around to playing with this (rc2) and so far it does what I need it to (suspend to RAM).
Now I just need to go back through my notes and find my wake-from-USB stuff and my HTPC will finally be rid of Windows.
A question, is it qt5 compatible? I haven't tried, but since I already use qt5 I was just wondering.
A bit of nitpicking, maybe just for the sake of sanity. Should your SlackBuild copy the '90-backlight.rules' to the docdir, should it name it '90-backlight.rules.example'?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.