Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

If I want to use OpenBox then how can I lock my "monitor" when I leave the PC for a few minutes? Like the gnome-screensaver under GNOME.

share|improve this question
    
possible duplicate of Lock screen w/ slock after a certain time? –  Caleb Jun 8 '11 at 20:20
1  
@Caleb For once I don't think that's a duplicate. There could be other programs than slock. –  Gilles Jun 8 '11 at 22:18
add comment

2 Answers

up vote 5 down vote accepted

The simplest is slock, the suckless screen locker.

You could combine this with xautolock if you wanted to automate it after a period of inactivity.

If you want something more "featurefull" you could install xscreensaver. Of course, gnome-screensaver is an option as well...

share|improve this answer
add comment

I use xlockmore

Install (in fedora):

sudo yum -y install xlockmore xlockmore-gtk

and I have a keybinding (Ctrl+Alt+l) in my rc.xml file that goes like this:

    <keybind key="C-A-l">
      <action name="Execute">
        <execute>xlock -mousemotion +description -mode blank -bg black -fg grey30</execute>
      </action>
    </keybind>
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.