KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   


- Content .- Fans (1) .- Knowledge Base  . 



KDE Other Utility

Score 74%
Link:  Link
Minimum required   Qt 4.x
Downloads:  1362
Submitted:  Jun 6 2006
Updated:  Oct 15 2009


This command line tool allows user scripting of the running window manager (any EWMH-compatible window manager, including KDE's KWin, GNOME's Metacity, Compiz and others).

It can be also used as a replacement for the wmctrl tool, which no longer seem to be maintained. It also provides more features than just directly mapping to the window manager specifications and as such it should be more easy and convenient to use.

The only dependency of this tool is the Qt4 QtCore library and the X11 libraries.

Users of the old KDE3 version, please see the (very simple) porting instructions in the README file.

IMPORTANT #1: It is meant ONLY for user scripting. Applications should use classes from libkdeui (NET*, KWindowSystem, KWindowInfo). This CLI interface assumes it is used by a user and using it from applications may lead to various problems.

IMPORTANT #2: There are often better ways of doing things than scripting using this interface, especially if they are simple. For example if you just want to affect geometry of a specific window, it is usually simpler to use KWin's window-specific settings for that window (Alt+F3/Advanced). On the other hand, this CLI interface is specially designed for user window management and as such it's sometimes better than using D-Bus for talking to application. E.g. something like "qdbus org.kde.konqueror-4770 /konqueror/MainWindow_1 raise" will make the application try to raise itself, which may be blocked by the window manager (KWin blocks inactive windows that try to steal the focus or get attention in other ways), however "wmiface raiseWindow 60817415" will raise the window, because now the window manager is told directly.

See the README file for more details.

Three examples:

Launch Konqueror showing http://kde.org, close it after 10 seconds

konqueror http://dot.kde.org --name dotkonqueror &
sleep 10
window=$(wmiface findNormalWindows "" "dotkonqueror Konqueror" "" "" 0 false)
wmiface closeWindow $window

Cycle virtual desktops slowly

while true; do
sleep 10
desktop=$(wmiface currentDesktop)
total=$(wmiface numberOfDesktops)
if test $desktop = $total; then
wmiface setCurrentDesktop 1
wmiface setCurrentDesktop $(( desktop + 1 ))

Minimize all KWrite windows

wmiface findNormalWindows "" " Kwrite" "" "" 0 false | \
while read ln; do
wmiface minimize $ln


- support for Qt4 versions older than 4.4.0
- Qt4 version

(Package installation information)
Ubuntu 12.04 (i386)
Ubuntu 12.04 (amd64)
Send to a friend
Other  Apps  from Seli
Report inappropriate content


 Why not in kwin?

 by jezz on: Jun 7 2006
Score 50%

Why not include this interface in kwin (See #34882)?

(I don't think "it work with any EWMH-compatible window manager" was the only argument, no?)

Jérôme Pouiller (Jezz) jerome.pouiller@no-log.org
Reply to this


 Re: Why not in kwin?

 by Seli on: Jun 7 2006
Score 50%

It was, basically. Yeah, I know I said in the bugreport it'd mean just adding DCOP calls to KWin :-/ , but this way it works even if one runs other WM[1] with KDE (e.g. Metacity), and in fact, as long as kdeinit is running, it can work even outside of KDE (it's be rather funny to see some GNOME people scripting Metacity this way to get around some lacking Metacity features ;) ).

[1] http://ktown.kde.org/~seli/kdewm/

Reply to this



 by -twosouls82- on: Jun 27 2006
Score 50%

This is just a great achievement/improvement if you ask me. I once tried xfwm4 (Xfce's Window Manager) and I loved the decorations/themes for it so much better than those of KWin.
'Though KDE gave me the opportunity to change the window manager (using the KDEWM variable in the ~/.bashrc); KPager didn't allow me to switch my desktops any more, the WindowList applet didn't function anymore etc.

Now it is just a question of writing a few bash scripts to do those things.

Using xfwm4 again (^-^)

Thank you very much/Hartelijk bedankt,

KDE 3.5.3, SUSE 10.1
Reply to this


 Re: Awesome

 by -twosouls82- on: Jun 27 2006
Score 50%

:s before I got to write the scripts KPager worked already.

How could this be?

Reply to this


 Nice !

 by Emeric on: Apr 21 2007
Score 50%

I made a quick ebuild for it, too :

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:$

inherit kde

DESCRIPTION="Window Manager DCOP interface for Kwin or any EWMH-compatible window manager that's running in kde"


need-kde 3.5

A computer is like air conditioning: it becomes useless when you open windows
Reply to this


 Re: Nice !

 by estellnb on: Aug 14 2007
Score 50%

Is there any further and comprehensive documentation about WMIface?
What do the 6 parameters of the findNormalWindows method stand for?
Are there any other functions than those mentioned in the few specific examples?
Why does kdcop not show these methods? Is there a good source about dcop scripting in general?

Reply to this


 Re: Re: Nice !

 by Seli on: Aug 14 2007
Score 50%

There is a complete documentation in the README shipped with the tarball.

Reply to this


 Re: Re: Nice !

 by estellnb on: Aug 27 2007
Score 50%

dcop scripting(bash) & further links (Konsole DCOP Scheme Automation Tool):
for KDE apps only; activate & maximize(fullscreen) application main window; konqueror-openURL

wmiface dcop scripting with bash (wapp):
application preloading; summon appwin to current working area; uses kwin/wmiface only - for all apps (Firefox, Ding, ...)

Reply to this


 wmiface on suse 11.1

 by estellnb on: Jan 30 2009
Score 50%

wmiface does not seem to work on suse11.1
> dcop kded wmiface
object 'wmiface' in application 'kded' not accessible
> kwin --version
Qt: 3.3.8b
KDE: 3.5.10 "release 21.11"
KWin: 3.0
will there be any fix for current versions of kde3

Reply to this


 On KDE4

 by estellnb on: Jul 2 2009
Score 50%

What about wmiface on KDE4?

Reply to this

Add commentBack

How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

 Who we are
More about us
Frequently Asked Questions
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Sponsor us
Report Abuse

Copyright 2003-2016 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.