Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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.

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://356194]
Approved by Corion
help
Chatterbox?
[Eily]: the French took it Discipulus
[Eily]: English copied French's habit of having a polite singular you, and lost thou through the ages :D
[Discipulus]: I havent took thine book, search it thyself.. sound very good and cool! i definitevely use Shakespeare's english

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-11-23 11:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (333 votes). Check out past polls.

    Notices?