<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>i3 FAQ - Individual question feed</title><link>https://faq.i3wm.org/questions/</link><description>Frequently asked questions and answers about the i3 window manager</description><atom:link href="http://faq.i3wm.org/feeds/question/6555/" rel="self"></atom:link><language>en</language><copyright>Copyright i3, 2012</copyright><lastBuildDate>Mon, 14 Sep 2015 17:59:17 +0000</lastBuildDate><item><title>auto-follow application / container</title><link>https://faq.i3wm.org/question/6555/auto-follow-application-container/</link><description>1# Let's say, I'm on workspace 5. Then I hit the shortcut for starting an application that is assigned to another workspace. Is it possible to auto-follow the app(container?) to the workspace it is assigned to, i.e. auto-switch to that workspace?


2# Now something similar: follow the container when moving it to another workspace. Possible?</description><pubDate>Tue, 08 Sep 2015 20:02:23 +0000</pubDate><guid>https://faq.i3wm.org/question/6555/auto-follow-application-container/</guid></item><item><title>Answer by i3convert for &lt;p&gt;1# Let's say, I'm on workspace 5. Then I hit the shortcut for starting an application that is assigned to another workspace. Is it possible to auto-follow the app(container?) to the workspace it is assigned to, i.e. auto-switch to that workspace?&lt;/p&gt;

&lt;p&gt;2# Now something similar: follow the container when moving it to another workspace. Possible?&lt;/p&gt;
 </title><link>https://faq.i3wm.org/question/6555/auto-follow-application-container/?answer=6556#post-id-6556</link><description>You just have to execute two commands. Start the app or move the container **and** go to the specific workspace. Your #2 is even covered in the [i3 user guide](https://i3wm.org/docs/userguide.html).  More specifically, it is [the second example in Section 6](https://i3wm.org/docs/userguide.html#_list_of_commands):

    bindsym $mod+x move container to workspace 3; workspace 3</description><pubDate>Tue, 08 Sep 2015 21:03:23 +0000</pubDate><guid>https://faq.i3wm.org/question/6555/auto-follow-application-container/?answer=6556#post-id-6556</guid></item><item><title>Comment by berg for &lt;p&gt;You just have to execute two commands. Start the app or move the container &lt;strong&gt;and&lt;/strong&gt; go to the specific workspace. Your #2 is even covered in the &lt;a href="https://i3wm.org/docs/userguide.html"&gt;i3 user guide&lt;/a&gt;.  More specifically, it is &lt;a href="https://i3wm.org/docs/userguide.html#_list_of_commands"&gt;the second example in Section 6&lt;/a&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;bindsym $mod+x move container to workspace 3; workspace 3
&lt;/code&gt;&lt;/pre&gt;
</title><link>https://faq.i3wm.org/question/6555/auto-follow-application-container/?comment=6583#comment-6583</link><description>That is a solution for 1#. Thanks :-)!</description><pubDate>Mon, 14 Sep 2015 17:59:17 +0000</pubDate><guid>https://faq.i3wm.org/question/6555/auto-follow-application-container/?comment=6583#comment-6583</guid></item><item><title>Answer by oberon for &lt;p&gt;1# Let's say, I'm on workspace 5. Then I hit the shortcut for starting an application that is assigned to another workspace. Is it possible to auto-follow the app(container?) to the workspace it is assigned to, i.e. auto-switch to that workspace?&lt;/p&gt;

&lt;p&gt;2# Now something similar: follow the container when moving it to another workspace. Possible?&lt;/p&gt;
 </title><link>https://faq.i3wm.org/question/6555/auto-follow-application-container/?answer=6562#post-id-6562</link><description>You can use `for_window [urgent=latest] focus` in your config for that.</description><pubDate>Thu, 10 Sep 2015 21:38:17 +0000</pubDate><guid>https://faq.i3wm.org/question/6555/auto-follow-application-container/?answer=6562#post-id-6562</guid></item><item><title>Comment by berg for &lt;p&gt;You can use &lt;code&gt;for_window [urgent=latest] focus&lt;/code&gt; in your config for that.&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/6555/auto-follow-application-container/?comment=6582#comment-6582</link><description>This would be the solution for 2#, but it does not work. The window just moves to the other workspace, without focussing.</description><pubDate>Mon, 14 Sep 2015 17:55:26 +0000</pubDate><guid>https://faq.i3wm.org/question/6555/auto-follow-application-container/?comment=6582#comment-6582</guid></item></channel></rss>