Getting to know the "class" of a program for assigning workspaces

Hey MaxWis,

I saw your question on the EndeavourOS forum about finding the class of a program for assigning it to a workspace, particularly the eos-welcome app. Here’s a quick and informal response for you:

To find the class of the eos-welcome program, you can use the xprop command. Open a terminal, type xprop, and then click on the eos-welcome window. The terminal will display information, and you’ll find the class like

WM_CLASS(STRING) = 'eos-welcome', 'Eos-welcome'

Once you have the class name (which is ‘eos-welcome’ in this case), you can use it to assign the program to a workspace using your window manager or a tool like wmctrl. The exact steps might vary depending on your setup, so refer to your specific documentation or configurations.

Hope this helps you get that workspace organization just the way you want it! :smile:

1 Like