469,283 Members | 2,297 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,283 developers. It's quick & easy.

FreeBSD/Linux X11 determine which window manager is active

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.

--
Rod

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBGj67rZe6B7B2ImpsRAlZNAJ9SDX1G0tEKzwNpLAOhCq Y3OEmB5gCdEn1+
YelRhhrzmwiNv73OhhebcW8=
=/cLs
-----END PGP SIGNATURE-----

Jul 7 '07 #1
1 1911
Rod Person ha escrito:
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.
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 http://standards.freedesktop.org/wm-...ec-latest.html
), 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

HTH
--
Saludos
Adriano

Jul 7 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by DoubleM | last post: by
13 posts views Thread by Uwe Mayer | last post: by
1 post views Thread by Vyacheslav Sotnikov | last post: by
4 posts views Thread by robert | last post: by
3 posts views Thread by Bruno LIVERNAIS | last post: by
2 posts views Thread by Ruslan A Dautkhanov | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.