To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=99100





------- Additional comments from [email protected] Thu Feb 12 
03:18:40 +0000 2009 -------
Here is another email from the same person although I have not yet tested what 
he has posted.

Bill Janssen <[email protected]> wrote:

> Steffan A. Cline <[email protected]> wrote:
> 
> > The fact this is happening appears to be a bug in the build and I have
> > reported it as so. I hope to get an answer from the developer who is
> > responsible for the Mac build. For some reason, it is bound to the GUI which
> > should not even be launched when the -headless option is used. I am not sure
> > why they don't just use a separate binary to alleviate the issue.
> 
> Well, it's a bug in the code.  Using a separate binary wouldn't help, I
> think; it's the Info.plist of the app which controls this behavior.  You
> could put LSBackgroundOnly in the Info.plist, then use
> TransformProcessType() internally in soffice to raise the "presence" of
> the app after parsing the command-line parameters, but they don't appear
> to do that.  My guess is that whoever did the Mac port didn't think very
> hard about -headless, or possibly didn't understand this about Mac apps.

You can get rid of the Dock icon, though.

1.  mkdir -p /usr/local/apps/BackgroundOpenOffice.app

    (or put this anywhere you have write permission)

2.  /usr/X11/bin/lndir /Applications/OpenOffice.org.app 
/usr/local/apps/BackgroundOpenOffice.app
3.  cd /usr/local/apps/BackgroundOpenOffice.app/Contents
4.  mv Info.plist linkedInfo.plist
5.  cp linkedInfo.plist Info.plist
6.  chmod +w Info.plist
7.  plutil -convert xml1 Info.plist
8.  defaults write /usr/local/apps/BackgroundOpenOffice/Contents/Info 
LSUIElement -bool TRUE

Now set up your LaunchAgent to use

   /usr/local/apps/BackgroundOpenOffice/Contents/MacOS/soffice

instead of 

   /Applications/OpenOffice.org.app/Contents/MacOS/soffice

Enjoy!

Bill



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to