You are not logged in.

#1 2010-11-03 07:24:59

Paaskehare
Member
From: Denmark
Registered: 2008-11-09
Posts: 59
Website

Python: pynotify change default background?

Hi, I am looking for a way to overwrite the default background used in pynotify.

I'm sure it renders with GTK, but i'm highly unfamiliar with pygtk. So any help on this matter would be great!

I'm looking for a way to get the notification rendered with a background like the one below:

bubble

As of right now, the notification looks something like in this image:

bubble

Is there anyway to change this?
Please note that i am referring to the background, and not the icon

All I need is a way to replace the default background with a .png image - should I wrap it up in a GtkWidget, and if so, how would I go by doing that?

Last edited by Paaskehare (2010-11-03 07:27:03)


im.ole

Offline

#2 2010-11-05 10:21:50

Tes--
Member
Registered: 2009-11-13
Posts: 44

Re: Python: pynotify change default background?

The top screenshot is from notify-osd, the bottom one from notification-deamon.

You can't change this from your application. You should either install notify-osd (which doesn't support interaction) or install a different notification-engine: http://aur.archlinux.org/packages.php?K … mon-engine

Offline

#3 2010-11-05 20:30:19

Paaskehare
Member
From: Denmark
Registered: 2008-11-09
Posts: 59
Website

Re: Python: pynotify change default background?

Thank you very much, that will have to do smile
pynotify even supports "notify-osd" in the same way as notification-daemon, so this is great!


im.ole

Offline

Board footer

Powered by FluxBB