Tag Archives: tweetdeck

Adobe Air – Open URLs in default browser

For the last few days I’ve been fighting TweetDeck on my laptop trying to get it to open web pages in Opera. A small, but fast browser, from the Norwegian company with the same name.

At first I thought that Opera wasn’t my default browser in Gnome. I’m currently using Linux Mint, a distribution based on Ubuntu. So I checked the “Preferences->Preferred Applications” and made sure Opera was the default application for browsing the web. I also checked with “gconf-editor” just to be safe that Opera was set as default browser.

Having checked all this. I did a few tests and found out that Opera was indeed the default application for surfing the web. So the problem had to be limited to TweetDeck or Adobe AIR.

Now. I checked all the xml-files regarding Adobe AIR and TweetDeck, I even installed SQLite3 to read the database file for TweetDeck in my home directory. No luck.

But the Internet is a collection of tubes amazing and brilliant people. So I searched and found Andrea Olivato, which in turned had found the solution to my (and many others) problem. He discovered that Adobe AIR has hard-coded firefox as default browser in libCore.so, which (usually) can be found in /opt/Adobe AIR/Versions/1.0.

The solution

His solution to the problem was to open libCore.so with vim, or any other editor for that matter, and search for the word “firefox”. Ok, he writes that he jumps directly to line 15500, but this might change. But then again, maybe Adobe will make it work in the future. Anyway. He replaced “firefox” with “browser”, which is the same length. Very important. And created a symlink from his favourite browser to, well, browser.

In my case:

ln -s /usr/bin/opera /usr/local/browser

I noticed that in libCore.so, Adobe has a reference to /desktop/gnome/url-handlers/http/command, which is the registry setting for Gnome when it comes to default browser. Why this isn’t used I don’t understand. Perhaps the hard-coded firefox is a backup solution in case AIR fails to retrieve the information from the registry.

TweetDeck – My new favorite Twitter client.

For the last few months I’ve been using  Twhirl to stay connected with the Twitter community, but my activity has of late  slowly been reduced next to nothing. Well, that’s until a good colleague of mine recommended TweetDeck last Friday. I’m back in the Twitter-sphere, and I’m loving it.

Both clients is written in Adobe AIR, which is a big bonus since it means I can run it both on my office Windows machine and my Linux machine at home. I think Adobe AIR is one of the most interesting technologies right now for web applications. Although all that come out of Adobe is slow and sluggish, it’s far better than the last “cross-platform” language that promised a trouble free world. Java. Java was also slow and sluggish, but unlike AIR, Java didn’t seem to work. If you got a application running on one machine, you could be sure it didn’t want to run on your next computer.

Back to the topic; Twitter is still going strong, and with the right tools it can continue to grow. The only question they have to sort out is how to make money. I don’t really see the Ad business as the right move right now. And as long as everyone can create a third-party client, such rubbish can easily be removed before it hits your eyes.

You may follow me on Twitter and read my rubbish. It’s mostly in Norwegian, but that might change.