Answer the question
In order to leave comments, you need to log in
Why is the smplayer class not working in i3?
Good afternoon.
I am using i3wm windows in xubuntu 18.04.
There is a problem, when I start smplayer, I can not determine it on the first workspace.
For example, there is visual studio code and cherrytree, it works for them.
assign [class="Smplayer"] $workspace4
assign [class="Code"] $workspace2
assign [class="Cherrytree"] $workspace3
Answer the question
In order to leave comments, you need to log in
To get the class and instance, you can use xprop. After clicking on the window, you will see the following output:
xprop:
WM_CLASS(STRING) = "irssi", "URxvt"
The first part of the WM_CLASS is the instance ("irssi" in this example), the second part is the class("URxvt" in this example).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question