4

I use some commands very frequently. Some of them are several keys combinations. And my fingers are not quite satisfied with them. So it looks usable for me to bind them to one-key commands.

For example, I want to map Ctrl+C function to F5 key (not killing Ctrl+C but adding one). What way is preferable for doing such binding in X11? I cant't find any.

drobnbobn
  • 141
  • 1
  • 3

1 Answers1

1

If you're under XFCE:

  1. install xdotool
  2. open the Xfce Settings Manager
  3. make the F5 key run xdotool getactivewindow key ctrl+c.

This will send CTRL-C to the currently focused/active window.

A.P.
  • 1,416
  • 9
  • 11