JellyFish D1278-037 crw_10249 img_18336 crw_10139 img_1333 Monsters img_1180 JellyFish img_18249 img_18778 crw_5594.jpg D1278-105 crw_5458.jpg img_14285 crw_0195 Living Rainforest crw_10313 img_1412 crw_5449.jpg

@antonpiatek on twitter

Posting tweet...

Powered by Twitter Tools

OpenOffice across NFS

I used to use samba for sharing files on my home network (most of my data is on a “server”) but it seemed to have nasty problems with wireless. It turns out NFS copes far better and allows mp3′s to stream nicely, so I fixed my IP address and got that setup (pretty easy actually).

The only problem I have found so far is that by default OpenOffice.org does not like to edit files across NFS as it wants to be able to lock files. I am not sure if you can allow file locking across NFS or not, but I found a workaround for OpenOffice, and I am not going to have a problem editing the same file from two places anyway.

Simply edit /usr/lib/openoffice/program/soffice (or /opt/openoffice2/program/soffice on non-debian distros) and comment out the lines

# file locking now enabled by default
SAL_ENABLE_FILE_LOCKING=1
export SAL_ENABLE_FILE_LOCKING

and you can now open documents across NFS in write mode!

Random Posts

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">