The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

Applications on startup to right workspace

asked 2014-04-06 19:11:49 +0000

zacthespack gravatar image

I am trying to get my start up applications to move to the right workspace, currently only PSI moves to 'chat' on start up, all the others just start on workspace 1.

my config file has:

assign [class="psi"] chat
assign [class="skype"] chat
assign [class="xchat"] chat
assign [class="thunderbird"] email
assign [class="chromium-browser"] web
exec chromium-browser
exec thunderbird
exec psi
exec skype
exec xchat
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-04-06 19:25:27 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >100 is welcome to improve it.

Run "xprop | grep WM_CLASS" and click on the application in question. The second value listed on that line is the window class you need. For Skype, it's "Skype", and for Thunderbird it's "Thunderbird". Note that both of these are case sensetive.

The first value listed under "WM_CLASS" is the window's "instance", which can also be matched against in i3.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-04-06 19:11:49 +0000

Seen: 341 times

Last updated: Apr 06 '14