switchboard-plug-keyboard icon indicating copy to clipboard operation
switchboard-plug-keyboard copied to clipboard

Custom keyboard shortcut has no effect

Open elementaryBot opened this issue 8 years ago • 2 comments
trafficstars

Using the new Custom shortcuts in the Keyboard plug, I have set two shortcuts that have no effect when pressed:

xdotool key XF86MonBrightnessUp -> "Super+F4" xdotool key XF86MonBrightnessDown -> "Super+F5"

Even though these commands work as intended from Terminal, the keyboard shortcuts seem to fail to execute the commands. Logging out and back in makes no difference either.

Launchpad Details: #LP1458591 Thomas Azar - 2015-05-25 14:34:50 +0000

elementaryBot avatar Apr 06 '17 18:04 elementaryBot

Got this working using commands as follows

mate-terminal --geometry=0x0 --sync -e "bash -c 'sleep 0.05; xdotool key XF86MonBrightnessDown ; sleep 0.2 '" mate-terminal --geometry=0x0 --sync -e "bash -c 'sleep 0.05; xdotool key XF86MonBrightnessUp ; sleep 0.2 '"

You can replace "mate-terminal" with "gnome-terminal" or whatever you use.

Not perfect but better than nothing.

Launchpad Details: #LPC Ogilvierothchild - 2016-02-13 05:53:53 +0000

elementaryBot avatar Apr 06 '17 18:04 elementaryBot

Issue present on 8 Circe, on Wayland

cannot set any custom shortcut such as notify-send

teamcons avatar Oct 16 '24 17:10 teamcons