Re: How to discover which wm is running



On Thu, 2008-06-26 at 16:18 -0300, Gustavo Feijó wrote:
> I'm trying to find out a way to discover, under a shell script, which
> window manager is running.

Since even the Portland project ( http://portland.freedesktop.org/wiki/ ) uses 
kludges like "if [ x"$KDE_FULL_SESSION" = x"true" ]; then DE=kde;" there is 
probably no standard way do determine this.
For inspiration look at xdg-email in:
http://portland.freedesktop.org/download/xdg-utils-1.0.2.tgz

Cheers,
Tim
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]