Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have the Menu key that I don't use. It's right under my thumb when I use the arrows... So I wanted to map it to the Insert key. (mostly because of its important use in vim)

I've been looking into the fluxbox wiki for key bindings, but I have not found what I'm searching.

I have tried to add in my .fluxbox/keys

135 :118

or

135 :Insert

But both doesn't seem to work. Is it possible with fluxbox ?

I am also wondering if the BindKey <key><value>: <action> #creates an "on the fly" keycommand can do the job... but I don't really understand what it does...

The answer to How to remap the Context Menu key to the Super key indicates to modify .xmodmaprc

Maybe that's what should I do, but I don't know how to convert keycode 135 = Super_R so at it works like Insert instead of Super_R

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

the keys-file of fluxbox does not map keys to other keys; it maps keys to fluxbox-actions. So, you need something that maps keys to keys: man xmodmap.

 xmodmap - utility for modifying keymaps and pointer button mappings in X

examples:

 $> xmodmap -e "keysym Menu = Insert"
 $> xmodmap -e "keycode 135 = Insert"
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.