/etc/mailcap.order - the mailcap ordering specifications
The order of entries in the /etc/mailcap file can be altered by editing
the /etc/mailcap.order file. Each line of that file specifies a
package and an optional mime type. Mailcap entries that match will be
placed in the order of this file. Entries that don't match will be
placed later.
Example
mime-support:*/*
gv:application/postscript
netscape:text/html
less:text/*
emacs:text/*
The above would make any entries provided by the mime-support package
(as found in the /usr/lib/mime/packages directory) take priority over
everything else. The gv package will be used over anything else when
it comes to postscript documents. Netscape will be used for any html
documents and less will be used for any remaining text documents.
However, since neither netscape or less provide for editing documents,
any edit or compose actions will fall through to the emacs rules.
After modifying this file, be sure to run /usr/sbin/update-mime (as
root) to propagate the changes into the /etc/mailcap file.
Remember that this files takes package names and not executable names.
If you want to define rules that reference specific programs, the best
way is to include them in ~/.mailcap or the user section of the
/etc/mailcap file.
There is currently no way to break out a certain type from a wildcard
rule. If, for example, both xv and gimp were to specify "image/*"
rules, it isn't possible to use xv for gif images but use gimp for jpeg
images.
Also, I would like to add the ability to specify certain actions in the
rules. For example, if netscape were to have an edit rule but I wanted
to use emacs for editing/creating html documents, I could place a line
like
emacs:text/* action=edit|compose
before the netscape entry. The update-mime program would then spit out
entries such that netscape view rule comes before the emacs view rule
but have the netscape edit rule comes after the emacs edit rule.
mailcap(5) run-mailcap(1) update-mime(8)
The mailcap.order specification was written by Brian White <[email protected]>
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.