Registered Member
|
I'm creating a script to change the icon theme, color scheme, font size, etc, and I get it. but do not know how to update the settings without needing to restart or logout session from commandline. I know it is through Qbus, but I have no idea how to do.
|
Administrator
|
You will need to interface with KGlobalSettings and D-Bus in order to make this happen - as well as Qt itself, so creating a QApplication instance would be advisable.
Please see kdeui/kernel/kglobalsettings.cpp in kdelibs for more information on this process. You may also find this helpful: viewtopic.php?f=17&t=102884&p=225411&hilit=notifyChange#p225355
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]