You are not logged in.

#1 2013-01-30 01:43:39

fci525
Member
Registered: 2012-08-25
Posts: 6

[Solved] i3status Volume Display is Incorrect

My i3bar should be showing me the volume of Master, but instead it shows me some other value. It decreases when the volume decreases, but not by the same amount, and it reads about 30% when the audio is too quiet to hear. Also, you can see the commands bound to my multimedia keys on the left. The volume up/down keys should alter the volume by 5%, but instead alter it by what alsamixer calls 3.75dB and i3status sees as ~5.5%. So, uh... what can I do?

huLqD7Bs.png

edit: It's probably worth mentioning that this all worked exactly as intended not long ago. I don't know what might have messed it up, though.
edit2: Oops. Thumbnailed.

Last edited by fci525 (2013-01-30 16:39:44)

Offline

#2 2013-01-30 05:43:46

ignorant
Member
Registered: 2012-06-09
Posts: 50

Re: [Solved] i3status Volume Display is Incorrect

I don't think this is a problem with i3. I've noticed this with vicious in awesome, as well as with a small statusbar bash script I wrote for dwm.

amixer for some reason returns a different percentage for Master than alsamixer does a lot of the time. I have no idea why.

Offline

#3 2013-01-30 16:38:59

fci525
Member
Registered: 2012-08-25
Posts: 6

Re: [Solved] i3status Volume Display is Incorrect

Looks like you're right. amixer and i3status agree on the percentage, while alsamixer has its own way. With "amixer -M", it gets and sets its values the same way alsamixer does, although the 5% increment is still inexact, so I dealt with that using my own script.

But i3status seems to be getting its numbers the same way as amixer, so I guess I might have to look into conky for that.

edit: One of these wrappers is also an option. I'm now using the .py wrapper to get a more useful and accurate volume level in i3bar.

Last edited by fci525 (2013-01-31 00:45:47)

Offline

Board footer

Powered by FluxBB