Results 1 to 7 of 7

Thread: Adjust position of libnotify popups?

  1. #1
    Join Date
    Apr 2010
    Beans
    8
    Distro
    Ubuntu 10.04 Lucid Lynx

    Adjust position of libnotify popups?

    More and more applications seem to be using libnotify for their pop-up notifications. While standardization is good, it's driving me mad that I can't find a way to move the location of the pop-ups.

    I have a dual-monitor setup where I spend most of my time looking at my primary monitor but all notifications keep popping up slightly offscreen in the top-right corner of my second monitor (which is at a slightly lower resolution than the primary). So, not only are they way out of my line of sight but I can't even read them on the rare occasion I do happen to notice them.

    My first instinct was to try and mouseover them and drag them to a new location. However, this simply causes them to vanish and reappear when I move the mouse off them again - very unintuitive behaviour!

    After that, I tried searching through gconf-editor for some way to change the coordinates but couldn't find anything.

    Does anyone know how/where to change their location? Ideally I'd like them to appear just below or above one of the GNOME panels, which seems like the logical place for them to be.

  2. #2
    Join Date
    Apr 2009
    Location
    Romania
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Adjust position of libnotify popups?

    try and see this maybe can help you

    http://ubuntuforums.org/showthread.php?t=1378676
    Brush your teeth kissing is imminent!!!
    sources

  3. #3
    Join Date
    Apr 2010
    Beans
    8
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Adjust position of libnotify popups?

    Thanks for the link. None of the patches helped much, but you did point me in the right direction - I was searching for libnotify problems rather than the real culprit notify-osd.

    After reading up on notify-osd, it seems part of the rationale behind it is that the position should explicitly not be under user control. I could live with that if the system was implemented well, but having notifications appear partially (or completely) off-screen on the wrong monitor suggests that it needs more work.

    In the meantime I'm going to attempt to revert back to the old notification-daemon / notification-properties by following:

    Quote Originally Posted by gradinaruvasile View Post
    U can revert to the older style notification by (commands in terminal):

    1. Install the notification-daemon package:

    Code:
    sudo apt-get install notification-daemon
    2. Rename the /usr/lib/notify-osd/notify-osd executable

    Code:
    sudo mv /usr/lib/notify-osd/notify-osd /usr/lib/notify-osd/notify-osd-original
    3. Create a symbolic link:

    Code:
    sudo ln -s /usr/lib/notification-daemon/notification-daemon /usr/lib/notify-osd/notify-osd
    4. Kill the original notification:

    Code:
    sudo killall notify-osd
    5. Launch the new notification - press alt+F2, type /usr/lib/notify-osd/notify-osd

    6. Test:

    Code:
    notify-send test test
    With this older notification type u can use the notification-ptoperties tool to set the location of the notification pop ups

  4. #4
    Join Date
    Jul 2007
    Beans
    78

    Re: Adjust position of libnotify popups?

    Any advance on adjusting libnotify...?

    Or the only solution is to replace it?

    thanks!

  5. #5
    Join Date
    Nov 2010
    Location
    Berlin, Germany
    Beans
    4,534
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Adjust position of libnotify popups?

    Quote Originally Posted by shimoda View Post
    Any advance on adjusting libnotify...?

    Or the only solution is to replace it?
    How about this: http://ubuntuforums.org/showthread.php?p=10115367

    Is the level of adjustability high enough in your case?
    Last edited by Krytarik; March 18th, 2011 at 03:48 AM.

  6. #6
    Join Date
    Jun 2009
    Location
    Rio de Janeiro, Brazil
    Beans
    51
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Adjust position of libnotify popups?

    Quote Originally Posted by shimoda View Post
    Any advance on adjusting libnotify...?
    Or the only solution is to replace it?
    thanks!
    You don't need to replace libnotify, the bug is in notify-osd, and a workaround was made there is a setting at dconf that changes the notify-osd behavior.

    Look here for the steps:

    http://askubuntu.com/a/151542/11015

    (and, if it works for you, I would be glad if you upvote my answer)

  7. #7
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    17,619
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Adjust position of libnotify popups?

    Necromancing.


    Thread closed.
    elementary OS Luna
    My Screenshot

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •