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  . 

DCOP interface for kwin (patch)


KDE Improvement

Score 75%
Link:  Link
Downloads:  1080
Submitted:  Dec 2 2005
Updated:  Dec 2 2005


I implemented a DCOP interface for Kwin. This interface is asked by many users (wish #34882)

Exemples of use:
- This interface has created especialy for KHotKeys use. I give an exemple file for KHotKeys. With with interface, you can control mostly kwin with KGestures (really fun!).
- You can improve greatly kwin. Wish #103608 (Allowing suspend current window) can be implemented:
kill -STOP `dcop kwin Windows getPid 0`
and restart with
kill -CONT `dcop kwin Windows getPid 0`

I work on 3.4.3 version of kdebase from experimental packages of Debian (deb http://ftp.de.debian.org/debian ../project/experimental main). You shouldn\'t have problems to use this patch with most of other versions.

If you have some ideas about fonctions would usefull, I am open.

I dump functions list here:
$ dcop kwin
KWinInterface (default)
$ dcop kwin Cursor
QCStringList interfaces()
QCStringList functions()
QPoint getCursorPos()
void moveCursorRel(QPoint value)
void moveCursorAbs(QPoint value)
$ dcop kwin Windows
QCStringList interfaces()
QCStringList functions()
unsigned long int getCurWinId()
void setFocus(unsigned long int winId)
int getDesktop(unsigned long int winId)
void setDesktop(int value,int dir,unsigned long int winId)
bool isSticky(unsigned long int winId)
void setSticky(int status,unsigned long int winId)
QPoint getPosition(unsigned long int winId)
void setPosAbs(QPoint pos,unsigned long int winId)
void setPosRel(QPoint pos,unsigned long int winId)
void setPosInteractive(unsigned long int winId)
QRect getGeometry(unsigned long int winId)
QSize getSize(unsigned long int winId)
void setSizeAbs(QSize size,unsigned long int winId)
void setSizeRel(QRect size,unsigned long int winId)
void setSizeInteractive(unsigned long int winId)
QPixmap getSnapshot(unsigned long int winId)
QPixmap getIcon(unsigned long int winId)
QPixmap getMiniIcon(unsigned long int winId)
void setShortcut(QString sc,unsigned long int winId)
void setShortcutInteractive(unsigned long int winId)
uint getPid(unsigned long int winId)
bool isRaised(unsigned long int winId)
void raiseOrLower(int status,unsigned long int winId)
int getKeepLayoutSetting(unsigned long int winId)
void setKeepAbove(int status,unsigned long int winId)
void setKeepBelow(int status,unsigned long int winId)
bool isSkipTaskbar(unsigned long int winId)
void setSkipTaskbar(int status,unsigned long int winId)
bool isSkipPager(unsigned long int winId)
void setSkipPager(int status,unsigned long int winId)
unsigned int getState(unsigned long int winId)
void setState(unsigned int status,unsigned long int winId)
bool isMinimized(unsigned long int winId)
void setMinimized(int status,unsigned long int winId)
bool isMaximized(unsigned long int winId)
void setMaximized(int status,unsigned long int winId)
bool isFullscreen(unsigned long int winId)
void setFullscreen(int status,unsigned long int winId)
bool isShaded(unsigned long int winId)
void setShaded(int status,unsigned long int winId)
bool isBorderless(unsigned long int winId)
void setBorderless(int status,unsigned long int winId)
void close(unsigned long int winId)
void kill(unsigned long int winId)
void killInteractive()
$ dcop kwin Desktops
QCStringList interfaces()
QCStringList functions()
int getCurDesktopId()
QString getDesktopName(int deskId)
void gotoDesktopRel(int value,int dir)
int getDesktopRel(int value,int direction,int deskId)
QPixmap getSnapshot()
QValueList getWindowsList(int deskId)
QValueList getAllWindowsList()

If you you want specify current window or current desktop, give 0 as argument.
Signification of \"direction\" argument (I know, it should be an enum, but, it seems to break DCOP) :
0 = Absolute
1 = Linear (equivalent of Next/Previous)
2 = Horizontal (equivalent of Right/Left)
3 = Vertical (equivalent of Up/Down)
If you problem with negative number in QPoint, QRect, QSize, etc... using dcop command, see #117292

Debian(Patched debian package)
Source(Patched source of KdeBase (big))
other(Exemple of use with khotkeys)
Send to a friend
Other  Apps  from jezz
Report inappropriate content


 Ubuntu 7.10 debdiff

 by gmatht on: Apr 27 2008
Score 50%

I have updated this diff for kdebase_3.5.8 and made a debdiff for Ubuntu 7.10 at:
However I found that this didn't do the one thing I wanted, which was to raise windows. I later discovered I could simply use "wmctrl -R <window title>"

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.