Living Outside The Box Born-Again Techo-Geek Renaissance Man


Evernote with Autofill in Ubuntu

Posted by Jeff Hendricks

I'm working on integrating services like Evernote into my daily routine to help manage all the projects and things that I do. Even with the recent security breach, they are one of the best solutions for managing your documents and information across multiple platforms seamlessly.

However, like most companies, they don't offer anything for Linux. Since I've used Wine to install the Windows version, I can report that it works perfectly. Just download the Windows Desktop version,  run it with Wine (which is available on almost any Linux distro), follow the instructions, and it just works.

Screenshot - 03282013 - 06:54:50 PM

A great article by Jamie Todd Rubin enlightened me to the possibility of using auto-fill programs to extend Evernote's capabilities, and I have to say, it's a pretty exciting idea I hadn't thought of. Mr. Rubin of course doesn't use Linux, so I had to improvise!

Ubuntu comes with a hotkey/autofill program called AutoKey, so I installed it from the Ubuntu repositories and gave it a shot... and it failed miserably. After fiddling with settings for a while, I got it to sort of work, but it still wouldn't auto-type the shift key in Evernote. Worked okay in everything else, so I figured it was a problem with Wine.

I did some more poking on AutoKey's site and discovered that this was a known bug with older versions of AutoKey, but had been fixed since version 0.80. Current version on their site is 0.90! And wonder of all wonders, the Ubuntu 12.04 repos had version 0.72?? Really?? (This isn't an issue with Ubuntu 13.04, it has the latest version)

I downloaded the current version of AutoKey, and followed the instructions for creating a .deb package. When I went to install it, it prompted that it needed a package called python-pyinotify, so I installed that, tried again, and it finally worked.

I did a quick test of it in Evernote, and had success.

Now, once we've gotten it working, there's the issue of creating auto-fill scripts to use in Evernote. With AutoKey, there's two options: Phrases and Scripts. Phrases are basically text replacement; you can use any number of trigger keys or shortcuts for them.