How to - Run Swf Files Natively on Linux Mint 17

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
masternetra
Level 1
Level 1
Posts: 34
Joined: Fri Jan 22, 2010 12:45 pm

How to - Run Swf Files Natively on Linux Mint 17

Post by masternetra »

After some stumbling around in fustration trying to find a way to run swf locally, I found a Ubuntu thread that had a solution that worked and would like to share here.
I'm using Linux Mint 17 64bit ftw.

1. Edit /usr/share/mime/packages/freedesktop.org.xml (e.g. sudo gedit /usr/share/mime/packages/freedesktop.org.xml)

2. In freedesktop.org.xml find "<mime-type type="application/vnd.adobe.flash.movie">" and change it to "<mime-type type="application/x-shockwave-flash">".

3. Run "sudo update-mime-database /usr/share/mime"

Optionally install/reinstall the flash plugin. Personally though I had the adobe-plugin installed already when I did the above and when I logged out of my admin and into my daily account I was able to run a swf in Firefox.

Source: http://ubuntuforums.org/showthread.php?t=2218732&page=2 (Post 13) (which sources https://bbs.archlinux.org/viewtopic.php?id=173295&p=2)
kukamuumuka

Re: How to - Run Swf Files Natively on Linux Mint 17

Post by kukamuumuka »

An easy way is to install Gnash SWF-viewer via package management .. :wink:
masternetra
Level 1
Level 1
Posts: 34
Joined: Fri Jan 22, 2010 12:45 pm

Re: How to - Run Swf Files Natively on Linux Mint 17

Post by masternetra »

Not the same, gnash only handles non-interactive flash. If one wants to utilize a interactive swf (a flash app/game) one would have to do the fix, which only seems to work for Firefox atm. Chrome still tries to download it when played, but meh.
Post Reply

Return to “Tutorials”