I'm on 12.04.
I have xdotool and xclip installed.
I have a script bound to a hot key that works.
The script is:
The sig file contains my signature. (I know this is really simple. )Code:#!/bin/bash xclip -in -selection c ~/scripts/xclip-scripts/sig
So now, I can hit the hot key and then ctrl+v to paste my name in a document, web brownser etc.
I thought it would be cool, if my name was automatically pasted where ever the cursor is when I press the hot key.
That is the problem. I can't get that part to work.
I tried addingand I swear that it worked yesterday in gedit, but nothing else. Today, it does not work in gedit either.Code:xdotool key ctrl+v
I tried following the post here, but that doesn't work either.
Any ideas on what I am doing wrong?
I'd really appreciate some advice.