ALSA Volume Control plasmoid

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

6
Score 83.0%
Description:

Plasmoid controls alsa devices by mouse. You can add plasmoid to panel (both vertical && horisontal) or to workspace.
You must install python-alsaaudio or similar in your distributive.
Last changelog:

5 years ago

v.0.25
* fixed audiodevice detecting error;
* added detecting multiple audiodevices in system;
* added color managment of font and panel sliders with support opacity;
* added device rescan without restart plasmoid;
* added plasmatooltip with representation
device volume in panel;

v.0.27
* added Rescan button to Panel Devices Settings;
* added color control for slider handlers;

v.0.28
* fixed cardindex detection;

v.0.30
* improved stop control of tracking thread;
* added detect system color of text for first start;

v.0.35
* changed method of thread complete;

v.036
* text is replaced by icons in Common Device Panel;

v.0.37
* fixed warning in import module errors;

v.0.41.2 :
* added restore of device volume;
* added retrieve restored volume parameters;
* fixed slider`s mouseRelease & doubleClick events for common events;
* fixed the freez at plasmoid's init;
* some fixes & improvements;

v.0.42.2 :
* some fixes & improvements;

v.0.42.3 :
* fixed initiate;
* improve initiate;

v.0.43.5 :
* fixed the applet init at case without available audio devices;
* some fixes && improvements;

v.0.50.0 :
* fixed changing a color of horizontal slider's handler;
* refactoring;
* added slider's size Settings;
* added displaying a changes of slider's color & size into Settings;

v.0.51.0 :
* added sensitivity for sliders;

v.0.51.1 :
* reimplemented the retrieve of restored volume parameters;
* some fixes for disconnect SLOTs at close;

v.0.51.2 :
* added the restriction of notification;
* reimplemented tooltip;

nick87720z_double

5 years ago

Honestly, this is the first and only one applet, flooding desktop notifications each time when its panel hides.

It would be nice to show at least only first time. Or complement notification with action "Don't tell anymore" to allow user disable it manually.

IMHO, such widget is must have for those, actively working with multimedia/pro-audio stuff.
Yet it would be nice to support scrolling to change preselected channel, like all known applets do.

Report

C

F1ash

5 years ago

Okay, I'll do your first request, but, as for the second, it is already implemented. You can specify in the settings which channels display into panel and manage scrolling without causing permanently Common device panel. Actually I did not make restrictions notification because this panel is very rarely invoked.
http://img.flashtux.org/img133512b193efxefa8dd95.png

Report

nick87720z_double

5 years ago

Got it again (about tooltip but). One issue: value in last line is unaligned with other values.

Report

C

F1ash

5 years ago

Tooltip reimplemented.
I did not understand: all your devices are detected now or not?

Report

nick87720z_double

5 years ago

Hm, it jumps back if changed by dragging. But with scrolling it is OK.

Report

C

F1ash

5 years ago

Plasmoid behavior is that: if make-clicking in the widget, that it restored to the saved state. This state is set only when you call the Common device panel. Just when initiating plasmoid restores the saved state, but not the last state.
Unfortunately, tooltip shows only those devices that have already been initiated. That is, until the new device will not change the value, it is not displayed in the tooltip.

Report

nick87720z_double

5 years ago

Sorry for long delay.

I restarted plasma-desktop by killall -6.
Notifications still appear, for tooltip i have all but one last value visible.

New problem: sliders on panel's widget change to previous value after attempt to change. But in dialog it doesn't happen.
And tooltip: when i begin to change value from panel widget, missing value for last slider appears, but when changed value jumps back, appeared value disappears from tooltip again.

Report

nick87720z_double

5 years ago

Yeah, i completely forgot about that. I had disabled all sliders, because there is another bug: they didn't affect applet size on panel.
Hm, just noticed it fixed, thanks :)

Report

nick87720z_double

5 years ago

But tooltip still needs to be fixed. I have intel hda, and there are ≈8 channels. When i enable sliders for all, only 3 or 4 are visible. It just ignores some of them., including even Capture slider.

Last time i tried again to enable all, they all where visible on tooltip.

Report

Henri

5 years ago

The handle color settings works now and size settings with previews are very useful. One suggestion for future improvement: it's good to be able to point the slide/icon and adjust the volume by mouse wheel but the increment is rather big (10%). Would be nice if one could set the value in settings. Nonetheless, this is very neat plasmoid!

Report

Henri

5 years ago

When I first tried to change the color of the handle, it didn't change it but when I tried to change the volume Plasma crashed. This happened every time until I removed and added the plasmoid again. Now it won't crash but handle color still won't change. Changing color of other elements work. Using KDE 4.11.1.

Would be very useful if there was an option for bigger size handle. Now with my "42 TV screen it's hard to see and hit that with mouse cursor.

Report

C

F1ash

5 years ago

Try new version ;)

Report

C

F1ash

5 years ago

I'll look into it as soon as time. Thank you

Report

david96

6 years ago

Thank you, it works by installing python-alsaaudio.

Report

bjerke

8 years ago

Error: No module named alsaaudio. Install necessary packet.

I had to install the python-alsaaudio packet

Report

C

F1ash

8 years ago

This means that you need to find a Debian package, which supports module for python alsaaudio.

Report

rinaldus

8 years ago

Great plasmoid! I put it on panel near system tray and can change volume without opening KMix and it's great! But it's a pity that it's impossible to change size of this plasmoid. I can change size of it when I put it to desktop, but it is small in panel mode. Can you add this function in plasmoid settings please?

Report

C

F1ash

8 years ago

Plasmoid designed to change its size with the change in the height/width of the panel. For vertical panel need to change the orientation of the plasmoid in the Settings.
Maybe I do not quite understand you correctly.

Report

elkooder

8 years ago

Awesome man! its really useful for me
Thanks

Report

kent57

8 years ago

Tried the update but no success.
Tried bartman2589 repackaging idea & it worked.
However the "on Icon" selection in the set-up gives a window that shows all outputs but can't close the window because it covers the icon that closes it.

Report

C

F1ash

8 years ago

I can not reproduce this problem on my Kubuntu. In this case, use Esc, please.

Report

kent57

8 years ago

Thanks F1ash escape works fine. I think the problem is related to the fact I have dual monitors & I placed the widget too close to the upper left hand corner of the right hand monitor.
Great plasmoid solved a lot of issues I've been having with pulseaudio & alsamixer.

Report

kent57

8 years ago

Thanks F1ash escape works fine. I think the problem is related to the fact I have dual monitors & I placed the widget too close to the upper left hand corner of the right hand monitor.
Great plasmoid solved a lot of issues I've been having with pulseaudio & alsamixer.

Report

kent57

8 years ago

After installing as per instructions, any use of plasmoid crashes plasma-desktop. Configuring plasmoid crashes desktop and even closing plasmoid crashes desktop. Have followed all discussions above with no success.
Any suggestions?

Report

C

F1ash

8 years ago

Try update plasomiod now (i make some correction).
If this fails, then your PyQt can not kill the thread, using terminate.
Report me about it, please. I try to do a other method to complete the tracking thread.

Report

5 years ago

v.0.25
* fixed audiodevice detecting error;
* added detecting multiple audiodevices in system;
* added color managment of font and panel sliders with support opacity;
* added device rescan without restart plasmoid;
* added plasmatooltip with representation
device volume in panel;

v.0.27
* added Rescan button to Panel Devices Settings;
* added color control for slider handlers;

v.0.28
* fixed cardindex detection;

v.0.30
* improved stop control of tracking thread;
* added detect system color of text for first start;

v.0.35
* changed method of thread complete;

v.036
* text is replaced by icons in Common Device Panel;

v.0.37
* fixed warning in import module errors;

v.0.41.2 :
* added restore of device volume;
* added retrieve restored volume parameters;
* fixed slider`s mouseRelease & doubleClick events for common events;
* fixed the freez at plasmoid's init;
* some fixes & improvements;

v.0.42.2 :
* some fixes & improvements;

v.0.42.3 :
* fixed initiate;
* improve initiate;

v.0.43.5 :
* fixed the applet init at case without available audio devices;
* some fixes && improvements;

v.0.50.0 :
* fixed changing a color of horizontal slider's handler;
* refactoring;
* added slider's size Settings;
* added displaying a changes of slider's color & size into Settings;

v.0.51.0 :
* added sensitivity for sliders;

v.0.51.1 :
* reimplemented the retrieve of restored volume parameters;
* some fixes for disconnect SLOTs at close;

v.0.51.2 :
* added the restriction of notification;
* reimplemented tooltip;

12345678910
234
product-maker nick87720z_double Mar 30 2014 9 excellent
product-maker Henri Sep 19 2013 9 excellent
product-maker RAIDENSUB Apr 26 2013 9 excellent
product-maker unikum111 Dec 12 2012 9 excellent
product-maker Phrosztbyte Sep 07 2012 9 excellent
product-maker StrikeHoreges Dec 10 2011 9 excellent
product-maker Hanau2010 Sep 18 2011 9 excellent
product-maker tcat Aug 28 2011 9 excellent
product-maker tamra Aug 25 2011 9 excellent
product-maker lux0506 Aug 07 2011 9 excellent
product-maker kaiserhg Jul 26 2011 9 excellent
product-maker saigkill Jul 01 2011 9 excellent
product-maker JeremiahMosser Jun 01 2011 9 excellent
product-maker adrruiz May 30 2011 9 excellent
product-maker valek2282 May 26 2011 9 excellent
product-maker Zorael May 08 2011 9 excellent
product-maker elkooder Apr 29 2011 9 excellent
product-maker nicotine Apr 27 2011 9 excellent
product-maker hithirdwavedust Apr 20 2011 9 excellent
product-maker Infosoft Apr 04 2011 9 excellent
product-maker CatchTime Apr 03 2011 9 excellent
product-maker ZLv Mar 18 2011 9 excellent
product-maker nerdykid Mar 04 2011 9 excellent
product-maker dagobert Mar 03 2011 3 bad
product-maker swiftscythe Mar 03 2011 9 excellent
product-maker pierigno Mar 02 2011 9 excellent
product-maker tils Mar 01 2011 9 excellent
product-maker theZest Feb 28 2011 9 excellent
product-maker kem Feb 26 2011 9 excellent
product-maker marcocingolani Feb 25 2011 3 bad
product-maker ashley194 Feb 24 2011 9 excellent
product-maker darkmas Feb 23 2011 9 excellent
product-maker SeaJey Feb 21 2011 9 excellent
product-maker Murz Feb 20 2011 9 excellent
product-maker schleby Feb 20 2011 9 excellent
product-maker Alesvol Feb 20 2011 9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
Details
license
version
0.51.2
updated Apr 01 2014
added Feb 20 2011
downloads 24h
0
page views 24h 11