Now, let's take a look at MIME types. In order to configure any browser to
call another application to play a file, you need to know which MIME type is
associated with which file extension. This chart shows both for the formats
netshow are capable of playing:
MIME type File Extension Application to use audio/x-pn-realaudio ram /usr/local/bin/realplay video/x-ms-asf asf /usr/X11R6/bin/netshow video/x-ms-wmv wmv /usr/X11R6/bin/netshow
To configure Mozilla, go to the Edit menu->Preferences->Helper Applications, then click on the "New Type" button. In my case, I'll create three new types, one for each line in the above chart.
When creating your own types, choose a description that is useful to you, then fill in the remaining fields using the information from the above chart. By default, Mozilla will prompt to open using your specified application whenever you encounter an associated file type. If you don't want to receive that prompt, highlight your type, then go into Edit and uncheck the "ask me before opening" option.
A couple of notes before leaving the Mozilla browser. The
plugger application will play both Quicktime and DivX movies.
divxPlayer, I've never had any
problems playing a DivX movie. However, I've had mixed success with Quicktime
plugger supports the older mov and qt formats, but not
the new Quicktime avi format. Most of the Quicktime trailers on the Internet,
and everything at Apple's Quicktime site uses the new format. As of this
writing, there aren't any workable ports in the ports collection that will play
the latest Quicktime format.
I'd like to end this article with one of my favorite applications from the ports collection. I always build this one on my workstations:
$ cd /usr/ports/graphics/chbg $ make install clean
The executable will be installed to
chbg, including screenshots of all of the
configuration screens, can be found at the ChBg home page.
I have a very large collection of favorite pictures that I've collected
over the years, and it still never ceases to amuse me whenever I walk by one of
my computers and notice that
chbg is displaying my collection as
an ever-changing slideshow.
I tend to use
chbg as a screensaver though it supports several
other modes in its Mode tab. Once you've chosen a mode, click on the Picture
list tab-> Append pictures button. In my case, I've made a subdirectory in my
home directory to store my pictures. Once I've chosen this directory, I can
then click on the Select All button.
In the Setup tab, you can choose whether or not to randomize the picture order and can select the speed at which the picture change will occur. To set how often the pictures will change, input a time interval in the Properties tab. This tab also lets you decide whether to tile or to center the picture.
My favorite tab is the Effects tab as
chbg supports many
effects. The easiest way to test an effect is to select screensaver mode then
click the button "run with actual settings." You can quickly scroll through the
various effects and see which ones appeal to your taste. If you'd like
randomized effects or can't make up your mind on which effect to use, use the
Random effects tab to select the effects that interest you.
Once you've customized your settings, you can save these as a scenario by clicking on the save scenario button. You can give your scenario whatever name you like and open it at any time using the open scenario button. You can also use this method to save as many scenarios as you like.
I hope you have enjoyed the multimedia series. The next few articles will cover the subject of VPNs. This topic comes up often on the mailing lists and is probably the most commonly asked question I get asked in private emails. The next article will cover the basic cryptographic terms you need to be familiar with in order to understand how a VPN operates. Then I'll move on to demonstrating some of the applications which can provide VPN support between FreeBSD systems and other systems.
Dru Lavigne is a network and systems administrator, IT instructor, author and international speaker. She has over a decade of experience administering and teaching Netware, Microsoft, Cisco, Checkpoint, SCO, Solaris, Linux, and BSD systems. A prolific author, she pens the popular FreeBSD Basics column for O'Reilly and is author of BSD Hacks and The Best of FreeBSD Basics.
Read more FreeBSD Basics columns.
Return to the BSD DevCenter.