[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#442008: Add /usr/local to $KDEDIRS



On Wednesday 12 September 2007, mbouchar@bioinfo.ulaval.ca wrote:

> If a user wants to compile and install an application to /usr/local, the
> menu entries and icons are working fine, but if the application ships a
> kde mime type, the mime type is not found by KDE unless we set KDEDIRS to
> $KDEDIRS:/usr/local.

Since I think it is currently unset by default, it could be set 
to /usr/local:/usr to mimic the ordering PATH has (/usr/local before /usr)

A bit like the default for XDG_DATA_DIRS begin /usr/local/share:/usr/share 
just that in the case of XDG_*_DIR the specification says that application 
shall use this as the default if unset.

I have been setting KDEDIRS to /usr/local:/usr through startkde's environment 
extension mechanism for years without any problem. ( ".sh" file in /usr/env)

The question is, since it has been unset for years (defaulting implicitly to 
the value of the KDE installation prefix), does setting explicitly break 
anything?

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: