My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Troubleshooting  
Tips for resolving common problems.
Featured
Updated Feb 4, 2012 by itscoolr...@gmail.com

Introduction

This page contains solutions to problems frequently experienced by users of AutoKey.


Feature X is not working correctly for me. How do I post useful debugging information on the list?

Start by opening a terminal. Then start AutoKey with the debug logging turned on:

autokey-gtk -l

Next, perform whatever action is causing the problem. Lastly, capture the output and include it with your posting.

How do I know which interface to use? (Settings->Advanced Settings->Device Interface)

When you start AutoKey for the first time, it attempts to choose the best possible option for you. For most people, this should work fine. As the dialog states, only change the setting if AutoKey is not responding to hotkeys and abbreviations. In that case, you can simply try the various options and see which works best for you. Note that some of the interfaces don't work at all, depending on your distribution. To summarise:

  • X Record: Will work in any distribution using X.org server prior to version 1.6. E.g. Ubuntu Jaunty upgrades the server to v1.6, and as a result XRecord will not work. The problem is fixed in Lucid (10.04).
  • X EvDev: Should work in most cases, except if you are using 'exotic' hardware such as Bluetooth keyboards (or any keyboard device that does not use the EvDev X driver).
  • AT-SPI: Only works when the active window is a GTK-based application (including Firefox 3). Also requires certain configuration items in your Gnome environment to be enabled (see below).

The AT-SPI device interface option is greyed out/disabled.

To enable this interface, you must have the AT-SPI packages installed and be running a GNOME-based distribution. The AT-SPI interface is a last-ditch option in case the other two options don't work. It only works in certain applications (to be exact, GTK-based applications that have the ATK bridge compiled in).

To enable it, run the following:

sudo apt-get install python-pyatspi 

You must then enable accessible technologies via the Gnome Accessibility Settings applet. Another way to get this interface up and running is to install an application called Accersizer. The first time you start Accersizer, it will enable the correct settings for you.

When I start AutoKey I get the message "Unable to connect to EvDev daemon"

Ensure that the AutoKey EvDev daemon is running by running the following command:

sudo invoke-rc.d autokey restart 

I disabled the notification icon, and I don't know the hotkey for displaying the configuration window.

Simply start AutoKey again while it is already running, and this will cause the configuration window to be shown.

Comment by jeffymahoney@gmail.com, Apr 29, 2011

I just upgraded to Ubuntu 11.04 and kept getting "Unable to connect to EvDev daemon" 111. Autokey wouldn't respond to keyboard events anymore:) The solution is to open up the Autokey UI, click on the Settings menu -> Configure Autokey -> Interface -> and change Interface Type to X Record. Then Restart. Autokey now responds to hotkeys again for me!

(I didn't think to change any of the settings in the UI because it was working fine in Ubunutu 10.10 and I'm still using the same config file. I kept looking all over the web for solutions. Pages including this one kept saying to just do "sudo invoke-rc.d autokey restart" or to reinstall. I even tried to find a different text replacement program but there wasn't one like Autokey that I could find. If I just knew this little trick...)

Comment by ja...@digitalcardboard.com, May 2, 2011

Same issue here (as jeffymahoney), only I couldn't save my changes for some reason after changing the Interface Type. I ended up just exporting my autokeys, deleting the configs (in ~/.config/autokey/ and re-importing).

Comment by j...@rowdyrabbit.com, Jun 9, 2011

Well, up till today, I was still using Gnome desktop but today I switched Ubuntu to Unity. Autokey doesn't go into the tray anymore. I couldn't get the configuration screen to pop up because there was no default shortcut key configured for it. The solution I used was to make sure Autokey was not running already, then to run Autokey from the command line with the -c option. This started Autokey with the config screen. Then I went to Settings->Configure Autokey->Special Hotkeys and assigned a keyboard hotkey that shows the configuration window.

Comment by j...@rowdyrabbit.com, Jun 9, 2011

Once you can get the config screen visible, you can hit the minimize button and it will go nicely to the Unity panel. I was hitting the X before and that keeps Autokey open but you can't get to it with a mouse then.

Comment by jeroenvi...@gmail.com, Aug 4, 2011

jeffmahoney: thanks! I had the exact same issue, quickly resolved with the change you described.

Comment by mandarv...@gmail.com, Aug 9, 2011

I got the same system tray problem as mentioned above with unity. http://ubuntugenius.wordpress.com/2011/06/25/ubuntu-11-04-fix-show-all-iconsindicators-in-unity-panels-notification-area/ provides a solution. Worked for me.

unity --replace was either too slow or something went wrong. I rebooted (since at one point I lost access to the top panel all together) and everything was fine. I think, simple log off/log-in (while everything is still responding) should be sufficient

Powered by Google Project Hosting