Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Howto Create a Root-Window with Perl

by stefan k (Curate)
on May 25, 2004 at 13:20 UTC ( #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.

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2022-05-28 23:41 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (101 votes). Check out past polls.