You are not logged in.
Pages: 1
Hello
I am using arch linux
I have written a plasma app which works when installed into
/usr/lib/kde4
/usr/share/kde4/services
But I'd like to have it installed into
/usr/local/lib/kde4
/usr/local/share/kde4/services
How do I get plasma apps to work from /usr/local?
It will use files in
/usr/local/share/applications
/usr/local/share/pixmaps
Offline
Looks like you want to break with the FHS what you shouldn't do. Why can't your application access the files in /usr/local/share when it's installed to /usr/lib/... ?
Offline
Looks like you want to break with the FHS what you shouldn't do. Why can't your application access the files in /usr/local/share when it's installed to /usr/lib/... ?
I'm not breaking from the FHS, read http://www.pathname.com/fhs/pub/fhs-2.3 … LHIERARCHY
I'll explain it better
The standard place to store menu entries is in the directory "/usr/share/applications"
The place I store my menu entries is "/usr/local/share/applications"
This works
The standard place to store icons is in the directory "/usr/share/pixmaps"
The place I store my icons is "/usr/local/share/pixmaps"
This works
It should work according to this tutorial
http://techbase.kde.org/Development/Tut … ingStarted
* cp ./lib/plasma_applet_tutorial1.so $KDEDIR/lib/kde4
* cp ./plasma-applet-tutorial1.desktop $KDEDIR/share/kde4/services/
set export KDEDIRS=/usr/local:'kde4-config --prefix' and run kbuildsycoca4 again
Last edited by chrisb (2010-03-27 00:25:12)
Offline
solved by adding KDEDIR=/usr/local:/usr into the system profile
Offline
Pages: 1