<div dir="ltr">I'm attempting to arrive at a working config for a transparent terminal window on the desktop. This works well except that it gets hidden with Super-D (ToggleShowDesktop), as one would expect. Having failed to find a way to protect the terminal window from being hidden by this, I moved on to trying to re-map it afterwards with xdotool. I've succeeded - but only partially - and this is where it gets interesting (for me, anyway).<div><br></div><div>I can indeed successfully find the window with xdotool, I can map it again and everything looks great as long as I do so myself from the shell; when I attempt to have it happen automatically by sticking the same shell script into an Execute action (for the Super-D key binding *or* a different one), I get nada. The script runs, the log shows the window is found and xdotool returns 0, but nothing happens. I've tried adding a sleep up to 15s in case there's a race of some sort and still no luck.</div><div><br></div><div>If someone can think of a different way to achieve the desired result I'd be chuffed. With that said, I'm sufficiently curious about why this is happening that I'm now more interested in finding that out than having a transparent desktop terminal ;)</div><div><br></div><div>ForEach would not work for this even if I had it (i don't - using wheezy's 3.5.0-7 currently), since the terminal has two windows, of which only the second one needs to be re-mapped, and there doesn't appear to be a way to persist state across loop iterations.</div><div><br></div><div>The details of my attempted set-up are as follows:</div><div><br></div><div>openbox = 3.5</div><div>tilda = 0.09.6</div><div><br></div><div>relevant rc.xml snippets:</div><div><br></div><div><div><application name="tilda-desktop"></div><div>      <focus>no</focus></div><div>      <layer>below</layer></div><div>      <desktop>All</desktop></div><div>      <skip_taskbar>yes</skip_taskbar></div><div>      <skip_pager>yes</skip_pager></div><div>      <decor>no</decor></div><div></application></div></div><div><br></div><div><div>    <keybind key="W-d"></div><div>      <action name="ToggleShowDesktop"/></div><div>      <action name="Execute"></div><div><span class="" style="white-space:pre">          </span><command>bash /home/paul/show-tilda-desktop.sh &amp;</command></div><div><span class="" style="white-space:pre">     </span>  </action></div><div>    </keybind></div><div>    <keybind key="W-A-F5"></div><div><span class="" style="white-space:pre">   </span><action name="Execute"></div><div><span class="" style="white-space:pre">          </span><command>bash /home/paul/show-tilda-desktop.sh &amp;</command></div><div><span class="" style="white-space:pre">     </span>  </action></div><div>    </keybind></div></div><div><br></div><div>show-tilda-desktop.sh:</div><div><br></div><div><div>#!/bin/bash</div><div> </div><div>sleep 15s</div><div>echo -e "woke up..." > /tmp/show.log</div><div>xdotool search --classname Tilda >> /tmp/show.log</div><div>echo -e "running..." >> /tmp/show.log</div><div>xdotool search --classname Tilda | awk 'BEGIN { RS = " "; FS = "\n" } {print $2}' | xargs -l1 xdotool windowmap</div><div>echo -e "$?" >> /tmp/show.log</div></div><div><br></div><div><br></div><div><br></div><div>Is there something obvious that I'm missing, say about the context Execute runs <command>s?</div><div><br></div><div>Cheers,</div><div>-p</div></div>