Saturday, November 19, 2011

Xmodmap and xbindkeys to disable Media buttons

Dell Vostro 1510 have weird problem with constant permanent media button - stop.

Here is log of my changes that I did on Fedora(I hope this will help fro Ubuntu too):
 To get code you can use "xev" or "xbindkeys -k", for my media button only second approach is working.

gedit ~/.xbindkeysrc
    m:0x0 + c:171
    m:0x0 + c:172
    m:0x0 + c:173
    m:0x0 + c:174
    m:0x0 + c:215
    m:0x0 + c:216
    m:0x0 + c:208
    m:0x0 + c:209
    m:0x0 + c:121
    m:0x0 + c:234

gedit ~/.Xmodmap

keycode 171 = NoSymbol
keycode 172 = NoSymbol
keycode 173 = NoSymbol
keycode 174 = NoSymbol
keycode 215 = NoSymbol
keycode 216 = NoSymbol
keycode 208 = NoSymbol
keycode 209 = NoSymbol
keycode 121 = NoSymbol
keycode 234 = NoSymbol

press Alt+F2
launch "gnome-session-properties"
add "usr/bin/xbindkeys"

Restart is required.

Looks like Stop button does not work, no sign is shown on the screen. Issue is not reproduced for now:


For ubuntu users could be helpful:

1 comment:

  1. Thanks a lot for this helpful post, I was as hopeful as you when you wrote this post that it will really solve this strange problem, until we realized later this is not the solution with the constant hardware interrupts even though these buttons are disabled, instead the solution is:

    "Problem was reproduced in Windows and Ubuntu and Fedora ... problem completely in hardware. Solution: new laptop :) – RomanIvanov Jan 12 '12 at 3:23"