Xfce Forum

Sub domains
 

You are not logged in.

#1 2008-10-20 14:34:30

tascil
Member
Registered: 2008-10-20
Posts: 2

Apple Aluminum wired keyboard eject button needs mapping

Heya heya.  I'm running xubuntu (hardy heron) with xfce 4.4.2.  I'm using an Apple wired Aluminum keyboard, and so far things have been good (I've got the number pad working fine, I have the volume keys mapped), but I don't know how to map the eject key to the eject command.

With the volume keys, I mapped the keycodes from them to the XF86Audio* mappings which made things work fine in the keyboard shortcuts, but I don't know (and I can't find anywhere) the keycode for the eject key.  I've tried using "No keyboard was specified, please select your keyboard", and the Apple keyboards aren't showing up in the list.  I've tried using loadkeys and showkeys but I get the errors:

"Couldnt get a file descriptor referring to the console
KDGKBMODE: Bad file descriptor
loadkeys: error reading keyboard mode"

No files are present in /usr/share/keymaps.

Any tips or advice I can get to get a complete keycode mapping for my keyboard?  Thanks!

Offline

#2 2008-10-26 14:22:37

eriefisher
Member
From: ON, Canada
Registered: 2008-10-25
Posts: 543

Re: Apple Aluminum wired keyboard eject button needs mapping

try running "xev" in a terminal. This should give you the key code if it's recognized. If so you could map the key to the eject command with xmodmap.


Siduction
Debian Sid
Xfce 4.20 with Wayland/Wayfire

Offline

#3 2008-10-26 23:52:10

tascil
Member
Registered: 2008-10-20
Posts: 2

Re: Apple Aluminum wired keyboard eject button needs mapping

It worked.  Thanks!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 521.12 KiB (Peak: 529.32 KiB) ]