11

In older versions I used to comment out osd.show(percent) in the functions increaseVolume and decreaseVolume in the file /usr/share/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml (blog source). But that file does not exist anymore in Plasma 5.13. Is there an other way to disable it?

enter image description here

Hauke Laging
  • 88,146
  • 18
  • 125
  • 174
MatMis
  • 523
  • 2
  • 7
  • 18
  • 1
    Not sure if useful, but I modify the OSD to make it smaller and persist for less time. I patch the files in `/usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/osd`. – Sparhawk Dec 18 '18 at 23:17

2 Answers2

3

Right-click the volume icon in the tray

enter image description here

and select Configure KMix….

enter image description here

Unselect Show On Screen Display (OSD) then click OK (or Apply).

This is equivalent to editing ~/.config/kmixrc and adding the line:

showOSD=false
Sparhawk
  • 19,561
  • 18
  • 86
  • 152
  • P.S. I have no idea why my fonts, etc., are cropped like that. – Sparhawk Apr 18 '19 at 08:34
  • 3
    When I right-click the volume icon I don't have the `Configure KMix` option. The only option I have is `Configure Audio Volume...`. – MatMis Apr 22 '19 at 09:49
  • @MatMis I added a screenshot for when right-click the icon. What version of plasma are you on now? I'm using 5.15.4. I also wonder if your volume icon is not actually kmix, but something else. – Sparhawk Apr 22 '19 at 10:13
  • @Sparkhawk I'm also using KDE 5.15.4 (on Antergos). – MatMis Apr 22 '19 at 12:33
  • @Sparkhawk My screenshot [here](https://i.imgur.com/UFL8rWU.png) – MatMis Apr 22 '19 at 12:37
  • Aha, [this issue](https://bbs.archlinux.org/viewtopic.php?id=201805) with two volume icons in the tray was what I was thinking of. The one that you are using is `Audio Volume`. If you right-click on the tray arrow, click `Configure System Tray…`, you can see it in the `General` tab. The "proper" one is in the `Entries` tab, and called `Volume Control`. I don't think you can totally hide it, so it might be in the tray arrow overflow? – Sparhawk Apr 22 '19 at 13:30
  • It's not in [here](https://i.imgur.com/UWjwYFB.png) and not in [here](https://i.imgur.com/4Ccx0At.png) – MatMis Apr 22 '19 at 17:05
  • Hmm… I'm not sure, but is `kmix` actually running? Try `ps aux | grep '[k]mix'`? If not, then try `$ kmix`? – Sparhawk Apr 23 '19 at 10:10
  • Yes, kmix is not running, so it is not possible to configure it from tray. I have the same issue. – puchu Oct 21 '19 at 08:15
  • I have `kde-apps/kmix` not installed. – puchu Oct 21 '19 at 08:15
  • 1
    For me in `Plasma 5.21.2` it was `Configure Audio Volume...` and then `Show visual feedback for changes to:`. Then uncheck `Audio volume` and `Mute state` – hrvoj3e Mar 12 '21 at 10:45
1

what you gotta do is right click the speakers tray icon and then click audio volume after that uncheck audio feedback and you're good to go

  • Please add the kde-plasma version for which your trick can apply. (It was not possible on the version the OP was running… 4 years ago…) – MC68020 Aug 13 '22 at 15:28