Gentoo Forums
Gentoo Forums
Quick Search: in
Screen Locking application xtrlock/vlock/xautolock [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
HeXiLeD
l33t
l33t


Joined: 20 Aug 2005
Posts: 858
Location: online

PostPosted: Tue Apr 28, 2009 12:21 pm    Post subject: Screen Locking application xtrlock/vlock/xautolock [SOLVED] Reply with quote

I am looking for a timed screen locking application.
I aware that there are many out there but i would like to have your input about it.
Since i dont use KDE, Gnome, Xfce4 i have a strong prefece in something gkt or independent from the refered WM's.
(fluxbox user)

(You can still mention KDE, Gnome, Xfce4 related appz which might be usefull for other users)

I am currently using:

Code:
x11-misc/xtrlock
      Latest version available: 2.0-r2
      Size of files: 7 kB
      Homepage:      http://ftp.debian.org/debian/pool/main/x/xtrlock/
      Description:   A simplistic screen locking program for X
      License:       GPL-2


and i love it but it lacks something that i need. A Timer!

does anyone have any option on how to make xtrlock to lock after "x" amount of minutes idle time or knows of an equivalent application ?
_________________
Smart way of asking questions
My UNSOLVED TOPICS
ALL Configs & Hardware SPECIFICATIONS


Last edited by HeXiLeD on Sun Nov 08, 2009 4:41 pm; edited 2 times in total
Back to top
View user's profile Send private message
tgR10
Apprentice
Apprentice


Joined: 23 Oct 2007
Posts: 262
Location: caly ten ambaras

PostPosted: Tue Apr 28, 2009 2:00 pm    Post subject: Reply with quote

what about x11-misc/xscreensaver ?
_________________
"bo kto ma racje ? ten kto z bliska zobaczy"
"moge nie wiedziec,wchlaniam niewiedze z malych torebek"
http://i12.tinypic.com/4pow0mu.png
http://userbar.tgr.debil.eu/userbar.jpg
Back to top
View user's profile Send private message
timeBandit
Administrator
Administrator


Joined: 31 Dec 2004
Posts: 2667
Location: here, there or in transit

PostPosted: Tue Apr 28, 2009 2:08 pm    Post subject: Reply with quote

tgR10 wrote:
what about x11-misc/xscreensaver ?
++
XScreensaver is not tied to any DE/WM.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
HeXiLeD
l33t
l33t


Joined: 20 Aug 2005
Posts: 858
Location: online

PostPosted: Tue Apr 28, 2009 2:42 pm    Post subject: Reply with quote

xscreensaver is an option but too big of a packages and with 2 extra deps.

i think i found the solution with xautolock.

Code:
xautolock will watch for inactivity and launch some predefined program. It doesn't have to be something that locks the screen, but that's its usual use. It can also trigger this when the mouse is
left in a corner for some number of seconds. It can be disabled, enabled or told to exit from the command line. If xautolock is used as the one program left in the foreground of an xsession (holding
the session open, see below), it ensures that your session always has a lock on it (or else it ends).


Code:
*  x11-misc/xautolock
      Latest version available: 2.1-r1
      Size of files: 32 kB
      Homepage:      http://www.ibiblio.org/pub/Linux/X11/screensavers/
      Description:   An automatic X screen-locker/screen-saver.
      License:       GPL-2



as for console locking there is also this one:

Code:
*  app-misc/vlock
      Latest version available: 2.2.2-r2
      Size of files: 53 kB
      Homepage:      http://cthulhu.c3d2.de/~toidinamai/vlock/vlock.html
      Description:   A console screen locker
      License:       GPL-2



$ xautolock -help

Code:
Usage : xautolock [-help][-version][-time mins][-locker locker]
                  [-killtime mins][-killer killer]
                  [-notify margin][-notifier notifier][-bell percent]
                  [-corners xxxx][-cornerdelay secs]
                  [-cornerredelay secs][-cornersize pixels]
                  [-nocloseout][-nocloseerr][-noclose]
                  [-enable][-disable][-toggle][-exit][-secure]
                  [-locknow][-unlocknow][-nowlocker locker]
                  [-restart][-resetsaver]

 -help               : print this message and exit.
 -version            : print version number and exit.
 -time mins          : time before locking the screen [1 <= mins <= 60].
 -locker locker      : program used to lock.
 -nowlocker locker   : program used to lock immediately.
 -killtime killmins  : time after locking at which to run
                       the killer [10 <= killmins <= 120].
 -killer killer      : program used to kill.
 -notify margin      : notify this many seconds before locking.
 -notifier notifier  : program used to notify.
 -bell percent       : loudness of notification beeps.
 -corners xxxx       : corner actions (0, +, -) in this order:
                       topleft topright bottomleft bottomright
 -cornerdelay secs   : time to lock screen in a `+' corner.
 -cornerredelay secs : time to relock screen in a `+' corner.
 -cornersize pixels  : size of corner areas.
 -nocloseout         : do not close stdout.
 -nocloseerr         : do not close stderr.
 -noclose            : close neither stdout nor stderr.
 -enable             : enable a running xautolock.
 -disable            : disable a running xautolock.
 -toggle             : toggle a running xautolock.
 -locknow            : tell a running xautolock to lock.
 -unlocknow          : tell a running xautolock to unlock.
 -restart            : tell a running xautolock to restart.
 -exit               : kill a running xautolock.
 -secure             : ignore enable, disable, toggle, locknow
                       unlocknow, and restart messages.
 -resetsaver         : reset the screensaver when starting the locker.

Defaults :

 time          : 10 minutes
  locker        : xlock
  nowlocker     : xlock
  killtime      : 20 minutes
  killer        : none
  notify        : don't notify
  notifier      : none
  bell          : 40%
  corners       : 0000
  cornerdelay   : 5 seconds
  cornerredelay : 5 seconds
  cornersize    : 10 pixels

Version : 2.1


This topic is SOLVED
_________________
Smart way of asking questions
My UNSOLVED TOPICS
ALL Configs & Hardware SPECIFICATIONS
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum