Currently, Ubuntu 14.04 only provides a single option: "Turn screen off when inactive for: x minutes" that applies regardless of whether my laptop is plugged in or not. I want to change this setting when on battery power, just like I can with other Power options such as the suspend timeout. Is there any built-in way to do this? If not, I think I should be able to write a script that gets called by dbus whenever the power state changes, and modifies the gsettings key org.gnome.desktop.session.idle-delay.

This is basically a dupe of questions: https://askubuntu.com/questions/435783 and https://askubuntu.com/questions/483356.

Still hoping for an elegant solution.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.