Registered Member
|
Where is the documentation for the dbus methods for plasma?
I'm using qdbusviewer to view services, paths, and methods (http://techbase.kde.org/Development/Tut ... dbusviewer) and, I'm using qdbus in bash. Thank you. |
Administrator
|
Unfortunately I do not believe such documentation exists, it is preferrable to make any needed changes to Plasma using its Javascript API I believe.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I think that is more for writing plasmoids.
I want to be able to create short, mostly reusable, bash script(s) for administrative/system/user tasks. A few may be plasmoid worthy, but probably not. Just clicking around qdbusviewer I've seen examples like those shown below. I also found while searching on this forum, a user written bash script to query the dbus services for kde methods. Examples: qdbus org.kde.krunner /ScreenSaver Lock qdbus org.kde.kwin /KWin toggleCompositing qdbus org.kde.plasma-desktop /App toggleDashboard An example script, might be, but not limited to, changing a setting on a panel prior to maximizing an application. Sorry for not being more specific, but without knowing the dbus methods for plasma I'm not sure of the possibilities. Thank you. |
Administrator
|
The Plasma JavaScript interface can be used for a variety of other tasks also ( used by Kubuntu to manage the default appearance for instance ).
Any particular task you wish to achieve? Using qdbusviewer on the components of the workspace ( krunner, kwin and plasma ) will list all the various methods available.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar