kdelibs/kded
Ivailo Monev 492be17944 kded: setup signals handler immediately after application is constructed
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-05-22 02:17:59 +03:00
..
tests generic: fix and adjust some tests 2022-04-11 02:47:19 +03:00
applications.menu initial import 2014-11-13 01:04:59 +02:00
CMakeLists.txt kded: start on demand as session D-Bus service 2022-05-22 01:40:02 +03:00
config-kded.h.cmake initial import 2014-11-13 01:04:59 +02:00
DESIGN generic: remove KService profile feature 2021-06-15 15:26:19 +03:00
HOWTO generic: port KIO to KPasswdStore and drop kwallet and kwasswdserver 2022-04-04 23:32:58 +03:00
kbuildmimetypefactory.cpp kded: get rid of useless string manipulation in KSycocaResourceList 2015-11-01 09:17:58 +02:00
kbuildmimetypefactory.h initial import 2014-11-13 01:04:59 +02:00
kbuildprotocolinfofactory.cpp kded: get rid of useless string manipulation in KSycocaResourceList 2015-11-01 09:17:58 +02:00
kbuildprotocolinfofactory.h initial import 2014-11-13 01:04:59 +02:00
kbuildservicefactory.cpp generic: remove KService profile feature 2021-06-15 15:26:19 +03:00
kbuildservicefactory.h initial import 2014-11-13 01:04:59 +02:00
kbuildservicegroupfactory.cpp kded: get rid of useless string manipulation in KSycocaResourceList 2015-11-01 09:17:58 +02:00
kbuildservicegroupfactory.h initial import 2014-11-13 01:04:59 +02:00
kbuildservicetypefactory.cpp kded: get rid of useless string manipulation in KSycocaResourceList 2015-11-01 09:17:58 +02:00
kbuildservicetypefactory.h initial import 2014-11-13 01:04:59 +02:00
kbuildsycoca.cpp kded: remove changed resources duplicates before emitting notifyDatabaseChanged() signal 2022-05-18 23:42:45 +03:00
kbuildsycoca.h generic: namespaced Qt4/Katie build fixes 2017-08-04 09:24:39 +00:00
kbuildsycocainterface.h initial import 2014-11-13 01:04:59 +02:00
kctimefactory.cpp generic: misc cleanups 2015-09-23 02:45:53 +00:00
kctimefactory.h initial import 2014-11-13 01:04:59 +02:00
kded.cpp kded: setup signals handler immediately after application is constructed 2022-05-22 02:17:59 +03:00
kded.h generic: port KIO to KPasswdStore and drop kwallet and kwasswdserver 2022-04-04 23:32:58 +03:00
kdedadaptor.cpp generic: use CMake moc instead of automoc4 by default 2015-02-27 07:40:26 +00:00
kdedadaptor.h generic: misc cleanups 2015-09-27 01:19:30 +00:00
kdedmodule.desktop generic: remove KDED/KCM compatility bits 2016-04-21 20:56:30 +00:00
kmimeassociations.cpp initial import 2014-11-13 01:04:59 +02:00
kmimeassociations.h initial import 2014-11-13 01:04:59 +02:00
ksycocaresourcelist.h generic: replace QLinkedList<T> with QList<T> 2022-01-29 17:07:12 +02:00
org.kde.kded.service.in kded: start on demand as session D-Bus service 2022-05-22 01:40:02 +03:00
README.kded generic: drop kconf_update and support for it in kded 2015-07-08 05:13:12 +03:00
vfolder_menu.cpp generic: adjust to Katie changes 2019-05-17 16:14:26 +00:00
vfolder_menu.h generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00

Welcome to this readme about KDED.

KDED stands for KDE Daemon which isn't very descriptive.
KDED runs in the background and performs a number of small tasks.
Some of these tasks are built in, others are started on demand.

Built in tasks
==============
*) Checking for newly installed software and updating ksycoca when new
software is detected. Updating of ksycoca is done by the program kbuildsycoca
which gets started by kded. When kded is first started it always runs
kbuildsycoca to ensure that ksycoca is up to date.

*) Checking for newly installed update files. Applications can install
*.upd update files. These *.upd files are used to update configuration files 
of users, primarily when new versions of applications are installed with
(slightly) different configuration file formats.

*) Checking for hostname changes. It is a really bad idea to change the 
hostname of a running system and it usually only happens with incorrectly
configured dial-up connections. Never the less, kded will check for hostname
changes and if it detects one it will make the necassery changes to the
KDE environemnt and X-server to allow continued proper operation. The 
program kdontchangethehostname is executed to make the actual changes.

Configuration of built in tasks.
================================
The built in tasks have some configuration options that can be changed by
editing the kdedrc configuration file. Changes need to be made with a text-
editor, there is no GUI available. All options are listed under the [General]
group:

HostnamePollInterval: This can be used to adjust the time interval at which
the hostname is checked for changes. The time is specified in milliseconds
and has a default of 5000 (5 seconds).

CheckSycoca: This option can be used to disable checking for new software.
ksycoca will still be built when kded starts up and when applications
explicitly request a rebuild of the ksycoca database. The user can 
also manually rebuild ksycoca by running the kbuildsycoca program.
The default value of this option is "true". Checking can be disabled by 
setting this option to "false".

CheckHostname: This option can be used to disable checking for hostname 
changes. The default value of this option is "true". Checking can be 
disabled by setting this option to "false".

Example kdedrc file with default values:

[General]
HostnamePollInterval=5000
CheckSycoca=true
CheckUpdates=true
CheckHostname=true
CheckFileStamps=true
DelayedCheck=false

If FAM or DNOTIFY is not available, the filesystem will be polled at regular interval for any changes. Under the [DirWatch] group in the kdeglobals file
the following options are available to adjust the polling frequency:

PollInterval: This can be used to adjust the time interval at which the local
filesystem is checked for new software or update files. The time is specified
in milliseconds and has a default of 500 (0.5 seconds).

NFSPollInterval: This can be used to adjust the time interval at which remote
filesystems, such as NFS or Samba, are ebing checked for new software or 
update files. The time is specified in milliseconds and has a default of 5000
(5 seconds).

The above options are not used when FAM is used to watch for changes in the
filesystem, or when DNOTIFY is used. Specifying larger intervals may reduce 
the CPU load and/or network traffic. Shorter intervals are not recommended.

Please note that in previous versions of KDE these options where listed in 
the kderc file.

Example kdeglobals fragment:

[DirWatch]
PollInterval=500
NFSPollInterval=5000

KDED modules
============
Some things can be greatly simplified if they can be coordinated from a 
central place. KDED has support for modules that will be demand-loaded 
whenever an application attempts to make DBus call to the module.
This can be useful for central administration tasks.

See kdelibs/kded/HOWTO.