Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get my media keys to work under fluxbox
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dufnutz
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 209

PostPosted: Thu Nov 07, 2002 3:55 am    Post subject: Can't get my media keys to work under fluxbox Reply with quote

Hello,
I use to have microsoft natural keyboard pro (retail). retail means that it has a ps2 cord and a usb cord thats used for the usb hub only. well i accidently killed it so I bought a microsoft natural keyboard pro (oem) this means that it is usb only for the keyboard actions and the usb hub. Since i've had the new keyboard i haven't been able to use my media keys in fluxbox. it seesm that the new keyboard doesn't map the keys the same way (does this seem reasonable?) i didn't change any config files but if you want to know this is my XF86Config keyboard section

Code:
Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "Keyboard"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option   "Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"

# These are the default XKB settings for XFree86
#    Option "XkbRules"    "xfree86"
#    Option "XkbModel"    "pc101"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "microsoftpro"
    Option "XkbLayout"   "us"

EndSection



this is my fluxbox keys file

Code:

None XF86AudioNext        :execCommand xmms -f
None XF86AudioPrev        :execCommand xmms -r
None XF86AudioPlay        :execCommand xmms -t
None XF86AudioStop        :execCommand xmms -s
None XF86AudioMedia       :execCommand xmms


this is the output from xev when i hit the "media" key
Code:
KeyPress event, serial 21, synthetic NO, window 0x1a00001,
    root 0x6c, subw 0x0, time 1554141069, (114,856), root:(180,939),
    state 0x0, keycode 129 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyRelease event, serial 26, synthetic NO, window 0x1a00001,
    root 0x6c, subw 0x0, time 1554141197, (114,856), root:(180,939),
    state 0x0, keycode 129 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 characters:  ""


I'm stumped, any idea why replacing the keyboard with presumably the same kind do this?
Back to top
View user's profile Send private message
evilcoder
n00b
n00b


Joined: 20 Nov 2002
Posts: 32

PostPosted: Wed Nov 20, 2002 4:17 pm    Post subject: multimediakeys Reply with quote

so if your problem still exists tell me how you log in - i mean "startx" or with xdm?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum