You are not logged in.
I'm trying out Wmii, which I'm very impressed with so far. The one issue I can't get my head round is keybindings for volume keys, play/pause etc.
Looking over the net there seems to be extremely little info about configuring this (or I'm looking in all the wrong places).
Any suggestions for the best way to set extra keys up?
I'd rather avoid xbindkeys if at all possible, as I've specified keybinds already in Openboxes rc.xml etc.
Last edited by rusty99 (2009-05-29 09:04:22)
Offline
Well, a big question would be what media player you're using. MPD? Something else?
Offline
Mpd + mpc is what I'm using.
Offline
Do you already know how to bind keys to commands in wmii? If so, it should be simple. If not, I'll have to figure out how myself and then help you.
Offline
I can see how to, but it doesn't seem to be working for me. Either I'm putting spaces where tabs should be or I'm doing something else wrong.
wmiir read /keys doesn't show any addition I made after reloading.
I'm seriously tempted to use xbindkeys right now
Offline
Here is how I deal with volume in wmii. Also, I know I have had problems with tabs versus spaces in wmiirc, so I would definitely look into that.
Key $MODKEY-i
amixer -q set Master 5%+ &
Key $MODKEY-o
amixer -q set Master 5%- &
Key $MODKEY-u
amixer -q set Master toggle
Offline
Ok, solved.
I was using vim to edit my wmiirc and it can't have been syntaxing correctly. (Treating tabs as spaces?)
Editted with Mousepad at it works straight away..
Offline
-deleted not relevant-
Last edited by MattSmith (2009-05-29 10:16:14)
A thing of beauty is a joy forever
-John Keats
Offline
Hmm, I know there are a lot of fans of mpd out there but I never really had to worry about volume for 2 reasons:
1. i use mplayer for videos so the sound up and down works for volume
2. I use MOC for music, i understand it's not as customizable as MPD, but it uses the "." and the "," key for volume as far as that goes.
other than that I just leave volume at max
just a thought
i dont understand your reasoning... ncmpc has keys for changing volume too... what the poster wanted to do was a GLOBAL hotkey for changing mpds volume, without a client running...
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
eek sorry, it's late here my I can now see my post was not relevant, deleting. Sorry to waste time all
A thing of beauty is a joy forever
-John Keats
Offline
I recommend looking at vim's ':list' option so that you can see whether you put a tab or a space. My problem was that I had set expandtab for all files in my .vimrc.
Offline