Registered Member
|
Dear community and developers,
since Plasma 4 I got somewhat addicted to the use of activities ,-) However, for several reasons I have to do the setup over and over again, which is quite tedious. Hence, I'd like to find a way to automate this by scripting. The task is simple to describe, as I just want to mimic the action of "Folder settings..." dialog. After some days of searching, reading and trying to make progress I dare to ask you for assistance. I have to admit that, being just a KDE user, don't get the necessary grip how plasma works in detail in order to find the relevant modules and methods. So meanwhile I only found a way to loop through existing acitivites, but not to read (or write) the settings of interest, which therefore are inserted as comments:
It would not be a problem to feed the necessary parameters from lists or dictionaries or "by name" (e.g. wallpapers to supply could have an identical naming scheme as the activities: mail.jpg for mail, procurement.jpg for procurement, and so on ). A solution does not necessarily have to rely on python, it just has to manage the three configuration changes reliably. |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]