KStandardDirs and Autopackage

Klas KalaƟ klas.kalass at gmx.de
Fri May 14 17:20:34 BST 2004

Hi folks - sorry I don't reply correctly to the thread, but I only read it on 
lists.kde.org and don't have the mails handy

The thread was about putting an application in a self contained dir. The 
question popped up how one could register it correctly with KDE so that it 
appears in the KMenu and such.
The proposed solution was to use symlinks, but symlinks need to be removed 
again and result in quite some clutter. There is a better way to achieve 
this. After all, this is KDE, right ? ;-)

I build a small script which does something similar: It adds self-contained 
applications to the KDE environment, please have a look at the attachement

What it basically does is that it sets the environment variables, registers 
them via DCOP with klauncher and calls kbuildsycoca. Voila - everything is 
groovy :-)

Your application is in its own folder, yet you can access it from KDE without 
logging out or creating symlinks or such :-)


PS: I really love autopackage and am dying to see version 1.0!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-app.sh
Type: application/x-shellscript
Size: 526 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040514/20ce896e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040514/20ce896e/attachment.sig>

More information about the kde-core-devel mailing list