Playing embedded midi file in firefox – Part 3: Ubuntu (Linux)

Visit this link to view the post: http://eyedealab.com/?p=2246
Posted on: 4 Comments
play-midi-in-firefox

Series: Playing embedded midi file in firefox – Part 1
Continued from: Playing embedded midi file in firefox – Part 2: Windows

Instructions For Ubuntu Users:icon-ubuntu

A special plugin and a midi software ‘renderer’ is required for playing embedded midi file types from within the browser.

Installation
Open up a terminal, type the command below and then press enter.

sudo apt-get install timidity mozplugger

Answer yes to all questions and the installation will be complete.

Restart firefox (don’t forget to close all instances) and embedded midi files should now play when you go to this sample webpage below.

Additional tips you may require in the process:

1. Sometimes you may need to delete /home/[USERNAME]/.mozilla/pluginreg.dat and restart firefox. This is because a bug require mozplugger to be the last plugin loaded .

2. The mozilla folder is in your Home folder, but you cannot see it until you turn on ‘show hidden files’ (Ctrl+H) in the ‘view’ menu.

3. Mostly the default Evince (http://projects.gnome.org/evince/) PDF document viewer will have no problem with reading PDF files. But this plugin doesn’t cooperate very nice with Acrobat Reader in firefox, but using xpdf in firefox solves this problem. If pdf’s are not displaying anymore in your browser follow the instructions below:

Type:

sudo apt-get install xpdf

Then:

sudo gedit /etc/mozpluggerrc

Put an # before the line with acroread in it, as shown below:

text/x-pdf: pdf: PDF file
#      repeat swallow(documentShell) fill: acroread -geometry +9000+9000 +useFrontEndProgram "$file"
        repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
        repeat noisy swallow(gv) fill: gv --safer --quiet --antialias -geometry +9000+9000 "$file"

Priyanka Naskar Majumder - the Owner, Eyedea LAB. Graphics & Web Studio, lives in Kolkata, India. Interested in: Usability research, Graphic Design, Web Design & Development.

4 responses ↓



  1. Pingback: Playing embedded midi file in firefox – Part 2: Windows | Eyedea Lab
  2. Pingback: Playing embedded midi file in firefox – Part 1 | Eyedea Lab


Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.