How to - Run Swf Files Natively on Linux Mint 17

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
masternetra
Level 1
Level 1
Posts: 23
Joined: Fri Jan 22, 2010 12:45 pm

How to - Run Swf Files Natively on Linux Mint 17

Postby masternetra » 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)

User avatar
administrollaattori
Level 10
Level 10
Posts: 3333
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

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

Postby administrollaattori » 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

masternetra
Level 1
Level 1
Posts: 23
Joined: Fri Jan 22, 2010 12:45 pm

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

Postby masternetra » 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.


Return to “Tutorials”

Who is online

Users browsing this forum: No registered users and 5 guests