Showing posts with label OpenOffice. Show all posts
Showing posts with label OpenOffice. Show all posts

3.31.2010

PhD Defense Presentation

I would like to expand some on this later (after the defense) with reflections etc.

Now I just need to get down the procedure I used to make a quality MPEG of a rotating crystal-packed molecule that I can call from OOO Impress.

To make an MPEG from PyMOL I first needed to install the FreeMol addon pack:

1. Download FreeMol "trunk" tarball from svn repo here.
2. Follow install tips from here.

I moved the FreeMol "trunk" directory to /opt/trunk/ and then cd into each package within /opt/trunk/src. Then I ran < ./cofigure ; make ; sudo make install ; make clean > within each package directory. I had to install the GNU fortran compiler (from synaptic package manager) for one to work.

After you "save as" your MPEG movie you can call it from OOO Impress using a macro command.

1. In OOO Imress go to -> Tools -> Macros -> Organize Macros -> OOO Basic
2. Create a new module within the standard library following these instructions.

I deviated somewhat by using this in my macro command:

Sub Main
Shell("totem --fullscreen --toggle-controls /home/me/chem/movie/movie.mpg",2)
End Sub


New Discovery - It looks like I should be able to embed an AVI file directly into my Impress Slide. From OOO go to Insert -> Movie & Sound and select the .avi file. May need to install a codec (libavcodec?) first...verification needed. Also to convert the MPEG from PyMOL to an AVI format install ffmpeg and then run
> ffmpeg -i file.mpeg file.avi

A video toolbar comes up when you click on the embedded box where you can select "repeat." The AVI video will automatically start playing when you advance to the slide and continue until you move on.

7.15.2009

OpenOffice for Puppy?

This is still a work in progress.

OpenOffice for puppy is distributed as a .sfs "squashfile." I found a list of available versions at this Doku Puppy site. It seems that the easiest implementation is to place the .sfs in the appropriate /mnt directory and on reboot OpenOffice will run. However this is only true for a frugal install as noted here. I spent some time trying to figure this out, and then more time to determine what to do if you have a full install? I finally got a great tip from an IRC puppy channel member on xchat who gave me this link to using a .sfs with a full install.

So I'm still waiting for the .sfs to download and then to see how it all goes.