Shutdown computer on idle

Post here if you are a new Porteus member and you're looking for some help.
nikel
Ronin
Ronin
Posts: 3
Joined: 06 Aug 2024, 04:06
Distribution: 5.0

Shutdown computer on idle

Post#1 by nikel » 11 Aug 2024, 09:48

Hello, I've Openbox/Porteus on my laptop and I want to shutdown computer when idle 10 minutes. I edited "/etc/elogind/logind.conf" and delteted "#" and set "idleaction" to "poweroff" and, "idleactionsec" to 1min (to test). I rebooted computer but shutdown on idle didn't work.

How can I shutdown computer when idle 10 minutes?

User avatar
Ed_P
Contributor
Contributor
Posts: 8954
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Shutdown computer on idle

Post#2 by Ed_P » 12 Aug 2024, 05:45

Hi nikel. I found this posting helpful with my Cinnamon system.

https://forums.linuxmint.com/viewtopic.php?p=1821917

nikel
Ronin
Ronin
Posts: 3
Joined: 06 Aug 2024, 04:06
Distribution: 5.0

Shutdown computer on idle

Post#3 by nikel » 12 Aug 2024, 06:44

Thanks for the reply.

Post Reply