[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

Attachment: openoffice-ms-format-defaults.sh
Description: Bourne shell script

--- /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>
--- /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>
--- /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>
_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]