Enabling autopower off after "x" minutes idle

Hello,

I have installed Ubuntu MATE desktop and, now, I would like to configure autopower off (with shutdown or poweroff commands) after "x" minutes idle. In Gnome, using dconf-editor, I configured that with:

gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 10800
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'shutdown'
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'shutdown'

but now, using MATE, I have seen that keys should be in "org/mate/power-manager", but I have not found any key with "inactive" string in "org/mate/power-manager".

Could anybody help me?

Thanks.

1 Like

Welcome @Daniel_Ruiz_Molina to the community!

Hello,

A) Does menu System => Preferences => Hardware => Power manager suit your needs?

B) My dconf-editor looks like this

Good luck!

1 Like

Hi,

I have checked my configuration and it seems is correct. "action-sleep-type-ac" in /org/mate/power-manager has value 'shutdown' and in "power manager suite" my system is configured with "10 minutes" to put computer to sleep when inactive.

Sure I'm doing something wrong.

Thanks.