0

I want to set keyboard shortcut in Ubuntu 14.04
but it does not work properly.

I use CompizConfig Settings Manager > Commands
Rather than not work at all, sometimes it works.

When I use Alt to Key Binding, work is unstable.
So is Super, F1 and Shift.
But Ctrl is stable work.

The settings

Commands ~/Documents/Scripts/paste.sh
Key Bindings <Alt>v

paste.sh

xdotool keydown ctrl
sleep .1
xdotool key v key ctrl


Thank you.

  • 1
    that's because super F1 is already in use, in compiz, you need to use keybindings that aren't already in use, then it will work just fine – mchid Oct 11 '15 at 7:58
  • Thank you! I want to use Alt most. Alt is already in use too? – I_niche Oct 12 '15 at 2:29
  • I try using shift+alt+key, ctrl+alt+key, or shift+ctrl+alt+key instead. But don't work properly. If use alt or shift, then failed. – I_niche Oct 12 '15 at 5:00
  • I want to paste the content of the clipboard by Alt + v. – I_niche Oct 12 '15 at 6:48
  • I found the problem, also, you don't need a script to run, just enter the command in ccsm – mchid Oct 12 '15 at 7:20
0

Open ccsm:

ccsm &

Go to keyboard shortcuts and set the following command:

xdotool key ctrl+v

You will have to mess around with keybindings to find one that works. I tried F1 and it works fine. You cannot use ALT as far as I can tell because ALT is binded to the menu.

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.