[kde-linux] XDG vs. KDE-4 Menu

Kevin Krammer kevin.krammer at gmx.at
Sun May 30 18:41:55 UTC 2010

On Saturday, 2010-05-29, Duncan wrote:

> Does your $XDG_CONFIG_DIRS/menus kde-4.4-applications.menu contain the
> <DefaultAppsDirs> element as specified in the spec?  I'm not sure where it
> comes from (a quick equery suggests kdelibs, a quick check of my 4.4.3
> binpkg confirms it, so I'm sure now =:^), but mine contains
> <DefaultAppsDirs/> (note the terminating /, the significance in xml of
> which I don't know), and does indeed seem to include them, tho the caveat
> above about installation location is noted.
> Have you kmenuedited or otherwise edited your user's menu?  Does the same
> thing happen with a "fresh" user, without any previous user specific kde
> or xdg config?

Additionally to Duncan's good hints, check that the variable is actually set 
early enough.

I've seen people set it in $HOME/.bashrc, thus seeing the correct value in any 
konsole session, but not realizing that the main KDE session is not seeing 
this environment change at all.

One way to check is to run ALT+F2 and use env > /tmp/env.out to check the 
environment of application's launched by the main KDE session.


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: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20100530/66bcdeec/attachment.sig>

More information about the kde-linux mailing list