<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>>From: "Kevin Krammer" <kevin.krammer@gmx.at><br>>To: kde-linux@kde.org<br>>Sent: Tuesday, 25 November, 2008 6:51:49 PM GMT +08:00 Perth<br>>Subject: Re: [kde-linux] Change desktop file search path in kde 3.5.10<br><br>>On Tuesday 25 November 2008, Murray Trainer wrote:
> Hi,
>
> I am using KDE 3.5.10 on kubuntu 8.0.4. I want the KDE desktop entry search
> path for my KDE kiosk profile to only include
> >/usr/local/share/applications. I have tried various things in /etc/kderc
> but it still includes /usr/share/applications which gives me duplicate mime
> entries. Any ideas on how to make this work the way I want?

I think the >responsible environment variable is XDG_DATA_DIRS. If unset or 
empty it defaults to /usr/local/share:/usr/share

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer >mentoring <br><br>Hi Kevin,<br><br>Thanks for your reply.  I eventually figured out my problem.  I changed dir_mime in /etc/kderc to /usr/local/share and now things behave the way I want.<br><br>Thanks<br><br>Murray<br><br><br><br></div></body></html>