Re: Mapping keyboard 'special' keys in Linux
- From: Richard Sutton <rsutton43@xxxxxxxxxxx>
- Date: Tue, 04 Dec 2007 13:27:38 -0500
Mercury wrote:
"Dick Sutton" <rsutton43@xxxxxxxxxxx> wrote in message news:N92dnTqtt-OY_cjanZ2dnUVZ_t2inZ2d@xxxxxxxxxxxxxxThanks, Mercury, for the link. Yes, I'm sure that the 3 keys (Cut, Copy, & Paste) send a single scancode. They are 0xa5, oxa6, and oxa3 respectively. I got those from looking in /var/log/messages (the messages file also provided me with the 'e' equivalant i.e. e025, e026 and e023 respectively).The label on my keyboard says it is a Model KB-0108. Of course, I'm
sure the keyboard is re-badged from another company. It would be easy
to figure out what the hex keycodes for these 3 keys are. I just
haven't a clue how to add them to the computers keymap.
Are you sure those 3 keys don't send multiple scancodes (i.e. simulate multiple key presses)? My keyboard has a ton of keys, and a few of them work this way. For example, I have a "Paste" button that sends CTRL-down, V-down, V-up, CTRL-up when pressed, simulating CTRL-V.
Anyway, take a look at this. It's a bit skimpy on detail, but it might be a good starting point:
http://ubuntuforums.org/showthread.php?t=172010
However, I can't seem to get these to work. I followed the directions in the link that you provided, but it left too much unsaid. For example, Step 5 says to go to the System > Preferences > Keyboard Shortcuts and do the mappings. Well, that's where I started out - There are no pre-defined Cut, Copy & Paste mappings to modify.
Dick
.
- Follow-Ups:
- Re: Mapping keyboard 'special' keys in Linux
- From: J.O. Aho
- Re: Mapping keyboard 'special' keys in Linux
- References:
- Mapping keyboard 'special' keys in Linux
- From: Dick Sutton
- Re: Mapping keyboard 'special' keys in Linux
- From: Mercury
- Mapping keyboard 'special' keys in Linux
- Prev by Date: Re: Mapping keyboard 'special' keys in Linux
- Next by Date: Re: Mapping keyboard 'special' keys in Linux
- Previous by thread: Re: Mapping keyboard 'special' keys in Linux
- Next by thread: Re: Mapping keyboard 'special' keys in Linux
- Index(es):
Relevant Pages
|