diff options
Diffstat (limited to 'abs/core-testing')
-rw-r--r-- | abs/core-testing/LinHES-config/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/core-testing/LinHES-config/systemconfig.sh | 34 | ||||
-rw-r--r-- | abs/core-testing/LinHES-system/LinHES-run | 11 | ||||
-rw-r--r-- | abs/core-testing/LinHES-system/PKGBUILD | 4 | ||||
-rwxr-xr-x | abs/core-testing/system-templates/PKGBUILD | 2 | ||||
-rw-r--r-- | abs/core-testing/system-templates/templates/xscreensaver.template | 255 | ||||
-rw-r--r-- | abs/core-testing/xdotool/PKGBUILD | 23 |
7 files changed, 326 insertions, 5 deletions
diff --git a/abs/core-testing/LinHES-config/PKGBUILD b/abs/core-testing/LinHES-config/PKGBUILD index a957c59..91fc92c 100644 --- a/abs/core-testing/LinHES-config/PKGBUILD +++ b/abs/core-testing/LinHES-config/PKGBUILD @@ -1,6 +1,6 @@ pkgname=LinHES-config pkgver=1.0 -pkgrel=299 +pkgrel=306 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev ) pkgdesc="Install and configure your system" depends=(bc libstatgrab mysql-python expect curl dnsutils parted sg3_utils nmbscan system-templates ) diff --git a/abs/core-testing/LinHES-config/systemconfig.sh b/abs/core-testing/LinHES-config/systemconfig.sh index 19cdbf9..07ca7c6 100755 --- a/abs/core-testing/LinHES-config/systemconfig.sh +++ b/abs/core-testing/LinHES-config/systemconfig.sh @@ -736,6 +736,13 @@ else ser_remove="inadyn $ser_remove" fi +if [ x$XScreensaver = x1 ] +then + ser_install="xscreensaver $ser_install" +else + ser_remove="xscreensaver $ser_remove" +fi + #Setting the default, just to avoid the or statement.. @@ -1076,7 +1083,33 @@ function setup_web_auth { } +function setupXscreensaver { +#copy in template + if [ -f /home/mythtv/.xscreensaver ] + then + echo "Xscreensaver already configured" + else + #copy in template + cp $TEMPLATES/xscreensaver.template /home/mythtv/.xscreensaver + chown mythtv:users /home/mythtv/.xscreensaver + fi +#start it if not already running. + if [ x$XScreensaver = x1 ] + then + #check if it's running, it not start it. + if [ ! x$MV_NEW_INSTALL = "xtrue" ] + then + su - mythtv -c "/usr/bin/xscreensaver -nosplash &" + fi + else + #kill it + xscreensaver-command -exit & + killall xscreensaver & + fi + + +} #----------------------------------------------------MAIN PROGRAM------------------------------------------- #misc,sleep,hostype,advanced,audio eval LAST=\$$# @@ -1333,6 +1366,7 @@ then setupblaster setupLCD setupDNSMASQ + setupXscreensaver fi diff --git a/abs/core-testing/LinHES-system/LinHES-run b/abs/core-testing/LinHES-system/LinHES-run index 8b4a9f5..8de7a4b 100644 --- a/abs/core-testing/LinHES-system/LinHES-run +++ b/abs/core-testing/LinHES-system/LinHES-run @@ -5,7 +5,16 @@ #keylaunch & #/usr/bin/tilda & -/usr/X11R6/bin/unclutter -root -idle 0 -jitter 400 -noevents & +#move mouse to corner +xdotool mousemove -10 -10 +/usr/X11R6/bin/unclutter -root -idle 1 -jitter 200 -noevents & +if [ x"$XScreensaver" = "x1" ] +then + #start xscreensaver + xscreensaver-command -exit + xscreensaver -nosplash & +fi + /usr/bin/xvattr -a XV_COLORKEY -v 0 mtd & #/usr/bin/nvidia-settings -l diff --git a/abs/core-testing/LinHES-system/PKGBUILD b/abs/core-testing/LinHES-system/PKGBUILD index 15ee559..348ee10 100644 --- a/abs/core-testing/LinHES-system/PKGBUILD +++ b/abs/core-testing/LinHES-system/PKGBUILD @@ -1,12 +1,12 @@ pkgname=LinHES-system pkgver=1.0 -pkgrel=35 +pkgrel=39 arch=('i686') MVDIR=$startdir/pkg/usr/LH BINDIR=$startdir/pkg/usr/bin install=LinHES.install pkgdesc="scripts and things related to having a automated system" -depends=(linhes-sounds) +depends=(linhes-sounds xdotool) binfiles="LinHES-start optimize_mythdb.py myth_mtc.py myth_mtc.sh LinHES-run firstboot.sh load-modules-mythvantage.sh" diff --git a/abs/core-testing/system-templates/PKGBUILD b/abs/core-testing/system-templates/PKGBUILD index e956755..f151017 100755 --- a/abs/core-testing/system-templates/PKGBUILD +++ b/abs/core-testing/system-templates/PKGBUILD @@ -1,6 +1,6 @@ pkgname=system-templates pkgver=1.0 -pkgrel=3 +pkgrel=5 conflicts=( ) pkgdesc="Templates used for system configuration" depends=() diff --git a/abs/core-testing/system-templates/templates/xscreensaver.template b/abs/core-testing/system-templates/templates/xscreensaver.template new file mode 100644 index 0000000..dcddefa --- /dev/null +++ b/abs/core-testing/system-templates/templates/xscreensaver.template @@ -0,0 +1,255 @@ +# XScreenSaver Preferences File +# Written by xscreensaver-demo 5.08 for mythtv on Mon Mar 9 14:30:41 2009. +# http://www.jwz.org/xscreensaver/ + +timeout: 0:10:00 +cycle: 0:10:00 +lock: False +lockTimeout: 0:00:00 +passwdTimeout: 0:00:30 +visualID: default +installColormap: True +verbose: False +timestamp: True +splash: True +splashDuration: 0:00:05 +demoCommand: xscreensaver-demo +prefsCommand: xscreensaver-demo -prefs +nice: 10 +memoryLimit: 0 +fade: True +unfade: False +fadeSeconds: 0:00:03 +fadeTicks: 20 +captureStderr: True +ignoreUninstalledPrograms:False +font: *-medium-r-*-140-*-m-* +dpmsEnabled: False +dpmsStandby: 2:00:00 +dpmsSuspend: 2:00:00 +dpmsOff: 4:00:00 +grabDesktopImages: True +grabVideoFrames: False +chooseRandomImages: False +imageDirectory: + +mode: random +selected: -1 + +textMode: file +textLiteral: XScreenSaver +textFile: +textProgram: fortune +textURL: http://www.livejournal.com/stats/latest-rss.bml + +programs: \ + maze -root \n\ + GL: superquadrics -root \n\ + attraction -root \n\ + blitspin -root \n\ + greynetic -root \n\ + helix -root \n\ + hopalong -root \n\ +- hypercube -root \n\ + imsmap -root \n\ +- noseguy -root \n\ +- pyro -root \n\ + qix -root \n\ +- rocks -root \n\ + rorschach -root \n\ + decayscreen -root \n\ + flame -root \n\ + halo -root \n\ + slidescreen -root \n\ + pedal -root \n\ + bouboule -root \n\ +- braid -root \n\ + coral -root \n\ + deco -root \n\ + drift -root \n\ +- fadeplot -root \n\ + galaxy -root \n\ + goop -root \n\ + grav -root \n\ + ifs -root \n\ + GL: jigsaw -root \n\ + julia -root \n\ +- kaleidescope -root \n\ + GL: moebius -root \n\ + moire -root \n\ + GL: morph3d -root \n\ + mountain -root \n\ + munch -root \n\ + penrose -root \n\ + GL: pipes -root \n\ + rd-bomb -root \n\ + GL: rubik -root \n\ +- sierpinski -root \n\ + slip -root \n\ + GL: sproingies -root \n\ + starfish -root \n\ + strange -root \n\ + swirl -root \n\ + triangle -root \n\ + xjack -root \n\ + xlyap -root \n\ + GL: atlantis -root \n\ + bsod -root \n\ + GL: bubble3d -root \n\ + GL: cage -root \n\ +- crystal -root \n\ + cynosure -root \n\ + discrete -root \n\ + distort -root \n\ + epicycle -root \n\ + flow -root \n\ +- GL: glplanet -root \n\ + interference -root \n\ + kumppa -root \n\ + GL: lament -root \n\ + moire2 -root \n\ + GL: sonar -root \n\ + GL: stairs -root \n\ + truchet -root \n\ +- vidwhacker -root \n\ + blaster -root \n\ + bumps -root \n\ + ccurve -root \n\ + compass -root \n\ + deluxe -root \n\ +- demon -root \n\ +- GL: extrusion -root \n\ +- loop -root \n\ + penetrate -root \n\ + petri -root \n\ + phosphor -root \n\ + GL: pulsar -root \n\ + ripples -root \n\ + shadebobs -root \n\ + GL: sierpinski3d -root \n\ + spotlight -root \n\ + squiral -root \n\ + wander -root \n\ +- webcollage -root \n\ + xflame -root \n\ + xmatrix -root \n\ + GL: gflux -root \n\ +- hyperball -root \n\ +- nerverot -root \n\ + xrayswarm -root \n\ + xspirograph -root \n\ + GL: circuit -root \n\ + GL: dangerball -root \n\ +- GL: dnalogo -root \n\ + GL: engine -root \n\ + GL: flipscreen3d -root \n\ + GL: gltext -root \n\ + GL: menger -root \n\ + GL: molecule -root \n\ + rotzoomer -root \n\ + speedmine -root \n\ + GL: starwars -root \n\ + GL: stonerview -root \n\ + vermiculate -root \n\ + whirlwindwarp -root \n\ + zoom -root \n\ + anemone -root \n\ + apollonian -root \n\ + GL: boxed -root \n\ + GL: cubenetic -root \n\ + GL: endgame -root \n\ + euler2d -root \n\ + fluidballs -root \n\ + GL: flurry -root \n\ +- GL: glblur -root \n\ + GL: glsnake -root \n\ + halftone -root \n\ +- juggle -root \n\ + GL: lavalite -root \n\ +- polyominoes -root \n\ + GL: queens -root \n\ +- GL: sballs -root \n\ + GL: spheremonics -root \n\ +- thornbird -root \n\ + twang -root \n\ +- GL: antspotlight -root \n\ + apple2 -root \n\ + GL: atunnel -root \n\ + barcode -root \n\ + GL: blinkbox -root \n\ + GL: blocktube -root \n\ + GL: bouncingcow -root \n\ + cloudlife -root \n\ + GL: cubestorm -root \n\ + eruption -root \n\ + GL: flipflop -root \n\ + GL: flyingtoasters -root \n\ + fontglide -root \n\ + GL: gleidescope -root \n\ + GL: glknots -root \n\ + GL: glmatrix -root \n\ +- GL: glslideshow -root \n\ + GL: hypertorus -root \n\ +- GL: jigglypuff -root \n\ + GL: klein -root \n\ + metaballs -root \n\ + GL: mirrorblob -root \n\ + piecewise -root \n\ + GL: polytopes -root \n\ + pong -root \n\ + popsquares -root \n\ + xanalogtv -root \n\ +- abstractile -root \n\ + anemotaxis -root \n\ +- GL: antinspect -root \n\ + fireworkx -root \n\ + fuzzyflakes -root \n\ + interaggregate -root \n\ + intermomentary -root \n\ + memscroller -root \n\ + GL: noof -root \n\ + pacman -root \n\ + GL: pinion -root \n\ + GL: polyhedra -root \n\ +- GL: providence -root \n\ + substrate -root \n\ + wormhole -root \n\ +- GL: antmaze -root \n\ + GL: boing -root \n\ + boxfit -root \n\ + GL: carousel -root \n\ + celtic -root \n\ + GL: crackberg -root \n\ + GL: cube21 -root \n\ + fiberlamp -root \n\ + GL: fliptext -root \n\ + GL: glhanoi -root \n\ + GL: juggler3d -root \n\ + GL: tangram -root \n\ + GL: timetunnel -root \n\ + GL: glschool -root \n\ + GL: topblock -root \n\ + GL: cubicgrid -root \n\ + cwaves -root \n\ + GL: gears -root \n\ + GL: glcells -root \n\ + GL: lockward -root \n\ + m6502 -root \n\ + GL: moebiusgears -root \n\ + GL: voronoi -root \n\ + GL: hypnowheel -root \n\ +- lcdscrub -root \n\ + GL: photopile -root \n\ + GL: skytentacles -root \n\ + + +pointerPollTime: 0:00:05 +pointerHysteresis: 10 +windowCreationTimeout:0:00:30 +initialDelay: 0:00:00 +sgiSaverExtension: True +xidleExtension: True +GetViewPortIsFullOfLies:False +procInterrupts: True +overlayStderr: True + diff --git a/abs/core-testing/xdotool/PKGBUILD b/abs/core-testing/xdotool/PKGBUILD new file mode 100644 index 0000000..0fd5db1 --- /dev/null +++ b/abs/core-testing/xdotool/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=xdotool +pkgver=20090126 +pkgrel=1 +pkgdesc="Command-line X11 automation tool" +arch=('i686' 'x86_64') +url="http://www.semicomplete.com/projects/xdotool/" +license=('BSD') +depends=('libxtst') +source=(http://semicomplete.googlecode.com/files/$pkgname-$pkgver.tar.gz) +md5sums=('a520d6a3175c3b55582998cbeef81688') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + make || return 1 + install -dm755 "$pkgdir"/usr/{bin,share/man} + make PREFIX="$pkgdir/usr" INSTALLMAN="$pkgdir/usr/share/man" install + + # License + install -D -m644 COPYRIGHT "$pkgdir/usr/share/licenses/xdotool/COPYRIGHT" +} + +# vim:set ts=2 sw=2 et: |