A DCOP interface for KDE window manager designed to allow communication between applications and the window manager in Linux environments.
With WMIface, users have access to numerous examples of DCOP scripting for various use cases. For instance, users can launch Konqueror and close it after a specific duration. The command reads konqueror --name dotkonqueror & sleep 10 window=$(dcop kded wmiface findNormalWindows "" "dotkonqueror Konqueror" "" "" 0 false) dcop kded wmiface closeWindow $window.
The platform also allows for the smooth cycling of virtual desktops. The command reads while true; do sleep 10 desktop=$(dcop kded wmiface currentDesktop) total=$(dcop kded wmiface numberOfDesktops) if test $desktop = $total; then dcop kded wmiface setCurrentDesktop 1 else dcop kded wmiface setCurrentDesktop $(( desktop + 1 )) fi done.
Another feature of WMIface is the ability to minimize all KWrite windows simultaneously. The command to achieve this is dcop kded wmiface findNormalWindows "" " Kwrite" "" "" 0 false | while read ln; do dcop kded wmiface minimize $ln done.
In summary, WMIface offers an excellent platform for DCOP scripting of KDE Window Manager with powerful features that enhance user experience.
Version 2.1: N/A