The Glass is Too Big - Home

Getting Twhirl and Other Adobe AIR Apps Working on Ubuntu 64

Originally published on: 7/14/2008 10:57:57 PM

There's been some pretty fun and interesting stuff coming out of the Adobe AIR platform. I've tinkered with building some stuff on the platform myself, but most of my use of AIR-related has been using the wide array of Twitter apps. That's probably the biggest category of AIR apps at the moment.

I've been using Twhirl pretty heavily and prefer it to the web interfaces. However, while Twhirl and AIR run on my Windows boxes and my Mac, my primary laptop/workstation runs Ubuntu, which isn't a first class citizen in the AIR world.

I like to have the same tools available on all of my workstations whenever possible. So, when an alpha for Linux was announced, I took note, planning to get it installed when I got a chance.

Just before I left for Ireland, I gave it a shot, downloading the .bin file, running it and getting about half way through the installer before the install dying. I looked up the error only to find that I was out of luck. While Adobe supports many Linux distributions, including the one I use, what it *doesn't* support is the 64 bit version that I'm running.

So, today at lunch, I went looking for a way to get it running, despite Adobe's lack of support. So many of the apps that claim not to work on 64 bit Linux actually work just fine if you do it right.

What I found on several sites all boiled down to the same answer/solution. There are some glitches that are kind of a pain (like Twhirl not saving my passwords), but I've got Twhirl running on Ubuntu 64. Here's how to do it.



First, rather than the regular AIR for Linux, download the AIR SDK at the bottom of this page. I extracted that archive to the following path:

/home/j/Software/AdobeAIRSDK

Second, get an app like Twhirl. You need to save the .air file somewhere. It, like so many things these days, is a ZIP file.

So, I unzipped it to the path:

/home/j/Software/twhirl

with the following command:

unzip /home/j/Downloads/twhirl-0.8.3.air

Then, you need to run a complicated commandline to actually launch the AIR app. That, of course, calls for a shell script.

So, I created the file:

/home/j/Software/twhirl/twhirl.sh

and put the following contents in it, all on one line:



/home/j/Software/AdobeAIRSDK/bin/adl -nodebug

/home/j/Software/twhirl/META-INF/AIR/application.xml /home/j/Software/twhirl



Then, to make that script executable, you have to run:

chmod +x /home/j/Software/twhirl/twhirl.sh

From there, you can either just run it from a command prompt or create a launcher up in the task bar. Right click and "Add to Panel". Choose "Custom Application Launcher".

In the "Name" box, put "Twhirl".

In the "Command" box, put "/home/j/Software/twhirl/twhirl.sh" (obviously adjust for your username).

If you want a different icon, click the springy icon in the top left and click OK when you're done.

Click your new launcher icon and you'll see the Twhirl app launch.

There you are. It's working. Sort of.

There's still problems and I expect that eventually, it will work the "normal" way. Until then, this will get the job done without having to boot up a virtual machine.

Comments

J Wynia
commented on 8/12/2008
Sorry about that, I'm still trying to work out the best way to do code samples on this site. Every method I've tried has some problems that I'm not happy with.
lokis
commented on 8/12/2008
I followed the guide and keep getting the error echoed "initial content not found" also get it from the command line. Ubuntu Hardy x64
lokis
commented on 8/12/2008
nm. when i posted that comment i saw the last bit of the script that was cut off.!!! /home/j/Software/twhirl was cut off by the comment box.
Curtis Cross
commented on 7/19/2008
Thanks for making this how to and making it so easy to understand. Only problem I had was user error.. typing lowercase instead of upper where appropriate and putting it all in the wrong directories. Not being able to use twhirl has kept me using windoes. Now I can spend more time on ubuntu! Woot!
Ryan Stewart - Rich Internet Application Mountaineer » Blog Archive » Getting AIR Applications Running in Ubuntu 64bit
commented on 7/20/2008
[...] Wynia posted a pretty good (if semi-hacky) tutorial on how to get AIR applications running in Ubuntu 64. Like every other 64 bit question aimed at Adobe, I have no idea what the status of official 64 bit [...]
Getting Twhirl and Other Adobe AIR Apps Working on Ubuntu 64 « Rich Internet Applications
commented on 7/16/2008
[...] Source [...]
mark
commented on 9/8/2008
loki's comment is important. I have the same problem. The large font used for commands does not behave wrap appropriately (firefox 3) and is overwritten by text in the comments column.

hmm.
Prova su strada: Adobe Air 1.1 BETA per Linux
commented on 9/15/2008
[...] Permane invece l’impossibilità di installare le applicazioni tramite il badge sui siti che lo espongono e l’impossibilità di usare AIR su distribuzioni che non supportano la pacchettizzazione deb o rpm se non attraverso complicati accrocchi. Anche chi sceglie linux a 64 bit non se la vede ancora tanto bene. [...]
mark
commented on 9/8/2008
Sorry. I fired off my message before I read down to see you had already responded.
J Wynia
commented on 9/8/2008
Fixed.
mark
commented on 9/8/2008
I see! I just reloaded by mistake and freaked for a sec. Thanks!
GreyDuck
commented on 11/26/2008
Oh, this is exactly what I needed. It's working! It's ALIVE!

Er. Sorry, mad scientist moment there.

greyduck.net » Give it a Twhirl
commented on 11/26/2008
[...] Twitter interactions. I’m a big, big fan so far of Twhirl… and now, thanks to these instructions, I can run Twhirl under Kubuntu (the current Linux installation on my [...]
Mark
commented on 11/12/2008
I almost got it! I get the following error though:

libgnome-keyring.so: cannot open shared object file: No such file or directory

Error: EncryptedLocalStore database access error

Any ideas?

Noel
commented on 6/1/2009
To get it to save the password, you need to use getlibs as described here:

http://beegod.org/tweetdeck-on-hardy-heron-64bit

Worked for me (jaunty 64-bit).

Anonymous
commented on 4/11/2010
Got worked AIR application "pomodairo-1.7" with your manual.

Thank you!
blog comments powered by Disqus
© 2003- 2010 J Wynia. Very Few Rights Reserved.