xmodmap FC4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bonjour,

I have laptop with a wheel for the sound volume and I tried (without success) to make work under fc4 using xmodmap.

First, I used xev which return: keycode=174 when I turn the wheel clockwise and keycode=176 for counter clockwise.

So put

keycode 176 = 0x1008FF13
keycode 174 = 0x1008FF11

in a .xmodmaprc and run xmodmap .xmodmaprc

Now, xev returns:

KeyPress event, serial 29, synthetic NO, window 0x2e00001,
    root 0x131, subw 0x0, time 2623843, (82,114), root:(88,526),
state 0x0, keycode 176 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

and

KeyPress event, serial 29, synthetic NO, window 0x2e00001,
    root 0x131, subw 0x0, time 2623344, (82,114), root:(88,526),
state 0x0, keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

But nothing happens to the volume level....

What did I miss?

Merci

--
François Patte
UFR de mathématiques et informatique
Université René Descartes
http://www.math-info.univ-paris5.fr/~patte


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux