LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2003, 08:38 AM   #1
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 31
Question 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.

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

Thanx for any help or pointers.
 
Old 09-26-2003, 02:05 AM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 46
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]
 
Old 09-26-2003, 06:19 AM   #3
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Original Poster
Rep: Reputation: 31
Thanks, that worked wonderfully.
 
Old 03-11-2004, 01:55 AM   #4
flosch
LQ Newbie
 
Registered: Jul 2003
Location: Austria
Distribution: RH9 mdk10 Gentoo!
Posts: 10

Rep: Reputation: 0
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!
 
Old 03-11-2004, 03:00 AM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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
 
Old 03-11-2004, 04:52 AM   #6
flosch
LQ Newbie
 
Registered: Jul 2003
Location: Austria
Distribution: RH9 mdk10 Gentoo!
Posts: 10

Rep: Reputation: 0
Smile 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
 
Old 03-11-2004, 06:23 AM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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'.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Locking Screen namish Linux - Security 8 09-14-2005 11:57 AM
Screen Locking and TV-Out liquidwonders Linux - Laptop and Netbook 0 07-29-2005 01:26 PM
Screen automatically locking gurfrip Linux - Newbie 1 05-31-2005 04:46 AM
Locking the Screen?? lemay_jeff Linux - Security 2 09-08-2004 10:21 PM
Locking the screen? fackamato Linux - Software 1 03-08-2004 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration