Hi, On Tue, Nov 12, 2019 at 9:45 AM Ed Greshko <ed.greshko@xxxxxxxxxxx> wrote: > > On 11/12/19 9:43 PM, Alex wrote: > > I have a fedora30 desktop that's used infrequently throughout the day. > > I'd like it to go to sleep on its own after 15 minutes of inactivity. > > How can I do this? > > > > The install was done using defaults, so I'm using GNOME with its > > default applications and configuration. > > > > An option to configure this from the command-line would be > > appreciated, although I can also use the GUI. > > These setting are held in a user's dconf database. You can manipulate them using the > gsettings command. > > [egreshko@f30g ~]$ gsettings list-keys org.gnome.settings-daemon.plugins.power > idle-dim > sleep-inactive-battery-type > idle-brightness > ambient-enabled > sleep-inactive-ac-type > sleep-inactive-battery-timeout > sleep-inactive-ac-timeout > power-button-action > > Shows the available options. Note if you are on AC power you want to use the AC optons. > For those the keys you're interested are sleep-inactive-ac-type and sleep-inactive-ac-timeout. > > To suspend after 15 minutes of inactivity you'd do > > gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 900 > gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type suspend > > to turn off the feature you'd do > > gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing This did not work. Just to be sure I've explained myself clearly, I'd like my fedora29 desktop (not laptop) to go to sleep (or suspend) after fifteen minutes without keyboard activity. I've tried the above commands as both the regular user and as root in a terminal window and it did not go to sleep (or suspend) after 900 seconds. Other ideas? _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx