You are not logged in.

#1 2010-08-29 22:04:06

BaconPie
Member
Registered: 2010-08-11
Posts: 209

Is there an alternative to notify-osd that supports centered messages

Using crontab I run a backup script at 9PM every evening, at 8:55 my computer reminds me to switch on my external with notify-osd.

The only problem is that I keep missing the alerts because they aren't centered. The developers of notify-osd seem to have lumped all notifications in the same boat - knowing what song is being played is just as important as a crucial backup!
Design choices aside, is there an alternative to notify-osd that supports centered messages? I'd use xmessage but, well, it's ugly as hell.

Alternatively is there a data bank of stock system sounds anywhere so that I can have a 'DING' played when the important messages come up?

Last edited by BaconPie (2010-08-29 22:04:42)

Offline

#2 2010-08-29 22:14:51

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Is there an alternative to notify-osd that supports centered messages

Just report your own topic next time instead of creating two. In the report you can ask a moderator to move your topic smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2010-08-29 22:22:50

vae77
Member
Registered: 2010-07-02
Posts: 75
Website

Re: Is there an alternative to notify-osd that supports centered messages

For notifications I can't miss (like battery status) I add an icon (of 100 px size) and set timeout to 6 seconds.

Offline

#4 2010-08-29 23:29:31

BaconPie
Member
Registered: 2010-08-11
Posts: 209

Re: Is there an alternative to notify-osd that supports centered messages

vae77 wrote:

For notifications I can't miss (like battery status) I add an icon (of 100 px size) and set timeout to 6 seconds.

How do you get it to print at 100px - notify-send always crops my image.

Offline

#5 2010-08-29 23:46:21

vae77
Member
Registered: 2010-07-02
Posts: 75
Website

Re: Is there an alternative to notify-osd that supports centered messages

BaconPie wrote:
vae77 wrote:

For notifications I can't miss (like battery status) I add an icon (of 100 px size) and set timeout to 6 seconds.

How do you get it to print at 100px - notify-send always crops my image.

I use notifyconf, which depends on notify-osd-customizable,  both are on aur.

But I've just remember one thing. Using python-notify with the set_timeout(pynotify.EXPIRES_NEVER) display the notification on center of screen with buttons 'ok' and 'cancel' (but the notification gets uglier). I don't know if is possible to have the same behavior with notify-send.

e.g:

#!/usr/bin/python
import pynotify
pynotify.init('test')
n = pynotify.Notification('title','body')
n.set_timeout(pynotify.EXPIRES_NEVER)
n.show()

Last edited by vae77 (2010-08-30 00:28:16)

Offline

#6 2010-08-30 08:51:18

yasen
Member
From: Bulgaria
Registered: 2009-03-05
Posts: 39

Re: Is there an alternative to notify-osd that supports centered messages

The whole idea of notify-osd is to provide unobtrusive notifications that don't interrupt workflow and are easily ignored.
I would suggest that an obtrusive notification is what you need in your case, so you would do better with a zenity message.

Offline

#7 2010-09-01 09:19:09

muunleit
Member
From: Germany
Registered: 2008-02-23
Posts: 234

Re: Is there an alternative to notify-osd that supports centered messages

How about xosd?


"The mind can make a heaven out of hell or a hell out of heaven" -- John Milton

Offline

#8 2010-09-01 09:47:42

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: Is there an alternative to notify-osd that supports centered messages

osd_cat can be configured to post a message of any size and colour, for any duration, to various parts of the screen, including the centre. It also doesn't nick focus. I use it for email notification. It's part of the xosd package (as mentioned above) in, I think, extra.

Last edited by skanky (2010-09-01 09:48:13)


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#9 2010-09-01 10:23:04

BaconPie
Member
Registered: 2010-08-11
Posts: 209

Re: Is there an alternative to notify-osd that supports centered messages

xosd is a library (I think?) and I can't find osd_cat or documentation. Maybe i'm just been in a noob tongue

Zenity is pretty good though, I'm currently using that.

Offline

#10 2010-09-01 10:54:41

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: Is there an alternative to notify-osd that supports centered messages

osd_cat is distributed with the xosd library, as it's a front end to it. if you install xosd, then try man osd_cat, you should get the documentation.

The only downside to it, is that if you're not at your computer when it pops up, you will miss it - unless you put it there for an inordinately long time, or display it in a loop until some condition is matched, etc.

It also has a progress bar option if you want to display your back-up's er, progress. smile


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#11 2010-09-01 14:33:31

hellomynameisphil
Member
From: /home/phil/Vancouver
Registered: 2009-10-02
Posts: 257
Website

Re: Is there an alternative to notify-osd that supports centered messages

dzen2 is nice for notifications too. Also very customizable.

Offline

Board footer

Powered by FluxBB