Public bug reported:

By default, AutoKey does not work with Ubuntu 12.04 because it is not present 
in the Unity Panel whitelist. By default, the Unity panel whilelist is set to 
['JavaEmbeddedFrame', 'Wine', 'Update-notifier']. In order for certain 
applications, such as Desura and AutoKey to work properly, they need to be 
added to this whitelist, otherwise they will not function properly at all. The 
whitelist can be retrieved using gsettings get com.canonical.Unity.Panel 
systray-whitelist, reset to it's default value with gsettings reset 
com.canonical.Unity.Panel systray-whitelist, and set using gsettings set 
com.canonical.Unity.Panel systray-whitelist. Because this application doesn't 
provide any functionality at all without system tray functionality, it is 
necessary to manually append 'Autokey' to the whitelist. This can be fixed by 
modifying the package to update the whitelist on installation time to append 
the necessary value to the whitelist. Just running  gsettings set 
com.canonical.Unity.Panel systray-whitelist ['Autokey'] fixes the problem with 
Autokey, but causes issues with other programs. The issue can be resolved by 
running a single command I wrote upon installation, which checks if Autokey is 
already in the panel whitelist and adds it if it isn't. It may also be worth 
running the command upon execution of Autokey in case the whitelist has been 
modified by another program and Autokey has been removed. I attached a batch 
script to do this as a patch, although the command is as follows:
if grep -q 'Autokey' <(echo `gsettings get com.canonical.Unity.Panel 
systray-whitelist`); then echo "'Autokey' exists in Unity panel whitelist. 
Nothing to do here."; else echo "Adding 'Autokey' to Unity panel whitelist." && 
gsettings set com.canonical.Unity.Panel systray-whitelist "`echo \`gsettings 
get com.canonical.Unity.Panel systray-whitelist | tr -d ]\`,\'Autokey\']`"; fi

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: autokey-gtk 0.71.2-1
ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
Uname: Linux 3.2.0-21-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
Date: Sun Apr  1 00:03:17 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: autokey
UpgradeStatus: Upgraded to precise on 2012-03-24 (8 days ago)

** Affects: autokey (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/970581

Title:
  [FIX] AutoKey (GTK) is not useable by default in Ubuntu 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autokey/+bug/970581/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to