[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:36:37 UTC 2005


On Sat, 10 Dec 2005, Eric Harrison wrote:

> 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

Oh, and be sure to do this as root... if you run it as a regular 
user it won't give you an error, but it won't change the defaults.

This will do the trick:

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

-Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openoffice-ms-format-defaults.sh
Type: application/x-sh
Size: 992 bytes
Desc: 
URL: <http://listman.redhat.com/archives/k12osn/attachments/20051210/a3431d32/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 @@
           <value>CalcCommands</value>
         </prop>
         <prop oor:name="ooSetupFactoryDefaultFilter">
-          <value>calc8</value>
+          <value>MS Excel 97</value>
         </prop>
         <prop oor:name="ooSetupFactoryEmptyDocumentURL">
           <value>private:factory/scalc</value>
-------------- 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 @@
           <value>DrawImpressCommands</value>
         </prop>
         <prop oor:name="ooSetupFactoryDefaultFilter">
-          <value>impress8</value>
+          <value>MS PowerPoint 97</value>
         </prop>
         <prop oor:name="ooSetupFactoryEmptyDocumentURL">
           <value>private:factory/simpress?slot=6686</value>
-------------- 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 @@
           <value>WriterCommands</value>
         </prop>
         <prop oor:name="ooSetupFactoryDefaultFilter">
-          <value>writer8</value>
+          <value>MS Word 97</value>
         </prop>
         <prop oor:name="ooSetupFactoryEmptyDocumentURL">
           <value>private:factory/swriter</value>
-------------- next part --------------
_______________________________________________
K12OSN mailing list
K12OSN at redhat.com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>


More information about the K12OSN mailing list