Wednesday, August 20, 2008

Fluid.app - seriously useful - cookies and Gmail

Fluid lets you have a standalone app running independently of your browser - I use it for Gmail, Google Calendar, Blog windows and my favorite ToDo manager.

You can customize it with its own icon and specify what urls 'stay' in the browser - some icons here.

One of my only real gripes is that all the apps share the same 'cookie jar' - apparently this is due to some closed source part of OSX.
This was really bugging me - as I wanted to have different Fluid instances that use Google's cookies for authentication (for blogger.com, different gmail accounts).

Anyhow this is the workaround - it's a tiny bit messy but not so bad really. What I did was make a different computer account then su to the user and run the instance from there. I'm pushed for time right now but here's an example:

- wanted a different Gmail instance so I defined and created a Gmail fluid instance - this is stored in /Applications/Gmail2.app
- created another user account - fluiduser say - doesn't have to be administrator
- put an alias in my .bashrc like this: alias cb='sudo -u fluiduser /Applications/Gmail2.app/Contents/MacOS/FluidInstance'
- running this alias will bring up the other fluid instance and you are home.

It would be nice to make this a bit tidier - eg. without requiring a password or a different wrapper to invoking the command...

Also copy and paste between instances won't work by default as it's different users and the clipboard is a bit protected.

No comments: