Google Chrome notifications and multiple monitors

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Google Chrome notifications and multiple monitors

Miles Sabin
I'm not sure if this is an XMonad or a Chrome issue, but here goes ...

I have a multi-monitor setup consisting of a laptop with an external
monitor. The external monitor is configured as the primary (via
xrandr) if it's attached.

Google Chrome is supposed to display it's transient notifications on
the primary monitor (see discussion here
https://code.google.com/p/chromium/issues/detail?id=42313)
irrespective of which monitor the main Chrome window is on itself.

That's the behaviour I want (browser on the laptop panel, transient
notifications on the primary external monitor). Unfortunately the
notifications always appear on the laptop panel and, to make matters
worse, they appear to flicker across the bottom of the primary monitor
before positioning themselves on laptop panel for display.

Has anyone else seen this behaviour? Any ideas how to diagnose and fix it?

Cheers,


Miles

--
Miles Sabin
tel: +44 7813 944 528
skype: milessabin
gtalk: miles at milessabin.com
g+: http://www.milessabin.com
http://twitter.com/milessabin


Reply | Threaded
Open this post in threaded view
|

Google Chrome notifications and multiple monitors

Brandon Allbery
On Sat, Apr 27, 2013 at 7:07 AM, Miles Sabin <miles at milessabin.com> wrote:

> That's the behaviour I want (browser on the laptop panel, transient
> notifications on the primary external monitor). Unfortunately the
> notifications always appear on the laptop panel and, to make matters
> worse, they appear to flicker across the bottom of the primary monitor
> before positioning themselves on laptop panel for display.
>

That "flickering", in my experience, is an indication that it's trying to
find a systray to "attach" the notifications to. Are you running anything
like trayer or stalonetray?

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20130427/f1481372/attachment.htm>

Reply | Threaded
Open this post in threaded view
|

Google Chrome notifications and multiple monitors

Miles Sabin
On Sat, Apr 27, 2013 at 4:39 PM, Brandon Allbery <allbery.b at gmail.com> wrote:

> On Sat, Apr 27, 2013 at 7:07 AM, Miles Sabin <miles at milessabin.com> wrote:
>>
>> That's the behaviour I want (browser on the laptop panel, transient
>> notifications on the primary external monitor). Unfortunately the
>> notifications always appear on the laptop panel and, to make matters
>> worse, they appear to flicker across the bottom of the primary monitor
>> before positioning themselves on laptop panel for display.
>
> That "flickering", in my experience, is an indication that it's trying to
> find a systray to "attach" the notifications to. Are you running anything
> like trayer or stalonetray?

I'm working off Config.Kde and have a KDE panel with a system tray ...
it appears to be fully operational.

Cheers,


Miles

--
Miles Sabin
tel: +44 7813 944 528
skype: milessabin
gtalk: miles at milessabin.com
g+: http://www.milessabin.com
http://twitter.com/milessabin


Reply | Threaded
Open this post in threaded view
|

Google Chrome notifications and multiple monitors

Brandon Allbery
On Sat, Apr 27, 2013 at 11:46 AM, Miles Sabin <miles at milessabin.com> wrote:

> On Sat, Apr 27, 2013 at 4:39 PM, Brandon Allbery <allbery.b at gmail.com>
> wrote:
> > That "flickering", in my experience, is an indication that it's trying to
> > find a systray to "attach" the notifications to. Are you running anything
> > like trayer or stalonetray?
>
> I'm working off Config.Kde and have a KDE panel with a system tray ...
> it appears to be fully operational.


Interesting. In any case this seems to be a Chrome (mis?)feature; my
XFCE+xmonad setup has the systray at the top, and chromium-browser also
shows the flickering at the bottom before deciding where to place
notifications. (I rather wish it would just use system notifications.
Although then it's probably use the craptacular built-in thing on Mountain
Lion instead of Growl, sigh.)

BTW, is the external monitor actually configured as primary via xrandr, or
is it "primary" only by usage?

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20130427/ff2b508e/attachment.htm>

Reply | Threaded
Open this post in threaded view
|

Google Chrome notifications and multiple monitors

Miles Sabin
On Sat, Apr 27, 2013 at 5:03 PM, Brandon Allbery <allbery.b at gmail.com> wrote:
> BTW, is the external monitor actually configured as primary via xrandr, or
> is it "primary" only by usage?

It's configured as primary via xrandr.

Cheers,


Miles

--
Miles Sabin
tel: +44 7813 944 528
skype: milessabin
gtalk: miles at milessabin.com
g+: http://www.milessabin.com
http://twitter.com/milessabin


Reply | Threaded
Open this post in threaded view
|

Google Chrome notifications and multiple monitors

Miles Sabin
One additional data point. If I use xrandr to position my laptop panel
to the right of my external monitor instead of to the left, the the
Chrome notifier appears on the external monitor exactly as expected.

So it looks like Chrome notifications always appear on the leftmost
(from xrandr's PoV) monitor irrespective of which one is configured as
the primary via xrandr ... can anyone else confirm that?

Cheers,


Miles

On Sat, Apr 27, 2013 at 6:50 PM, Miles Sabin <miles at milessabin.com> wrote:

> On Sat, Apr 27, 2013 at 5:03 PM, Brandon Allbery <allbery.b at gmail.com> wrote:
>> BTW, is the external monitor actually configured as primary via xrandr, or
>> is it "primary" only by usage?
>
> It's configured as primary via xrandr.
>
> Cheers,
>
>
> Miles
>
> --
> Miles Sabin
> tel: +44 7813 944 528
> skype: milessabin
> gtalk: miles at milessabin.com
> g+: http://www.milessabin.com
> http://twitter.com/milessabin



--
Miles Sabin
tel: +44 7813 944 528
skype: milessabin
gtalk: miles at milessabin.com
g+: http://www.milessabin.com
http://twitter.com/milessabin