How can I configure i3 window manager to open new program (window) started in terminal on a specific workspace?
I3 Windows Manager – assigning window to workspace
i3terminalworkspaces
i3terminalworkspaces
How can I configure i3 window manager to open new program (window) started in terminal on a specific workspace?
Best Answer
This is what you have to put in your ~/.i3/config file:
For example you want Emacs always opened up in work-space 4.
How do you get the class info?
Run
xprop
and click on the window you want to capture. For example while Emacs is running, using another terminal execute xprop and then click on the Emacs window. In the output you will find :The first string is the instance and the second one is the class.
Finally restart i3 ($mod+Shift+r ) for the changes to take place.