[openbox] How to un-iconify windows?

Alexey Korop akorop at gmail.com
Thu Feb 18 07:05:10 EST 2016


Ian Zimmerman пишет 18.02.2016 04:36:
> On 2016-02-17 12:59 -0800, Parke wrote:
> 
>> Is there an action that will un-iconify all windows that belong to the
>> current desktop?
>>
>> If not, is there some way to un-iconify windows from a shell script?
> 
> xdotool has a command to map (ie. un-iconify) a window based on its xid.
> So it just remains to enumerate the xids of all windows on a desktop.
> 

The natural solution can be as following:

    <keybind key="W-Prior">
      <action name="ForEach">
        <desktop>current</desktop>
        <iconified>yes</iconified>
        <then>
          <action name="Uniconify"/>
        </then>
      </action>
    </keybind>

But this not work due to "Uniconify" action is absent. Perhaps it should
be implemented? It's quite simple.

-- 
Yours truly Alexey


More information about the openbox mailing list