[K12OSN] Setting Open Office 2.0 to save as a Doc by default.

Eric Harrison eharrison at mail.mesd.k12.or.us
Sat Dec 10 19:23:38 UTC 2005

On Fri, 9 Dec 2005, Paul VanGundy wrote:

> Eric,
> Then to update me on OOo2.0 how would you set it to default if you
> didn't have your script? There is still an openoffice.conf and the line
> I listed in my last post. But if that doesn't work then what do you
> configure so that it will (a .conf file please, not via GUI or OOo2.0
> interface since I already know how to do that). Thanks.
> -Paul

Ah, I assume you are using Debian or Ubuntu? Questions about different
distributions are quite welcome here, but please do indicate whenever
you are using a distribution other than K12LTSP. Since this is the
support forum for K12LTSP, there is a tendancy to assume K12LTSP
unless otherwise stated.

I booted my laptop up into Ubuntu and it does in deed have a 
/etc/openoffice/openoffice.conf file that contains a OOO_MS_DEFAULT=1
setting. It didn't work for me, however.

Attached are the patches and script that I use to change these
defaults on K12LTSP. I verified that they work on my Ubuntu laptop.

Save all four files in the same directory, then run:

 	sh ./openoffice-ms-format-defaults.sh

-------------- next part --------------
A non-text attachment was scrubbed...
Name: openoffice-ms-format-defaults.sh
Type: application/x-sh
Size: 992 bytes
URL: <http://listman.redhat.com/archives/k12osn/attachments/20051210/074c753c/attachment.sh>
-------------- next part --------------
--- /usr/lib/openoffice.org2.0/share/registry/modules/org/openoffice/Setup/Setup-calc.xcu.orig	2005-08-29 15:33:02.000000000 -0700
+++ /usr/lib/openoffice.org2.0/share/registry/modules/org/openoffice/Setup/Setup-calc.xcu	2005-08-29 15:37:35.000000000 -0700
@@ -7,7 +7,7 @@
         <prop oor:name="ooSetupFactoryDefaultFilter">
-          <value>calc8</value>
+          <value>MS Excel 97</value>
         <prop oor:name="ooSetupFactoryEmptyDocumentURL">
-------------- next part --------------
--- /usr/lib/openoffice.org2.0/share/registry/modules/org/openoffice/Setup/Setup-impress.xcu.orig	2005-08-29 15:33:10.000000000 -0700
+++ /usr/lib/openoffice.org2.0/share/registry/modules/org/openoffice/Setup/Setup-impress.xcu	2005-08-29 15:37:58.000000000 -0700
@@ -7,7 +7,7 @@
         <prop oor:name="ooSetupFactoryDefaultFilter">
-          <value>impress8</value>
+          <value>MS PowerPoint 97</value>
         <prop oor:name="ooSetupFactoryEmptyDocumentURL">
-------------- next part --------------
--- /usr/lib/openoffice.org2.0/share/registry/modules/org/openoffice/Setup/Setup-writer.xcu.orig	2005-08-29 15:32:57.000000000 -0700
+++ /usr/lib/openoffice.org2.0/share/registry/modules/org/openoffice/Setup/Setup-writer.xcu	2005-08-29 15:33:29.000000000 -0700
@@ -39,7 +39,7 @@
         <prop oor:name="ooSetupFactoryDefaultFilter">
-          <value>writer8</value>
+          <value>MS Word 97</value>
         <prop oor:name="ooSetupFactoryEmptyDocumentURL">

More information about the K12OSN mailing list