Re: iconifying Chromium on startup

Anthony Thyssen <a.thyssen-YlX7AVbyhojX/[email protected]> Sat, 29 Jul 2017 10:05:46 +1000
Newsgroups gmane.comp.window-managers.openbox
Message-ID <CABOaSg2o3vO51o6E3Krs6AH4SqPikBMV+BqZmn0ziMdFRewz1g@mail.gmail.com>
I iconify windows automatically on start up, but I don't get openbox to do
it...

I look for the window ID of the application to appear, then use tools like
"xwit", or "xdotool" to iconize it.

Here for example is from my start up script...

  google-chrome 2>/dev/null 2>&1 &
  if id=`xwin_find 60 ".* - Google Chrome"`; then
    echo "Chrome Window Found (id=$id)"
    sleep 1  # pause a moment
    xwit -iconify -id $id ||
      xdotool windowminimize $id
  else
    echo "ERROR: Chrome Window NOT FOUND\!"
  fi

The script "xwin_find" can be downloaded from
http://www.ict.griffith.edu.au/anthony/software/#xwin_find


I have never seen any interactions between google-chrome and firefox



On Sat, Jul 29, 2017 at 9:46 AM, Xyne <xyne-fd97jBR+K/[email protected]> wrote:

> Oh well, an Openbox penalty box would have been nice :P
>
> Thanks for the help, and thanks again for Openbox!
>
> On 2017-07-28 17:00 -0400
> Dana Jansens wrote:
>
> >Not really no :/ Should report it at bugs.chromium.org.
> _______________________________________________
> openbox mailing list
> [email protected]
> http://icculus.org/mailman/listinfo/openbox

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