AutoKey PPA and Icon Installer for Ubuntu
Since the current AutoKey Version shipped with Ubuntu Linux 10.04 Lucid Lynx is an outdated one, i found an easy way to get a newer one through the PPA of Chris Dekter from the AutoKey Project.
If you are not so familiar with installing through PPA i made a set of install scripts. You can also easy switch the theme icons i mentioned earlier.
Make sure you remove any installed autokey packages before you install the PPA Version!
Do not forget to restart AutoKey after you made any changes.
Download
AutoKey Install Helper Package
Scripts
install_autokey-gtk.sh
#!/bin/bash mkdir backup cp ~/.config/autokey/* backup/ gksu add-apt-repository ppa:cdekter/ppa sudo apt-get install autokey-common autokey-gtk
install_autokey_ambiance.sh
#!/bin/bash autokeynotifier="/usr/share/pyshared/autokey/gtkui/notifier.py" autokeyicons="/usr/share/pixmaps/" themeicon="akicon-status-ambiance.png" command="cp $themeicon $autokeyicons" eval gksu "$command" pattern=`awk -F\" '/STATUS_ICON_FILE = /{print $2}' $autokeynotifier` command="sed -i 's,$pattern,$autokeyicons$themeicon,g' $autokeynotifier" eval sudo "$command"
install_autokey_radiance.sh
#!/bin/bash autokeynotifier="/usr/share/pyshared/autokey/gtkui/notifier.py" autokeyicons="/usr/share/pixmaps/" themeicon="akicon-status-radiance.png" command="cp $themeicon $autokeyicons" eval gksu "$command" pattern=`awk -F\" '/STATUS_ICON_FILE = /{print $2}' $autokeynotifier` command="sed -i 's,$pattern,$autokeyicons$themeicon,g' $autokeynotifier" eval sudo "$command"
install_autokey_default.sh
#!/bin/bash autokeynotifier="/usr/share/pyshared/autokey/gtkui/notifier.py" autokeyicons="/usr/share/pixmaps/" themeicon="akicon.png" gksu echo pattern=`awk -F\" '/STATUS_ICON_FILE = /{print $2}' $autokeynotifier` command="sed -i 's,$pattern,$autokeyicons$themeicon,g' $autokeynotifier" eval sudo "$command"
In Deutsch:
Da die mit AutoKey Version welche mit Ubuntu Linux 10.04 Lucid Lynx ausgeliefert wird schon ziemlich alt ist, habe ich einen leichten Weg gefunden eine neuere Version mittels PPA von Chris Dekter vom AutoKey Projekt zu installieren.
Wer nicht so recht weiss wie man über PPA installiert, habe ich dafür ein paar Skripts erstellt. Man kann damit auch leicht zwischen den Themen Icons wechseln die in einem anderen Beitrag schon vorher einmal erwähnt hatte.
Bitte alle AutoKey Pakete deinstallieren falls schon installiert wurde bevor die PPA Version installiert wird!
Nach einer Änderung nicht vergessen AutoKey neu zu starten.