Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Need Help: Minimize, Maximize UNIX windows

by Fletch (Chancellor)
on May 11, 2006 at 23:45 UTC ( #548872=note: print w/ replies, xml ) Need Help??


in reply to Need Help: Minimize, Maximize UNIX windows

In general the answer is going to depend on some combination of your window manager and/or the desktop you're using. For KDE there's probably some sort of dcop incantation you can send to it, but without a bit more details you may not get anything more specific.

And the language is Perl, the implementation is perl; "PERL" is just wrong.

Update: Actually after thinking over it there may be some sort of window manager hints you can send, but I can't recall what you'd want to search on to track information about them down. It'd also be fairly low-level X11 calls so it wouldn't be really easy to do from perl either.

Update 2: Yeah, that wmctl below implements the thing I was thinking about. Running that through system is going to be your best bet.


Comment on Re: Need Help: Minimize, Maximize UNIX windows
Re^2: Need Help: Minimize, Maximize UNIX windows
by Argel (Prior) on May 12, 2006 at 00:09 UTC
    I would look into Perl/Tk (or a different GUI toolkit) before diving into low-level X11 calls. Something about maintaining a little bit of sanity comes to mind! :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://548872]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (7)
As of 2014-08-01 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (256 votes), past polls