73
submitted 10 months ago* (last edited 10 months ago) by Shape4985@lemmy.ml to c/linux@lemmy.ml

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.

you are viewing a single comment's thread
view the rest of the comments
[-] pruneaue@infosec.pub 3 points 10 months ago

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: https://bbs.archlinux.org/viewtopic.php?id=208699

[-] Shape4985@lemmy.ml 2 points 10 months ago

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

this post was submitted on 28 Jan 2024
73 points (94.0% liked)

Linux

48508 readers
721 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS