[kde-linux] XDG vs. KDE-4 Menu
    James Tyrer 
    jrtyrer at earthlink.net
       
    Sat May 29 14:57:52 UTC 2010
    
    
  
I am still using the KDE-4.4 SVN BRANCH although I am a few days behind 
due to GCC vs. GLibc vs. Linux header problems.
I have KDE-4.4.x installed in: "/opt/KDE-4", if you have it installed 
in: "/usr", you might not be able to reproduce this.
I find a strange thing which I think might be a bug.
I have my XDG_DATA_DIRS environment variable set to include:
	/usr/share
	/opt/KDE-4/share
	/usr/local/Adobe/Reader9/Resource  <- or where ever you have it.
I find that 'desktop' files in these directories do not appear in the 
menu (KickOff).  However, if I copy the 'desktop' files to:
	.local/share/applications
they immediately appear in the menu and if the 'desktop' files have: 
"Categories", they are in the correct place(s) (otherwise they are in 
Lost & Found till "Categories" are added).
I note that: "/usr/share" is first in XDG_DATA_DIRS
I think that KickOff should scan all of the XDG_DATA_DIRS to find the 
menu entries.  Can someone please reproduce this?  Do you think that 
this is a bug?
-- 
James Tyrer
Linux (mostly) From Scratch
    
    
More information about the kde-linux
mailing list