-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some media keys cannot be re-assigned because Gnome Settings Daemon maps them statically #376
Comments
Can you assign any custom keyboard shortcuts? They don't seem to work for me at all. |
Yes, all other custom shortcuts work fine for me; see the description in the issue where setting |
I've found the cause of this problem. Apparently, in Gnome Settings Daemon, there were bindings for the brightness keys named
After removing these static shortcuts, it is neccessary to log out and back in again I've also verified that this solves the problem @sirsleon had in #378 where it was not possible to assign the
On could wonder why these static, non-rebindable things exist in the first place. I found this rather heated discussion that got shut down by the maintainers over at the Gnome Settings Daemon issue tracker where people were running into similar problems. Apparently rebinding these statically bound keys will not be supported officially, and apparently is a Bad Idea™; I could not follow why it would be a bad idea to rebind some of these media keys. The full list of statically-bound keys is:
This means that the above keys or key-combinations will not be able to be remapped to something else. It is unclear to me what kind of problem this is trying to prevent, so I'm going to go ahead and propose a solution for this:
People over at Gnome Settings Daemon and Gnome Control Center have filed several issues where solutions are being proposed but none are being accepted over there:
I will try to work up the above solution to see if this is something that elementaryOS would like to enable. |
What Happened
I'm on a desktop computer with one external monitor. I have a keyboard that has brightness up/down keys. I want to assign these keys to a script that I made that send DDC commands to my monitor to change the brightness. This script works fine if I assign, for example,
ctrl
+brightness up
andctrl
+brightness down
, but not thebrightness up
andbrightness down
keys on their own. The script simply does not run.Expected Behavior
I'd like to be able to assign my
brightness up
andbrightness down
keys to a custom script.Steps to Reproduce
To make it simple, let's assign a shortcut key to the command
notify-send Hello "This is a test"
:notify-send Hello "This is a test"
with shortcut keyMonBrightnessUp
.ctrl
+MonBrightnessUp
ctrl
+MonBrightnessUp
; the script runs and we see the notification.Logs
I don't have any logs for this.
Platform Information
ElementaryOS 6 stable. This problem was also present in elementaryOS 5.1.7 that I was using previously.
The text was updated successfully, but these errors were encountered: