Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Howto Create a Root-Window with Perl

by stefan k (Curate)
on May 25, 2004 at 13:20 UTC ( [id://356194]=perlquestion: print w/replies, xml ) Need Help??

stefan k has asked for the wisdom of the Perl Monks concerning the following question:

Fellow Monks,
I've been running a transparent terminal with no borders displaying 'top' for years now and I'd like to extend the mechanism.

I know that programs like xpenguin, root-tail or root-portal found a way to detect the real root-window of the current X-Session.

For me it would be sufficient to sent the appropriate WindowManagerHint to my Sawfish-WM. I thought it should be possible with PerlGTK but I didn't find a way to do such.

I am not (yet) limited to using PerlGTK, I might as well use the QT or Tk-bindings. I'm just looking for a way to send WM-hints in perl.

Any suggestions?

Regards... Stefan
you begin bashing the string with a +42 regexp of confusion

Replies are listed 'Best First'.
Re: Howto Create a Root-Window with Perl
by jepri (Parson) on May 25, 2004 at 14:24 UTC
    Don't bother with the root window, just full-size yours and set it to 'always-under'.

    wmctl can do this for you with a compliant WM. I know that's not a perl solution, but it works.

    ____________________
    Jeremy
    I didn't believe in evil until I dated it.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://356194]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-16 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found