LinuxQuestions.org
Visit Jeremy's Blog.
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-17-2008, 02:31 AM   #1
harry2006
Member
 
Registered: Aug 2006
Location: /hawaii/honolulu/downtown
Distribution: Fedora 10[Cambridge] and Ubuntu 9.04[Jaunty]
Posts: 201

Rep: Reputation: 30
Screen lock in Fluxbox?


can nyone point me to some good tutorial for screen lock in fluxbox,,,though i tried something caled xlock/xscreenlock and also went thru this thread http://www.linuxquestions.org/questi...d.php?t=529365
but no help yet...plz help me ,,,m kinda new to fluxbox...but i really like it...thanx for ur time...
 
Old 09-17-2008, 03:47 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Just run "xlock" (no quotes) in a terminal and it will lock your screen.
 
Old 09-17-2008, 04:50 AM   #3
harry2006
Member
 
Registered: Aug 2006
Location: /hawaii/honolulu/downtown
Distribution: Fedora 10[Cambridge] and Ubuntu 9.04[Jaunty]
Posts: 201

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by H_TeXMeX_H View Post
Just run "xlock" (no quotes) in a terminal and it will lock your screen.
thank you very much....i installed it neary a week ago ..but dint get ny information on how to use it....realy m such a morooooon....
thanx u very much....i think we can directly bind it to ny key we like using ./fluxbox/keys , right?
 
Old 09-17-2008, 05:06 AM   #4
harry2006
Member
 
Registered: Aug 2006
Location: /hawaii/honolulu/downtown
Distribution: Fedora 10[Cambridge] and Ubuntu 9.04[Jaunty]
Posts: 201

Original Poster
Rep: Reputation: 30
i used the command from commad Line and it worked fine...but wehen i treid to tie it for a shortcut it didn't work...i have seen this probem with some other commanda alos...when i used the following command
Mod1 L:exec xlock
but something funny happened...i lost the 'l' key ....yeh lowercase l , thoough i was able to type L, i was no more able to write the lowercase l,,,then i removed that key binding and reloaded the fluxbox config file and now its working fine...

did i do something silly,,,???whatz the probleme and how to write the shortcut in ./fluxbox/keys file for screenlocking...thank u very much...
 
Old 09-17-2008, 06:03 AM   #5
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Try this:
Code:
Mod1 l :ExecCommand xlock
So if you press "Alt l" it will lock the screen. But, I usually put it in the fluxbox menu instead, whatever you want. See here for more on binding keys in fluxbox:
http://fluxbox.sourceforge.net/docs/...eybindings.php
 
Old 09-17-2008, 06:43 AM   #6
harry2006
Member
 
Registered: Aug 2006
Location: /hawaii/honolulu/downtown
Distribution: Fedora 10[Cambridge] and Ubuntu 9.04[Jaunty]
Posts: 201

Original Poster
Rep: Reputation: 30
thank you....it worked....one more silly question....i thougt of putting a keybinding so that i can fire my fav editor, vi to directly open the flux keybindings,so that i dotn have to open xterm then again fire a command to open that keys file...i did something like this
Mod1 C :ExecCommand vi ~/.fluxbox/keys
but it didnt work, and i think the reason is pretty much simple, it was not able to open an xterm, right? so i think i have to do some config settings where i have to specify that when i fire say vi foo.txt from RUN(say Alt + F2) it will open an xterm and then open that fiel in that xterm. does this sound logically OK???if yes then how to do it...
thank for ur valuable time...
 
Old 09-17-2008, 09:40 AM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Try:
Code:
Mod1 c: ExecCommand xterm -e "vi ~/.fluxbox/keys"
 
Old 09-18-2008, 02:33 AM   #8
harry2006
Member
 
Registered: Aug 2006
Location: /hawaii/honolulu/downtown
Distribution: Fedora 10[Cambridge] and Ubuntu 9.04[Jaunty]
Posts: 201

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by H_TeXMeX_H View Post
Try:
Code:
Mod1 c: ExecCommand xterm -e "vi ~/.fluxbox/keys"
Thank you, its working fine. May i know what is the basic difference between "exec" and "ExecCommand". which one to use where?
 
Old 09-18-2008, 04:09 AM   #9
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Well, I think in fluxbox, there is no 'exec' it's only 'ExecCommand'. 'exec' is only in a terminal or console.
 
Old 09-18-2008, 04:11 AM   #10
er.sanj
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
Unhappy can anybody tell me how to run date command continously?

can anybody tell me how to run date command continously?
i want to check the time in every sec gap?

Please reply me

Thanks
Sanj
 
  


Reply

Tags
fluxbox


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
GDM "Lock screen" item fails to lock down. Swan1 Suse/Novell 9 02-03-2009 12:00 AM
how to lock computer when using fluxbox jacksmash Linux - Software 3 02-15-2007 04:12 PM
How to disable Lock Screen when close laptop screen? amosbatto Linux - Laptop and Netbook 2 01-16-2006 11:12 PM
Screen Lock up when enabling full screen in VLC unux82 Linux - Software 0 07-20-2005 03:01 AM
How to automaticly turn on the num- and F Lock in Fluxbox VisitorQ Linux - Hardware 2 12-03-2004 07:53 AM


All times are GMT -5. The time now is 06:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration