1

If I look under Settings >> Keyboard >> Shortcuts, I don't see anything related to Control-C, -X or -V. Where are they defined? And how? Suppose I want to change their actions to some other shortcut key, how would I do it?

With help in the comments, I am able to define a hotkey to do the paste action using xdotool: xdotool key --clearmodifiers ctrl+shift+v.

In addition, I would like to add a script: xdotool key --clearmodifiers ctrl+shift+v && some_script. That fails, but with further help from the comments, I'm finding that /bin/bash -c "xdotool key --clearmodifiers ctrl+shift+v && some_script" does work!

Diagon
  • 470

0 Answers0