The core part of AutoKey is sending and receiving keyboard events via the X server. It supports multiple X interfaces and should therefore be compatible with virtually any version of Linux running an X server. Full unicode support is provided and it should in theory work with any keyboard layout.
* KDE and GTK versions available, making AutoKey integrate well into any desktop environment.
* Write Python scripts to automate virtually any task that can be accomplished via the keyboard
* Built-in code editor (using QScintilla in KDE or GtkSourceView2 in GTK)
* Create phrases (blocks of text) to be pasted into any program on demand (uses the X selection)
* Create collections of phrases/scripts in folders, and assign a hotkey or abbreviation to the folder to display a popup menu
* Regular expressions can be used to filter windows by their title, to exclude hotkeys/abbreviations from triggering in certain applications
* Scripts, phrases and folders can be attached to the tray icon menu, allowing you to select them without assigning a hotkey or abbreviation
* AutoKey can track your usage patterns and present the most frequently used items at the top of the popup menu
Install autokey in Ubuntu 10.04/9.10
Open the terminal and run the following comamnds
sudo add-apt-repository ppa:cdekter/ppa
sudo apt-get update
sudo apt-get install autokey-gtk
Once installation is completed you can open the application from Applications--->Accessories--->AutoKey(GTK)