Re: Concerning fluxbox keybindings

Todd Harbour <[email protected]>
Newsgroups gmane.comp.window-managers.fluxbox.user
Organization Quadronyx
Message-ID <[email protected]>
On Fri, 26 Mar 2010 09:55:40 +1300
Andrej <[email protected]> wrote:

> On 26 March 2010 09:39, lego space <[email protected]> wrote:
> > I have a question:
> > If I put the following line to the ~/.fluxbox/keys file,
> > Mod4 f :Exec firefox
> > when I press "Mod4"+"f", firefox is executed. But I have to press
> > the two keys ("Mod4" and "f") at the same time.
> > Is there any way to execute firefox by pressing "Mod4", and then "f"
> > (without pressing them at the sam time)?
> What you are trying to achieve sounds a bit like "chaining" in
> man fluxbox-keys
> 
> But I'm afraid that only works with sequences of modifier-key pairs,
> not with press modifier, then key

I just tested a few different things and it does work using the "None"
modifier:
  None F1 None F2 :ExecCommand xcalc

Additionally, using the key, not the modifier seems to work too
although it appears to loose it's mod powers when you do:
  None Super_L None F1 :ExecCommand xcalc

Though that might have just been with my config, YMMV.

Regards,

-- 
Todd Harbour

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.