Mapping Key for keyboard with no regular insert key?

Bob Goodwin bobgoodwin at wildblue.net
Sun Sep 26 13:30:37 UTC 2010


  On 26/09/10 08:14, Michael D. Setzer II wrote:
> Got some labs that have Logitec Internet keyboards that for some reason
> don't have an insert key above the regular arrow keys. For some reason it
> has a large delete key?
>
> With most programs one can turn off num lock and use that insert key, but
> had the windows tn5250 program that would not, so had to come up with a
> reg hack, and mapped the context menu button next to Ctrl on Rigth to
> Insert.
>
> Was looking to do something similar for something similar for linux, since
> machines also have Fedora 12.
>
> Thanks.

xev should give you keycodes and then in a script I do something like:

    /usr/bin/xmodmap -e 'keycode 134=degree'

    /usr/bin/xmodmap -e 'keycode 135=mu'

    /usr/bin/xmodmap -e 'keycode 66=NoSymbol'

    /usr/bin/xmodmap -e 'keycode 133=cent'



More information about the users mailing list