Nick's Tech Blog: Ubuntu > Display notifications over the screensaver

Pages

Thursday, September 29, 2011

Ubuntu > Display notifications over the screensaver

I'm currently playing around with notifications, and I'm trying to "keep" notifications displayed above the screensaver, so that I can see if I've got new mail or an IM from afar, without having to unlock my pc.

Basically the opposite problem to these:
http://www.jwz.org/xscreensaver/faq.html#popup-windows
http://www.google.com/search?q=notifications+over+screensaver+ubuntu

I'm using a command similar to the following, to display messages with an infinite timeout:
Code:

$ notify-send -t 0 -i info "You've got mail" "mailbox (123)"

Currently notifications get displayed temporarily "above" the xscreensaver, but eventually xscreensaver will "raise" itself above the notification (e.g. after a minute or two).

Here are my options, as I see it currently:

1) Download the xscreensaver's source code, modify it to prevent it raising itself above the notifications, build and install it (painful... I've managed to build it from the source, but I don't know what I should be modifying.)

2) Write my own custom screensaver (not really path I want to take, when I already have a notification and screensaver framework).

Are there any other (easier) options I've missed? Can anyone help?

(There's an argument that nothing should be displayed over the top of screensavers... )

Some context:
Ubuntu 11.04
Unity
notification-daemon/natty uptodate 0.5.0-2ubuntu1 (better functionality than notify-osd - i.e. click to close, vertical stacking, customisation...)
xscreensaver/natty uptodate 5.12-0ubuntu3 (more customisable than gnome-screensaver).

See also:

The same question, posted on the ubuntu forums:
http://ubuntuforums.org/showthread.php?p=11292893#post11292893

Traceback to a thread, on customising notify-osd notifications:
http://www.webupd8.org/2011/05/configurable-notifyosd-bubbles-for.html#dsq-comment-199829486

Another alternative to notification-daemon and notify-osd is avant-window-navigator 
http://maketecheasier.com/2-ways-to-make-ubuntu-notification-more-user-friendly/2011/05/21

Unfortunately, this is the closest solution I've found to notifications whilst the screensaver is running (checkGmail lights up the scroll lock key on the keyboard).
http://ubuntuforums.org/showthread.php?t=1564412

No comments:

Post a Comment