On 2017-11-16 14:40:50, Rich Shepard <rshep...@appl-ecosys.com> wrote:
> 
>   Since the existing .Xmodmap has the remove commands (which I see in the
> man page) I assume that they're needed for all keys being modified.
> 

I don't think the remove commands are needed for anything except
changing "special" keys, like Caps_Lock, Control, Shift, etc.

The manpage only uses the "add" and "remove" keywords for changing
Caps_Lock and Control, and even then only to add and remove the
"lock" in Caps_Lock and the "control" in control.  The actual
keymappings themselves are changed with the keysym command.

        ! Swap Caps_Lock and Control_L
        !
        remove Lock = Caps_Lock
        remove Control = Control_L
        keysym Control_L = Caps_Lock
        keysym Caps_Lock = Control_L
        add Lock = Caps_Lock
        add Control = Control_L

The other examples given in the manpage don't use "add" or
"remove" and simply remap the keys as-is.

        %  xmodmap -e "keysym Multi_key = Multi_key Meta_L"

        %  xmodmap -e "keysym Alt_L = Meta_L Alt_L"

        %  xmodmap -e "keysym BackSpace = Delete"

        ! make shift-, be < and shift-. be >
        !
        keysym comma = comma less
        keysym period = period greater

The .xmodmap file I posted previously maps the additional keys on
my keyboard to generate a space when pressed.  I would be surprised
if it didn't work for your keyboard as well, provided the proper
keycodes were exchanged so that they map to the wanted keys on
your own keyboard.

If not, does running "xmodmap -verbose .xmodmap" provide any
additional details?

-- 
Bryan

_______________________________________________
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to