[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: prefer application on Gnome Desktop
From: |
Daniel Pittman |
Subject: |
Re: prefer application on Gnome Desktop |
Date: |
Tue, 14 Jul 2009 16:15:24 +1000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.96 (gnu/linux) |
Byung-Hee HWANG <bh@izb.knu.ac.kr> writes:
> Hi, i use Emacs on Gnome Desktop (FreeBSD 7.2-RELEASE). In Gnome, there is
> the config named "prefer application" in which we can decide the best
> application for us such as mailer, webbrowser. The default value in mailer
> is "Evolution". By the way i would like to switch to Gnus from Evolution. So
> how can i change without any errors?
>
> First time, i tried as like "emacs -f gnus". But there is no action with
> "mailto:" link. The tried "emacs -f gnus-no-server %s". Still problems..
I wrote a small shell script to handle this, because there wasn't a trivial
mechanism to wire up Gnus and the desktop environment:
#!/bin/sh
# Send a 'mailto:' link into my mail client...
exec gnuclient -batch -eval \
"(compose-mail-other-frame \"$1\" \"$2\" nil nil '((delete-frame)))"
The system was configured to pass the 'to' address as argument one, and the
'subject' as argument two — Opera supported the later, but KDE didn't.
You might want to use a different interface; I had that create and destroy a
frame so that it behaved the way I liked.
Regards,
Daniel
--
✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons