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 <[email protected]>:

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

        Thanks
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: [email protected]

Reply via email to