[olug] Question about file type associations

Brian Wiese bwiese at cotse.com
Mon May 16 07:57:36 UTC 2005


 >From the start of the file "/etc/mailcap"
--
MIME types and programs that process those types
#
#  Much of this file is generated automatically by the program 
"update-mime".
#  Please see the "update-mime" man page for more information.
--
*How-To: Mime Types and file associations with FC3 - Gnome 2.8*
http://www.fedoraforum.org/forum/showthread.php?t=26875

With gnome and freedesktop setup, there's 
/usr/share/applications/defaults.list and you can setup individual 
application preferences in the file 
/usr/share/applications/<appname>.desktop

another atricle, "Associating File Types with Applications"
http://www.extremetech.com/article2/0,1558,1154290,00.asp

As for default webbrowser/mail reader... in Ubuntu/Gnome - this is just 
too easy:
System -> Preferences -> Preferred Applications
changed evolution to mozilla-thunderbird in a jiffy. =)

Still -- if I select a mailto: link more than once, or with another 
compose window open -- Thunderbird will bring up the change/new profile 
request/problem.  Wish I knew I way to stop that - been getting that 
since Netscape 4.x days...

Brian

Brian Wiese wrote:

> This bugs me every so often as well... anyone know a good way to 
> associate a program with a file/mime type?  I know we've got the 
> /etc/mime-types file, but is there a 'standard gnu/linux way' to 
> associate these to apps, or must it be setup for each desktop 
> environment?
>
> Also, is the "mailto:" link set by each web browser or in the 
> environment defining which mail client to launch?  I just installed 
> thunderbird, but evolution tries to start up - and I'd rather not just 
> purge evolution. =)
>
> Brian
>
> Brandon Lederer wrote:
>
>> As in something for the console.
>>
>> On Sunday 08 May 2005 05:10 pm, Will Langford wrote:
>>  
>>
>>> As in something for the console, or in your favorite file manager /
>>> window manager ?
>>>
>>> -Wll
>>>
>>> On 5/8/05, Brandon Lederer <brandon at tolkien-movies.com> wrote:
>>>   
>>>
>>>> Does anyone know of such a program that does "associations" by
>>>> exstension.  As an example, in windows there is "start".   at the 
>>>> command
>>>> prompt, type in "start file.mpg" and it will open up the default
>>>> associated program with that file type.  Does anyone know of any such
>>>> program that allows me to configure the associations with various file
>>>> types, and it just goes.
>>>> for example, run xine with .avi .mpg .mpeg .mov
>>>> run xmms for .mp3 .wav
>>>> run acroread for .pdf
>>>>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>





More information about the OLUG mailing list