20

I use Ubuntu 10.10 on a laptop, with an external monitor, which is used as the primary. Notify-osd alerts show on the connected monitor, as I want.

However, some days ago I removed both gnome panels and installed AWN. All was good, but notify-osd alerts now appears on the laptop. I need, that notify-osd appears on the connected monitor.

How can I move notify-osd alerts on the connected monitor without gnome panels?

RolandiXor
  • 51,541
Sk8er
  • 3,919

3 Answers3

17

gsettings set com.canonical.notify-osd multihead-mode focus-follow

This is the correct way for 12.10. You can test with notify-send

Segfault
  • 272
14
gconftool-2 -s -t string /apps/notify-osd/multihead_mode focus-follow

Should display notices on the currently active monitor.

Yuriy Voziy
  • 1,105
  • 1
    are there other options besides focus-follow? what if I wanted to pick a specific montior to show notifications on? – tester Nov 11 '11 at 18:08
  • You can use gconf-editor ( dconf-editor on 11.10 ) to see all available options. – Yuriy Voziy Jan 13 '12 at 15:29
  • 2
    Setting this value doesn't seem to have any effect in 12.10. I did a quick search in dconf and there doesn't seem to be a notify-osd node. – Erigami Dec 06 '12 at 19:31
3

Hmm interesting, it should show up on Primary screen by default and we can choose the monitor in shell like this DISPLAY=:0 notify-send "hi" and DISPLAY=:1 notify-send "hi"

Ashfame
  • 3,214
  • 1
    As far as I know, the DISPLAY option has nothing to do with multiple monitors. Testing this on Ubuntu 12.04 (with focus-follow set as described above), it doesn't seem to do what you suggest either. – Joel Cross Feb 21 '14 at 14:57
  • Used to work for me earlier but not using the same setup anymore. – Ashfame Feb 21 '14 at 15:15