FreeBSD/Linux X11 determine which window manager is active

Discussion in 'Python' started by Rod Person, Jul 7, 2007.

  1. Rod Person

    Rod Person Guest

    I'm looking for a way to determine which window manager is running using
    python. I can't seem to find a system variable that hold this info.


    "it takes an unusual mind to see the obvious."
    - Alfred Whitehead

    Version: GnuPG v1.4.7 (FreeBSD)

    -----END PGP SIGNATURE-----
    Rod Person, Jul 7, 2007
    1. Advertisements

  2. Rod Person ha escrito:
    I don't think one exists. You could check which process is running,
    but that would be so web 1.0 (think javascript) it makes me sick just
    to think about it. A better alternative could be to code with the
    extended WM hints (see
    ), that should cover many needs. As with the web, (this might be
    something you already know, I apologise in that case), try to code to
    functionality, not names. Check if the WM can do what you want, not
    its name or version

    Adriano Varoli Piazza, Jul 7, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.