anyone?
On Fri, Jan 15, 2010 at 8:26 AM, Janez Kosmrlj postnalista@googlemail.comwrote:
Hi, I am trying to change some OpenOffice defaults. First of all I would like to change the default open/save directory. First I tried to change *$work* in */opt/ openoffice.org/basis3.1/share/registry/data/org/openoffice/Office/Paths.xcu
- but it hadn't had any impact on the users.
Then I tried to change the file */opt/ openoffice.org/basis3.1/share/registry/schema/org/openoffice/Office/Common.xcs
I tried to change : *<prop oor:name="Work" oor:type="xs:string"> <info> <desc>Specifies the path of the work folder, which can be modified according to the user's needs. The path specified here can be seen in the Open or Save dialog.</desc> </info> <value>$(work)</value> </prop>*
to
*<prop oor:name="Work" oor:type="xs:string"> <info> <desc>Specifies the path of the work folder, which can be modified according to the user's needs. The path specified here can be seen in the Open or Save dialog.</desc> </info> <value>/opt/documents</value> </prop>
*But instead of pointing to /opt/documents the default save dialogue now opens at / and in the properties i can now see that it points nowhere (see attached picture)
Has anyone an idea what I am doing wrong.
BR Janez
On Mon, Jan 18, 2010 at 3:08 AM, Janez Kosmrlj postnalista@googlemail.com wrote:
anyone?
On Fri, Jan 15, 2010 at 8:26 AM, Janez Kosmrlj postnalista@googlemail.com wrote:
Hi, I am trying to change some OpenOffice defaults. First of all I would like to change the default open/save directory.
Did you try using Tools->Options->OpenOffice.org->Paths to set the "My Documents" directory? Did you consider using the Help functions to see if there was an easy way to do what you want?
It's not always the first, best choice to dig into the muck of the control files when there are built in option controls that will accomplish the same thing easily and conveniently....
Also, please do not top-post on this list.
HTH.
mhr
I did consider that, but if you have about 1000 machines distributed in 4 countries, then this is not really an option. I am trying to find a way, that can be packaged to an rpm package.
BR
On Mon, Jan 18, 2010 at 12:26 PM, MHR mhullrich@gmail.com wrote:
On Mon, Jan 18, 2010 at 3:08 AM, Janez Kosmrlj postnalista@googlemail.com wrote:
anyone?
On Fri, Jan 15, 2010 at 8:26 AM, Janez Kosmrlj <
postnalista@googlemail.com>
wrote:
Hi, I am trying to change some OpenOffice defaults. First of all I would
like
to change the default open/save directory.
Did you try using Tools->Options->OpenOffice.org->Paths to set the "My Documents" directory? Did you consider using the Help functions to see if there was an easy way to do what you want?
It's not always the first, best choice to dig into the muck of the control files when there are built in option controls that will accomplish the same thing easily and conveniently....
Also, please do not top-post on this list.
HTH.
mhr _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
From: Janez Kosmrlj postnalista@googlemail.com
I did consider that, but if you have about 1000 machines distributed in 4 countries, then this is not really an option. I am trying to find a way, that can be packaged to an rpm package.
If I use the menu, I get in my ~/.openoffice.org2.0/user/registry/data/org/openoffice/Office/Paths.xcu: <value>file:///opt</value> Notice the 'file://'... The global setting for me is in: /usr/lib/openoffice.org/share/registry/data/org/openoffice/Office/Paths.xcu But the global setting is useless for existing users (who already have local settings)...
JD
On Mon, Jan 18, 2010 at 2:56 PM, John Doe jdmls@yahoo.com wrote:
From: Janez Kosmrlj postnalista@googlemail.com
I did consider that, but if you have about 1000 machines distributed in 4
countries, then this is not really an option.
I am trying to find a way, that can be packaged to an rpm package.
If I use the menu, I get in my ~/.openoffice.org2.0/user/registry/data/org/openoffice/Office/Paths.xcu: <value>file:///opt</value> Notice the 'file://'... The global setting for me is in: /usr/lib/ openoffice.org/share/registry/data/org/openoffice/Office/Paths.xcu But the global setting is useless for existing users (who already have local settings)...
JD
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
thanx for the file:// part. The 3.0 file doesn't have that. I will give it a try.
it works changing
*<prop oor:name="Work" oor:type="xs:string"> <info> <desc>Specifies the path of the work folder, which can be modified according to the user's needs. The path specified here can be seen in the Open or Save dialog.</desc> </info> <value>$(work)</value> </prop>* to
*<prop oor:name="Work" oor:type="xs:string"> <info> <desc>Specifies the path of the work folder, which can be modified according to the user's needs. The path specified here can be seen in the Open or Save dialog.</desc> </info> <value>file:///opt/documents</value> </prop> *
in */opt/ openoffice.org/basis3.1/share/registry/schema/org/openoffice/Office/Common.xcs
*just if someone else is interested*
*thank you all* *
On Mon, Jan 18, 2010 at 5:07 AM, Janez Kosmrlj postnalista@googlemail.com wrote:
I did consider that, but if you have about 1000 machines distributed in 4 countries, then this is not really an option. I am trying to find a way, that can be packaged to an rpm package.
BR
Purely as an exercise in logic, if you know where the control file is but not how to change it, would it not make sense to use the menu items to modify your control file, compare the differences and arrange to export the changes however you need? E.g., comparing the before and after files, it should be a trivial matter to whip up a shell script that makes the same change externally, then send that to your 1000 installations.
However, as John Doe says, this won't override local setting changes.
Again, please do not top post in this list, particularly not with off-topic issues such as this one.
Thanks.
mhr