Start a child process , and make it maximized by PID

Thomas Lübking thomas.luebking at gmx.de
Sun May 6 02:12:15 PDT 2012


Using KDE? Try "kstart --maximize <application>"

To do what you want you'd need to query the window tree (for a cli tool:  
"xwininfo -root -tree") and check the toplevel windows for _NET_WM_PID  
(you can use xprop for this purpose) and then set the window maximized  
(wmctrl) by its WId

Am 02.05.2012, 11:12 Uhr, schrieb Aaron Lewis <the.warl0ck.1989 at gmail.com>:

> Hi,
> 	Can anyone provide a sample on how to maximize / minimize an
> 	application by its PID ?
>
> 	Thanks



More information about the xorg mailing list