The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

Dual-screen: Skype notifications appear off-screen

asked 2013-01-02 17:45:35 +0000

scy gravatar image

updated 2013-01-02 18:02:54 +0000

On my laptop, I'm using a dual-screen setup, with the internal LVDS being the primary screen and the external screen to the right of it and placed slightly above.

When Skype displays a notification window, it appears at the lower right corner of the (virtual) screen. The problem is: It does not check whether there is actually a monitor displaying that part. In my case, it appears in the 300-pixel gap below the external screen. Please see the image visualizing the problem.

Blue is the whole virtual screen area, yellow my internal display, green the external one. The invisible Skype notification ("Skype A") is shown in dark grey. It's especially annoying if the notification being displayed is an incoming call, because there doesn't seem to be any other way to accept it than clicking on that notification.

I am able to see some notifications if I receive enough in a short amount of time to make them stack over each other (shown as "Skype B" and "Skype C").

Now I know that this is probably not an i3 problem, but maybe you guys have an idea on how to fix it. I've tried for_window [class="^Skype$" instance="^skype$" title="^skype$"] floating enable, but this doesn't seem to have any effect on these windows.

Any ideas?

There is a workaround in the official Skype forums and an unanswered question on Super User about that topic.

In case you're interested, some additional information:

xrandr:

Screen 0: minimum 320 x 200, current 3520 x 1200, maximum 8192 x 8192
LVDS1 connected 1600x900+0+300 (normal left inverted right x axis y axis) 345mm x 194mm
[...]
HDMI3 connected 1920x1080+1600+0 (normal left inverted right x axis y axis) 531mm x 299mm
[...]

set up by this command:

xrandr --output LVDS1 --auto --primary --pos 0x300 --output HDMI3 --auto --pos 1600x0
edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted
0

answered 2013-03-12 16:54:05 +0000

Marcos Moyano gravatar image

I had the same problem and the only solution that worked for me was the one Michael described (bottom edge alignment for the two outputs). I use two external monitors and here is my xrandr setting:

xrandr --output HDMI-0 --mode 1920x1080 --pos 0x0 --output VGA-0 --mode 1680x1050 --pos 1920x30 --output LVDS-0 --off
edit flag offensive delete link more
0

answered 2013-03-09 23:15:32 +0000

virtualeyes gravatar image

Use notify-send in place of Skype's built-in message system.

Skype > Options > Notifications > click Advanced View button

Then for, say, a chat message received, uncheck display popup, and check the execute following script checkbox:

notify-send "%sname says %smessage" -i skype -u normal -t 5000

Click Test Event button and you should see the notification placed on whichever monitor has mouse focus.

Repeat for incoming call, etc. events.

edit flag offensive delete link more
0

answered 2013-01-02 18:41:54 +0000

Michael gravatar image

Well, one way to get around this is to configure your outputs in such a way that the bottom edge is aligned (e.g. with --pos 0x180).

The other way is to enable the workaround from the Skype forums and then use for_window. The reason it doesn’t work right now is probably because Skype tells the window manager to not manpage the popup. That is normal behavior for Chrome’s desktop notifications, too, or dunst’s notification popups.

The "move absolute position" command (http://i3wm.org/docs/userguide.html#focusingmoving_containers, only for floating windows) might come in handy, too, but also only after telling Skype to open a normal window.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-01-02 17:45:35 +0000

Seen: 2,608 times

Last updated: Mar 12 '13