KDE provides a powerful interprocess communication system in DCOP, the Desktop COmmunication Protocol. Using DCOP, you can control a wide range of functions in KDE from the command line or from a script written in your favorite scripting language. You can also get information out of KDE applications: for example, several KDE media players provide methods to query the player for information about the currently-playing track.
For the whole Artical can be seen HERE
I found this when I was trying to write a script that will change my desktop to the Daily comic strip Dilbert automatically
Then I found the DCOP command
Example
#dcop kdesktop KBackgroundIface setWallpaper /tmp/dilbert.gif 1
The Above command will change your desktop wallpaper to /tmp/dilbert.gif
If any one interested to see the script the script is at link given bellow
python script source code
Showing posts with label How you can use command script to change KDE Desktop python. Show all posts
Showing posts with label How you can use command script to change KDE Desktop python. Show all posts
Wednesday, October 17, 2007
Subscribe to:
Posts (Atom)