Issue 4737 - KDE integration doesn't work on Mandrake 8.x
Summary: KDE integration doesn't work on Mandrake 8.x
Status: CLOSED WONT_FIX
Alias: None
Product: Installation
Classification: Application
Component: ui (show other issues)
Version: OOo 1.0.0
Hardware: PC Linux, all
: P5 (lowest) Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: khendricks
QA Contact: issues@installation
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-11 01:23 UTC by johngoodman53
Modified: 2003-09-08 16:53 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Menu system entry for OpenOffice (1.14 KB, text/plain)
2002-07-10 04:02 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description johngoodman53 2002-05-11 01:23:35 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!
Comment 1 Unknown 2002-05-12 00:32:15 UTC
 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... :-) 
Comment 2 Olaf Felka 2002-05-14 11:01:12 UTC
Hi Oliver,
is this the known problem with mandrake distributions (#94280)?
Comment 3 nospam4obr 2002-05-14 11:20:11 UTC
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. 
Comment 4 khendricks 2002-05-15 14:52:44 UTC
 Hi, 
 
Just adding myself as CC to this. 
 
Thanks, 
 
Kevin 
 
Comment 5 gbeauche 2002-05-22 16:52:25 UTC
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>
Comment 6 Unknown 2002-05-22 18:28:42 UTC
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?
Comment 7 khendricks 2002-06-04 15:06:18 UTC
 Hi, 
 
Taking ownership of this since I did the OOo Linux desktop 
integration. 
Comment 8 khendricks 2002-06-04 15:09:33 UTC
 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 
 
 
 
Comment 9 nospam4obr 2002-06-05 06:39:51 UTC
Just added as cc
Comment 10 Unknown 2002-07-10 04:02:24 UTC
Created attachment 2176 [details]
Menu system entry for OpenOffice
Comment 11 Unknown 2002-07-10 04:10:28 UTC
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 :)
Comment 12 johngoodman53 2002-11-14 13:58:43 UTC
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.
Comment 13 michael.bemmer 2003-03-11 18:08:37 UTC
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.
Comment 14 michael.bemmer 2003-03-11 18:16:30 UTC
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.