When does kbuildsycoca4 run?
Hi guys, Over on the mailing list for Macports, which provides ports of open source software on Apple Mac OS X, we are having a discussion about kbuildsycoca4, its effect on ports of KDE libraries and applications and when and whether to run it. The other day I installed kdesdk4 on my Apple Macbook and tried to run Kompare, but it failed with a KMessageBox saying that its view part was missing. I tried again from the command line and got a message suggesting I run kbuildsysoca4. I did, and Kompare suddenly sprang to life. So did another KDE app that has been broken for a long time on my Apple desktop. On my Linux system I have not had to run kbuildsycoca in all the ten years or so I have been working on KDE. So when does KDE run it? As part of the build and install process for KDE libs and apps? Whenever you run an app? Whenever you start the KDE desktop? Also it would be helpful if someone could point me to some doco on the *architecture* of KDE. What background processes run? What do they do? What are the interactions between them? What is the sequence of processes and events when the KDE desktop starts? Which of those processes are necessary for running KDE apps? Which can be omitted or "bound off" somehow if you are not running on a KDE desktop? I googled, of course, to find out more about kbuildsycoca4, but found nothing except links like this: http://systemexplorer.net/file-database/file/kbuildsycoca4-exe Try googling with What is kbuildsycoca4? Apparently some Windows people think it could be malware! Other top hits showed widespread puzzlement and dismay and several broken KDE apps (on other platforms), such as Amarok. It is not a good look for KDE and I think KDE's many fine applications deserve a better chance. BTW I did find the Techbase pages on KService. They told me what SyCoCa and kbuildsycoca4 are, but did not answer the above questions. All the best, Ian W. >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
Re: When does kbuildsycoca4 run?
On Tue, Sep 18, 2012 at 8:17 PM, Ian Wadham wrote: > Hi guys, > > Over on the mailing list for Macports, which provides ports of > open source software on Apple Mac OS X, we are having a > discussion about kbuildsycoca4, its effect on ports of KDE > libraries and applications and when and whether to run it. > > The other day I installed kdesdk4 on my Apple Macbook and > tried to run Kompare, but it failed with a KMessageBox saying > that its view part was missing. I tried again from the command > line and got a message suggesting I run kbuildsysoca4. I did, > and Kompare suddenly sprang to life. So did another KDE app > that has been broken for a long time on my Apple desktop. > > On my Linux system I have not had to run kbuildsycoca in all the > ten years or so I have been working on KDE. So when does KDE > run it? As part of the build and install process for KDE libs and apps? > Whenever you run an app? Whenever you start the KDE desktop? It is run at multiple times I believe. By kdeinit4 when starting up (not sure what constraints if any exist here) On KDE Workspace startup (as part of launching kdeinit4 I think) By kded4 itself if it detects changes to certain directories (maybe limited to the Workspace, not sure again) > > Also it would be helpful if someone could point me to some doco > on the *architecture* of KDE. What background processes run? What > do they do? What are the interactions between them? What is the > sequence of processes and events when the KDE desktop starts? > > Which of those processes are necessary for running KDE apps? > Which can be omitted or "bound off" somehow if you are not running > on a KDE desktop? klauncher primarily provides startup of kio slaves (and launches other applications on their behalf as well I think - kdeinit4 might handle that though). kded4 provides a number of crucial mini processes which are crucial to the operation of KDE processes in certain areas (Timezone data and the determining of an active network connection at least) although it tends to be more crucial with a Workspace. Not sure about kdeinit4 exactly, it does many things... > > I googled, of course, to find out more about kbuildsycoca4, but found > nothing except links like this: > > http://systemexplorer.net/file-database/file/kbuildsycoca4-exe > > Try googling with What is kbuildsycoca4? Apparently some Windows > people think it could be malware! Other top hits showed widespread > puzzlement and dismay and several broken KDE apps (on other platforms), > such as Amarok. It is not a good look for KDE and I think KDE's many fine > applications deserve a better chance. > > BTW I did find the Techbase pages on KService. They told me what > SyCoCa and kbuildsycoca4 are, but did not answer the above questions. > > All the best, Ian W. Regards, Ben > > >>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
Re: When does kbuildsycoca4 run?
On Tuesday, September 18, 2012 06:17:04 PM Ian Wadham wrote: > Hi guys, > [..] Technically it needs to be run if new .desktop files are installed. Be it KParts (plugins), new applications, new services. On Linux the directories where those files are installed are monitored, so the cache is automatically rebuild (that is what kbuildsycoca4 does, rebuilds/updates the SystemConfigurationCache). On Mac/Windows I'd say it is safe to assume that it must be run after a new app is installed. Andras >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
Re: When does kbuildsycoca4 run?
> Technically it needs to be run if new .desktop files are installed. Is the assumption correct that the run would have to be carried out by the user and not by root? >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
Re: When does kbuildsycoca4 run?
On 2012-09-18, mk-li...@email.de wrote: >> Technically it needs to be run if new .desktop files are installed. > > Is the assumption correct that the run would have to be carried out by the > user and not by root? Yes. (and kded takes care of running it (with a small delay of a minute or so (to only do one run in case of many updates ) ) ) /Sune >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
Arrange items on desktop in Search and Launch Activity
Hi list, I once posted two questions about SaL activity on kde-user list about two weeks ago. Here I'll ask again and hope to get KDE developer's points of view. 1. In the SaL activity we can choose which categories will show on the desktop. But it seems that we don't have any way to change the order on the desktop. For example, I'd like to make the first category, in the upper-left corner, be Office instead of Internet. Currently I've searched on google and KDE user or techbase wiki but can't find a way to change the order, To find out the solution, I tried to edit the plasma init scripts (/usr/share/kde4/apps/plasma-desktop/init/00-defaultLayout.js) to create an SaL activity and assigned the categories I wanted to show in EnabledEntries options, with the order I want. However, when creating a user and a whole new kde plasma-desktop-appletsrc file, the EnabledEntries was written into it but the categories shown in the desktop were still the very default ones - bookmarks, contacts, and some other categories. 2. In the EnabledEntries option, some categories used desktop file like plasma-sal-office.desktop and some used a name I assigned in my XDG menus file like SoundVideo/ . Why didn't it just honor the categories defined in the applications menu file like kde4-applications.menu in /etc/xdg/menus and the customized menu files in the home directory, but used another desktop instead? I can't find any document describing the behavior here... I'm using KDE 4.9.0 (on kubuntu 12.04 but I believe that Linux distros do not affect this behavior). Thanks, Franklin >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<