[lug] detecting which window manager?

Zan Lynx zlynx at acm.org
Tue Jun 28 09:29:22 MDT 2005


On Tue, 2005-06-28 at 08:25 -0600, Andrew F. Gilmore wrote:
> On Mon, 2005-06-27 at 16:12 -0600, D. Stimits wrote:
> > I'm using fedora, but that should be irrelevant to this question. I'm 
> > wondering is there any way to detect which window manager is being used?
> > 
> > This should be easy, but I'm stumped, ps aux shows nothing relevant. I'm 
> > set to use kdm for login...apparently the window manager is not set as 
> > an argument to kdm or X servers. Window managers themselves appear to 
> > not be a process, at least not when launched under kdm...this would make 
> > sense though, as kdm runs at all times, and the window manager to run is 
> > not known till the user starts a session. I was digging around in 
> > /etc/X11/, could not find anything that would definitively tell me. In 
> > /etc/sysconfig/desktop, the only relevant entries are for DESKTOP="KDE" 
> > and DISPLAYMANAGER="KDE"...but I'm under the impression that KDE is 
> > *not* a window manager, just a login manager. Am I wrong? Is KDE also a 
> > window manager? Or am I running something else like sawfish or icewm?
> 
> This is something that is also challenging for the SELinux project,
> because all KDE applications appear to run as 'kdeinit'. If you're
> running GNOME, the window manager is a separate process, i.e. metacity,
> sawfish, whatever. Not sure about XFCE and icewm, but I would bet that
> they also are their own processes.

I had thought that if you prelink your system, you can change a setting
somewhere.  I think it is the KDE_IS_PRELINKED environment variable and
it would stop using the kdeinit fast-load trick.  Or am I wrong?
-- 
Zan Lynx <zlynx at acm.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20050628/ede260d1/attachment.pgp>


More information about the LUG mailing list