Re: iconifying Chromium on startup
Xyne <xyne-fd97jBR+K/[email protected]> Fri, 28 Jul 2017 19:41:05 +0000
| Newsgroups | gmane.comp.window-managers.openbox |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the quick reply. Here's the output that shows that it is indeed iconifying and then uniconifying Chromium. I suppose that this is an issue with Chromium but is there any way to work around it in Openbox while still allowing other windows to be automatically focused? Openbox-Debug: Iconifying window: 0xa00001 Openbox-Debug: (FOCUS) ignoring enters from 27628 until 27629 Openbox-Debug: Managed window 0xa00001 plate 0x400879 (Chromium) Openbox-Debug: net_wm_state Add 381 382 for 0xa00001 Openbox-Debug: Sending ConfigureNotify to New Tab - Chromium for 0,0 1600x900 Openbox-Debug: (FOCUS) ignoring enters from 27634 until 27707 Openbox-Debug: net_active_window for 0xa00001 source=application Openbox-Debug: Want to focus window 0xa00001 at time 183164703 launched at 0 (last user interaction time 0) request from user, allow other desktop: no, desktop switch time 0 Openbox-Debug: Unknown launch time, using 0 - independent window Openbox-Debug: Allowing focus stealing for New Tab - Chromium at time 183164703 (last user interaction time 0) Openbox-Debug: Uniconifying window: 0xa00001 On 2017-07-28 11:07 -0400 Dana Jansens wrote: >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 <[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