[Tfug] Fluxbox key mapping (was: How I attacked my computer)
Jeremy D Rogers
jdrogers at optics.arizona.edu
Wed Oct 10 05:19:33 MST 2007
On 10/9/07, Claude Rubinson <rubinson at u.arizona.edu> wrote:
> On Tue, Oct 09, 2007 at 01:53:07PM -0700, Glen Pfeiffer wrote:
> > On 10/09/2007 01:10 PM, Glen Pfeiffer wrote:
> > > How do you map to the right control key?
> > >
> > > I know how to do mappings in Fluxbox, but not the right control key.
> > >
> >
> > Got it using xev. It is "Control_R"
> >
> > So I added this to my keys file:
> > Control_R :Lower
Ah, hang on.. is this fluxbox? First problem is that there are a few
layers, xorg is seeing control_r, but flux (and probably other window
managers) will not act on a keypress of any of the modifier keys like
shift, ctrl, alt, etc. This is a good thing. That is why when I used
fvwm2 I remapped control_r to a function key of my own naming like F13
so that I could have the window manager respond to a key press without
any other keys.
Now fluxbox adds an additional hiccup that in the keys file, the
naming convention is used such that the modifier keys are called mod1,
mod2, mod3, etc. In other words you can't directly use the key names
from xev in the keys file for fluxbox.
> >
> > It didn't do anything. Got any ideas?
>
> Ctrl-[ didn't work?
>
> I'm assuming that you figured it out from JD's other post. But the
> more fundamental issue that I was using to gently needle JD was that
> Fluxbox doesn't have RaiseLower. RaiseLower is an FVWM function that
> lowers a window if it's on top of another window and raises it when
> it's obscured. It's particularly useful when you need to, e.g.,
> transcribe information between overlapping windows.
>
> Can you script Fluxbox to mimic the RaiseLower behavior?
Not that I know of. It's on my list of things I should hack. Since
nobody else seems to care, I'm not sure that submitting a patch to
fluxbox to include raiselower would work, but you never know until you
try. Maybe someday I will find the time to try.
>
> C.
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>
More information about the tfug
mailing list