handler


Using Yahoo! as Default Mail

For about a decade I have been using Yahoo! as my default mail. I found a script that could strip the email address and point it to Yahoo! Mail. [crayon lang="sh"]#!/bin/sh URL=$(echo $1 | sed ‘s#mailto:##;s#?#\&#;s#\&subject=#\&Subj=#;s#(##;s#)##i;’) firefox -new-tab “http://compose.mail.yahoo.com/?To=$URL” [/crayon] Just copy it into a text file and set default handler to your file.

.URL files in Linux (Gnome)

I gave big archive of bookmarks in Windows .URL file format. Under gnome I couldn’t find a way to open the link automaticly out-of-the-box. But after searching for an hour or so, I found a script that could do it for me. [crayon lang="sh"]#!/bin/sh firefox `cat “$1″ | sed ‘/^URL/!d;s/^URL=//’` [/crayon] Just copy it into [...]