-
 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    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  . 

DCOP interface for kwin (patch)

   3.4.3  

KDE Improvement

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

Description:

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
qt
Cursor
Desktops
KDebug
KWinInterface (default)
MainApplication-Interface
Windows
$ 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()

Notices:
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




LicenseGPL
(Patch)
Debian(Patched debian package)
Source(Patched source of KdeBase (big))
other(Exemple of use with khotkeys)
Send to a friend
Subscribe
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:
http://www.ucc.asn.au/~mccabedj/software/kdebase_3.5.8-0ubuntu2.2.diff.bz2
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






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

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

Copyright 2003-2014 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.