You are not logged in.

#1 2009-07-19 21:53:49

svanberg
Member
Registered: 2009-07-16
Posts: 88

[SOLVED] Change mixer variable source in Conky

Hi!
As default conkys mixer variable ${mixer} shows the 'Vol' source, but i want i to display 'Master' instead. How?

I have tried

${mixer Master}
${mixer master}
${mixer 'Master'}
${mixer 'master'}

Help me!

Last edited by svanberg (2009-07-19 23:29:01)

Offline

#2 2009-07-19 22:08:25

ZeroTruths
Member
Registered: 2009-07-02
Posts: 77

Re: [SOLVED] Change mixer variable source in Conky

Hmm, I've never heard of the mixer variable before, but if yor willing to try, there's another way to get the volume (which is actually what I usually do).
http://listento.jaketolbert.com/linux/v … ith-conky/

Offline

#3 2009-07-19 22:12:11

svanberg
Member
Registered: 2009-07-16
Posts: 88

Re: [SOLVED] Change mixer variable source in Conky

Yes. This works, but it takes resources. I was thinking if the variable exist, you must be able to use it. Right? wink

Offline

#4 2009-07-19 22:22:41

ZeroTruths
Member
Registered: 2009-07-02
Posts: 77

Re: [SOLVED] Change mixer variable source in Conky

Sorry, but ${mixer Master} worked fine for me. As well did ${mixer PCM}.
Have you checked to see that the device is in face called Master"? (Silly question, but just to make sure)

Offline

#5 2009-07-19 22:29:26

svanberg
Member
Registered: 2009-07-16
Posts: 88

Re: [SOLVED] Change mixer variable source in Conky

Mmm, this is wierd.

${mixer Master}

Gives me an value of 14, while alsamixer shows me 22.

Offline

#6 2009-07-19 22:38:49

ZeroTruths
Member
Registered: 2009-07-02
Posts: 77

Re: [SOLVED] Change mixer variable source in Conky

14/64=.21875  or rounded, 22% smile
Alsamixer shows the percentage, while Conky is showing the value out of 64.

Offline

#7 2009-07-19 22:44:36

svanberg
Member
Registered: 2009-07-16
Posts: 88

Re: [SOLVED] Change mixer variable source in Conky

64/64=1 or rounded 100%.
Ohhh smile. But is there a way to get it to percent with conky then?

Offline

#8 2009-07-19 23:04:09

ZeroTruths
Member
Registered: 2009-07-02
Posts: 77

Re: [SOLVED] Change mixer variable source in Conky

There should be, at least that's what I get from reading the changelog (2009-02-17)
http://conky.sourceforge.net/changelog.html

I agree that it should be showing percentages instead of raw values, but showing the percentages with only conky, I know not how.

Offline

#9 2009-07-19 23:28:38

svanberg
Member
Registered: 2009-07-16
Posts: 88

Re: [SOLVED] Change mixer variable source in Conky

Yes, but now i know. Thanks for your help. smile

Offline

#10 2009-07-28 18:54:37

Allamgir
Member
Registered: 2009-06-11
Posts: 168

Re: [SOLVED] Change mixer variable source in Conky

So did anyone ever figure out how to get mixer to display percentage? It's really confusing to see this number out of 64 rather than the real %


дɭɭɑӎɠїɾ

Offline

#11 2009-07-29 08:24:07

svanberg
Member
Registered: 2009-07-16
Posts: 88

Re: [SOLVED] Change mixer variable source in Conky

No, i think a default percent value would be nice.

Offline

Board footer

Powered by FluxBB