You are not logged in.
Description
This little shell script that simply sends an `xscreensaver-command -deactivate` when xbmc.bin is running. This action will cause xscreensaver to pretend that there has been user activity such as keyboard or mouse activity. The command is sent once every 49 seconds while xbmc is running. Infinitely more light-weight than solutions like caffeine
AUR: https://aur.archlinux.org/packages/xbmc … creensaver
Github: https://github.com/graysky2/xbmc-prevent-xscreensaver
Last edited by graysky (2013-10-13 18:37:26)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thank you!
Offline
I don't know much about bash scripting, but why couldn't you just write a wrapper script that calls
xset -dpms; xset s off
before calling xbmc.bin?
Offline
@cris9288, the only reason I can think of to do it this way is that it will absolutely ensure that the screensaver functionality will return if xbmc were to crash or be unceremoniously killed for whatever reason. Also, considering that you are already running something like xbmc, which will surely keep your machine alive, running a bash loop that simply ends up sleeping 1/60th of the time is not terribly hard on the system.
Offline
I don't know much about bash scripting, but why couldn't you just write a wrapper script that calls
xset -dpms; xset s off
before calling xbmc.bin?
Could potentially, but this solution uses the the xscreensaver-native command `xscreensaver-command -deactive` which pokes the daemon just like a mouse movement would. It's more natural
Last edited by graysky (2013-10-13 18:39:42)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
For existing users, please note that I updated the name replacing the underscrores with hyphens. Update your symlinks accordingly upon upgrade.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline