Re: iconifying Chromium on startup

Dana Jansens <[email protected]> Fri, 28 Jul 2017 11:07:21 -0400
Newsgroups gmane.comp.window-managers.openbox
Message-ID <CAP1a_ac7R-kzdq201jXswsxc_BYeFXzDZ0ny+KCVSoYY_cZ3Eg@mail.gmail.com>
It could be that chromium is making itself active. If you run with openbox
with --debug --debug-focus you'll get a lot of data what's going on when
you open it.

On Fri, Jul 28, 2017 at 10:51 AM, Xyne <xyne-fd97jBR+K/[email protected]> wrote:

> Hi,
>
> For a couple of years I have had the following in my rc.xml file to prevent
> browsers from stealing focus when they start up:
>
>
>     <application role="browser">
>       <focus>no</focus>
>       <iconic>yes</iconic>
>     </application>
>
>
> This has worked flawlessly with Firefox and Chromium until recently.
> Firefox is
> still iconified and unfocused when it starts but Chromium pops up and takes
> focus. Relevant output from obxprop for the Chromium window:
>
> _OB_APP_CLASS(UTF8_STRING) = "Chromium"
> _OB_APP_NAME(UTF8_STRING) = "chromium"
> _OB_APP_ROLE(UTF8_STRING) = "browser"
> WM_WINDOW_ROLE(STRING) = "browser"
> WM_CLASS(STRING) = "chromium", "Chromium"
>
> Attempting to catch it with class="chromium" fails as well. Even class="*"
> fails. Am I missing something or has Chromium simply become incompliant?
>
> I am using Openbox 3.6.1 and Chromium 60.0.3112.78 on Arch Linux. I can
> provide
> full obxprop output if needed.
>
> Thanks in advance for any help.
> _______________________________________________
> openbox mailing list
> [email protected]
> http://icculus.org/mailman/listinfo/openbox

_______________________________________________
openbox mailing list
[email protected]
http://icculus.org/mailman/listinfo/openbox