Sound 150%

UUID: sound150@claudiux
Last edited:
5 days ago 2023-05-29, 03:42
Last commit: [2b538067] [sound150@claudiux ] v3.1.0 - Fix deprecation error (#4860)

An applet, based on the Cinnamon one, to control sound (up to 150% of nominal volume) and music

README

Close

Sound 150%

Summary

This sound150@claudiux applet is an improvement of the sound@cinnamon.org applet.

An option allows you to control the volume up to 150% of its nominal value.

The icon and the slider are coloured according to the volume when it is greater than 100%.

A mark on sliders signals the '100%' position of volume.

From 0 to 100%: standard icons.

sound_150_079 sound_150_100

From 101 to 115%: yellow icon.

sound_150_115

From 116 to 130%: orange icon.

sound_150_130

From 131 to 150%: red icon.

sound_150_150

Note that the icons are those of the system.

An option in settings allows you to don't display colors.

Usage

  • In the settings (accessed by right-clicking on the icon), the Maximum volume control option sets the percentage of nominal volume you want to limit the maximum volume. Possible values are between 30% and 150%. From Cinnamon 4.4, Cinnamon Settings are used to set this value.

sound_150-settings

Use with caution. Above 120%, saturation can make the sound very unpleasant, even agressive.

In a meeting room or classroom, it is often useful to be able to increase the volume beyond 100%.

On the computer of a child, reduce the maximum volume possible to take care of his hearing... and yours!

  • You can also choose the value of incrementation/decrementation (+/-) of the volume (in % of nominal volume).

  • If you don't want colors, an option allows you to keep the standard color.

Cinnamon versions

Tested successfully on Cinnamon v2.8 to v4.6 (Linux Mint 17.3 to 20).

Does not work on Cinnamon prior to v2.8 (Linux Mint prior to 17.3).

Themes

Tested on themes :

  • Cinnamon
  • Carta
  • CBlack
  • Graphite-Zero
  • Linux Mint
  • Mint-X (all themes)
  • Mint-Y and Mint-Y-Dark
  • Modern-Mint-2017
  • New-Minty
  • Numix-Cinnamon and Numix-Cinnamon-Transparent
  • Spider-Void
  • Void
  • Zukitwo-Cinnamon

Translations

The Sound 150% applet is designed to allow translations of some messages (initially in English). A .pot template file is available, you can use it with software such as poedit to translate these messages.

The installation of the available languages is done automatically.

Language Code Authors
Danish da Alan01
Spanish es claudiux
French fr claudiux
Italian it claudiux, Dragone2
Russian ru @sem5959
Swedish sv eson57

Many thanks to all of these Authors!

Any new translation is welcome.

Contributors

Many thanks to Rodrigo-Barros for his patch allowing to show the Spotify-player album art!

CHANGELOG

Open

Log In To Comment!

61 Comments

PlateauRealm
PlateauRealm-3 months ago
Is there a text configuration file that references or maintains the positional setting of the slider control between reboots? I would like to read that value into a bash script variable. Is this possible?
claudiux
claudiux-3 months ago
https://unix.stackexchange.com/questions/32206/set-volume-from-terminal On my computer, with pulseaudio installed: $ pactl get-sink-volume 1 returns: Volume: front-left: 49118 / 75% / -7,51 dB, front-right: 49118 / 75% / -7,51 dB balance 0,00
PlateauRealm
PlateauRealm-3 months ago
This is a portion of the script that I am developing: #The Sound 150% Volume Control applet, if installed, can be adjusted to allow for exceeding the 100% volume level. #The Sound150 variable below is set to match the slider button positional value set in the Sound 150% app. Sound150=120 #Test for Sound 150% applet installation. If applet is not installed, set max_vol_limit to 100 if [[ -d "/home/$USER/.local/share/cinnamon/applets/sound150@claudiux" ]]; then max_vol_limit=$Sound150 else max_vol_limit=100 fi
PlateauRealm
PlateauRealm-3 months ago
BTW, on my system, pactl get-sink-volume 0 gives me the current default sink volume that the system tray volume setting controls. The setting that I am looking for, though, that I would like to reference, is not the current volume setting of 60%, but the max allowable volume button positional marker setting of 120% that I have set in Sound150. Unfortunately, this comment section does not allow for uploading of screen captures to more clearly detail what I mean.
claudiux
claudiux-3 months ago
To get the maximum volume allowed: $ gsettings get org.cinnamon.desktop.sound maximum-volume
TomDC777
TomDC777-7 months ago
Could you make it so that the menu lets you choose your audio output without launching settings? https://github.com/linuxmint/cinnamon-spices-applets/issues/4531 Thanks!
claudiux
claudiux-7 months ago
Please right-click on the applet icon.
David Martinka
David Martinka-2 years ago
Very nice improvement on the default sound applet. This should be merged in to the default sound applet!
claudiux
claudiux-2 years ago
Version 2.0.0 of sound150@claudiux is here, with many improvements ! Enjoy it!
Ducvoccer
Ducvoccer-2 years ago
Can you add short cut to increase and decrease volume? such as: ctrl + up to increase and ctrl + down to decrease.
claudiux
claudiux-2 years ago
Maybe you can use the system shortcuts: System Settings -> Keyboard -> Shortcuts tab -> Sounds and media I prefer not to add a shortcut in this applet, which could interfere with those of the system.
Ducvoccer
Ducvoccer-2 years ago
But as you know, system shortcuts only control 0-100% volume sound.
claudiux
claudiux-2 years ago
You are right! I'll see what I can do with this applet or with Cinnamon.
Ducvoccer
Ducvoccer-2 years ago
yes, thank you. I'm looking forward to enjoying.
claudiux
claudiux-2 years ago
Enjoy ! Now, with sound150@claudiux v2.0.0, system shortcuts control 0-150% volume sound.
Lucero Alvarado
Lucero Alvarado-2 years ago
Hi! Is it normal if it doesn't show the album art cover for spotify? thanks
claudiux
claudiux-2 years ago
I do not use spotify. I will try it.
claudiux
claudiux-2 years ago
Spotify tried. Effectively, the album art cover is not displayed.
claudiux
claudiux-2 years ago
Now, sound150@claudiux v2.0.0 shows the album art cover for Spotify player.
xzj8b3
xzj8b3-2 years ago
It seems to create problems at startup with Cinnamon 4.6.5, which is a shame because the extension is comfortable!
claudiux
claudiux-2 years ago
It works fine, on my computers, with Linux Mint 20 and Cinnamon 4.6.5. Are you sure to have the latest version of sound150? Please try to download it again using Spices Update (open Spices Update settings, Applets tab, check both boxes for sound150, then click on Refresh button).
ChooChooAl
ChooChooAl-2 years ago
Doesn't work in the new Linux Mint 20 Beta Cinnamon. Not that this won't change but heads up.
ChooChooAl
ChooChooAl-2 years ago
Message when attempting to add to my panel is that it's not compatible with my version of Cinnamon. It does download and allow me the option to add to panel.
claudiux
claudiux-2 years ago
This is fixed. Please use SpicesUpdates (https://cinnamon-spices.linuxmint.com/applets/view/309) to update this applet, to be sure to get the latest version.
kryptto
kryptto-3 years ago
I really enjoy this app, however upgraded to 19.3 getting error in Looking Glass log. When you can, please update, and thanks!
claudiux
claudiux-3 years ago
Thank you! The desired update is now available. You can use Spices Update to be sure to download the latest update of sound150.
claudiux
claudiux-3 years ago
Many thanks to Dragone2 for the new Italian translation!
awsms
awsms-3 years ago
Hi Claudiux, thanks for your work. The applet doesn't work with the last version of Cinnamon (4.2.3) on Mint 19.2
claudiux
claudiux-3 years ago
This applet is now compatible with Cinnamon 4.2
Nitrooo
Nitrooo-3 years ago
In the applets store I'm still getting the old "1.5.2" version.
claudiux
claudiux-3 years ago
Use Spices Update v4.0.1 (or following) to no longer have this kind of inconvenience. https://cinnamon-spices.linuxmint.com/applets/view/309 Please look at the comments to know how to download and install it manually: https://cinnamon-spices.linuxmint.com/applets/view/309#count
Nitrooo
Nitrooo-3 years ago
Added Spices Update and starred. Thank you very much for your good work.
claudiux
claudiux-3 years ago
Thank you Nitrooo!
Footbath666
Footbath666-3 years ago
I've never been able to get the sound applet, either this one or the standard one, to display album art on the panel. Any suggestions how I can get this to work? I usually have my music streaming from home network attached storage. Using XPlayer on 19.1 with Cinnamon 4.0.10.
claudiux
claudiux-3 years ago
Using XPlayer, I never seen any album art displayed. I use Rythmbox and this works well.
claudiux
claudiux-4 years ago
v1.5.2 - Now compatible with Cinnamon 4.0.10!
xzj8b3
xzj8b3-4 years ago
Not compatible with Cinnamon 4.0.10
claudiux
claudiux-4 years ago
Version 1.5.0 is here. New feature: Connect / Disconnect VPN with a single middle-click on the icon of this applet. Fixes a bug in Cinnamon 3.6: the correct script file permissions are set when starting this applet.
xzj8b3
xzj8b3-4 years ago
Not compatible with Cinnamon 4.0.10
claudiux
claudiux-4 years ago
v1.5.2 - Now compatible with Cinnamon 4.0.10!
claudiux
claudiux-4 years ago
Sorry, the "New feature" above doesn't concern this applet.
claudiux
claudiux-5 years ago
The 1.4.2 version of the Sound 150% applet is here.
claudiux
claudiux-5 years ago
sound150@claudiux v1.4.1 is here. The magnetic property of the 100% mark becomes optionnal. New translation: Danish. Many thanks to @Allan01!
Dannation
Dannation-5 years ago
Holy crap, I just realized there's an "Issues" button at the top of this page *facepalm*, I will move this to GitHub, sorry for the clutter!
Dannation
Dannation-5 years ago
Started having some odd behavior with my audio recently, and narrowed it down to this applet, which I love btw! While using the native linux Spotify app, when I would adjust the in app volume (scrolling on up on the volume control within the app), everything would be normal until I would make the final adjustment to max out the volume within the app. At that point, my global volume level would be instantly changed to 100%, regardless of what it was set to before (rip ears lol). I was removing various applets and what not trying to find the culprit, and I found that after removing the sound150 applet the behavior stopped. Since I love the applet and didn't want to give it up, I dug deeper, and ended up reading the change log which mentioned 100% volume being magnetic now. I found the relevant lines in sound150@claudiux/3.4/applet.js (lines 284-288) and commented them out, this has now fixed the issue for me. Sorry for the long comment, lol, this should probably have gone on GitHub, but I couldn't find the appropriate place to leave a bug report. Looking at the if statement I commented out, my assumption would be that one of the variables mentioned in there is somehow being referenced from Spotify rather than the applet. I'm sorry I can't be of more help, I'm sadly not a JavaScript guy, but hopefully this helps on some level. I really love this applet, and thank you good sir for the excellent work, I'm now forever addicted to having only 2% volume steps rather than 5% ones. :) Also, I'm running LInux Mint 18.3, Cinnamon 3.6.7, kernel 4.16 Thanks!
claudiux
claudiux-5 years ago
Hi @Dannation. Did you try to set the volume step at 1%? Normally, this cancels the magnetic effect, and allows you to fine-tune the sound volume. But I will make an option to cancel magnetic effect; it will be more elegant. Thank you for this report. Keep enjoying sound150 !
Feli Arana
Feli Arana-2 years ago
Hi! This weird thing is happening to me too. Sometimes when I'm on a call in Slack or whenever I volume up Spotify to 100% (tried lower values, 90% 50%, only happens when reaching 100%), general sound is increased to 100%... and yeah, rip ears lol
claudiux
claudiux-5 years ago
The version 1.4.0 of this applet is here.
claudiux
claudiux-5 years ago
The sound150 applet v1.3.4 is here. You can contribute, coding or translating, on https://github.com/claudiux/sound150#how-to-contribute. Thank you for your next contributions !
ahmed-elsayed2017
ahmed-elsayed2017-5 years ago
doesn't work with Linux Mint 17.3. Please, Fix it.
claudiux
claudiux-5 years ago
It's done ! You can update to v1.3.3 which is now available and compatible with Cinnamon 2.8 (Linux Mint 17.3).
claudiux
claudiux-5 years ago
The next version (1.3.3) of this sound150@claudiux applet will be compatible with Linux Mint 17.3. If you want to test it before its disponibility in the repository, these commands can help you: * mkdir ~/git * cd ~/git * git clone -b sound150 --single-branch https://github.com/claudiux/cinnamon-spices-applets.git sound150 Then, open your file manager (nemo), press the F3 key. In the left part, display your ~/.local/share/cinnamon/applets directory ; in the right part, display your ~/git/sound150/sound150@claudiux/files/ directory. Remove the sound150@claudiux directory in the left part, then replace it the one is in the right part. Restart Cinnamon. Enjoy !
claudiux
claudiux-5 years ago
**then replace it by the one which is in the right part.** Sorry
claudiux
claudiux-5 years ago
Ok, I will try to rewrite this applet for Linux Mint 17.3 (Cinnamon 2.8.8).
GNU / Linux
GNU / Linux-5 years ago
Помогу Вам!!!
claudiux
claudiux-5 years ago
Thank you very much! Your Russian translation is now included in version 1.3.2. Большое спасибо! Ваш перевод на русский язык теперь включен в версию 1.3.2.
GNU / Linux
GNU / Linux-5 years ago
Thank You - updated! I'm already on it at the time, I thought. Definitely will help You with this.
GNU / Linux
GNU / Linux-5 years ago
Здравствуйте! Хочу Вам сказать, что очень достойный ваш апплет если честно даже неожидал. Раньше использовал апплет (Sound with apps volume) решил протестировать вашу разработку, меня очень порадовал звук музыки. За что Вам очень сильно Благодарен, теперь буду использовать ваш апплет. Спасибо Вам за ваш достойный труд !!! Hello! I want to tell You that it is very worthy your applet to be honest did not expect. Used to use an applet (Sound with apps volume) decided to test your design, I was very pleased with the sound of music. For that You are very Grateful, now I will use your applet. Thank You for your decent work !!!
claudiux
claudiux-5 years ago
Thank you! You can now update to version 1.3.1, which is compatible with all themes. Please, could you translate in Russian the messages of this applet, using the file po/sound150@claudiux.pot and the poedit software? That would be very kind of you. Спасибо! Теперь вы можете обновить версию 1.3.1, совместимую со всеми темами. Пожалуйста, не могли бы вы перевести на русском сообщения этого апплета, используя файл po/sound150@claudiux.pot и программное обеспечение poedit? Это было бы очень мило с вашей стороны.
claudiux
claudiux-5 years ago
Please note that, by default, the maximum volume is set to 100% of nominal volume. You can change this in Settings... Make good use of it!