Hi Alan,
You should modify /usr/share/applications/ooo-*.desktop files,
or equivalent files in the OOo sources:
Set up environment variables as you wish, before running the
actual programs inside those *.desktop files.
Another possibility is to call shell scripts from *.desktop files,
do not call the OOo binary programs themselves.
See Mozilla / Firefox / Iceweasel *.desktop files:
they run shell scripts, they do not run binary programs directly
from user menus.
--
Moshe Gorohovsky
A6 CC A7 E1 C2 BD 8C 1B 30 8E A4 C3 4C 09 88 47 Tk Open Systems Ltd.
-----------------------------------------------------------------------
- http://www.tkos.co.il -
On Sun, 18 Feb 2007, Alan Yaniger wrote:
Hi everyone,
When OpenOffice saves a file with Hebrew in the filename, it checks the
system locale to see which encoding it should use. This causes problems if
OpenOffice is run with a shell using an "en_US" locale. If a user saves a
file with Hebrew in the filename, closes the file, and then tries to open it
in a filepicker window, the Hebrew is not readable.
In order to deal with this, I've changed the OOo startup script so that it
sets the LANG variable to "he_IL" before running OOo, and then changes it
back when exiting. This makes Hebrew filenames readable in OOo filepicker
windows. I've also added an enviornment variable called OO_LOCALE, which
allows a user to change the default from "he_IL" to something else
("he_IL.utf8", for example), so that the Hebrew will be readable in other
apps, like file managers.
This is very easy to do if you run OOo from a command line. First set
OO_LOCALE, then run OOo. My question is: how I can have the OO_LOCALE
variable recognized by the OOo startup script when I run OOo from the
applications menus?
Thanks in advance,
Alan
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]