I must give thanks to Webup8 for this post, all this is their work and you can see the original post here:
Gloobus Preview was recently fixed so it now works with Ubuntu 12.04 too. Besides the Ubuntu 12.04 fix, the latest Gloobus Preview from BZR comes with GTK3 support, support for password-protected documents, a rewritten documents plugin, WebM support, fixed ttf, pdf and video plugins and other fixes.
sudo add-apt-repository ppa:gloobus-dev/gloobus-preview sudo apt-get update sudo apt-get install gloobus-preview gloobus-sushi
For the oppenoffice documents to work, you should install unoconv too
sudo apt-get install unoconv
Use it with Marlin
the file manager that will be used by default in elementary OS, can also use Gloobus Preview. To set Marlin to use Gloobus Preview, install Dconf-Editor:
sudo apt-get install dconf-tools
Then launch Dconf-Editor, navigate to apps > marlin > preferencesand set “/usr/bin/gloobus-preview” for the previewer-path. Then, just like in Nautilus, use the SPACE key to quickly preview files.