How to bind the super/mod/windows key to a custom command

janw

I tried to add it in the default shortcuts application but it just won't accept super on it's own. It will accept Super + X But I just want to override the super key.

I'm using Mate so no Unity conflict.

I tried searching and did found a few very specific work around but none with the super key and a custom command/script.

Example what I want is:

Press Super
Do bash ~/rearange_windows.sh --all

ijustlovemath

You can use xbindkeys

Put your command with a "release" event into ~/xbindkeysrc.

For more info, see man xbindkeys.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to bind a key combination to a command?

From Dev

tmux: how to bind a key to launch shell command?

From Dev

How to bind element Content to custom Command property

From Dev

Bind a key to command that reads stdin

From Dev

Bind key to custom script in feh

From Dev

xbindkeys does not bind xdotool key command for a key

From Dev

How do I bind a command to a double key press (key chain) in Openbox?

From Dev

How to bind exit to a key?

From Dev

How to bind a command to a button

From Dev

Eclipse: bind Command key to show SVN annotations

From Dev

Bind a key to newline in Bash, without submitting command

From Dev

Bash - Bind command not working with alt key combination

From Dev

Custom key-bind functionality in curses

From Dev

How can I bind my capslock key to a fish shell command, and disable its toggle-caps functionality?

From Dev

How can I bind my capslock key to a fish shell command, and disable its toggle-caps functionality?

From Dev

Tkinter : How to bind parentheses key

From Dev

How to bind command into ContextMenu in DataTemplate

From Dev

How to bind a command to the # symbol in zathura

From Dev

Use Mac OS command key in bash's bind command

From Dev

awesome wm - how to bind a key to another key

From Dev

How to bind custom events in AngularJS?

From Dev

How to bind an array to custom indexer?

From Dev

Bind key prefix + ; to open command-prompt in tmux

From Dev

How to bind the 'Enter key' in Bash readline?

From Dev

How to bind a combobox with Foreign Key in WPF MVVM

From Dev

How to bind the Enter key to a button in Tkinter

From Dev

Xmonad, how to bind a key to running a shell script?

From Dev

How to bind different entries to Return key

From Dev

How to bind the 'Enter key' in Bash readline?

Related Related

  1. 1

    How to bind a key combination to a command?

  2. 2

    tmux: how to bind a key to launch shell command?

  3. 3

    How to bind element Content to custom Command property

  4. 4

    Bind a key to command that reads stdin

  5. 5

    Bind key to custom script in feh

  6. 6

    xbindkeys does not bind xdotool key command for a key

  7. 7

    How do I bind a command to a double key press (key chain) in Openbox?

  8. 8

    How to bind exit to a key?

  9. 9

    How to bind a command to a button

  10. 10

    Eclipse: bind Command key to show SVN annotations

  11. 11

    Bind a key to newline in Bash, without submitting command

  12. 12

    Bash - Bind command not working with alt key combination

  13. 13

    Custom key-bind functionality in curses

  14. 14

    How can I bind my capslock key to a fish shell command, and disable its toggle-caps functionality?

  15. 15

    How can I bind my capslock key to a fish shell command, and disable its toggle-caps functionality?

  16. 16

    Tkinter : How to bind parentheses key

  17. 17

    How to bind command into ContextMenu in DataTemplate

  18. 18

    How to bind a command to the # symbol in zathura

  19. 19

    Use Mac OS command key in bash's bind command

  20. 20

    awesome wm - how to bind a key to another key

  21. 21

    How to bind custom events in AngularJS?

  22. 22

    How to bind an array to custom indexer?

  23. 23

    Bind key prefix + ; to open command-prompt in tmux

  24. 24

    How to bind the 'Enter key' in Bash readline?

  25. 25

    How to bind a combobox with Foreign Key in WPF MVVM

  26. 26

    How to bind the Enter key to a button in Tkinter

  27. 27

    Xmonad, how to bind a key to running a shell script?

  28. 28

    How to bind different entries to Return key

  29. 29

    How to bind the 'Enter key' in Bash readline?

HotTag

Archive