Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 2008 12:53:39 +0200
From:      Mark Evenson <mark.evenson@gmx.at>
To:        freebsd-gnome@freebsd.org
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Controlling Evolution MIME helper associations?
Message-ID:  <48F86EB3.2050508@gmx.at>
In-Reply-To: <6161f3180810160809u7cdcce81l77134535b00235b8@mail.gmail.com>
References:  <190244929fd8632c00d78da9f10e27e7.squirrel@sm.lkla.org> <6161f3180810160809u7cdcce81l77134535b00235b8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew W. Nosenko wrote:
[...]
> 3. Write appropriate default.list.  For our example with .doc and .xls
> it would be
> 
>     [Default Applications]
>     application/msword=openoffice.org-2.4.1-writer.desktop;
>     application/vnd.ms-excel=openoffice.org-2.4.1-calc.desktop;

Writing a ~/.local/share/mime/applications/defaults.list

[Default Applications]
application/vnd.ms-excel=custom-openoffice.desktop;
application/vnd.oasis.opendocument.text=custom-openoffice.desktop;
application/vnd.ms-powerpoint=custom-openoffice.desktop;

With  the following in a newly created 
~/.local/share/applications/custome-openoffice.dektop

[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=OpenOffice
Exec=/usr/local/bin/openoffice.org-3.0.0 %U
Comment=

works for me as Andrew suggested.

Thanks to all who responded.

-- 
<Mark.Evenson@gmx.at>

"[T]his is not a disentanglement from, but a progressive knotting into."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48F86EB3.2050508>