ubuntu 设置gmail为邮件客户端

By , April 24, 2010

Chrome浏览器:

系统—首选项–首选应用程序–邮件阅读器–自定义–命令填入以下内容:

chrome https://mail.google.com/mail/?extsrc=mailto&url=%s

firefox浏览器:

创建脚本:

  1. #!/bin/sh
    firefox https://mail.google.com/mail?view=cm&tf=0&to=`echo $1 | sed 's/mailto://'`

    如果你想要在现有 Firefox 窗口的新标签中打开,则替换为下面的内容:

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

  2. 将该脚本保存为 open_mailto.sh,并加上可执行权限:

    chmod u+x ~/open_mailto.sh

  3. 点击 System → Preferences → Preferred Applications,在 Mail Reader 下选择 Custom,并在 Command 右边输入 /home/username/open_mailto.sh %s。注意,你需要将其中的 username 换成自己的。

相关文章

7 Responses to “ubuntu 设置gmail为邮件客户端”

  1. 恩。不错,我网站上好多人正需要。

  2. 来看看~呵呵,顶了~顶了~留个脚印!证明我来过!

  3. 祛痘产品 says:

    来帮你踩踩。支持一下!

  4. 来过,新的奋斗周开始了…临睡觉之前逛逛博客,呵呵。

Leave a Reply

Panorama Theme by Themocracy