Sunday, December 27, 2009

Default to pdf when printing to file in Firefox

Using Ubuntu Karmic and Firefox 3.5.6.


Following advice here:
to default to pdf/A4 when printing to file in firefox.

Saturday, December 5, 2009

Redirecting mailto: links in firefox to Google Apps

Firefox preferences → Applications → mailto. Choose to run the following script:

#!/bin/sh
firefox -remote "openurl(https://mail.google.com/a/YOUR_GOOGLE_APPS_DOMAIN_HERE/mail?view=cm&tf=0&to=`echo $1 | sed 's/mailto://'`,new-tab)"

Note: Some of the code is hidding beyond the right margin of the webpage. Copy-paste to a text editor to see the complete script.

Got this tip from How-to Geek and slightly modified it.