Just a quickie. While you can change general system settings for your default browser systemwide in Linux (Ubuntu) by going to System -> Preferences -> Preferred Applications, this does not affect how TweetDeck behaves when loading URLs.
I’ve been using Epiphany because of my somewhat-laggy netbook, so having Firefox load whenever I used TweetDeck was getting old.
Searching the Ubuntu forums brought up the issue of modifying some settings files for Adobe AIR, but I discovered something interesting while investigating the /opt directory, which is where AIR and TweetDeck get installed. I did that because solutions I’d seen described altering a .so file to point to a different browser, but it was tetchy and could be destroyed with something as simple as a Flash or AIR upgrade.
I found an easier way to do this, I think, one that works for me anyway. NOTE that you need to do this with root privs (sudo).
When I looked into the /opt directory, I saw that there were three folders there — one for Adobe AIR, one for TweetDeck, and one for firefox. (The firefox directory was not a symlink. This is marginally troubling and might explain why upgrading your system to Ffox3.5 isn’t recognized by TweetDeck, and it still loads Ffox3.)
TweetDeck seems to be hardwired to load /opt/firefox/firefox when opening a URL. But it doesn’t actually seem to care if it’s really Firefox it loads or not.
Here’s the shortened version of what I did. About half of it was guesswork and trial-and-error, but it worked.
1. In /opt, rename the firefox directory to something like ffox.
2. Create a new directory in /opt called firefox.
3. Copy the script or symlink to the browser of your choice into the firefox folder you just created.
4. Rename that script or symlink firefox.
After that, TweetDeck should use the browser you want.
UPDATE: I did have to alter the epiphany (“firefox”) script so it would load new content in tabbed sessions in the browser, assuming it was already running. I commented out the original line (exec epiphany-browser “$@”) and added the new-tab command. The revised script looks like this:
#exec epiphany-browser “$@“
exec epiphany-browser –new-tab “$@”
Of course if you’re using a different browser, your scripting (and mileage) may vary.
This also bodes well for those who want to use Firefox, but the current version, not the one that ships (for some bizarre reason) with AIR. Just make a symlink to your firefox install in /opt, and you should have the correct, current version load.
UPDATE 2: Apparently not all users have an install of firefox in /opt. So this might not do the trick for you after all, though I guess you could still give it a try and see what happens.
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.