Skip to content

This post is also available in: Español (Spanish)

How to open flash or SWF files with Chrome in Ubuntu?




Ubuntu is an operating system that is used on laptops, desktops and servers, which has many useful applications for programming, word processors, emails, etc.. Now how can we open SWF files from this operating system? We know that a SWF file is used to be published on the web, create animations, games, graphics, menus for DVD movies and TV commercials and that it can be opened with any web browser, as long as it is compatible with Flash.

Steps to open SWF files with Chrome in Ubuntu?

We’re going to explain how to open a flash file with Chrome in Linux (Ubuntu):




The first thing to know is that these files are not executed because of the problem with mime-types, but we can fix them by following these instructions:




  • Ubuntu opens

  • Already opened with permission Super user opens the browser




  • The file is saved

  • Edit the following file as root: /usr/share/mime/packages/freedesktop.org.xml

  • Locate the following line: <mime-type type=”application/vnd.adobe.flash.movie”>



  • The previous line is replaced by the following: <mime-type type=”application/x-shockwave-flash”>
  • To apply the changes run the following: sudo update-mime-database /usr/share/mime

  • Open browsers are closed and should be dragged back to the browser and opened without problems.




  • Ready to open your file




We hope we have helped you with this tutorial if you have not found what you were looking for, we advise you to take a look at these articles we have made:







How to open flash or SWF files with Chrome in Ubuntu?
5 (100%) 1 vote