Apache OpenOffice (AOO) Bugzilla – Issue 4737
KDE integration doesn't work on Mandrake 8.x
Last modified: 2003-09-08 16:53:51 UTC
I have installed OpenOffice.org 1 on my Linux Mandrake system on a pc. The install program says it is installing the kde and gnome integration but I find my menus are not edited at all and I have to navigate to the program directory to launch the program. This could be to do with file permissions but I think the installed should offer some guidance for users who are inexperienced. Thanks for making a great product!
Don't know how it's handled on a Mandrake system, but I'm running both KDE 2.2 and KDE 3. I have ~/.kde for KDE 2.2 and ~/.kde3 for KDE 3. OOo simply uses ~/.kde for the KDE integration files instead of using the environment variable $KDEHOME. I think the correct thing to do is use $KDEHOME if it is set and default to ~/.kde otherwise. I'm changing the summary accordingly, I hope I have the permission to do so... :-)
Hi Oliver, is this the known problem with mandrake distributions (#94280)?
The problem is that mandrake has changed the menu to work with different paths than the default ones. E.g. it uses .kde2/applnk-mdk instead of just .kde2/applnk. So this is a mandrake specific issue. I have fixed the summary accordingly. The bad news is that even we would install our files to applnk-mdk, they will be removed automatically the next time the user starts the mandrake menu editor. I hope Mandrake is going to provide rpms to install OpenOffice.org 1.0 where they will handle the menu integration themselves, just because we can not work around such things for all different linux vendors. With the current infrastructure I don't see a way to fix this. So if no one comes up with a workaround soon, I will have to change the state to WONTFIX or leave it as an issue for post 1.x.
Hi, Just adding myself as CC to this. Thanks, Kevin
1) Yes, default menu system is Mandrake menu system, unified for all supported environments. However, the user is free to switch to the original (KDE, GNOME) menu structure. "menudrake" is a GUI tool to carry out that task. 2) We do provide OpenOffice.org for MDK 8.2. Updates to OOo 1.0 will appear some time within the next month. Note, though Cooker users can already play/test OOo 1.0 packages, I *don't* and will never recommend to install Cooker (unstable/development) packages on MDK 8.2 (stable) distro. 3) Concerning menu integration in MDK (likewise to Debian, probably), /usr/lib/menu/ contains files describing those. e.g. for OpenOffice.org: ?package(OpenOffice.org): needs=x11 section="Office/Wordprocessors" icon="ooo_writer.png" title="OpenOffice.org Writer" longtitle="OpenOffice.org Word Processing Component" command="oowriter" mimetypes="application/vnd.sun.xml.writer,application/vnd.stardivision.writer,application/msword,application/vnd.ms-word,application/x-doc,text/rtf" Then, in package %post, /usr/bin/update-menus is run. 4) Complete generation of MDK menus can be found in the package RPM specfile, available here (follow GenerateMenu): <http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/contrib-SPECS/OpenOffice.org/OpenOffice.org.spec?rev=1.4&content-type=text/x-cvsweb-markup>
The problem on my Debian system is that the installer used ~/.kde to store the integration files instead of using ~/.kde3, as indicated by the environment variable $KDEHOME. Can anyone confirm this? Should I file a new bug for this?
Hi, Taking ownership of this since I did the OOo Linux desktop integration.
Hi, I will look into using KDEHOME environment variable to try to figure out where to put the .kde pieces. This won't help Mandrake users but since Mandrake is nicely packaging the OOo and helping us out, the users can always just use the version so nicely packaged by them. IMHO: The issue with .kde versus .kde2 and now .kde3 is one reason why some unification of configuration files is desperately needed by Linux. I hope the LSB prevents issues like this. Anyway, whateveer fix I come up with will not be ready for OOo 1.0.1 but I will try to get something going soon. Kevin
Just added as cc
Created attachment 2176 [details] Menu system entry for OpenOffice
As noted, Mandrake uses a single unified menu system taken from debian. When installing OOo i did not select the KDE or GNOME menu integration options, as seperate menu integration options are not needed and wont work. Attached is a file that i place into /usr/lib/menu after installing OOo on a mandrake system. It will cause OpenOffice menu entries to be added to all installed window managers when "update-menus" is run. Obviously if this file is going to be used it will need a bit of post processing during installation to reflect the users installation directory. Also, the entries could be enhanced as per Gwenole Beauchesnes' post to add mime type integration in supported window managers. Note that with the debian/mandrake menu system, you no longer need to worry about .kde / .kde2 / .kde3 :)
There is no point in fixing this because mandrake have rpms that do integrate nicely in mandrake 9 anyone still using mandrake 8.x could easily just manualy put OpenOffice.org in the menu using menudrake.
As mentioned on the qa dev list on March 5th I will close all resolved duplicate issues. Please see this posting for details. First step in IssueZilla is unfortunately to set them to verified.
As mentioned on the qa dev list on March 5th I will close all resolved <wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details.