For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > August 2004 > Lynx/mime-types: How to change what loads text/plain?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Lynx/mime-types: How to change what loads text/plain?
Kenny McCormack

2004-08-28, 8:56 am

I'm using lynx under Linux. When I browse to a text file, it loads it up
in kedit (Some Gnome/KDE thing). I want to change this to gvim.

I found files /etc/lynx.cfg and /etc/mime.types, but neither contains the
string "kedit". So, where else should I look?

Thomas Dickey

2004-08-28, 8:56 pm

Kenny McCormack <gazelle@yin.interaccess.com> wrote:
> I'm using lynx under Linux. When I browse to a text file, it loads it up
> in kedit (Some Gnome/KDE thing). I want to change this to gvim.


> I found files /etc/lynx.cfg and /etc/mime.types, but neither contains the
> string "kedit". So, where else should I look?


/etc/mailcap is a good place to look. The mailcap file is where the action is.

/etc/lynx.cfg is done by the packager - if they didn't blunder too badly,
the GLOBAL_MAILCAP setting points to /etc/mailcap (or the equivalent).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com