You are not logged in.

#1 2007-11-14 21:41:41

raul_nds
Member
From: Lisbon, Portugal
Registered: 2007-06-28
Posts: 258

A couple of questions about sound.

First of all, I use KDEmod, and Kmix sucks cause it won't let me change the main mixer from "Headphones" to "Front". Is there any other application that sits on the notification area(system tray) ? i've been looking but I can't find it. It doesn't need to be a KDE app (latest Ubuntu has some nice volume pop-ups smile )

Second, until Arch recognizes my volume keys (Fn + F3/4) , I thought of binding it to any other keys, but I can't find the XF86AudioUp or something like that. Is there any other way of doing this ?

Thanks big_smile

RauL

Offline

#2 2007-11-14 22:09:35

jrb
Member
Registered: 2007-11-14
Posts: 3

Re: A couple of questions about sound.

XF86AudioRaiseVolume
XF86AudioLowerVolume
XF86AudioMute

Offline

#3 2007-11-14 22:11:27

raul_nds
Member
From: Lisbon, Portugal
Registered: 2007-06-28
Posts: 258

Re: A couple of questions about sound.

[raul@horus ~]$ locate XF86AudioRaiseVolume
[raul@horus ~]$ locate XF86
/etc/X11/XF86Config-4
/etc/X11/XF86Config-4.bak
/usr/include/X11/XF86keysym.h
/usr/man/man3/XF86DGA.3.gz
/usr/man/man3/XF86Misc.3x.gz
/usr/man/man3/XF86MiscGetKbdSettings.3x.gz
/usr/man/man3/XF86MiscGetMouseSettings.3x.gz
/usr/man/man3/XF86MiscGetSaver.3x.gz
/usr/man/man3/XF86MiscQueryExtension.3x.gz
/usr/man/man3/XF86MiscQueryVersion.3x.gz
/usr/man/man3/XF86MiscSetKbdSettings.3x.gz
/usr/man/man3/XF86MiscSetMouseSettings.3x.gz
/usr/man/man3/XF86MiscSetSaver.3x.gz
/usr/man/man3/XF86VM.3x.gz
/usr/man/man3/XF86VidModeDeleteModeLine.3x.gz
/usr/man/man3/XF86VidModeGetAllModeLines.3x.gz
/usr/man/man3/XF86VidModeGetDotClocks.3x.gz
/usr/man/man3/XF86VidModeGetGamma.3x.gz
/usr/man/man3/XF86VidModeGetGammaRamp.3x.gz
/usr/man/man3/XF86VidModeGetGammaRampSize.3x.gz
/usr/man/man3/XF86VidModeGetModeLine.3x.gz
/usr/man/man3/XF86VidModeGetMonitor.3x.gz
/usr/man/man3/XF86VidModeGetPermissions.3x.gz
/usr/man/man3/XF86VidModeGetViewPort.3x.gz
/usr/man/man3/XF86VidModeLockModeSwitch.3x.gz
/usr/man/man3/XF86VidModeModModeLine.3x.gz
/usr/man/man3/XF86VidModeQueryExtension.3x.gz
/usr/man/man3/XF86VidModeQueryVersion.3x.gz
/usr/man/man3/XF86VidModeSetClientVersion.3x.gz
/usr/man/man3/XF86VidModeSetGamma.3x.gz
/usr/man/man3/XF86VidModeSetGammaRamp.3x.gz
/usr/man/man3/XF86VidModeSetViewPort.3x.gz
/usr/man/man3/XF86VidModeSwitchMode.3x.gz
/usr/man/man3/XF86VidModeSwitchToMode.3x.gz
/usr/man/man3/XF86VidModeValidateModeLine.3x.gz
[raul@horus ~]$

That's what I mean smile

Offline

#4 2007-11-14 22:37:55

jrb
Member
Registered: 2007-11-14
Posts: 3

Re: A couple of questions about sound.

Well that's because what I gave you are key symbols, not Xorg strings that would require a man page.

Use xev to get the keycode of your audio buttons then create a .Xmodmap file binding the key codes to the symbols. Then just run "xmodmap ~/.Xmodmap" and you should be in business. Here is the relevant bits of my .Xmodmap from my Dell lappy.

keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 160 = XF86AudioMute

Offline

#5 2007-11-14 22:48:25

eldarion
Member
From: Santarém - Portugal
Registered: 2006-08-01
Posts: 71

Re: A couple of questions about sound.

By "main mixer" you mean Master Channel, right?

If it's that, then open kmix, right click on the kmix icon (in the system tray) and select "Change Master Channel"

(Já agora, é bom ver Portugueses de Portugal a usar o ArchLinux smile )

Last edited by eldarion (2007-11-14 22:51:58)

Offline

#6 2007-11-14 23:35:40

raul_nds
Member
From: Lisbon, Portugal
Registered: 2007-06-28
Posts: 258

Re: A couple of questions about sound.

Cool, almost there smile How do I specify key combinations in Xmodmap? For example, I want to assign Super+F3 to lower the volume, and the keycodes are 115 and 69.

@ eldarion : um abraço portugues wink obrigado pela dica do Kmix, funcionou perfeitamente

Offline

#7 2007-11-14 23:45:25

raul_nds
Member
From: Lisbon, Portugal
Registered: 2007-06-28
Posts: 258

Re: A couple of questions about sound.

I tried assigning it to F3 and F4 just for test, audio doesn't go beyond 11%, and when I lower it to 0%, nothing happens. Is it controlling the wrong channel?

Offline

Board footer

Powered by FluxBB