Saturday, February 5, 2011

Getting TweetDeck (Adobe Air) to use your default browser in Gnome

This has been a bit of an issue in the past. See this lifehacker article, which was inspired by Roy Tanck's blog post.  Currently, I am using Adobe Air 2.5.1 on OpenSUSE 11.3 - i386 (Yes, I have a crappy Atom powered net book).  Every time I would open a link in TweetDeck, it would open in Firefox rather than Chromium.  To make matters worse, the place in Chromium where I could set it as the default browser, the button is grayed out, and it says "Chromium cannot determine or set the default browser."  Bummer.  But fear not, as the solution is somewhat simple.  If you have the "custom menu bar" (not the default one which ships with OpenSUSE) you can do System->System->Preferred Applications, and change the default browser there.  Alternatively, you could run "gnome-default-applications-properties" in your shell to get the dialogue box opened up.  Once I got it open, on the "Internet" tab, I dropped down the menu under "Web Browser" and selected "Custom".  Then I put in /usr/bin/Chromium.  You would obviously replace that command with the browser you want to use.  And that's it!  I didn't even have to restart TweetDeck.  It just worked from there on out.