TweetDeck on Gentoo with Awesome

After seeing it in action I wanted to give TweetDeck a try so, optimist that I am, I tried their installer. It didn't work, complaining about a corrupt .air file. So I figured I'd install the AIR framework first and then see where that would get me. All the way to this error message : 

Adobe AIR could not be installed because this is not a supported Linux distribution. Only RPM- and Debian-based Linux distributions are supported.

Gentoo? Source-based distros? Get lost! Fortunately, flashman already ran into the problem and figured out a way to get AIR applications running on his distro and documented it.

One more problem : I don't use Gnome. I don't use KDE. I'm an Awesome fan. AIR doesn't like it when people don't use Gnome or KDE on linux. It requires gnome-keyring or KWallet and it gets confused rather easily. According to the Adobe troubleshooting page, you can set it straight by exporting a variable.

For gnome-keyring:

$ export GNOME_DESKTOP_SESSION_ID=1

For KWallet:

$ export KDE_FULL_SESSION=1

If you've got a KDE4 based KWallet, you also want to do:

$ export KDE_SESSION_VERSION=4

Ka-boom! TweetDeck on Awesome on Gentoo. And I can start it with Winkey-F10 as well, like so : 

awful.key({ modkey }, "F10",
    function ()
        awful.util.spawn_with_shell("export GNOME_DESKTOP_SESSION_ID=1; 
        /opt/air-sdk/bin/adl -nodebug \
        /opt/air-apps/TweetDeck/META-INF/AIR/application.xml \
        /opt/air-apps/TweetDeck")
    end),
 Permalink

Comments

No new comments allowed (anymore) on this post.