[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 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

-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>

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