I'm using awesome window manager and trying to configure xlock so my
system gets locked after "x" seconds if I don't touch the keyboard or
mouse. But nothing seems to be happening after "x" seconds.

I tried to put the following in my .Xdefaults

XIdle.timeout: 5
XLock.mode: random
XLock.mousemotion: on
XLock.nice: 19
XLock.program: /usr/games/fortune -a
XLock.random.modelist: maze bat biof pyro drift eyes lisa marquee
matrix molecule nose pacman petri space swarm tetris worm

I then commented the above from .Xdefaults and added the following
line at the end of .xinitrc file

xidle -delay 3 -sw -program "/usr/X11R6/bin/xlock -mode bat" -timeout 5

Could anyone please tell me what I'm doing wrong?

Reply via email to