Thanks for the info. It didn't completely work for me though. The keys were trigging and mute worked, but due to limitations with the Intel HD audio driver atm, I can only adjust the PCM volume and whatever gnome is adjusting with volume up and volume down isn't that. Couldn't find anywhere which illuminated me as to what its actually using to drive the volume up and down. Gnome is fustrating - it's becoming less and less transparent as it tries to make things easier for the user.

So I went back to X and finally figured out how XKBRules, Model and Layout worked. I made sure the xkb/symbols file it was looking up linked the appropriate buttons with the XF86Audio* symbols. That let me then make use of enlightenment_remote as usual for keybindings.

enlightenment_remote any XF86AudioLowerVolume NONE 0 exec "amixer set PCM 6-" enlightenment_remote any XF86AudioRaiseVolume NONE 0 exec "amixer set PCM 6+"
enlightenment_remote any XF86AudioMute NONE 0 exec "amixer set PCM toggle"

Is there a way of defining these keys by enlightenment_remote without using keysymbols? i.e. via either keycodes or hexcodes for the keys?

Cheers,
Daniel.

On Mon, 23 May 2005 18:44:20 -0600, emby <[EMAIL PROTECTED]> wrote:

Daniel Stonier wrote:
I suspect perhaps this is the same reason that I can't get xmodmap to committ and save keysymbol settings (for multimedia keys) inbetween the entrance login and the e17 startup. Currently the logs indicate they get set, but are lost by the time e17 has finished loading.



yes, I had the same problem. Finally worked around it using gnome-control-center->keyboard shortcuts. It sets the
multimedia keys as follows:

Volume mute             0xa0
Volume down             0xae
Volume up               0xb0
Play (or play/pause)    0xa2
Stop playback           0xa4
Skip to previous        0x90
Skip to next            0x99


mb


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel





-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to