You are not logged in.
Pages: 1
Hey guys
I'm not sure what to search for this because I don't really understand the problem, so here it is:
When I do FN +F10, 11, or 12 (my mute, sound down, sound up keys respectively), nothing happens. When I drag the sound applet on the bottom it doesn't change it. For example it's muted right now.
I have to use alsamixer to change my sound controls but I'd like for me to be able to set it using the FN keys. I used to have them set on Fluxbox but I was unsure if it was the same.
Thanks
Offline
Hello,
http://crunchbanglinux.org/forums/post/34208/#p34208
http://crunchbanglinux.org/forums/topic … n-openbox/
for pulseaudio: http://crunchbanglinux.org/forums/topic … edia-keys/
good luck
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
Do you know the commands for amixer?
amixer set Master 2dB+ unmute
Mine is like amixer set +%5 or something. I couldn't find it when I google'd it though because I don't know what to google.
Offline
maybe with amixer -c 0 set Master 5%+ unmute
looky looky here: http://crunchbanglinux.org/forums/post/3811/#p3811
Actually amixer set Master 2dB+ unmute should work, too. % and db is not the same, but it should at least change to volume level. Can't check it right now as I am not in openbox.
Last edited by machinebacon (2011-08-16 11:45:02)
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
Still not working :[
I know that
amixer -c 0 set Master 5%+ unmute
Is right, or at least closer to right. I've used that before on Fluxbox.
They aren't working though.
Offline
Still need help with this
Offline
This is in my rc.xml, and it works on both my netbook and my desktop:
amixer set Master 3+For mute:
amixer set Master toggleOffline
That's not working either
:[
I'm not sure why it doesn't, it has in the past.
This is my rc.xml inside <keyboard> </keyboard>
<keybind key="XF86AudioMute">
<action name="Execute">
<execute>amixer set Master toggle</execute>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<execute>amixer set Master 3-</execute>
</action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<execute>amixer set Master 3+</execute>
</action>
</keybind>Offline
check with xev if the media keys actually work.
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
^ +1
You'll also see if the keys are showing up as something other than XF86Audio*.
Offline
How does Xev work? Nothing ever shows up in the white box. However if I use my brightness keys the brightness changes, Xev still returns nothing :S
Offline
The Xev output appears in the terminal. You could redirect the output (using `>>`) to a text file.
Offline
FocusOut event, serial 45, synthetic NO, window 0x2e00001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 45, synthetic NO, window 0x2e00001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 45, synthetic NO, window 0x0,
keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Offline
I'm back on #! and still need help
Offline
1. open a terminal
2. enter: xev
3: ignore the white window
4: press a key, for example x. you will notice the terminal shows a lot of lines:
KeyPress event, serial 40, synthetic NO, window 0x1c00001,
root 0x102, subw 0x0, time 44475453, (169,-7), root:(454,97),
state 0x0, keycode 53 (keysym 0x78, x), same_screen YES,
XLookupString gives 1 bytes: (78) "x"
XmbLookupString gives 1 bytes: (78) "x"
XFilterEvent returns: False
KeyRelease event, serial 40, synthetic NO, window 0x1c00001,
root 0x102, subw 0x0, time 44475563, (169,-7), root:(454,97),
state 0x0, keycode 53 (keysym 0x78, x), same_screen YES,
XLookupString gives 1 bytes: (78) "x"
XFilterEvent returns: False5. take a close look - you see 'state 0x0, keycode 53 (keysym 0x78, x) - this is for demonstration purpose only. We need the keysym value later, but not for the x key. That's why....:
6. press your MUTE media key. Write down the keysym (this one always starts with 0x)
7. In the rc.xml change
<keybind key="XF86AudioMute"> to
<keybind key="0xTHE_NUMBER_YOU_WROTE_DOWN_IN_STEP_6">8. Save the rc.xml, and reconfigure/restart openbox (right-click menu -Settings - Openbox config - reconfigure)
9. Do this with all other media keys.
Edit:typo
Last edited by machinebacon (2011-08-31 19:34:32)
Sweaty lads picking up the soap | I love the new "Ignore user" button
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.