Home > Blog > Prezi Offline in Linux

Prezi Offline in Linux
1 star2 stars3 stars4 stars5 stars
(votes: 1, avg: 5.00)
Loading ... Loading ...

For creating my GameStore talk at LinuxWochen Wien I decided to use new and hip tool called Prezi. I’m not going to write about its features, you have to try and see for yourself. :-) What I can say is that I really like the tool, but it has one big disadvantage – it’s written in Flash.

During the event we had a wireless connection available, but it was rather unreliable, so it was no option for me to present the talk online. I started to investigate the offline options. Either you can download the full blown Prezi Desktop, which is available if you subscribe the service, or you just download the Prezi “Player”. But wait, the page claims it is compatible only with Windows and Mac OS X. Let’s see. I downloaded the ZIP archive and indeed – it contains data folder with your presentation, Windows application (prezi.exe) and Mac OS X application (prezi.app).

Let’s get hacking! Mac OS X application is in fact just a directory structure. I copied the file prezi.app/Contents/Resources/movie.swf to the same location as my data directory and tried to run flashplayer movie.swf. Wow! The presentation started to load, but unfortunately it stopped after few seconds and I ended with this:

I tried straceing the process, but found nothing unusual (like failed open calls). Then I downloaded the debug version of Flash Player, run the command again and got this exception:

An ActionScript error has occurred:
Error #2044: Unhandled SecurityErrorEvent:. text=Error #2140: Security sandbox violation:
file:///.../movie.swf/[[DYNAMIC]]/1 cannot load file:///.../data/fonts/LiberationSerif-Regular.swf.
Local-with-filesystem and local-with-networking SWF files cannot load each other.

Aha! Locally stored SWF files cannot load other SWF files, neither local ones, nor remote ones. That’s the problem. Ok, let’s change the standalone player settings. But how?! I tried various command line switch with no success. After couple minutes of searching I found that standalone Flash Player settings could be changed via Flash plugin that loads Settings manager from the Internet? WTF?! :-)

I will make it easier for you: let’s google for “flash global security settings content creators”. The first result at the time of writing this article was this one. Go to this URL, wait until the Settings manager is loaded and then click on the “Edit locations …” button.

After that select “Add directory” and choose local directory where you store your presentations. From now on you enabled standalone Flash player to run your Prezis. Congratulations!

Even though I like Prezi, I would be ecstatic if they dropped Flash and used SVG instead as its presentation and interchange format, probably using the uber-cool SVG-edit as the core. :-) It would also enable iPad users to use the tool. And yes, I know about JessyInk, but that’s not exactly what I have on mind …

  1. May 7th, 2010 at 21:29 | #1 | Safari 4.0.5Mac OS X 10.5.8

    hello,
    thank you for publishing this hack. I’m happy to see that smart and enthusiastic hackers use prezi!

    Can I ask something? You mentioned ‘it has one big disadvantage – it’s written in Flash.’. Do you really mind flash or you don’t like the fact that there is no linux version?

    peter
    halacsy

  2. May 7th, 2010 at 22:21 | #2 | Google Chrome 5.0.384.0openSUSE

    @Peter Halacsy
    I mean Flash, because I think it would be possible to write Prezi completely using open technologies like SVG and Javascript. It would solve lots of cross-platform incompatiblity and also introduce good interchange format (SVG with embedded JS).

  3. May 10th, 2010 at 11:22 | #3 | Safari 4.0.5Mac OS X 10.5.8

    @Pavol Rusnak

    I think flash solves a lots of cross-platform incompatibility. Unfortunately SVG rendering (especially animation) seems to be a bit slower.

  4. May 10th, 2010 at 12:27 | #4 | Google Chrome 5.0.384.0openSUSE

    @Peter Halacsy
    Yes, but SVG rendering is getting better every day. And by using Flash you are missing one big opportunity – iPad. I will try to create a SVG+Javascript renderer for PEZ files (if I have time).

  5. tekki
    June 30th, 2010 at 21:35 | #5 | Firefox 3.6.6Ubuntu 10.04

    hey stick – don’t work with flashplayer 10.1.53.64 in Ubuntu 10.4 (Lucid). I Think the swf File is located in home/tekki/[PresentationName]/data/main.swf

    I added my complete home directory in http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.html as you said but there’s only white space in my flashplayer… any ideas?

    hope you can help me – i like these prezi stuff…

    regards

    tekki

  6. Antonio Lucas
    July 21st, 2010 at 06:02 | #6 | Google Chrome 5.0.375.99GNU/Linux

    The trick worked for me. But it did not show my presentation, only a error message from prezi inside flash player:

    “Oops, trouble with your Prezi!? First try checking your internet connection. If this doesn’t work you can always check help.”

    I am on archlinux using flashplayer version 10.1.53.64 .

  7. William
    July 31st, 2010 at 02:57 | #7 | Google Chrome 6.0.478.0GNU/Linux

    Where exactly did you get the flashplayer commandline tool? I’ve been looking, but all I can seem to find is the browser plugin. Do I need a Flash SDK? Is there an easy way to get the tool on Ubuntu?

  8. Ketil
    August 13th, 2010 at 16:31 | #8 | Firefox 3.6.8Ubuntu 10.04

    Hi

    I must be very clumsy, but on my ubuntu I get the same error as Antonio Lucas. I have downloaded the flasplayer and have added the folder as well as the file to the trusted sites. I then moved the movie.swf to the data/repo folder.

    What else did you guys do?

    Ketil

  9. August 17th, 2010 at 15:57 | #9 | Google Chrome 6.0.496.0openSUSE

    It seems that Prezi generates new presentations which cannot be fooled that way :-/ Another reason why to stick to SVG!

  10. October 18th, 2010 at 16:35 | #10 | Chromium 6.0.472.63Ubuntu 10.10

    I’ve got the same error as Anonio and Ketill. The problem is some kind of 32/64 bits incompatibility with the current version of flash and library im-ibus.so
    The Flash Desktop Player and Desktop Debbuger can be found here: http://www.adobe.com/support/flashplayer/downloads.html

    This is the error at the command line: /usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so: wrong ELF class: ELFCLASS64.

    I totally agree with Pavol, technology should be open. We are all adobe/flash slaves…

  11. October 20th, 2010 at 10:07 | #11 | Firefox 3.6.10Windows XP

    Tried this trick just yesterday, and it worked fine.

    The movie.swf is in [presentation]/prezi.app/Contents/Resources/movie.swf.

    I moved that to the [presentation] directory – i.e. not “data” as stated in original post! Then I added the [presentation] directory to the list of trusted locations using the online global security settings editor.

    Then, using the commandline flashplayer, I could run the prezi;
    $ flashplayer movie.swf

    Thanks for a great tutorial that helped me greatly in getting this to work.

  12. alx
    December 15th, 2010 at 12:25 | #12 | Firefox 3.6.13Ubuntu 10.04

    @Per
    i dont seem to have the flashplayer commandline tool installed (only flashplugin-installer) but it worked with firefox!

    as described by stick and Per above, i moved [presentation]/prezi.app/Contents/Resources/movie.swf to the [presentation] directory & added the [presentation] directory to the list of trusted locations using the online global security settings editor at http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
    and opened the movie.swf with firefox!

    even keyboard shortcuts work!

  13. AJM
    January 12th, 2011 at 18:16 | #13 | Firefox 3.6.13Ubuntu 10.10

    Hey guys!

    So, although this takes WINE AND Adobe’s Flash plugin, it works much easier.
    I’m using Maverick 64bit.

    I downloaded the .zip that supposedly only works on Mac or PC.

    Opened it up, extracted that folder.
    Now, select the prezi.exe, right-click and select Properties.
    Mark as executable
    Now, with WINE installed, open with WINE, using your Adobe FlashPlayer – works like a charm :)

  14. February 27th, 2011 at 00:49 | #14 | Firefox 3.6.13Ubuntu 10.04

    @AJM
    Many thanks @AJM. It really saved me time &effort :-)

  15. March 17th, 2011 at 01:40 | #15 | Google Chrome 10.0.648.134GNU/Linux x64

    Works great man! Thanks

  16. foobar
    April 16th, 2011 at 12:42 | #16 | Firefox 4.0GNU/Linux x64

    Awesome, thanks!

  17. Murilo
    May 10th, 2011 at 19:58 | #17 | Firefox 4.0.1GNU/Linux

    I moved the file prezi.app/Contents/Resources/movie.swf to the same location as my prezi.exe is and works like a charm. ( not forget to “Add directory” and choose local directory as the author said)

    But I could not resize the stand-alone window from flashplayer.

    Then I opened the movie.swf with firefox and press F11 (VollBild).

    Regards
    Murilo

  18. Mortimer
    July 14th, 2011 at 11:38 | #18 | Firefox 5.0GNU/Linux x64

    Check out: SOZI, http://sozi.baierouge.fr/wiki/en:welcome

    it’s another inkscape plugin that seems very promissing, it’s not as straighforward as prezi, but it has a lot more potention I think.

  19. Mike Simons
    August 2nd, 2011 at 12:48 | #19 | Chromium 12.0.742.112Ubuntu 11.04

    https://github.com/mikesimons/prezi-linux

    Basically a scriptified version of this technique which also runs a lightweight webserver via ruby / rackup in order to bypass the flash security restrictions.

    It also trims out the mac / windows binaries and compresses the presentation (though that has little effect as most of what is left will be compressed already).

  20. opensas
    September 27th, 2011 at 16:15 | #20 | Chromium 15.0.860.0Ubuntu 10.10

    prezi-linux worked fine to me

    the size went down from 20MB to just 2.2 MB!!!

    great tool, prezi should have something like that right out of the box

  21. Tom Freudenberg
    October 26th, 2011 at 05:00 | #21 | Firefox 3.6.23Ubuntu 10.10

    Hi out there.Today I wrote a simple gui for an offline player fo linux. If someone is interested in, take a look on https://github.com/TomFreudenberg/preziplayer/wiki.

  22. Christian L
    January 23rd, 2012 at 18:06 | #22 | Firefox 9.0.1GNU/Linux x64

    Thanks a lot for that tip! My colleagues made a presentation using Prezi and it made me crazy! However, I also had to do as Murilo and copy the ‘movie.swf’ from [main directory]/prezi.app/Contents/Resources to [main directory] and open it from there (e.g. with firefox). Works like a charm!

    Greets

  23. C. F.
    February 26th, 2012 at 12:00 | #23 | Firefox 10.0.2Ubuntu

    Sorry, but this isn’t working on my computer. I’m using Ubuntu 11.10 and tried it by using Firefox and the Chromium-Browser. In both browsers the content part of the windows keeps white.

    Is the another plan?

    Greets

  24. Amy
    April 25th, 2012 at 12:29 | #24 | Chromium 17.0.963.56Ubuntu 11.10

    Hi there,

    I’m not very technical – need prezi to run on my ubuntu netbook but can’t understand or follow what you’re saying. Would like to do it myself instead of relying on other more technically gifted people…

    Can you please explain in normal people speak what I need to do to get prezi and ubuntu working together?

    Thanks!

    Amy

  25. Tom Freudenberg
    May 7th, 2012 at 21:01 | #25 | Firefox 11.0Ubuntu

    Hi Amy,

    I wrote a simple tool with gui and installation for debian based systems like Ubuntu. Usage and installation is described at https://github.com/TomFreudenberg/preziplayer/wiki.

    I think this is end user stuff ;-)

    Greetings,
    Tom

  1. September 12th, 2010 at 03:36 | #1 | WordPress 3.0.1
  2. September 22nd, 2011 at 18:35 | #2 | WordPress 3.2.1
or