Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: strange behaviour in fluxbox< Next Oldest | Next Newest >
christosvas Offline





Group: Members
Posts: 15
Joined: April 2004
Posted: Oct. 01 2004,16:01 QUOTE

I was trying to make a new key shortcut using the file "keys" of fluxbox for running mc with a new line as:
Mod1 z :ExecCommand mc &
This means when in fluxbox press Alt-z and mc will show up.
I put the line in file "keys" in ".fluxbox" directory under /home/dsl.
But when i restarted fluxbox i show that my change takes no effect. After a little research i found out that the "keys" file to be modified is in /etc/X11/fluxbox.

Can anyone tell me why this is happening ?
Shouldn't it be that the file under /home/dsl/.fluxbox is to be used for user dsl ?
thankw in advance.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 02 2004,00:45 QUOTE

If you have a keys file in ~/.fluxbox it should be used instead of the system default.  Also, the "&" is unnecessary in the keys file.

Midnight Commander is a terminal application, which means you have to launch a term with mc as an argument.  So try this:
Mod1 Z :ExecCommand rxvt -e mc

Edit:  Keep in mind that Alt+z is a fairly common hotkey combination within applications.  If it's set as a hotkey in Fluxbox, it may not be passed to an application which uses it.  You may want to consider Alt+Shift+z or Alt+Ctrl+z...or even map the Windows keys instead (if you have it).  I've got most of my fluxbox actions mapped to windows keys just so I don't interfere with built-in hotkeys of various programs.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
1 replies since Oct. 01 2004,16:01 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: strange behaviour in fluxbox

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code