Problem running kcontrol from menu

Kevin Krammer kevin.krammer at
Wed Nov 14 13:24:55 GMT 2007

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 

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.


Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <>
-------------- next part --------------
This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list