Date: Thu, 11 Nov 2004 13:23:20 -0800 From: Keith Beattie <KSBeattie@lbl.gov> To: NAKATA Maho <chat95@mac.com> Cc: freebsd-openoffice@freebsd.org Subject: Re: Suggestion for Gnome and SESSION_MANAGER var Message-ID: <4193D848.3000906@lbl.gov> In-Reply-To: <20041104.130201.294750479.chat95@mac.com> References: <41801754.9000104@lbl.gov> <20041104.130201.294750479.chat95@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format. --------------ms060702050801060108010205 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit On 11/03/04 20:02, NAKATA Maho wrote: > In Message-ID: <41801754.9000104@lbl.gov> > Keith Beattie <KSBeattie@lbl.gov> wrote: > > Dear Keith, > > >>I built openoffice from the port and it didn't start properly (seg faulted) >>until I found the comment in /usr/local/OpenOffice.org1.1.3/README about >>problems during start up on Gnome being solved by unsetting the >>$SESSION_MANAGER var. It appears that this was only needed to run the setup >>program and isn't needed for running openoffice. >> >>So, I thought I post a note here so others might find the solution more easily >>and offer the suggestion that this be handled in the openoffice-wrapper >>script. Something like the following: >> >>[ -n ${GNOME_DESKTOP_SESSION_ID} ] && unset SESSION_MANAGER > > > yeah your question is good and important one...unfortunately > i don't know how do we fix this... > -- NAKATA, Maho Well, this is a hack (and I haven't had a chance to see if this still happens with Gnome 2.8) but I was thinking that adding the following (pseudo coded here) to openoffice-wrapper (which becomes openoffice-1.1.3 when installed): if (using gnome && setup hasn't run yet) then unset SESSION_MANAGER It seems that checking for ${GNOME_DESKTOP_SESSION_ID} is a kludgy but effective way to answer the "using gnome" question. But I don't know about the "setup hasn't run yet" part. Do you know of a way to programatically determine (in that script) if the setup program has run yet? If so then I think we're done. ksb --------------ms060702050801060108010205 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJB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MHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0D AgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDB+BgkrBgEEAYI3EAQxcTBvMGkxEzARBgoJ kiaJk/IsZAEZFgNvcmcxGDAWBgoJkiaJk/IsZAEZFghET0VHcmlkczEgMB4GA1UECxMXQ2Vy dGlmaWNhdGUgQXV0aG9yaXRpZXMxFjAUBgNVBAMTDURPRUdyaWRzIENBIDECAgQvMIGABgsq hkiG9w0BCRACCzFxoG8waTETMBEGCgmSJomT8ixkARkWA29yZzEYMBYGCgmSJomT8ixkARkW CERPRUdyaWRzMSAwHgYDVQQLExdDZXJ0aWZpY2F0ZSBBdXRob3JpdGllczEWMBQGA1UEAxMN RE9FR3JpZHMgQ0EgMQICBC8wDQYJKoZIhvcNAQEBBQAEggEAR6mz2yhOdGAtTnZdrBAv+/oI pCjoaiS5BQuhr/4/4MERjufLnnu/HMJbuYJmcmnbBBUu2uwFPMHcI1HZIKkp9gpgyhg0V1+A R4sIkqQvUmCWX1FwHKr6MrUEE9H1CLJpN7FvDGUMAECLnGeq4f6a8K1mTzUoPxMyZu3xzgqL bz7K56HNcTAVmn9eKK2TkMUybT0IKOmZ3VXB+ixAyD7D3Ki0GQNp3qSFBXYgfaBfT8W/Jkj9 Pxi0xiu+h70iwXxMI2JiQctONQ2lTOqG6n0eD+sl2B6odNu3ZW9iF6pC8O0Q0skH4b5WoLhB 1H3S5pc/sLducTni4SazRzVu6+W97AAAAAAAAA== --------------ms060702050801060108010205--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4193D848.3000906>