Skip to content

Instantly share code, notes, and snippets.

@dylanmtaylor
Created April 19, 2015 05:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dylanmtaylor/138e0eaead3e62e7b8c3 to your computer and use it in GitHub Desktop.
Save dylanmtaylor/138e0eaead3e62e7b8c3 to your computer and use it in GitHub Desktop.
Fix Autokey
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment