Permalink
Browse files

use xscreensaver to automatically lock the screen

  • Loading branch information...
1 parent cb9d749 commit 40bbd6df35337ced776d71c7c6b96bb2fb21c813 @sunaku committed Feb 14, 2012
Showing with 265 additions and 8 deletions.
  1. +0 −8 .Xdefaults
  2. +3 −0 .xinitrc
  3. +259 −0 .xscreensaver
  4. +1 −0 bin/gdmflexiserver
  5. +2 −0 bin/xlock
View
@@ -146,11 +146,3 @@ URxvt.cursorColor : #8faf9f
URxvt.colorBD : #ffcfaf
URxvt.colorUL : #ccdc90
URxvt.colorIT : #80d4aa
-
-!-----------------------------------------------------------------------------
-! screensaver
-!-----------------------------------------------------------------------------
-
-XLock.mode : space
-XLock.vtlock : restore
-XLock.erasedelay : 0
View
@@ -40,6 +40,9 @@ export GTK_IM_MODULE=scim
export QT_IM_MODULE=scim
scim -d &
+# automatic locking
+xscreensaver -no-splash &
+
# break reminder
xwrits typetime=25 breaktime=1 +mouse +top &
View
@@ -0,0 +1,259 @@
+# XScreenSaver Preferences File
+# Written by xscreensaver-demo 5.15 for sunny on Mon Feb 13 16:19:49 2012.
+# http://www.jwz.org/xscreensaver/
+
+timeout: 0:05:00
+cycle: 0:10:00
+lock: True
+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: -*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*
+dpmsEnabled: True
+dpmsQuickOff: False
+dpmsStandby: 0:10:00
+dpmsSuspend: 0:20:00
+dpmsOff: 0:30:00
+grabDesktopImages: False
+grabVideoFrames: False
+chooseRandomImages: False
+imageDirectory:
+
+mode: blank
+selected: 21
+
+textMode: file
+textLiteral: XScreenSaver
+textFile:
+textProgram: fortune
+textURL: http://twitter.com/statuses/public_timeline.atom
+
+programs: \
+ maze -root \n\
+ GL: superquadrics -root \n\
+ attraction -root \n\
+ blitspin -root \n\
+ greynetic -root \n\
+ helix -root \n\
+ hopalong -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 -delay 12 -golden-ratio \
+ -mondrian \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\
+- 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\
+ GL: juggler3d -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\
+ metaballs -root \n\
+ GL: mirrorblob -root \n\
+ piecewise -root \n\
+ GL: polytopes -root \n\
+ pong -root \n\
+ popsquares -root \n\
+ GL: surfaces -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: 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\
+ GL: klein -root \n\
+- lcdscrub -root \n\
+ GL: photopile -root \n\
+ GL: skytentacles -root \n\
+ GL: rubikblocks -root \n\
+ GL: companioncube -root \n\
+ GL: hilbert -root \n\
+ GL: tronbit -root \n\
+ electricsheep --root 1 \n\
+
+
+pointerPollTime: 0:00:05
+pointerHysteresis: 10
+windowCreationTimeout:0:00:30
+initialDelay: 0:00:00
+GetViewPortIsFullOfLies:False
+procInterrupts: True
+xinputExtensionDev: False
+overlayStderr: True
+
View
View
@@ -0,0 +1,2 @@
+#!/bin/sh
+xscreensaver-command -lock

0 comments on commit 40bbd6d

Please sign in to comment.