[openbox] Openbox stay on top window

Philip Newborough corenominal at corenominal.org
Thu May 2 11:01:20 EDT 2013


On Thu, May 2, 2013 at 3:16 PM, Matteo Brichese <mbrichese at came.it> wrote:
> Hi, I'm Matthew from Italy, I've found this ML:
>
>>> In a menu entry to start an app, can I specify that I want its window
>>> to stay on top?
>
>>No. Unless the app in question has a --always-on-top switch. Openbox has
>>no way of knowing which exec() call produces which windowid in X. What you
>>can do is use the per-app matching to make all windows of a specific class
>>stay on top.
>>--
>>Mikael Magnusson
>
> I'm intrested in knowing how can I do for making a particular class of windows to stay on top.
> I've already a per-app configuration, but I cannot find a solution for an always on top configuration.
>

Here is an example of how to keep Vlc's window on top:

<application class="Vlc" name="vlc" role="vlc-main" type="normal">
<layer>above</layer>
</application>

Modify to suit and add it to your Openbox rc.xml file, within the
<applications> element.

--
Philip


More information about the openbox mailing list