Registered Member
|
Hello,
How can we force KDED4 to reload a module using the modified version on the disk ? I made code modifications in a kde4 'startup service', regenerated the '/usr/local/lib/kde4/kded_foobar.so' library, but when I stop and restart the 'Foobar daemon' from the service manager, the old version of the module is executed. It seems the new version of the module can be loaded from the disk only by restarting the KDE session... not convenient! restarting 'kdeinit4', 'kded4', or 'kbuildsyscoca4' from a terminal doesn't help. I would appreciate any help! thanks Francois |
KDE Developer
|
Try using D-Bus.
qdbus org.kde.kded /kded lists an unload and a load method. Not sure if this works the way you want it. Cheers, _
anda_skoa, proud to be a member of KDE forums since 2008-Oct.
|
KDE Developer
|
You'll have to restart kded4 to make this work, the library gets cached, und reloading it will load the old version again, not the changed one from disk.
Restarting the whole session shouldn't be necessary, just kill and restart kded4. |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]