Drawing on the root window in Linux?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Charlie Lesh

    Drawing on the root window in Linux?

    Hey all:

    Is there any way to draw on the 'root' window? I'm thinking about a
    python screensaver for linux. I know that there are xlib bindings for
    python, maybe a little outdated, but do they have what I might need?

    Sorry if this has been asked before, but I couldn't find any answers,
    and Google was coming up empty.

    -Charlie

  • David McNab

    #2
    Re: Drawing on the root window in Linux?

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Charlie Lesh wrote:
    | Hey all:
    |
    | Is there any way to draw on the 'root' window? I'm thinking about a
    | python screensaver for linux. I know that there are xlib bindings for
    | python, maybe a little outdated, but do they have what I might need?

    Try xlib-python (or python-xlib).
    And welcome to a whole new world of pain.

    |
    | Sorry if this has been asked before, but I couldn't find any answers,
    | and Google was coming up empty.
    |
    | -Charlie
    |

    - --

    Kind regards
    David

    - --

    leave this line intact so your email gets through my junk mail filter
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.1 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

    iD8DBQE/1/WxUuEuev/PjrcRAiznAJ9dk9 T3A992rJ90rr9Ww WMkAWQY8wCgwujA
    Klx2JpzsDb0ItSL 33/wjy+s=
    =00GA
    -----END PGP SIGNATURE-----


    Comment

    • Diez B. Roggisch

      #3
      Re: Drawing on the root window in Linux?

      > Is there any way to draw on the 'root' window? I'm thinking about a[color=blue]
      > python screensaver for linux. I know that there are xlib bindings for
      > python, maybe a little outdated, but do they have what I might need?
      >
      > Sorry if this has been asked before, but I couldn't find any answers,
      > and Google was coming up empty.[/color]

      Did you check superkaramba? That does python-enriched interactive backround
      content. So they gotta somehow manipulate root :)

      Regards,

      Diez

      Comment

      • Fredrik Lundh

        #4
        Re: Drawing on the root window in Linux?

        Diez B. Roggisch wrote:
        [color=blue][color=green]
        > > Sorry if this has been asked before, but I couldn't find any answers,
        > > and Google was coming up empty.[/color]
        >
        > Did you check superkaramba? That does python-enriched interactive backround
        > content. So they gotta somehow manipulate root :)[/color]

        they're using shaped windows, don't they? see



        </F>




        Comment

        • Simon Burton

          #5
          Re: Drawing on the root window in Linux?

          On Thu, 11 Dec 2003 17:42:25 +1300, David McNab wrote:
          [color=blue]
          > -----BEGIN PGP SIGNED MESSAGE-----
          > Hash: SHA1
          >
          > Charlie Lesh wrote:
          > | Hey all:
          > |
          > | Is there any way to draw on the 'root' window? I'm thinking about a
          > | python screensaver for linux. I know that there are xlib bindings for
          > | python, maybe a little outdated, but do they have what I might need?
          >
          > Try xlib-python (or python-xlib).
          > And welcome to a whole new world of pain.
          >
          >[/color]

          Yeah, but it's cool and it does everything, i think.
          Let me know if you head down this path.

          Simon.

          Comment

          Working...