You are not logged in.

#1 2007-01-20 18:08:36

bored2k
Member
Registered: 2006-01-14
Posts: 39

Keyboard hotkeys default to Microphone (Gnome)

Here's my problem. The hotkeys I setup in Keyboard shortcuts default to my Microphone, which is obviously wrong since I want to be able to control sound volume and such. Anyone know how to do this?

mic0sr.th.jpg

Thanks in advance.

Offline

#2 2007-01-20 21:53:36

picpak
Member
Registered: 2006-12-02
Posts: 89

Re: Keyboard hotkeys default to Microphone (Gnome)

I suppose you could use a mixture of xbindkeys + xmodmap.

I put in my .Xmodmap:

keycode 176 = XF86AudioRaiseVolume
keycode 174 = XF86AudioLowerVolume

and in my .xbindkeysrc:

"amixer sset PCM 2+"
XF86AudioRaiseVolume

"amixer sset PCM 2-"
XF86AudioLowerVolume

I then put in my .xinitrc:

xmodmap &
xbindkeys &

and logged in and out. Hope this helps.


Regards,
Picpak

Offline

#3 2007-01-21 03:46:05

bored2k
Member
Registered: 2006-01-14
Posts: 39

Re: Keyboard hotkeys default to Microphone (Gnome)

picpak wrote:

I suppose you could use a mixture of xbindkeys + xmodmap.

Tried your recommendation, but that didn't work. =/

Note: I did have to change PCM to Speaker in order to even get it to work uncorrectly. (it's what my USB Headset uses).

It's not a *huuuge* problem (already solved my biggest one with the headset), but it'd like it to work. smile

Offline

Board footer

Powered by FluxBB