On 12/02/13 11:06, Roger Oberholtzer wrote:
I would like to change some Service Manager settings in KDE 4.x on openSUSE 12.x. For example, I would like to disable certain services like Apper or BlueDevil from running. I know how to do this via the Desktop configuration GUI, but I would like to make these changes via a software installation script. Is there a command line interface to this sort of thing?
Background: Service Manager is the name of the System Settings module that configures kded, the modular kde session daemon. To pokle existing users' config, use kconf_update [1] to manipulate kdedrc The same goes for any other KDE config file with the possible exception of Plasma, which because its config files are highly complex, provides an additional scripting interface to preset and update its config and components [2]. To preset new users' configs, you can drop a pregenerated kdedrc config file in /etc/kde4/share/config/, and the preconfiguration to bluedevil and apper services will be used unless the user manually enables them. You can make keys user-immutable by appending [$i] to them (Kiosk [3]) If you want to stop service modules in users running sessions without upsetting them, you'll have to get onto their session DBUS (I'll leave that as an exercise to the crafty sysadmin) and make the following dbus call, for example (using qdbus, other options are available): qdbus org.kde.kded /kded unloadModule apperd HTH Will [1] http://techbase.kde.org/Development/Tools/Using_kconf_update [2] http://techbase.kde.org/KDE_System_Administration/PlasmaDesktopScripting [3] http://techbase.kde.org/KDE_System_Administration/Kiosk/Introduction
Yours sincerely,
Roger Oberholtzer
Ramböll RST / Systems
Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________
Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org