How to - Run Swf Files Natively on Linux Mint 17

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

How to - Run Swf Files Natively on Linux Mint 17

Postby masternetra on Mon Jun 16, 2014 6:32 pm

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)
masternetra
Level 1
Level 1
 
Posts: 15
Joined: Fri Jan 22, 2010 12:45 pm

Linux Mint is funded by ads and donations.
 

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

Postby administrollaattori on Thu Jun 19, 2014 12:16 pm

An easy way is to install Gnash SWF-viewer via package management .. :wink:
Attachments
gnash swf viewer.png
User avatar
administrollaattori
Level 6
Level 6
 
Posts: 1466
Joined: Tue Sep 03, 2013 4:51 am

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

Postby masternetra on Tue Jul 08, 2014 4:36 pm

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.
masternetra
Level 1
Level 1
 
Posts: 15
Joined: Fri Jan 22, 2010 12:45 pm


Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 13 guests