Forrest logo
back to the xprop tool

xprop:tldr:785de

xprop: Display the name of the root window.
$ xprop -root WM_NAME
try on your machine

The command "xprop -root WM_NAME" is used to retrieve the value of the "WM_NAME" property of the root window in X Window System.

Let's break down the command:

  • "xprop" is a utility in X Window System used to display and modify properties of X windows.
  • "-root" is an option that specifies the root window (the top-level window) of the X display.
  • "WM_NAME" is the name of the property that we are interested in, which typically holds the name/title of the window manager.

By executing this command, you will get the value of the "WM_NAME" property, which represents the name of the window manager running on your system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the xprop tool