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.

bumped to the homepage by Community yesterday

This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

  • What WM/DE are you using? – A.P. Oct 12 '15 at 21:00
  • @A.P. Xfce 4.12 – drobnbobn Oct 12 '15 at 22:10

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.