You are not logged in.
I feel sorry for bumping questions about dwm but I really couldn't find a solution for this.
The problem is with sound shortcuts.
Here is the config.h's sound options(Thanks to Army for this):
static const char *louder[] = { "amixer", "-q", "set", "Master", "1+", NULL };
static const char *lower[] = { "amixer", "-q", "set", "Master", "1-", NULL };
static const char *mute[] = { "amixer", "-q", "set", "Master", "toggle", NULL };and
{ 0, 0x1008ff13, spawn, {.v = louder } },
{ 0, 0x1008ff11, spawn, {.v = lower } },
{ 0, 0x1008ff12, spawn, {.v = mute } },Mute exactly works with given functions but I can't change volume up or down.
Thanks in advance.
Last edited by alpa8le (2012-02-19 14:32:39)
Offline
I've noticed this problem myself using different window managers/desktop environments, but haven't looked into myself yet since they work fine with cinnamon and gnome3. Gonna be watching this thread to see if it helps me too ![]()
Offline
It looks like the commands are right, so it must be something with the keycodes. You can use xbindkeys also to do this and it will work with different wm's. Check the wiki for extra keys and xbindkeys. Also, this is probably the wrong section to be asking questions about dwm unless it's to do with abs or a PKGBUILD. Try Applications and Desktop Environments or one of the dwm threads for better response.
Offline
I checked xbindkeys but when I press Fn+F12(Increase volume) xbindkeys doesnt read it neither? I really can't get it. If it has problems with Fn keys why it reads Fn+F10(Mute Function) then? Back in my Fedora days I could use them if I remember correct.
Last edited by alpa8le (2012-02-18 13:46:38)
Offline
Did you try using the example .xbindkeysrc in the wiki? Make sure to add xbindkeys to your .xinitrc too.
Offline
Yes, i did exactly what the wiki said, but no luck
Offline
I found the solution with Army's help. I edited config.h and made steps +/-1000. And it worked. allen875, I think your problem was this too
. But it is still strange to make steps 1000?? Anyway, thanks to you too stlarch for taking time
.
Last edited by alpa8le (2012-02-19 14:37:35)
Offline