![]() |
|
| Configuring Applications: |
The following configuration instructions for allowing Netscape to handle various media formats ultimately results in the modification of the files $HOME/.mailcap and $HOME/.mime.types.
Edit + Preferences + choose: Navigator + Applications:
Description: Adobe pdfDownload Acroread application
MIME Type: application/pdf
Suffixes: pdf
Application: /opt/Acrobat4/bin/acroread %s
Note: The Acroread PDF viewer includes a Netscape plug-in nppdf.so but I never got it to work. The Adobe acroread application as configured above works like a champ.
Description:
MIME Type: application/octet
Suffixes: qif
Application: /usr/bin/gnucash %s - Not sure about this????
See: GnuCash.org
Description: Postscript Documentgv is part of the Red Hat Linux installation
MIME Type: application/postscript
Suffixes: ai,eps,ps
Application: /usr/X11R6/bin/gv %s
Description: X Window Dump Imagexwud is part of Red Hat Linux installation
MIME Type: image/x-xwindowdump
Suffixes: xwd
Application: /usr/X11R6/bin/xwud -in %s
Description: PCX ImageDownload xv application (rpm) - part of Red Hat Linux Powertools CD (RH 7.0. Not found in 7.1???) http://www.ibiblio.org/pub/Linux/distributions/redhat/7.0/en/powertools/i386/RedHat/RPMS/xv-3.10a-23.i386.rpm and xv-docs-3.10a-23.i386.rpm
MIME Type: application/pcx
Suffixes: pcx
Application: /usr/X11R6/bin/xv %s
Description: Windows Bitmap
MIME Type: image/x-MS-bmp
Suffixes: bmp
Application: /usr/X11R6/bin/xv %s
Description: KFax Viewerkfax is part of Red Hat Linux installation
MIME Type: image/x-tiff
Suffixes: tif,tiff
Application: /usr/bin/kfax %s
Note: Note kfax is part of RPM: kdegraphics. http://www.ibiblio.org/pub/Linux/distributions/redhat/current/en/os/i386/RedHat/RPMS/kdegraphics-2.1.1-1.i386.rpm
This application works well for multi-image tiff fax files sent by JFax and other fax-mail services.
Description:Download freeamp application (rpm) - part of Red Hat Linux Powertools CD Red Hat 7.0 - Not included in RH 7.1??
MIME Type: audio/mpeg
Suffixes: mp3
Application: /usr/bin/freeamp %s
Description:
MIME Type: audio/x-mpeg-url
Suffixes: mp3
Application: /usr/bin/freeamp %s
Description:
MIME Type: audio/mpeg-url
Suffixes: mp3
Application: /usr/bin/freeamp %s
Directories of MP3 streaming stations. (Pick one and listen)
XMMS Home Page - XMMS 1.2.x Downloads (RPM)
XMMS Plug-ins Round-up - by Bastien Nocera
Description: URL
MIME Type: application/octet-stream
Suffixes: url
Application: /opt/bin/netscape-url.sh %s
Shell script: /opt/bin/netscape-url.sh
#!/bin/shExecutable path is dependant on distribution. Use the command "ps -auwx" to find the actual process name. This is accurate for Red Hat 7.1.
/usr/lib/netscape/netscape-communicator -remote "openURL(`awk -F"=" '/^URL/ { print $2 }' $1 `)"
Description: Microsoft Word Documentand
MIME Type: application/msword
Suffixes: doc,dot
Application: /opt/bin/applix-sh %s
Description: Machintosh Word Fileand
MIME Type: application/appfile
Suffixes: doc,dot
Application: /opt/bin/applix-sh %s
Description: Rich Text Formatand
MIME Type: application/rtf
Suffixes: rtf
Application: /opt/bin/applix-sh %s
Description: Applixware File
MIME Type: application/applixware
Suffixes: aw, as, ag, am
Application: /opt/bin/applix-sh %s
Shell script: /opt/bin/applix-sh
#!/bin/csh
set exec_loc=/opt/applix/applix
set pid=`ps x | fgrep -v fgrep | fgrep $exec_loc | cut -d " " -f 1`
$exec_loc -nobackground $*
if ( "$pid" != "") then
sleep 60
endif
OR
Use MS/Word compatible application /usr/bin/oowriter for Red Hat 8.0 systems with Open Office.
Also see: Using Abiword to view Word documents
Description: Microsoft Excel WorksheetDownload gnumeric application (rpm) Part of the base Red Hat Linux CD installation
MIME Type: application/vnd.ms-excel
Suffixes: xls,xlt,xlm,xld,xla,xlc,xlw,xll
Application: /usr/bin/gnumeric %s
OR
Use Applixware:
Application: /opt/bin/applix-sh %sShell script /opt/bin/applix-sh:
#!/bin/csh
set exec_loc=/opt/applix/applix
set pid=`ps x | fgrep -v fgrep | fgrep $exec_loc | cut -d " " -f 1`
$exec_loc -nobackground $*
if ( "$pid" != "") then
sleep 60
endif
OR
Use spread sheet application /usr/bin/oocalc for Red Hat 8.0 systems with Open Office.
Description: Microsoft PowerPointShow
MIME Type: application/vnd.ms-powerpoint
Suffixes: ppt,pot,ppa,pps,pwz
Application: /usr/bin/soffice %s
This works for Star Office 5.2 and works well. Also see OpenOffice.org.
OR
Use spread presentation application /usr/bin/ooimpress for Red Hat 8.0 systems with Open Office.
| Netscape Plug-ins: |
List available plug-ins. Type the URL: about:plugins
Terminate the browser before installing plug-ins.
Plug-ins are located in $HOME/.netscape/plugins/ if only for
yourself or in /usr/lib/netscape/plugins/ for system wide availablility.
Plugger will handle the following mime types: wav, midi, mpeg, mov, png, au etc.
(partial list)
Plugger is configured to use the following applications: play, playmidi,
xanim, mtvp, timidity,
xmp, mikmod, mpg123, xloadimage and display.
Download application RPMs:
These may also be configured manually as shown below. Use plugger instead.
Description: Midi Player
MIME Type: audio/midi ALSO: audio/x-midi
Suffixes: mid,midi
Application: /usr/bin/timidity -s 44100 -a -idqqqqqqq %s
Download timidity++ application - (Red Hat base OS or on Powertools CD for older releases)
Plugger worked great except for the wav file. I had to enter it explicitly as below.
Description:play is part of Red Hat Linux installation. If the audio file plays back at too high a speed, then use esdplay instead of play. To view all the applications used by plugger, look at /etc/pluggerrc.
MIME Type: audio/wav
Suffixes: wav
Application: /usr/bin/play %s
Download and rename the file substituting the "_" for "." in the file name.
Then: mv rp8_linux20_libc6_i386_cs2_rpm rp8.linux20.libc6.i386.cs2.rpm
The name of the package will be "RealPlayer".
Install the file as a regular rpm: rpm -ivh --ignorearch rp8.linux20.libc6.i386.cs2.rpm
Note: RPM option --ignorearch required for installing rp8.linux20.libc6.i386.cs1.rpm
(Get rid of the old one if necessary: rpm -e RealPlayer-7.0-3)
The rpm package will install the Netscape plug-ins into /usr/lib/netscape/plugins/
The package will also install the stand-alone executable /usr/bin/X11/realplay
Icon location (If you want to create a desktop launcher): /usr/lib/RealPlayer8/rp7.xpm
(This and many more files installed.)
Configure manually as follows: ("Edit" + "Preferences" + "Navigator" + "Applications")
| Mime Type | Suffix | Application |
| application/vnd.rn-realmedia | rm | /usr/bin/X11/realplay %s |
| application/smil | smi | /usr/bin/X11/realplay %s |
| audio/vnd.rn-realaudio | ra,ram | /usr/bin/X11/realplay %s |
| audio/x-pn-realaudio | ra,ram | /usr/bin/X11/realplay %s |
| video/vnd.rn-realvideo | rv | /usr/bin/X11/realplay %s |
| audio/x-pn-realaudio-plugin | rpm | Plug In: RealPlayer (RPM install does this one for you) |
Test at:
Additional info note: After install, Netscape will add the following to $HOME/.netscape/plugin-list:
/usr/lib/netscape/plugins/rpnp.so 958780180 audio/x-pn-realaudio-plugin: rpm:RealPlayer Plugin Metafile;See the help files installed to file:/usr/lib/RealPlayer8/Help/realplay/introduction.htm -[index]
pluginName=RealPlayer(tm) 7.0 Plug-In
pluginDescription=RealPlayer(tm) 7.0 LiveConnect-Enabled Plug-In
Installation:
tar xzf flash_linux.tar.gzMime types: (No configuration required by user)
mv flash_linux/libflashplayer.so /usr/lib/netscape/plugins
mv flash_linux/ShockwaveFlash.class /usr/lib/netscape/plugins
Description: Futuresplash
Mime Type: application/futuresplash
Suffixes: spl
Plug-in:
Description: Shockwave Flash
Mime Type: application/x-shockwave-flash
Suffixes: swf
Plug-in:
For more Flash info and links including development of an open source Flash player and tools.
![]() |
This plugin allows one to view Quicktime video including those encoded
with the Sorenson codec. It also handles other media types.
It is a commercial package which must be purchased ($19.95) before
downloading
(or shipped CD). The CrossOver package consists of Wine
and the Apple Quicktime viewer. It comes with an installer
and configurator which makes this a simple install.
Codeweavers Home Page - [Download] - Select "Cross Over Plugin downloadable" |
Installation: (CrossOver Version 1.0 with Apple Quicktime player 5.0.2 on Red Hat 7.1)
It was a simple installation and configuration as I took all the defaults except:
The installation had included video/x-quicktime but not video/quicktime (???) so I then had to add the following:
Description: QuickTime
MIME Type: video/quicktime
Suffixes: mov,qt
Plug-in: Plugin Quicktime Plug-in 5.0.2 (CrossOver - npqtplugin.dll)
The following mime type support will also be added by default during installation:
Mime Types: audio/aiff, audio/basic, audio/midi, audio/mpeg,
audio/wav, audio/x-aiff, audio/x-midi, audio/x-mpeg,
audio/x-wav, image/png, image/tif, image/x-bmp,
image/x-macpaint, video/avi, video/flc, video/mpeg,
video/quicktime, video/x-mpeg, video/x-msvideo
Extensions: .aiff, .au, .mpeg, .wav, .aif, .mid, .png, .tif, .tiff,
.bmp, .ptng, .png, .targa, .avi, .flc, .mpe, .mov
| Description | MIME Type | Suffixes | Application |
|---|---|---|---|
| Microsoft Video | video/x-msvideo | avi,vfw | $HOME/crossover/bin/wine.sh "C:/PROG~FBU/QUIC~EA4/QuickTimePlayer.exe" "%s" |
| DV | video/x-dv | dif,dv | $HOME/crossover/bin/wine.sh "C:/PROG~FBU/QUIC~EA4/QuickTimePlayer.exe" "%s" |
| Photoshop | image/x-photoshop | psd | $HOME/crossover/bin/wine.sh "C:/PROG~FBU/QUIC~EA4/PictureViewer.exe" "%s" |
| Microsoft | image/x-bmp | bmp,dib | $HOME/crossover/bin/wine.sh "C:/PROG~FBU/QUIC~EA4/PictureViewer.exe" "%s" [Pitfall] I had to disable this as it did not display BMP files. I deleted this entry and changed it back to the application "xv". |
[Potential Pitfall]: The installation of this plug-in may duplicate an existing application and mime type. This seems to confuse Navigator. I suggest you delete the duplicate entry created by the installation of this plug-in.
Download: Tcl Developer Xchange
http://dev.scriptics.com/software/plugin/
Installation:
zip -dc tclplug20-x86-linux.tar.gz
tar xf tclplug20-x86-linux.tar
cd tclplug20-x86-linux
./install.sh
Additional info note: This plugin should only be used with trusted sites or intranets. It allows the script to be downloaded from a website and executed in the browser locally. It allows the full power of Tcl/Tk. a "Safe-Tcl" Tcl interpreter is available which only executes a subset of Tcl is available from this web site.
Description: SID MusicSee:
MIME Type: audio/prs.sid
Suffixes: sid
Application: Use plug-in
Install:
tar zxfBE VERY CAREFULL! THIS SETUP PROGRAM IS DANGEROUS!!! I SPECIFIED /opt AND IT RECURSIVELY DELETED EVERYTHING in /opt!!!!!!!! IT ASKS ABOUT mv AND tar BUT NEVER ASKS ABOUT "rm -Rf *"!!!!!! IBM SHOULD BE ASHAMED FOR PRODUCING SUCH CODE!!!!!!!!!!!!!!!! IT WAS CARELESS, DANGEROUS AND OUTRIGHT IRRESPONSIBLE!!!!!!!
./setup
| Tips: |
| Go / Navigation | - |
| Back | Alt-LeftArrow |
| Forward | Alt-RightArrow |
| Stop | ESC |
| File Menu | - |
| New Navigator Window | Alt-n
Alt-1 |
| New Msg E-mail Window | Alt-m
Alt-2 |
| New Composer Window | Alt-Shift-n
Alt-3 |
| New Radio Window
(Real Audio) |
Alt-7 |
| Open Page Dialog Box | Alt-o |
| Save As... | Alt-s |
| Print... | Alt-p |
| Close Window | Alt-w |
| Exit Netscape | Alt-q |
| Edit Menu | - |
| Find in Page... | Alt-f |
| Find in Page... | Alt-f |
| View Menu | - |
| Refresh Page | Alt-r |
| View Page Source | Alt-u |
| Tools Menu | - |
| Show History | Alt-h |
| Display bookmarks panel | Alt-b |
| JAVA Console | Alt-j |
| Links: |
Mozilla 5:
Books: |
![]() |
"Netscape DevEdge Web Developer's Library" (and CD)
By Paul Dreyfus, Hungry Minds Inc. ISBN# 076454585X |
|
|
Return to http://YoLinux.com home page
Return to YoLinux Tutorial Index Copyright © 2000, 2001, 2002, 2003 by Greg Ippolito |