Is there a simple way to query a terminal to find out what Window Manager one is in?
By default I boot to KDE, but when I have real work to do I boot to XFCE and logon as root.
I thought i could save some resources by killing off kdm there, but it shut x down, and startx took me into an unfamiliar window manager as root.
I dont really know the difference between cinnamon and mate - it looks kinda like Gnome, but I would like a script to be able to ID the WM so as to have a clue as to where i am!
On second thought its gotta be a gnome variant because its a pig, and doesnt flush junk as well as KDE.