I am trying to find a workaround for incorrect grouping of windows in Docky, and I believe the problem lies with the WMClass attribute that is set for each window. However, I do not know how to view this attribute for open windows. Is there any way to do this?

2 Answers 2


In a terminal, run

 xprop WM_CLASS

and then click the window in question.

  • WM_CLASS: not found.
    – phil294
    May 26, 2017 at 3:02
  • 6
    @Blauhirn run xprop without arguments, you'll get all the properties (and should find WM_CLASS in there, if it's defined)
    – draeath
    May 26, 2017 at 13:30
  • WHen i run this command the cursor only works when i click on the desktop. But when i click on the windows it doesn't work.
    – Maxrunner
    Mar 14, 2018 at 11:51

it's an old problem, look here: bug reported

  • I do not get it Oct 10, 2018 at 20:26
  • @Pierre I pasted by mistake something else, I edited my answer
    – maoamid
    Oct 10, 2018 at 20:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.