Open wiggin15 opened 9 years ago
Apparently, if left for 5 minutes without xbmc running, Ubuntu enters suspend mode and then requires password when unlocking. The settings to change this are in System Settings -> Brightness and Lock. I found these commands on the internet, maybe running them (in "disable_screensaver") will fix the problem, but I'm not sure:
gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend false
chmod 000 /usr/lib/pm-utils/bin/pm-action
the latter is a hack because because session.idle-delay is not working - I found the trick here: http://askubuntu.com/questions/452908/how-to-disable-suspend-in-14-04
Nice catch. I will add this to ansible.
Scratch the previous comment...
The script "disable_screensaver" works, but never runs. The autostart file "disable_screensaver.desktop", copied to .config/autostart, doesn't run its command because of this line:
AutostartCondition=GSETTINGS
Apparently this condition isn't met. I don't know what this condition means, but after removing this line and re-logging in, the script /usr/bin/disable_screensaver runs and sets the proper configuration. Is it ok to remove this line?
If XBMC is not running, the desktop may lock and require user password (when it happened to me, I couldn't input the password too so I had to reboot the computer :/). Please disable desktop locking.