Instale wmctrl
e, em seguida, execute wmctrl -m
. De acordo com a página man :
-m Display information about the window manager and the environment.
Para o meu sistema, vejo:
$ wmctrl -m
Name: Openbox
Class:
PID: N/A
Window manager's "showing the desktop" mode: OFF
$