From 8bf5ac16336d192f6d7319bb4650b36139ba21c0 Mon Sep 17 00:00:00 2001 From: rwxd Date: Wed, 22 Jun 2022 20:00:20 +0200 Subject: [PATCH] fix(window-names): name, not class --- Operating-Systems/Linux/Misc/window-names.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Operating-Systems/Linux/Misc/window-names.md b/Operating-Systems/Linux/Misc/window-names.md index fbef4a428..c5996b631 100644 --- a/Operating-Systems/Linux/Misc/window-names.md +++ b/Operating-Systems/Linux/Misc/window-names.md @@ -1,14 +1,15 @@ -# Show window class names +# Show window names -Run the following command, after that click on a window to see it class name +Run the following command, after that click on a window to see its name ```bash -xprop | grep -i "class" +xprop | grep "NAME" ``` ## Example ```bash -❯ xprop | grep -i "class" -WM_CLASS(STRING) = "todoist", "Todoist" +❯ xprop | grep "NAME" +WM_NAME(STRING) = "Spotify" +_NET_WM_NAME(UTF8_STRING) = "Spotify" ```