wmname

wmname prints/sets the window manager name property of the root window similar to how hostname(1) behaves.

wmname is a nice utility to fix problems with JDK versions and other broken programs assuming a reparenting window manager for instance.

Download

Repository

You can browse the source code or get a copy using the following command:

git clone http://git.suckless.org/wmname

Usage

The following command prints the window manager name, if any:

; wmname

The following command sets the window manager name, e.g.

; wmname LG3D