<?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/6569/" rel="self"></atom:link><language>en</language><copyright>Copyright i3, 2012</copyright><lastBuildDate>Wed, 16 Sep 2015 11:17:34 +0000</lastBuildDate><item><title>i3-msg not toggling scratchpad</title><link>https://faq.i3wm.org/question/6569/i3-msg-not-toggling-scratchpad/</link><description> I'm issuing this:

    i3-msg "scratchpad show"

It shows the scratchpad, but when executed again, scratchpad won't hide like with the keybind.

Is it a bug?</description><pubDate>Sat, 12 Sep 2015 08:21:51 +0000</pubDate><guid>https://faq.i3wm.org/question/6569/i3-msg-not-toggling-scratchpad/</guid></item><item><title>Comment by Adaephon for &lt;p&gt;I'm issuing this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;i3-msg "scratchpad show"
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It shows the scratchpad, but when executed again, scratchpad won't hide like with the keybind.&lt;/p&gt;

&lt;p&gt;Is it a bug?&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/6569/i3-msg-not-toggling-scratchpad/?comment=6593#comment-6593</link><description>As vandannen said, if the scratchpad window is not focused, it will be focused. It will only be hidden, if it is focused. When you run `i3-msg` from some other window, that window has the focus. If you use this only for testing you can use `sleep 2 ; i3-msg ...` and manually focus the window.</description><pubDate>Wed, 16 Sep 2015 11:17:34 +0000</pubDate><guid>https://faq.i3wm.org/question/6569/i3-msg-not-toggling-scratchpad/?comment=6593#comment-6593</guid></item><item><title>Comment by tigrezno for &lt;p&gt;I'm issuing this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;i3-msg "scratchpad show"
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It shows the scratchpad, but when executed again, scratchpad won't hide like with the keybind.&lt;/p&gt;

&lt;p&gt;Is it a bug?&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/6569/i3-msg-not-toggling-scratchpad/?comment=6578#comment-6578</link><description>But why the keybind version acts like a toggle, but i3-msg won't?</description><pubDate>Mon, 14 Sep 2015 09:02:58 +0000</pubDate><guid>https://faq.i3wm.org/question/6569/i3-msg-not-toggling-scratchpad/?comment=6578#comment-6578</guid></item><item><title>Comment by vandannen for &lt;p&gt;I'm issuing this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;i3-msg "scratchpad show"
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It shows the scratchpad, but when executed again, scratchpad won't hide like with the keybind.&lt;/p&gt;

&lt;p&gt;Is it a bug?&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/6569/i3-msg-not-toggling-scratchpad/?comment=6572#comment-6572</link><description>I do not know if that is what you are experiencing, but 'scratchpad show' will only move the currently shown scratchpad window back to scratchpad if it is currently focused, otherwise it will just focus that window.</description><pubDate>Sat, 12 Sep 2015 11:24:02 +0000</pubDate><guid>https://faq.i3wm.org/question/6569/i3-msg-not-toggling-scratchpad/?comment=6572#comment-6572</guid></item><item><title>Comment by tigrezno for &lt;p&gt;I'm issuing this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;i3-msg "scratchpad show"
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It shows the scratchpad, but when executed again, scratchpad won't hide like with the keybind.&lt;/p&gt;

&lt;p&gt;Is it a bug?&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/6569/i3-msg-not-toggling-scratchpad/?comment=6571#comment-6571</link><description>Hi Airblader, I've found that it works when adding a selector like [class=Thunar].</description><pubDate>Sat, 12 Sep 2015 09:23:54 +0000</pubDate><guid>https://faq.i3wm.org/question/6569/i3-msg-not-toggling-scratchpad/?comment=6571#comment-6571</guid></item><item><title>Comment by Airblader for &lt;p&gt;I'm issuing this:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;i3-msg "scratchpad show"
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It shows the scratchpad, but when executed again, scratchpad won't hide like with the keybind.&lt;/p&gt;

&lt;p&gt;Is it a bug?&lt;/p&gt;
</title><link>https://faq.i3wm.org/question/6569/i3-msg-not-toggling-scratchpad/?comment=6570#comment-6570</link><description>Yeah, would sound that way. Make sure you are running the latest version (4.10.4), pull a log file (please read the debugging docs for this) and report it on Github.</description><pubDate>Sat, 12 Sep 2015 08:50:09 +0000</pubDate><guid>https://faq.i3wm.org/question/6569/i3-msg-not-toggling-scratchpad/?comment=6570#comment-6570</guid></item></channel></rss>