Closed mildly-useful closed 9 months ago
@mildly-useful I don't understand what's causing this problem. I'll make a PR, please test it when it's ready.
@mildly-useful Please test these changes: #5354 particularly the lines 1223-1226:
Main.keybindingManager.removeHotKey("raise-volume");
Main.keybindingManager.removeHotKey("lower-volume");
Main.keybindingManager.removeHotKey("volume-up");
Main.keybindingManager.removeHotKey("volume-down");
Thanks for the response! I am still a Linux newbie, so I don't know 100% what I'm doing, but I did this. I disabled Sound and Sound150, then I removed the original applet.js from "/home/username/.local/share/cinnamon/applets/sound150@claudiux/5.4" and replaced it with the one from this location, which I assume it's the file with your new changes:
Then I enabled Sound150 again. It still makes no difference though. And I still have to rebind the Volume Up and Volume down keys in order for them to work at all (even if the binds are still there). I wonder, what could make this not work properly on my system?
I also just tested it on a live USB (Mint 21.2 Edge Cinnamon). Same thing, it also doesn't work there. So, apparently, it's not related to something I have installed on my system. Is it my hardware? I will post my System Info bellow, as well as an image showing my keyboard shortcuts related to the volume.
System:
Kernel: 6.2.0-39-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.8.4 tk: GTK 3.24.33
wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
Type: Desktop System: bluechip AG product: N/A v: N/A serial:
@mildly-useful #5354 Please try new version of applet.js
and settings-schema.json
files, in 5.4 folder. Restart Cinnamon then modify keybindings at the bottom of this applet settings.
Maybe remove your shortcuts defined in Cinnamon settings.
Please tell me if that solves your problem.
@mildly-useful Any news?
Yes, with the two new files, it now works properly. It increments by how much I set it and the OSD information is also displayed. I had to remove the bindings from the Cinnamon shortcuts though. Only with the shortcuts set from the applet it works properly. Thanks so much for the new update! Should I close this issue?
Great! This issue will be automatically closed when I merge this PR #5354. Maybe you can increment the score of this applet? https://cinnamon-spices.linuxmint.com/applets/view/306
Done! Thanks again.
Applet version/Build date
Version 4.6.0 (2023-12-25 12:27:12)
Cinnamon version
5.8.4, theme Mint-Y-Dark-Aqua
Distribution
Mint 21.2 kernel 6.2.0-39-generic
Graphics hardware and driver used
Nvidia GTX 1050 (2GB), Driver version 535.129.03 (Proprietary)
Applet name and maintainer
sound150@claudiux @claudiux
What happened?
The feature that lets you change the volume increment percentage only works if I hover my mouse over sound150 in the panel tray, and use the scroll wheel to alter the volume. OSD information is also displayed correctly. However, the Volume Up and Volume Down shortcuts from the Keyboard > Shortcuts menu in Mint, in the Sound and Media section, do not alter the volume by the percentage I set. It's always the default 5%. For reference, I bound those volume shortcut keys to CTRL + PGUP and CTRL + PGDN, not that I think it would matter.
Other information
My enabled applets (on two panels): Applauncher, Color Picker, Pomodoro Timer, Simple Memory Monitor, Sound 150, Weather, Calendar, Corner Bar, Keyboard, Menu, Network Manager, Notifications, Panel Launchers, Power Manager, Separator, System Tray, Window List, Windows Quick List, Workspace Switcher, Xapp Status applet. I also disabled the system Sound in order to use Sound150 exclusively.
Another random note: after disabling "Sound" from the panel, and putting "Sound150" in its place, I have to clear and rebind the Volume Up and Volume Down shortcuts in order for those specific shortcuts to work at all. I only have to do this once, after enabling Sound150 and disabling Sound. But, the fact that the increment percentage isn't working correctly is still the main problem.
A screenshort of my Sound150 settings: