Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

I don't believe X11 provides any means for Clients to ask the server for any information about any window -- including the root window. That's why "Eterm" requires that your either use Enlightenment as your windows manager, or set the background with "Esetroot" if you want any level of transparency. This gives Eterm something to query to find out what pixels are where in the root window.

I can't seem to find any docs mentioning an API to allow arbitrary programs to query Enlightenment/Esetroot for the background info, but i didn't look too hard so that doesn't mean it doesn't exist.

You could allways write your own wrapper script for setting the background image (using xv, or what have you) and making a symlink to the last file used to set the background that your other scritps can allways refrence when they want to know what the background is.


In reply to Re: Accessing the Root Window in Perl by hossman
in thread Accessing the Root Window in Perl by itodd

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-19 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found