diff options
Diffstat (limited to 'src/os-plugins/plugins/infoscreen/files')
-rw-r--r-- | src/os-plugins/plugins/infoscreen/files/empty.xbm | 6 | ||||
-rw-r--r-- | src/os-plugins/plugins/infoscreen/files/infoscreenClient.tgz | bin | 0 -> 267172 bytes | |||
-rwxr-xr-x | src/os-plugins/plugins/infoscreen/files/kiosk.dpms | 27 |
3 files changed, 33 insertions, 0 deletions
diff --git a/src/os-plugins/plugins/infoscreen/files/empty.xbm b/src/os-plugins/plugins/infoscreen/files/empty.xbm new file mode 100644 index 00000000..73b5f706 --- /dev/null +++ b/src/os-plugins/plugins/infoscreen/files/empty.xbm @@ -0,0 +1,6 @@ +#define empty_width 16 +#define empty_height 16 +static unsigned char empty_bits[] = { + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; diff --git a/src/os-plugins/plugins/infoscreen/files/infoscreenClient.tgz b/src/os-plugins/plugins/infoscreen/files/infoscreenClient.tgz Binary files differnew file mode 100644 index 00000000..d1a932c0 --- /dev/null +++ b/src/os-plugins/plugins/infoscreen/files/infoscreenClient.tgz diff --git a/src/os-plugins/plugins/infoscreen/files/kiosk.dpms b/src/os-plugins/plugins/infoscreen/files/kiosk.dpms new file mode 100755 index 00000000..d8fd57c5 --- /dev/null +++ b/src/os-plugins/plugins/infoscreen/files/kiosk.dpms @@ -0,0 +1,27 @@ +#!/bin/bash + +case "$1" in + "sleep") + xset -display :0 dpms force off + xset -display :0 dpms 0 0 0 + exit 0 + ;; + "wakeup") + xset -display :0 dpms force on + xset -display :0 dpms 0 0 0 + xset -display :0 s reset + xset -display :0 s noblank + xset -display :0 s noexpose + xset -display :0 s 0 0 + xset -display :0 s off + xset -display :0 -dpms + exit 0 + ;; + *) + echo "Usage: kiosk.dpms <command>" + echo "Commands" + echo " sleep : shut monitor down" + echo " wakeup : wake monitor up" + exit 0 + ;; +esac |