LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Locking screen in Fluxbox (https://www.linuxquestions.org/questions/linux-software-2/locking-screen-in-fluxbox-94469/)

UltimaGuy 09-19-2003 07:38 AM

Locking screen in Fluxbox
 
I downloaded and installed fluxbox, and was very much impressed by it. I also installed xbindkeys, and found that the combination was excellent.

Now, my problem is that I wan't to lock the screen, but there is no option for it in fluxbox menu. How do I lock the screen in fluxbox.:confused:

As an aside, is it possible to include icons in the taskbar of fluxbox?

Thanx for any help or pointers.

darthtux 09-26-2003 01:05 AM

Add the following to your ~/.fluxbox/menu file

[submenu] (Screen Savers)
[exec] (Flame) {xlock -mode flame}
[exec] (Pyro) {xlock -mode pyro}
[exec] (Swarm) {xlock -mode swarm}
[exec] (Qix) {xlock -mode qix}
[exec] (Rotor) {xlock -mode rotor}
[exec] (Worms) {xlock -mode worm}
[exec] (Blank) {xlock -mode blank}
[exec] ( ) { }
[exec] (Bubble) {xlock -mode bubble}
[exec] (Clock) {xlock -mode clock}
[exec] (Crystal) {xlock -mode crystal}
[exec] (Dclock) {xlock -mode dclock}
[exec] (Drift) {xlock -mode drift}
[exec] (Helix) {xlock -mode helix}
[exec] (Marquee) {xlock -mode marquee}
[exec] (Solitare) {xlock -mode solitare}
[exec] (Sphere) {xlock -mode sphere}
[exec] (Star) {xlock -mode star}
[exec] (Tube) {xlock -mode tube}
[exec] (Wator) {xlock -mode wator}
[exec] (Wire) {xlock -mode wire}
[end]

UltimaGuy 09-26-2003 05:19 AM

Thanks, that worked wonderfully.

flosch 03-11-2004 12:55 AM

fluxbox xlock
 
Hi UltimaGuy!

I read your thread about locking screen in fluxbox aud the helpful answer.
By the way, I have xscreensaver installed on RH9 (2.4.20-8) which worked under kde and gnome but not with fluxbox which I prefere.
Question: where do you get xlock from? Has xlock anything to do with xbindkeys (I belive not!).

thanks for your answer!

slakmagik 03-11-2004 02:00 AM

I'm not UltimaGuy, but I play one on LQ. Here's the one I downloaded, though there's different versions.
http://www.tux.org/~bagleyd/xlockmore.html

flosch 03-11-2004 03:52 AM

start xbindkeys at x-startup
 
thanks for your comment!

I sucessfully installed xlockmore-5.02 and xbindkeys-1.7.1. Now I can easily lock my screen and open various allps through a keyboard shortcut, very helpful!!

Did anyone know how to start xbindkeys durind X-startup?
the entry 'xbindkeys' within the file ~/.xsession doesn't work! (belive I start my fluxbox with startx at text login - mean at runlevel 3 on RH9 box)
...and how can I direct verbose output to a log file??

sample of my ~/.xbindkeysrc
Code:

# start konqueror
"konqueror"
 control + alt + k
# specify a mouse button
"xterm"
  control + b:2
# lock the screen with xlock
"xlock -mode random"
 control + p
# start mozilla webbrowser
"/usr/bin/mozilla"
 control + m

thanks for your interest!

Documentation is like sex: when it is good, it is very, very good; and
when it is bad, it is better than nothing.
-- Dick Brandon

slakmagik 03-11-2004 05:23 AM

No problem. Not familiar with xbindkeys or RH but if you use startx the ~/.xinitrc file is generally what you want. As far as redirecting to a file, check out 'man bash', '/redirection'.


All times are GMT -5. The time now is 05:45 PM.