Win7 Volume Mixer

Plasma 5 Multimedia

Source i (link to git-repo or to original if based on someone elses unmodified work):

https://github.com/Zren/plasma-applet-volumewin7mixer

Featured
21
Become a Fan
8.4

Available as/for:
Description:
A reskin of the default plasmoid. Cannot be placed in the systray (use kmix instead if you want that).

* Vertical sliders
* Can change the media keys volume up/down percentage.
* Added links to alsamixer and pavucontrol in the context menu.
* Can volume boost to 150% with the context menu
* Can switch default speaker/microphone (and move all app streams to the device) with the context menu
* Media Playback Controls
* Keyboard Shortcuts (See config for a list). I recommend assigning Meta+V as the widget's Global Shortcut.

After installing, System Tray Settings > Extra Items > Uncheck "Audio Volume". This will hide the default audio widget.

pavucontrol is not installed by default, so the context menu item will do nothing if not installed.

Arch: pacman -S plasma5-applets-volumewin7mixer

Translations: Dutch, French
Translators: https://github.com/Zren/plasma-applet-volumewin7mixer/tree/master/package/translate#new-translations
Last changelog:

v26 - November 20 2020

* Support Plasma 5.20's osd.show(percent, maxPercent).
* Fix workaround for opening custom popup when in system tray.
* Use radio button instead of a checkmark for default device (Issue #19) with a QQC2 ToolTip on hover.
* Update i18n scripts.
* Use some of plasma-pa's improvements on port selection.
* Add support for left clicking device icon to set default device instead of showing the context menu by @linchangyi (Pull Request #20 and #21)
* Applet name correction in documentation by @luema (Pull Request #1


Ratings & Comments

56 Comments

Blackcrack

ZREN, could you update this mixer for Plasma6 ? by the way, check out my Iconthemes, Plasma6 compatible and, if your Mixer works normally also in Plasma 6, should you chekc at your Productedit in the First page, the Pulldown menu for Plasma6 .. if it's works also in Plasma6... best regards Blacky

watcher87

7 Hello, sorry for bothering you, but I hope you read this The media controller is currently broken when using Audacious(a music player) Songs(even when paused or not started) are shown after first launch, but after closing the application, in all subsequent launches playing media is either not shown, even tho the media controls are still shown but grayed out. tested using pipewire, tested using pulse; exact same result. also tested with Cantata

watcher87

(didnt know this website would cut off my reply, so ill just retype the last part) The default kde media controller is working perfcetly but I like yours better, so if you could please fix it(if you have the time of course), I'd be delighted

leoneiva

Would be great if Win7 mixer allows to increase volume to 150% as the plasma default volume mixer does.

Zren

Right click an audio stream and click "Volume Boost (150%)" as shown in the screenshot above?

leoneiva

Oooooo Sorry

leoneiva

Dude, sorry again, but even after enabling volume boost 150% i can't increase upper than 100% using mouse wheel. Is there any way to increase 150% using the mouse? Thanks

Zren

The widget deliberately prevents you from going over 100% with the volume keys/etc. You need to manually set it with the mouse on the slider. If you really want to change this behavior, edit addVolume() in PulseObjectCommands.js: https://github.com/Zren/plasma-applet-volumewin7mixer/blob/master/package/contents/ui/code/PulseObjectCommands.js#L44 From: var volume = calcVolume(0, pulseObject.volume, maximumValue, step) To: var volume = calcVolume(0, pulseObject.volume, 98304, step) Restart plasma after making your changes.

irshat

10 10 the best

mozo

Unfortunately it doesn't work with Plasma 5.22.

bagatelle

9 9 excellent

lordmata

10 it's awesome! a must have widget. One question though, any way to change the icons of the output device (without actually changing profiles) ? Or maybe display custom names above the icon? I always have to hover over to see which speaker is which.

Zren

Hmmm, you're right they should be distinct however I don't know a good way to do that. I shorten the super long pulseaudio name currently. What are the names of the two speakers? $ pacmd list-sinks | grep 'name:' name: You can manually edit the code to 'return name' instead of 'return i18n("Speaker")' in the code for your use case though: * https://github.com/Zren/plasma-applet-volumewin7mixer/blob/master/package/contents/ui/MixerItem.qml#L176-L199 * ~/.local/share/plasma/plasmoids/org.kde.plasma.volumewin7mixer/contents/ui/MixerItem.qml To test changes, run: plasmawindowed org.kde.plasma.volumewin7mixer

lordmata

Got it. The deal was I was using a headset that contained "analog-stereo" in its name (alsa_output.usb-Logitech_Logitech_G930_Headset-00.analog-stereo) and it got picked up by the first "if" in the label part. So I edited the MixerItem.qml like: // for label } else if (name.indexOf('alsa_output.') === 0) { } else if (name.indexOf('alsa_output.') === 0) { if (name.indexOf('_Headset-') >= 0) { return i18n("Headset") } else if (name.indexOf('.analog-') >= 0) { return i18n("Speaker") } else if (name.indexOf('.hdmi-') >= 0) { return i18n("HDMI") } } // for icon if (startsWith(PulseObject.name, 'alsa_output.') && PulseObject.name.indexOf('_Headset-') >= 0) { return 'audio-headphones' } Thanks for the help !

Zren

Hmmm, there might be a better way to filter a headset. Can you paste the output of 'pacmd list-sinks' into https://hastebin.com/ save it, then link me to it? With headphones, I can find the `analog-output-headphones` in the current port name. It's possible that headsets also have a common thing.

lordmata

Hastebin not saving files for some reason, here's pastebin https://pastebin.com/raw/zBAymwPQ

Zren

device.form_factor = "headset" device.icon_name = "audio-headset-usb" Hmm, I'll probably check PulseObject.properties['device.form_factor'] === 'headset'. Thanks for helping debug this!

lordmata

No problem, keep up the good work!

Zren

When you paste the output of the 'pacmd list-sinks | grep 'name:' command, make sure to remove the "greater than" and "less than" glyphs before submitting as OpenDesktop strips out the text inside. Eg: name: alsa_output.pci-0000_00_14.2.analog-stereo alsa_output.pci-0000_00_14.2.analog-stereo

tuxg0d

10 been using it for years, best volume applet for plasma desktop

vaxxipooh

1 Totally crap .

Zren

As in it doesn't work for you, or you just don't like the design?

mozo

10 10 the best

bernieinnocenti

9 Ergonomic, featureful, configurable, and nice visual design.

mirkogennari

10 10 the best

Pling
0 Affiliates
Details
license GPLv2 or later
version 26
updated
added
downloads 24h 1
mediaviews 24h 0
pageviews 24h 0

More Plasma 5 Multimedia from Zren:

Volume Slider
Zren
last update date: 7 years ago

Score 6.4

Other Plasma 5 Multimedia:

PlayBar2
audoban
last update date: 8 years ago

Score 8.4

MPD Now Playing
marcel83
last update date: 4 years ago

Score 6.1

PlasmaTube
zanturik
last update date: 2 years ago

Score 7.6

MCWS Remote Control Plasmoid
noee
last update date: 2 years ago

Score 6.1

Audio Device Switcher
andik92
last update date: 4 years ago

Score 7.4

Simple Radio Player
Vardaleb
last update date: 7 years ago

Score 7.3