Linux
Welcome to c/linux!
Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!
Rules:
-
Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.
-
Be respectful: Treat fellow community members with respect and courtesy.
-
Quality over quantity: Share informative and thought-provoking content.
-
No spam or self-promotion: Avoid excessive self-promotion or spamming.
-
No NSFW adult content
-
Follow general lemmy guidelines.
view the rest of the comments
Can't get an auto shutdown at a specific time working on Bazzite.
I have a few 5th and 6th Gen Intel laptops and mini PCs for my kids with games. Working well enough for the most part and PAM account login time limits what times if the day they can sign in but I want it to auto logout or even better force shut down at the end of the day instead of them staying up all night.
Most guides recommend using cron which is fine in general but it isn't available in Bazzite. Even when I tried installing it since it isn't included by default. Tried two different guides and an AI recommendation to do it via Systemd but that isn't working as mentioned at the top.
What problems are you having with cron? I've been annoyed with cron many times over the years. I suppose you could just run
in a terminal to schedule a shutdown at 8pm. Or maybe edit your sudo file to allow user to run shutdown without a password and throw it in a user startup file.
Cron just doesn't exist for Bazzite. I'm sure there technically is a way to add it back but not practical.
Hadn't thought about a user startup file. Not exactly a clean solution but shrug if it works I can live with it. I'll add it to my list of ideas to try.