Is there a package or applet I can install to lock the desktop once I am already logged on? I havent found anything yet.

Lock the desktop
(20 posts) (8 voices)-
Posted 13 years ago #
-
Technically you can use xlockmore to do this, but you'll have to manually enter the command everytime you want to lock it. I'm looking into xautolock combined with xlockmore to help make a smaller screensaver/desktop locker package (compared to xscreensaver).
Posted 13 years ago # -
without a screensaver desktop
u can testxtrlock
A very minimal X display lock program
Description: It uses nothing except the Xlib library. Note that xtrlock currently does not work with shadow passwords. There is also no support for X resources or command-line arguments, and the timeouts and cursor bitmaps and colours cannot be modified.screenshot here:
http://screenshots.debian.net/thumbnail-with-version//xtrlock/2.0-14Posted 13 years ago # -
Here's a solution that might work.
First, download http://www.trixarian.net/downloads/xautolock-2.1.tazpkg and install it using tazpkg install. It should grab xlockmore as it goes.
Now got to "Red Spider Menu"---> Preference---> Auto started applications and click on the Configuration button. Add the following line to the bottom:
xautolock -time 10 -locker "xlock -mousemotion -background black -foreground red" &
You can change the background and foreground to whatever colours that you want. And you can test it out by running the
xlock -mousemotion -background black -foreground red
manually from the terminal. It will use your default login password while locking. You can also pick the screensaver you want with -mode "screensaver name", for example -mode matrix gives you a nice matrix looking screensaver. Adding all that in, the line you add to auto started applications will look like this:
xautolock -time 10 -locker "xlock -mousemotion -background black -foreground red -mode matrix" &
and the one you use to test will look like this:xlock -mousemotion -background black -foreground red -mode matrix
You will need to restart for it to take full effect and it will lock the screen after 10 minutes of inactivity. You can force it to go into lock by typing
xautolock -locknow
from a terminal.Hope that helps ;)
Posted 13 years ago # -
Thanks Trixar_za, That works great! Now I can walk away from the pc at work and not worry about it.
Posted 13 years ago # -
Trixar, It works great but not all the screensavers work on my HP NC8230, it has a decent enough video card, what isnt loaded to display these screensaverS?
Posted 13 years ago # -
Probably because they need the mesa packages (OpenGL driver) installed and configured into the xorg.conf file. I also noticed that the screen blanking still comes on after a while even with the screensaver running :P
Posted 13 years ago # -
Well two things than, Can you tell me what packages I need for Open GL and how to configure them in xorg.conf? And as far as screen blanking, thats not completely a bad thing.. What is the setting to configure the screen blanking time out, or is there one?
Im not opposed to having it go dark after 20 to 30 minutes.
Posted 13 years ago # -
I didnt have time to try it yet so apologies if this supports that:
I would love to be able to relog to another user from the lock screen without unlogging the prior user (ie, be able to switch between users).
what would be the best way to do that ?thanks
Posted 13 years ago # -
Trixar_za,
can you provide info on integrating the mesa packages into xorg.conf?
thanks
-Verault
Posted 13 years ago # -
This should tell you what to add to xorg.conf : http://vanilla.slitaz.org/index.php?p=/discussion/comment/11431#Comment_11431
As for the screen blanking, there is -enablesaver and -resetsaver fyou can use with the xlock, so it will probably look like this in Auto Started Applications:
xautolock -time 10 -locker "xlock -mousemotion -background black -foreground red -enablesaver -resetsaver" &
Haven't tried it myself yet, but it should work :P
Posted 13 years ago # -
@Trixar: Why not push your receipt into the wok ?
Posted 13 years ago # -
@erjo It's a debian convert, so not sure if it would work in wok or not.
Posted 13 years ago # -
I am getting glxinfo: not found
my card is a ATI Technologies inc M24 1P [Radeon Mobility X600]
What modules am I missing?
Posted 13 years ago # -
http://mirror.slitaz.org/pkgs/search.sh?file=glxinfo says :
# tazpkg get-install mesa-infosPosted 13 years ago #
Reply »
You must log in to post.