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

List:       kde-devel
Subject:    Re: Questions about running KDE
From:       David Faure <faure () kde ! org>
Date:       2006-11-28 23:53:38
Message-ID: 200611290053.39406.faure () kde ! org
[Download RAW message or body]

On Wed Nov 29 2006, Franklin wrote:
> In kio/kio/kservicefactory.cpp KServiceFactory::findServiceByDesktopName(), 
> find_string returns 0.  Does this mean that there is no data in ksycoca 
> cache?  I tried to run kbuildsycoca again but the same result.
 
You can query ksycoca using ktradertest, like

$ ktradertest Application '' "DesktopEntryName=='kcontrol'"
query is : Application
genericServiceType is :
constraint is : DesktopEntryName=='kcontrol'
preference is :
kio (KSycoca): Trying to open ksycoca from /var/tmp/kdecache-dfaure/ksycoca
kio (KTrader): query for Application : returning 1 offers
got 1 offers.
---- Offer 0 ----
DocPath : 'kcontrol/index.html'
kio (KService*): Request for unknown property 'UntranslatedGenericName'
Invalid property UntranslatedGenericName
X-KDE-StartupNotify : 'TRUE'
Type : 'Application'
Name : 'Control Center'
Invalid property Comment
Invalid property GenericName
Icon : 'kcontrol'
Exec : 'kcontrol -caption "%c" %i %m'
Terminal : '0'
Invalid property TerminalOptions
Invalid property Path
ServiceTypes : 'Application'
AllowAsDefault : '1'
InitialPreference : '1'
Invalid property Library
DesktopEntryPath : '/d/kde/inst/kde3/share/applications/kde/KControl.desktop'
DesktopEntryName : 'kcontrol'
Keywords : ''
Categories : 'Qt - KDE - Core'

(It doesn't know the kde-foo syntax, that's one level up)

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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