[FusionDev] Is there a way to detect which window manager is running?

Sam Spilsbury smspillaz at gmail.com
Sun Dec 9 14:56:36 CET 2007


On Dec 9, 2007 6:23 AM, Nick Bauermeister <Forlong at gmx.de> wrote:
> This may be a little off topic here but does anybody know if there's a
> way to detect the current window manager?
>
> I'd like to know because I want to write a script which uses xfwm4.
> Since it doesn't have a --replace option, you have to kill the current
> WM to use it.

Hi Nick,

I'm sure you can just use pgrep to find out which WM is running though
a process of elimination. I believe fusion-icon does this.

Regards,

Sam


More information about the Dev mailing list