You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, June 25th 2004, 12:12pm

SuSE unsets KDEDIRS in startkde. Why?

I asked this on suse-kde list, but no answer ... the short version of the question is in the subject of this post. Any thoughts appreciated. Thanks!

Quoted

Using Suse 9 with KDE 3.2, is there any way to integrate an application (menu shortcuts, file associations, etc) with a user's KDE destop which does NOT involve any copying or linking of desktop files and icons to /opt/kde3/share/... or $HOME/.kde/share/... or anywhere else. In other words, can a user simply expand the search path for desktop integration files to more than these directories?

On Redhat 9 with KDE 3.1, for example, we use the KDEDIRS path variable to do this, so that the desktop files, icons etc only reside in our application installation directory $MYAPP/share/... and a user only needs to append $MYAPP/share to their KDEDIRS path variable, if they want to integrate our application with their KDE desktop. This makes desktop integration (or nonintegration), uninstallation, updating of our app more manageable both for us and users.

The KDEDIRS approach doesn't seem to work with SUSE 9 and KDE 3.2. Is there another way?
[/quote]


Quoted

I found that the reason adding $MYAPP/share to KDEDIRS doesn't work as expected under SUSE is that KDEDIRS is unset in SUSE's modified version of the startkde script (/opt/kde3/bin/startkde), which, of course, is executed after a user's .profile is read. Changing KDEDIRS after KDE is already started has no effect. If I undo SUSE's change to the startkde script, everything works as documented for KDEDIRS.

Why does SUSE modify KDE's startkde script in this way? Makes no sense to me.

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

2

Friday, June 25th 2004, 4:08pm

I guess only SuSE's packagers can tell you this.
Check if the RPM for kdebase includes an email address.

They should really have a good reason to break a documented setting option.

One thing you can try as a workaround is to add your directoy later on and call kbuildsycoca to have the configuration cache updated.

Cheers,
_
Qt/KDE Developer
Debian User