diff options
author | James Meyer <james.meyer@operamail.com> | 2010-03-21 22:25:20 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-03-21 22:25:20 (GMT) |
commit | 8cf4c240d609d3fe1ac5332c25217f636351e31a (patch) | |
tree | a592da62012e7469867dea21ee70698df4fec543 /abs | |
parent | d35e3624bb54c02a7488fd2e1501a2af3c5aaff6 (diff) | |
download | linhes_pkgbuild-8cf4c240d609d3fe1ac5332c25217f636351e31a.zip linhes_pkgbuild-8cf4c240d609d3fe1ac5332c25217f636351e31a.tar.gz linhes_pkgbuild-8cf4c240d609d3fe1ac5332c25217f636351e31a.tar.bz2 |
linhes-system: set defaults for unclutter back to sane values for an appliance, for when the cfg file can not be found.
modify system to make use of /etc/unclutter.cfg
If the enduser doesn't like the default values they can safely make changes to /etc/unclutter.cfg
closes 660
ref 628
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core-testing/LinHES-system/LinHES-run | 6 | ||||
-rw-r--r-- | abs/core-testing/LinHES-system/PKGBUILD | 15 | ||||
-rw-r--r-- | abs/core-testing/LinHES-system/unclutter-toggle.sh | 5 |
3 files changed, 22 insertions, 4 deletions
diff --git a/abs/core-testing/LinHES-system/LinHES-run b/abs/core-testing/LinHES-system/LinHES-run index 2322b3b..8f235e8 100644 --- a/abs/core-testing/LinHES-system/LinHES-run +++ b/abs/core-testing/LinHES-system/LinHES-run @@ -1,13 +1,15 @@ #!/bin/sh . /etc/profile . /etc/systemconfig - +idle=1 +jitter=200 +. /etc/unclutter.cfg #keylaunch & #/usr/bin/tilda & #move mouse to corner xdotool mousemove -10 -10 -/usr/X11R6/bin/unclutter -root -idle 5 -jitter 5 -noevents & +/usr/X11R6/bin/unclutter -root -idle $idle -jitter $jitter -noevents & if [ x"$Screensavertype" = "xgscreensaver" ] then gnome-screensaver & diff --git a/abs/core-testing/LinHES-system/PKGBUILD b/abs/core-testing/LinHES-system/PKGBUILD index 5616746..f775314 100644 --- a/abs/core-testing/LinHES-system/PKGBUILD +++ b/abs/core-testing/LinHES-system/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-system pkgver=1.1 -pkgrel=9 +pkgrel=11 arch=('i686') MVDIR=$startdir/pkg/usr/LH BINDIR=$startdir/pkg/usr/bin @@ -81,3 +81,16 @@ md5sums=('19934a456d0e112298b8aac3279f9a16' 'f1870a9522c79e6b248fcbf81dec3280' 'abe887472a170bd1a8e6da6a7b7e93e4' 'eb879fee9603a05d5420d4ce8ed9e450') +md5sums=('19934a456d0e112298b8aac3279f9a16' + '5881bdb43d578ec3a79d1f77ea58a3db' + 'a875ee97f86e46f34a741c2bc455f894' + 'cdcbc530224215f8fcf7ebcd93d7eb0b' + 'c60b6c66f498809a6e5ca18a8c97d336' + 'ccae1296ef248fa52ec3a7cb820a476e' + '6022095f05d0428de926bb81b1693d56' + '18a884a73344ff6eb74f63b49745e0f5' + 'dc3eef2a624754e16805d72bbe488b67' + 'dc0be354ce77ba2b89868fc29b942c43' + 'f1870a9522c79e6b248fcbf81dec3280' + 'abe887472a170bd1a8e6da6a7b7e93e4' + 'eb879fee9603a05d5420d4ce8ed9e450') diff --git a/abs/core-testing/LinHES-system/unclutter-toggle.sh b/abs/core-testing/LinHES-system/unclutter-toggle.sh index 0ead751..aadce50 100644 --- a/abs/core-testing/LinHES-system/unclutter-toggle.sh +++ b/abs/core-testing/LinHES-system/unclutter-toggle.sh @@ -1,8 +1,11 @@ #!/bin/bash PIDUNC=`pidof unclutter` +jitter=200 +idle=1 +. /etc/unclutter.cfg if [ -n "${PIDUNC}" ]; then killall -9 unclutter else - /usr/X11R6/bin/unclutter -root -idle 1 -jitter 200 -noevents & + /usr/X11R6/bin/unclutter -root -idle $idle -jitter $jitter -noevents & fi |