Re: keyboard customizations
On Wed, 3 Jul 2002 10:51:53 -0700
"G. L. `Griz' Inabnit" <griz@outcast-consultants.redmond.or.us> wrote:
> 1. switch to DV2
Not sure on this one, but I would think that it would be a matter of
assigning the correct keyboard layout in XF86Config(-4). There is a
"dvorak" listed under "/etc/X11/xkb/symbols" on my Woody system.
So, perhaps listing this as your XkbModel such as:
Option "XkbModel" "dvorak"
would work.
> 2. customize specific keys for specific tasks.
The "xmodmap" utility should provide the capabilities of reassignment you
are looking for. As for locating the keycode, I would use "xev". For my
"pc104" layout, the keypad enter key is keycode 108 with a keysym of
KP_Enter. You could rather easily remap this to an unused (unavailable on
most PC keyboards) function key like F32 with the following command:
xmodmap -e "keycode 108 = F32"
Likewise you could like the key reassignment in a file, such as
~/.Xmodmap) and call xmodmap with the file name:
<.Xmodmap>
keycode 108 = F32
</.Xmodmap>
xmodmap ~/.Xmodmap
and again the reassignment can be verified with the "xev" tool. Once it
has been reassigned, your friend should be able to bind the key to his
editor's save function (provided the editor support this).
Note: it's not completely necessary to reassign the key, but doing so will
help ensure that it's not interpretted as an Enter key.
--
Jamin W. Collins
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: