[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    Re: [kde] Problem running kcontrol from menu
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2007-11-14 12:27:20
Message-ID: 200711141425.01060.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 14 November 2007, Ryan Daly wrote:

> When KDE is installed in the normal prefix (/usr), how do those
> environment variables get set?  Is it a KDE responsibility or an OS
> responsibility?

In this case, i.e. what the packagers usually do, is to specific /etc/xdg as 
the location for XDG menu files (I think there is a configure switch for 
this).

XDG_CONFIG_DIRS uses /etc/xdg as an implicit default, i.e. when an application 
reads this variable and it is either not set at all or set to empty, then the 
application has to assume /etc/xdg.

This is basically what the script snippet from one of Rex's other postings 
does, i.e. check if XDG variables are not set and then set the KDE dir 
followed by the usual default.

Cheers,
Kevin

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

["signature.asc" (application/pgp-signature)]

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic