Skip to content

Instantly share code, notes, and snippets.

@abdularis
Created July 16, 2017 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abdularis/f66e9720ac3092ac25b8823991c1aa07 to your computer and use it in GitHub Desktop.
Save abdularis/f66e9720ac3092ac25b8823991c1aa07 to your computer and use it in GitHub Desktop.
Xubuntu 16.04 Cannot Suspend when inactive [GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied]
Xubuntu 16.04 Cannot Suspend when inactive
[ GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied ]
At the terminal, type:
xfconf-query -c xfce4-power-manager -lv
If the output of the above command doesn't contain the following line:
/xfce4-power-manager/inactivity-sleep-mode-on-battery 1
then, at the terminal type:
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/inactivity-sleep-mode-on-battery -n -t int -s 1
or
open 'Settings Editor' -> (click) 'xfce4-power-manager' -> (click) 'New' -> (insert) 'inactivity-sleep-mode-on-battery' '1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment