You are not logged in.
Hello there,
I've been playing around with the keyboard shortcuts that under Window Manager of the xfce4-settings-manager. I was wondering if it was possible to have more than one keyboard shortcut per action?
Thanks in advanced!
Disco
Offline
Thanks for your question, I just tried and it is possible, you have to use xfce4-settings-editor.
Look for the value you want to clone: In your case it's under xfce4-keyboard-shortcuts > xfwm4 > custom (or default).
In my test I used the default property "/xfwm4/default/<Alt>space", which has the value "popup_menu_key" (which is a string); then created a new property "<Super>m" (actually "/xfwm4/custom/<Super>m") with that same value ("popup_menu_key"). Now both shortcuts work!
Your newly created property will be in xfce4-keyboard-shortcuts > xfwm4 > custom.
I know that you can do this using the command line and xfconf-query, and maybe there's a better way, but I hope this helps...
Offline
I just tried this with tile_left_key and I can't get it to accept two keys. I'm using xfce 4.12. Does this trick not work any more?
Offline
I just tried again on xfce 4.16 and the solution by alcornoqui seemed to work fine, but then I realized that although the key was created, only one of the two hot-keys actually did anything. Does anyone have a work around?
My question on stack exchange links here too:
https://unix.stackexchange.com/question … 839#560839
Last edited by poleguy (2022-10-12 18:52:51)
Offline
You can use xdotool for the second shortcut to emit the first shortcut combination. For example:
set ctrl+alt+right to the swtich to right workspace
In Settings Manager > Keyboard > Application Shortcuts, create a new shortcut to the command;
xdotool key Ctrl+Alt+Right
...and assign it the Ctrl+Alt+Page_Up shortcut.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 534.05 KiB (Peak: 534.89 KiB) ]