You are not logged in.

#1 2010-03-25 23:11:09

chrisb
Member
From: Australia
Registered: 2010-03-23
Posts: 77

Install plasma into /usr/local

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

#2 2010-03-26 12:29:53

Rorschach
Member
From: Ankh-Morpork
Registered: 2008-11-07
Posts: 143

Re: Install plasma into /usr/local

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

#3 2010-03-26 14:51:12

chrisb
Member
From: Australia
Registered: 2010-03-23
Posts: 77

Re: Install plasma into /usr/local

Rorschach wrote:

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

#4 2010-03-27 01:17:34

chrisb
Member
From: Australia
Registered: 2010-03-23
Posts: 77

Re: Install plasma into /usr/local

solved by adding KDEDIR=/usr/local:/usr into the system profile

Offline

Board footer

Powered by FluxBB