[Bug 250372] Re: soffice doesn't work, ooffice does

2008-07-31 Thread Chris Cheney
The only thing on my system that still sets the PATH incorrectly appears to be gdm and that normally is overridden. So I am reassigning this bug to gdm. ** Changed in: gdm (Ubuntu) Sourcepackagename: openoffice.org => gdm Status: Incomplete => New ** Summary changed: - soffice doesn't wor

[Bug 250372] Re: soffice doesn't work, ooffice does

2008-07-31 Thread Chris Cheney
I guess the real question is: Does anything still accidentally put /usr/bin/X11 into the PATH or is it just a user misconfiguration issue? If anything still puts /usr/bin/X11 into the PATH then that needs to be corrected since it is just a symlink for backwards compatibility for old scripts. Chri

[Bug 250372] Re: soffice doesn't work, ooffice does

2008-07-31 Thread Chris Cheney
1. Use full paths instead of relative paths for executables in /usr/bin. >From what I recall using full paths violates policy... -- Do not add /usr/bin/X11 to path, causes problems with relative symlinked binaries https://bugs.launchpad.net/bugs/250372 You received this bug notification because

[Bug 250372] Re: soffice doesn't work, ooffice does

2008-07-30 Thread Timo Aaltonen
The xorg symlink is unlikely going away, so this should be fixed in OO.o. ** Changed in: openoffice.org (Ubuntu) Sourcepackagename: xorg => openoffice.org Status: New => Triaged -- soffice doesn't work, ooffice does https://bugs.launchpad.net/bugs/250372 You received this bug notification

[Bug 250372] Re: soffice doesn't work, ooffice does

2008-07-25 Thread Lee Bradshaw
It looks like /usr/bin/X11 is now a symbolic link to /usr/bin and just exists for backwards compatibility - someone tries to run /usr/bin/X11/xmessage and they actually run /usr/bin/xmessage. xmessage works with either of those paths. However the compatibility is broken if the files that are reall

[Bug 250372] Re: soffice doesn't work, ooffice does

2008-07-24 Thread Chris Cheney
This bug is due to some kind of weird interaction of the PATH being set and symlinks being relative (i think that is the correct word). When /usr/bin/X11 comes early in the PATH the problem happens if /usr/bin/soffice is a symlink to ../lib/openoffice/program/soffice but not if it is a symlink to /

[Bug 250372] Re: soffice doesn't work, ooffice does

2008-07-24 Thread Lee Bradshaw
Thanks for the help Chris. My path was pointing to /usr/bin/X11 before /usr/bin, so I was trying to run the "wrong" soffice. dagger ~ $ ll /usr/bin/soffice /usr/bin/X11/soffice lrwxrwxrwx 1 root root 33 2008-07-04 17:52 /usr/bin/soffice -> ../lib/openoffice/program/soffice* lrwxrwxrwx 1 root roo

[Bug 250372] Re: soffice doesn't work, ooffice does

2008-07-24 Thread Chris Cheney
This works perfectly for me with current Kubuntu 8.04 with all updates. I'm confused why it thinks soffice is under /usr/bin/X11 instead of just /usr/bin $ type soffice soffice is hashed (/usr/bin/soffice) ls -al /usr/bin/soffice lrwxrwxrwx 1 root root 33 2008-07-23 15:02 /usr/bin/soffice -> ../

[Bug 250372] Re: soffice doesn't work, ooffice does

2008-07-20 Thread Lee Bradshaw
Here are a couple lines from /etc/mailcap used to display ppt and jpg files: application/vnd.ms-powerpoint; soffice -impress '%s'; edit=soffice -impress '%s'; test=test -n "$DISPLAY"; description="Microsoft PowerPoint Document"; nametemplate=%s.ppt image/jpeg; konqueror '%s'; nametemplate=%s