[Solved] Editing or Disabling the Volume Meter/ OSD/ Pop-Up

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Onsen

[Solved] Editing or Disabling the Volume Meter/ OSD/ Pop-Up

Post by Onsen »

Solution:
w009 wrote:Assigned to Volume Up key: XF86AudioRaiseVolume

Code: Select all

sh -c "pactl set-sink-mute 0 false ; pactl set-sink-volume 0 +1%"

and to Volume down key XF86AudioLowerVolume

Code: Select all

sh -c "pactl set-sink-mute 0 false ; pactl -- set-sink-volume 0 -1%"
I used 3% though. It feels more responsive that way.
------------------------------------------------------------------------------------------------------------------------
Problem:

I tried searching the Internet for how to disable the OSD, but that [url=http://forums.linuxmint.com/viewtopic.php?f=206&t=115439]usually[/url] was [url=http://forums.linuxmint.com/viewtopic.php?f=90&t=124896]quite fruitless[/url]. Best answer I could find somewhere was also the worst, because the quintessence was, it can't be done and I shouldn't try. But everytime I'm watching a movie I'm reminded that I want it to be done and that I need to try.

So here I am. I want this pop-up disabled.

[img]http://i.imgur.com/s4i7dPy.jpg[/img]

At the very least I want to edit it to pop up somewhere that isn't the middle of the screen and to be much, much smaller. After all, the information is kind of neat. Only, 180x100px is way too big.


Additionally, it would be cool to go beyond "100%", like you can in the [url=http://i.imgur.com/tFahJU5.jpg]Sound Preferences[/url].

Any ideas where to look to get this done?

------------------------------------------------- 2013-09-27 ---
Found a bunch of pictures that resemble the one I want to get rid of under /usr/share/icons/gnome/48x48/status
[img]http://i.imgur.com/uxAkHoQ.png[/img] [img]http://i.imgur.com/7hOK7yl.png[/img] [img]http://i.imgur.com/dLJmK2g.png[/img] [img]http://i.imgur.com/yi2ezcZ.png[/img]

Didn't find the one bothering me, though. So that approach didn't work out.

------------------------------------------------ 2013-09-28 ---

-- history of what I checked to no avail
------- search term: "linux volume pop-up"
2013-02 - http://forums.linuxmint.com/viewtopic.php?f=90&t=124896
2010-01 - http://ubuntuforums.org/showthread.php?t=1389001&p=9307325#post9307325
------ search term: "disable volume meter linux"
2009-11 - http://ubuntuforums.org/showthread.php?t=1314578
------ search term: "linux disable volume osd"
2013-09 - http://forums.linuxmint.com/viewtopic.php?f=18&t=144277
2013-07 - http://askubuntu.com/questions/322345/disabling-removing-volume-notification-in-ubuntu-12-04
2008-01 - http://ubuntuforums.org/showthread.php?t=816791
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
TheDynamicHamza21
Level 5
Level 5
Posts: 798
Joined: Thu Oct 04, 2012 7:24 pm
Location: California
Contact:

Re: Editing or Disabling the Volume Meter/ OSD/ Pop-Up

Post by TheDynamicHamza21 »

You posted in wrong section this is not MATE problem it's a Cinnamon problem. Mate doesn't have volume notification by default in the middle of the screen.

http://forums.linuxmint.com/viewtopic.php?f=90&t=126157
Linux Registered User: # 573034

Hamza21.com
Onsen

Re: Editing or Disabling the Volume Meter/ OSD/ Pop-Up

Post by Onsen »

I don't have Cinnamon, though. I have Linux Mint 13 with Mate.

But maybe it's not a Mate thingie, because I remember having this Volume Meter back with Gnome 2.0. And even before that, I vaguely remember having this with KDE 3.x around 2006. Only it never bothered me, because until recently, I never used these keyboard shortcuts.
TheDynamicHamza21
Level 5
Level 5
Posts: 798
Joined: Thu Oct 04, 2012 7:24 pm
Location: California
Contact:

Re: Editing or Disabling the Volume Meter/ OSD/ Pop-Up

Post by TheDynamicHamza21 »

so your problem is that everytime you use a shortcut to raise the volume the volume meter displays in the middle of screen? I hate state the obvious but don't use the shortcut and your annoyance will disappear.
Linux Registered User: # 573034

Hamza21.com
Onsen

Re: Editing or Disabling the Volume Meter/ OSD/ Pop-Up

Post by Onsen »

Obviously that isn't the solution I'm looking for, because I want to use shortcuts. Or maybe there are other shortcuts to control sound that won't cause the volume meter to pop up?

I'm using a remote for watching movies on my pc. (It's really only one of those ultra small keyboards.) Not using shortcuts would defeat the point of owning this remote.
User avatar
igoru-san
Level 1
Level 1
Posts: 19
Joined: Mon Jul 14, 2008 9:30 am
Location: Rio de Janeiro - Brazil
Contact:

Re: Editing or Disabling the Volume Meter/ OSD/ Pop-Up

Post by igoru-san »

I would add here that my current issue with MATE is even worse, because my volume OSD looks like this:

[url=http://img22.imageshack.us/i/dfoo.png/][img]http://img22.imageshack.us/img22/1535/dfoo.th.png[/img][/url]

As you can see by the text size, it's pretty huge (aka 1/3 of the screen height) and quite annoying. I've noticed it has nothing to do with the desktop theme, such as controls or icons (although changing the icon pack changes the icon in the middle, but the transparency or size does not change).
Onsen

Re: Editing or Disabling the Volume Meter/ OSD/ Pop-Up

Post by Onsen »

That's pretty harsh.

But you're right, it's style changes with the theme. "Colors" also affects the OSD,.. that's probably where your transparency is coming from (Windows, Background)? As for the huge icon... maybe you somewhere (caja?) specified to use huge icons. Because under /usr/share/icons/gnome-wise/scalable/status/audio-volume* I found your exact icon. [url=http://i.imgur.com/VHR0cRq.jpg]<klick1>[/url] Deleting that affects my OSD. (Needed to select something else under "Icons" and then reselect GNOME-Wise to see the effects.)

[img]http://i.imgur.com/QuH6ein.jpg[/img]

Wonder if I can change the icon to something else using inkscape, because it's a vector graphic..

[img]http://i.imgur.com/XNBQPks.jpg[/img]

I can,... but it's pointless,.. I need to change the size of the background frame. Any ideas?

-----------------------------------
EDIT: Interestingly, after reboot it looks like this:
(I deleted the icon and changed the background from 48*48 to 10*2)

[img]http://i.imgur.com/X7jHrpa.jpg[/img]
w009

Re: Editing or Disabling the Volume Meter/ OSD/ Pop-Up

Post by w009 »

Hi,
I have found a solution, and I want to share it. I post here because this thread seems to be the most recent with similar question.

I am not sure that will work for you because I have XFCE4 (debian with xfce). But the problem was almost the same, and beside this when any application was using sound, the notification popup was appearing...

I have managed to solve my problem in a way. Initially I linked this problem with system notification daemon ( in my case xfce4-notifyd ). Only this is not related to the notification daemon but to the volume change daemon. For XFCE, according to https://wiki.archlinux.org/index.php/xfce#Xfce4-volumed, xfce4-volumed is daemon that maps keyboard volume keys to audio mixer.

I tried and killed the xfce4-volumed daemon then tested. Volume change notification is not appearing anymore - good, but with this my laptop volume keys don't work also.

I have done the following:

I disabled XFCE Volume Daemon from "Application Autostart" in "Session and Startup" ( can be launched by executing xfce4-session-settings in terminal)

Assigned to Volume Up key: XF86AudioRaiseVolume

Code: Select all

sh -c "pactl set-sink-mute 0 false ; pactl set-sink-volume 0 +1%"

and to Volume down key XF86AudioLowerVolume

Code: Select all

sh -c "pactl set-sink-mute 0 false ; pactl -- set-sink-volume 0 -1%"
Now I can work in peace while listening to the music , notification is not stealing my attention anymore :)
Onsen

Re: Editing or Disabling the Volume Meter/ OSD/ Pop-Up

Post by Onsen »

Reassigning the shortcuts worked for me. Many Thanks!
Onsen

Re: [Solved] Editing or Disabling the Volume Meter/ OSD/ Pop

Post by Onsen »

Update

I did a fresh install recently to Mint 17.2 Rafaela. Now this solution doesn't work anymore.

Code: Select all

$ sh -c "pactl set-sink-mute 0 false ; pactl set-sink-volume 0 +1%"
Failure: No such entity
Failed to get sink information: No such entity
Changing the commands to..

sh -c "pactl set-sink-mute 1 false ; pactl set-sink-volume 1 +1%"
and
sh -c "pactl set-sink-mute 1 false ; pactl -- set-sink-volume 1 -1%"

..solved the problem.
User avatar
alinoe
Level 1
Level 1
Posts: 6
Joined: Mon Sep 07, 2015 6:01 am

Re: [Solved] Editing or Disabling the Volume Meter/ OSD/ Pop

Post by alinoe »

I'm running Mate 1.10.0
on LMDE 2 Betsy

This last solution didn't work out for me
even by changing the syntax

what makes the trick for me
is calling amixer
with those commands:

Code: Select all

amixer set Master 2%+
amixer set Master 2%-
amixer set Master toggle
it works fine
and the huge volume notification does not pop up

I used to do that too on xfce with Xuxuntu
Locked

Return to “MATE”