There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Help with fedora i3 spin power settings

I recently decided to switch to a tiling window manager and choose fedora i3 spin. Iv made some basic configs and scripts to give my set up some functionality i require but im stuck on how to configure the power settings. Im looking to do somthing along the line of setting my pc to stay awake for 30 mins before locking ans then hibernating or shutting down after 2 hour. Then additionally having the ability to toggle on a “caffeine” setting where my pc wont lock or sleep by itself. I cant seen to find many resources for this online.

pruneaue ,

Those are both things that a window manager doesnt really do. I havent used i3 much but ill try to point you in the right directions.

For caffeine, depending on your bar, i believe most of them have modules for that.

Then for locking/shutting down, you’d want to look at i3lock, xautolock, xidlehook, and probably many others. Can’t guide you to the right commands, but this forum thread seems to have a lot of the info you’re looking for: bbs.archlinux.org/viewtopic.php?id=208699

Shape4985 OP ,
@Shape4985@lemmy.ml avatar

Thankyou. For locking i have i3lock but i havent got round to customising it yet so i still have the defaults and my bar is polybar which has a has some customisation. Ill see if i can find a caffeine moduke to add to it

qjkxbmwvz ,

Is this useful?

github.com/rodlie/powerkit

Not affiliated and haven’t used it, but its tagline of “Desktop Independent Power Manager” seems like it fits the bill.

Shape4985 OP ,
@Shape4985@lemmy.ml avatar

Thankyou. I will have a look at this and possibly test it in a vm first to see how it works

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines