##################################
Enslish>

To enable document preview functionality you must install the following programs:

- SWFTools (preview of PDFs and images)
- ImageMagick (thumbnail tab on images)

In Ubuntu this reduces to:
sudo aptitude install swftools imagemagick

And set the following properties in context.properties
/tomcat/webapps/logicaldoc/WEB-INF/classes 
(These routes operate on a default Ubuntu installation)

command.convert=/usr/bin/convert
swftools.path=/usr/bin/

---------------
For Ubuntu 12.04/11.10

SWFTools

sudo add-apt-repository ppa:guilhem-fr/swftools
sudo apt-get update
sudo apt-get install swftools
Note: the command pdf2swf has been removed from the swftools dist for Ubuntu 12.10
https://bugs.launchpad.net/ubuntu/+source/swftools/+bug/1086220

Alternative way (Ubuntu 12.04 LTS):
sudo apt-get install libart-2.0-2 libjpeg62 libgif-dev
wget http://launchpadlibrarian.net/43569089/swftools_0.9.0-0ubuntu2_i386.deb
chmod a+x swftools_0.9.0-0ubuntu2_i386.deb
sudo dpkg -i swftools_0.9.0-0ubuntu2_i386.deb
rm -rf swftools_0.9.0-0ubuntu2_i386.deb
pdf2swf version
whereis pdf2swf

Another alternative way:
http://techminded.net/blog/getting-swftools-on-linux-ubuntu.html
https://designbye.wordpress.com/2010/02/23/installing-swftools-and-pdf2swf-on-ubuntu-linux/ (older guide 2010)

ImageMagick

sudo apt-get install ghostscript
sudo apt-get install imagemagick
whereis convert
convert version


##################################
Espaol>

Para que funcione todo bien tienes que instalar los siguientes programas:

- SWFTools
- ImageMagick

En un Ubuntu esto se reduce a:
sudo aptitude install swftools imagemagick

Y configurar las siguientes propiedades en context.properties 
(las rutas estas por defecto funcionarn en una instalacin de Ubuntu)

command.convert=/usr/bin/convert
swftools.path=/usr/bin/



##################################
Italiano>

Per attivare correttamente le funzionalit di preview dei documenti  necessario installare i seguenti programmi:  

- SWFTools
- ImageMagick

In Ubuntu questo si traduce in:
sudo aptitude install swftools imagemagick

A questo punto configurare i path nella GUI di LogicalDOC:
Administration --> Settings --> Client and External Apps --> External Apps
 

In alternativa  possibile impostare le seguenti propriet nel context.properties 
/tomcat/webapps/logicaldoc/WEB-INF/classes

Nota: Assicurarsi di eseguire questa operazione avendo tomcat spento.

Questi i path di default in una installazione standard di Ubuntu

command.convert=/usr/bin/convert
swftools.path=/usr/bin/
