You are not logged in.

#1 2016-01-25 15:59:35

cubethethird
Member
Registered: 2016-01-25
Posts: 99
Website

Gnome keyboard shortcut incorrectly changing volume

I have added a custom shortcut to the gnome keyboard settings, with the following command:

pactl set-sink-volume 0 100%

Running this command in the terminal executes as expected, setting the pulse-audio volume to 100%
When, however, I press the shortcut key, it instead sets the volume level to 0.
I have also tried a few variants on this command, without success.

If it is relevant, I bound it to Shift+F12.

Any thoughts?

Offline

#2 2016-01-29 02:23:50

cubethethird
Member
Registered: 2016-01-25
Posts: 99
Website

Re: Gnome keyboard shortcut incorrectly changing volume

Well I've found a bit of a way around this. Seems (for some reason) gnome keyboard doesn't like (I assume) percentages, so I opted instead to use decimal values. What I don't understand though are how the values relate to the percentages. I used ~0.13 to map to 50%, and ~0.97 to map to 100%

Offline

Board footer

Powered by FluxBB