Mixeroid

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

7
Score 85.4%
Description:

A simple plasma replacement for kmix. Not yet very powerful since python-alsaaudio is very limited.

Install with plasmapkg -i Mixeroid-0.3.zip

Test with plasma-windowed Mixeroid

Dependencies:
[li]python-alsaaudio[/li]
[li]python-plasma[/li]

Note: If you get missing script-engine errors when loading the widget you need to install the plasma python script-engine (in openSUSE this requires the "python-kdebase4" and "python-devel" packages, in Fedora this requires the "kdebase-workspace-python-applet" package, in Kubuntu this requires the "python-plasma" package)
Last changelog:

8 years ago

V0.3:
[li]Config dialog[/li]
[li]Select orientation of the sliders[/li]
[li]Select visible sliders[/li]
[li]Note: you may have to restart the applet after changing the config[/li]

V0.2:
[li]Added tooltips[/li]
[li]Merged changes from comments[/li]

V0.1:
[li]Initial release[/li]

TotoKid

10 years ago

If you're asking why, I'm asking you: "Why not"? :)

Report

downdiagonal

10 years ago

I had to changes some things with this plasmoid to get it to run. In the loop that adds the sliders, some of the mixers on my system return an empty list when you call getvolume() and some of them return a value of -MAXINT. So I added some checks to make sure it doesn't throw any exceptions. Also, shouldn't "slider.setToolTip('Master')" be "slider.setToolTip(m)" since presumable you want the tooltip to correspond to the channel you're controlling? Lastly, I'm not sure why you're setting the channel in that loop when it's not used and just gets set when you call changeVolume anyway.

My changes are here: http://pastebin.com/f14e25065

Report

C

thymythos

10 years ago

The tooltips don't work for me anyway (any idea how to enable these?)

The python-alsaaudio seems to be very limited, on my intel-hda it only shows a control for Master and one for Capture which both control the same channel. Maybe we can switch to KDE style (solid or phonon) as a backend.

Report

downdiagonal

10 years ago

I don't have any idea how to enable the tooltips. I have an intel-hda (82801H (ICH8 Family) HD Audio Controller (rev 03) to be specific) and before I made the changes, it only showed two channels also. Now I've got sliders for master, pcm, digital, int mic, and ext mic. The only one that doesn't work is digital. Alsaaudio says there's no such channel for some reason. The reason they all control the same channel is that you're setting all the tooltips to 'Master' and then using that tooltip to tell changeVolume what mixer to control.

About Phonon/Solid, the AudioInterface class in PyKDE4.solid looks like it might do the job. I don't think it would be too difficult to also add a configuration dialog that tells it what channels to display.

Report

C

thymythos

10 years ago

Hm, I have a Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) but with the modifications it also shows only two channels. I managed to get the tooltips working.

I'm pretty new to the python stuff, but I think I will have a look at solid. Any volunteer who want's to do the config part?

Report

C

thymythos

10 years ago

[Update]

If I run the python-alsaaudio mixer example as root, I get all channels. I already checked the permissions of /dev/snd/* but no change...

Report

downdiagonal

10 years ago

I'm pretty new to QT and plamsa, but I'd love to help out. Have you considered setting up a source repository?

Report

C

thymythos

10 years ago

Done: https://code.launchpad.net/mixeroid

Report

pepedopolous

10 years ago

bash: plasmapkt: command not found


Hello. wont work for me on kubuntu w/kde 4.2.

Perhaps I'm missing some python dependency?

p

Report

bizzl

10 years ago

Quote: bash: plasmapkt: command not found
Hello. wont work for me on kubuntu w/kde 4.2.
Perhaps I'm missing some python dependency?
Nope, thymythos simply misspelled the command, it's plasmapkg, not plasmpkt ;)

Report

TotoKid

10 years ago

And you need python-plasma and python-alsaaudio too.

Report

TotoKid

10 years ago

I really like this plasmoid, though it really fits bad on thin panels and overlaps other plasmoids as well. Please, take a look at this snapshot:

http://img3.imageshack.us/img3/2582/mixeroidthinpanel.jpg

Report

C

thymythos

10 years ago

I know (though it looks ok in my panel), the standard plasma slider is not so nice for small spaces. If you like to dig into creating plasma styles (SVG stuff) you're welcome!

Report

TotoKid

10 years ago

It seems you've fixed its position into a panel (nice work!), but I still can't see the levers on a thin panel. It's still working as it should, though (clicking on the master "empty square" changes volume).
There are some ways to walkthrough this, let me explain: one is adding an option into the configuration window to set indicators horizontally or vertically (defaulted) and adding an option to let users choose to put capture *next* to master (suitable for thin panels) or *below* it (normal and large panels, but as it's working fine on these sizes, default settings are more suitable = vertical) ; the best way is to let it automatically detect a panel *and* its size, but I think the first way should be easier and cheap.

Greetings and keep on the good work!

Report

bizzl

10 years ago

Please change the value of X-KDE-PluginInfo-Name in metadata.desktop to lowercase, it won't install with uppercase letters.
(using Kubuntu 8.10, KDE 4.2.00)

Report

TotoKid

10 years ago

I could install it with no problem on the same environment, there's no need to rename, I think.

Report

bizzl

10 years ago

Sorry for inconvinience, I just figured that something must be misconfigured with my plasmapkg.
It installs it correctly, yet still throws an error message :/

Report

8 years ago

V0.3:
[li]Config dialog[/li]
[li]Select orientation of the sliders[/li]
[li]Select visible sliders[/li]
[li]Note: you may have to restart the applet after changing the config[/li]

V0.2:
[li]Added tooltips[/li]
[li]Merged changes from comments[/li]

V0.1:
[li]Initial release[/li]

12345678910
31
product-maker mirkogennari Sep 30 2015 9 excellent
product-maker Phrosztbyte Sep 29 2012 9 excellent
product-maker ktedir Mar 19 2012 9 excellent
product-maker pars1938 Dec 18 2011 9 excellent
product-maker StrikeHoreges Oct 27 2011 9 excellent
product-maker antony-- Aug 16 2011 9 excellent
product-maker Djellel Jul 06 2011 9 excellent
product-maker Quintasan1 Jun 22 2011 9 excellent
product-maker seamanj May 19 2011 9 excellent
product-maker PeterKelder May 05 2011 9 excellent
product-maker fineday2love May 05 2011 9 excellent
product-maker hithirdwavedust Apr 22 2011 9 excellent
product-maker Valdemar Mar 28 2011 9 excellent
product-maker Thaodan Mar 20 2011 9 excellent
product-maker darkmas Mar 02 2011 9 excellent
product-maker kem Feb 26 2011 9 excellent
product-maker wosk Feb 20 2011 9 excellent
product-maker its Feb 12 2011 9 excellent
product-maker Schumbi Feb 10 2011 9 excellent
product-maker jprobichaud Feb 09 2011 9 excellent
product-maker matejv Feb 06 2011 9 excellent
product-maker Ireyon Jan 29 2011 9 excellent
product-maker Ilu Jan 28 2011 9 excellent
product-maker greggel Jan 28 2011 9 excellent
product-maker mkyral Jan 22 2011 9 excellent
product-maker riyad Jan 03 2011 9 excellent
product-maker nerdykid Dec 28 2010 9 excellent
product-maker scalpel Dec 21 2010 9 excellent
product-maker Murz Dec 14 2010 9 excellent
product-maker janet Nov 24 2010 9 excellent
product-maker sylvaing Oct 24 2010 9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.3
updated Dec 12 2010
added Feb 21 2009
downloads 24h
0
page views 24h 6