Bug 372792 - Change volume via mouse wheel (scrolling) on kmix symbol in smaller steps (e.g. 1% instead 7%)
Summary: Change volume via mouse wheel (scrolling) on kmix symbol in smaller steps (e....
Status: RESOLVED WORKSFORME
Alias: None
Product: kmix
Classification: Applications
Component: KMix Panel Docking (show other bugs)
Version: unspecified
Platform: Mint (Ubuntu based) Linux
: NOR wishlist
Target Milestone: ---
Assignee: Christian Esken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-22 15:47 UTC by stu109382
Modified: 2017-07-14 00:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stu109382 2016-11-22 15:47:06 UTC
I can change the volume of my PC by moving the mouse over the volume symbol in the system tray (KMix I think?). Scrolling over this icon changes volume, which is quite handy.

Sadly the amount of the change is set to 7% which is quite a huge step. When I listen to music I have around 25% volume in total.

My questions are:
  1. Can one configure the step value from 7% to 1%? So that the volume changes one percent after the other.
  2. If there is no such option, why not just setting the default to 1%? Scrolling can be done fast. So having a more fine grained control is better than huge steps.
Comment 1 Rog131 2016-11-22 17:07:19 UTC
A possible dublicate of https://bugs.kde.org/show_bug.cgi?id=189995


With the KMix 16.08.3 (KF5) it is possible to set the step by

1) Stop kmix: kquitapp5 kmix
2) Set the step to 1%: kwriteconfig5 --file kmixrc --group Global --key VolumePercentageStep 1.0
3) Restart the kmix with the command: kmix

Older from the KDE Forums - with the KDE4: https://forum.kde.org/viewtopic.php?f=19&t=92925

Same kind of with the plasma-pa: https://www.reddit.com/r/kde/comments/3kmpe5/how_do_i_change_the_volume_step_percentage_with/
Comment 2 stu109382 2016-11-25 12:08:35 UTC
It seems I'm not using KMix but the kde5 plasmoid volume applet.
So, the last link you provided explains a working solution for me:
    in /usr/share/plasma/plasmoids/org.kde.plasma.volume/contents/ui/ListItemBase.qml
     in the method increaseVolume() and decreaseVolume() change
     var step = slider.maximumValue / 15;
     to
     var step = slider.maximumValue / 100;
This will change the value in 1% steps. Logout and login again to have changes take effect.

If I wanted to make this configurable in the UI of the plasmoid's settings, where would I do this and is this easy or not? I think such an option would be useful.

Anyway, this ticket can be closed.
Thx.