You are not logged in.

#1 2008-04-06 20:42:44

bavardage
Member
Registered: 2008-02-17
Posts: 160

noteo-notify - a notification-daemon replacement

The obligatory screenshot:
screenshots-noteo.png

Get it while it's hot http://aur.archlinux.org/packages.php?ID=16184
oh and you'll be needing noteo as well: http://aur.archlinux.org/packages.php?ID=15952

noteo-notify Features:
A minimalish implementation of the Desktop Notification Specification
Composited notifications (where there exists a compositing manager [xcompmgr, compiz]) however these can be made fully opaque if wanted, by configuring noteo - editing ~/.config/noteo/noteo.conf

noteo version 0.0.3 Features:
Ability for plugins to create popups
Doesn't die when a module cannot be found
Other internal improvements

Offline

#2 2008-06-01 13:58:27

zodmaner
Member
Registered: 2007-07-11
Posts: 653

Re: noteo-notify - a notification-daemon replacement

Great little software, bavardage. I'm currently using it as a replacement for notification-daemon because Noteo is a lot more customizable and that on my box notification-daemon won't play nice with xcompmgr.

However, it seems that Noteo's Popup module can't display Claws Mail's popup message. The popup message from Claws Mail displays just fine when I use output to Macopix module, but just silently fails when using popup module.

This is the debug message when Noteo received Claws Mail's popup message:

Debug Message: ('create-popup',)
Debug Message: ("creating popup from Notifywith markup 'New mail message: Mail Delivery Subsystem <mailer-daemon@googlemail.com>\n\nDelivery Status Notification (Failure)' and id 2",)
Debug Message: ('create_key is', 'Notify2')

I hope you can fine a solution to this problem.

Last edited by zodmaner (2008-06-01 13:59:28)

Offline

#3 2008-06-01 17:12:42

bavardage
Member
Registered: 2008-02-17
Posts: 160

Re: noteo-notify - a notification-daemon replacement

Right I'll look into it and see if I can reproduce, hopefully will be able to find a fix.

Offline

#4 2008-06-06 09:18:08

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: noteo-notify - a notification-daemon replacement

hi bavardage,
Thanks for you work, it works very well (I'm using noteo + battery check module)
is it possible to use noteo-notify with ivman?
I tried, but it doesn't popup anything if I insert a usbdrive (so ivman automatically mount it) or remove it with "pumont /media/usbdrive_name/" (since I've ivman working as no-root user)
any suggestion?

Offline

#5 2008-06-06 09:59:40

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: noteo-notify - a notification-daemon replacement

thats an awesome project you've got going there. I will mess with it when i get a chance!

Offline

#6 2008-06-06 17:55:22

bavardage
Member
Registered: 2008-02-17
Posts: 160

Re: noteo-notify - a notification-daemon replacement

_Marco_: from looking at the web, I haven't found anything to suggest that ivman sends libnotify events, which is what noteo-notify receives but I haven't used ivman so I am not sure. Asnotify-send ivman can call custom commands (or so I read) when things happen then maybe you could create libnotify events manually - something like:

<ivm:Match name="ivm.mountable" value="true">
        <ivm:Option name="mount" value="true" />
        <ivm:Option name="exec" value="notify-send -i drive-removable-media 'USB storage device detected:'  '$hal.info.vendor$ $hal.info.product$'" />
</ivm:Match>

(cobbled together from info on gentoo wiki)
If no joy, then why not have a go at making your own ivman module for noteo - in theory new modules can be created easily.

Zodmaner: I have had a play and haven't yet been able to recreate the bug. When my exams are over I'll look into it properly - will probably install claws mail or something and have a play. I'm thinking perhaps the problem might be the popup being closed too quickly to see, explaining why the debug messages report the popup's creation - do they show any popup destroyed messages?

Last edited by bavardage (2008-06-06 18:00:56)

Offline

#7 2008-06-06 18:25:36

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: noteo-notify - a notification-daemon replacement

well, I'll search a little then basing on you suggestion,
for the "creating my own module" consider that I don't know anything of python tongue
anyway if I find something useful I'll post a reply here... in case someone have the same ""problem""
Thanks for the fast reply and for your work, as I already said it's really appreciated
bye

Last edited by _Marco_ (2008-06-06 18:29:18)

Offline

#8 2008-06-07 10:28:05

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: noteo-notify - a notification-daemon replacement

hi bavardage
your iwman action is almost perfect.. very impressive for the first try smile
noteo noticed the pendrive that I inserted (showing the gray square with "!" flickering) (I had to install "python-notify" (that installs libnotify) since I was getting a "notify-send command not found" inserting the pendrive, maybe a miss dependence? )
anyway no popup is showed (I think it should show "'USB storage device detected:'  '$hal.info.vendor$ $hal.info.product$' " looking at your code)
I'll keep playing with it a little,posting every "step forward"
thanks for your help, every suggestion is welcome big_smile

edit1:
my fault for the popup... I removed the Popup module in noteo.conf...
the line

module-names = BatteryStatus, Notify, Popup

worked perfectly.

just a little correction, the right action is:

<ivm:Match name="ivm.mountable" value="true">
        <ivm:Option name="mount" value="true" />
        <ivm:Option name="exec" value="notify-send -i drive-removable-media 'USB storage device detected:'  '$hal.info.product$'" />
</ivm:Match>

I'll try to write the umount one
bye!

Last edited by _Marco_ (2008-06-07 10:44:03)

Offline

#9 2008-06-07 14:03:14

_Marco_
Member
Registered: 2008-04-21
Posts: 242

Re: noteo-notify - a notification-daemon replacement

I always use pumount to unmount my drives since I start ivman as a not-root user
using a script like this:

#!/bin/bash
pumount $1
notify-send -i drive-removable-media 'USB storage device removed: ' $1

and executing it as "script_name directory_to_umount"
will work..
if you find a better solution please let me know
bye

Last edited by _Marco_ (2008-06-07 14:30:50)

Offline

#10 2008-08-10 11:57:36

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: noteo-notify - a notification-daemon replacement

Some problems...

1. Noteo-notify doesn't work with unmounting via Thunar.

2. Noteo popups can't be closed by clickin on them. This is kind of annoying.

Also, a suggestion - instead of being clickable and generating small windows, status plugins should produce output in the Noteo right-click menu... So for instance, the BatteryStatus plugin would say "Battery Status: 98%" or whatever in the menu instead of generating a popup window.

Offline

#11 2008-08-19 13:34:23

lldmer
Member
From: Amsterdam
Registered: 2008-05-17
Posts: 119

Re: noteo-notify - a notification-daemon replacement

First of all: thanks for noteo, it's a great addition to my openbox desktop big_smile

I think I may have found a bug in de GmailCheck module. It seems that if the password contains certain special characters (# in my case), the URL used to check for new mail is invalid. I think in such cases these special characters need to be formatted differently, %20 for space for example.

I would like to fix it, but I wouldn't know how to start (having little to no programming experience) tongue


For lack of better words: chair, never, toothbrush, really. Ohw, and fish!

Offline

#12 2008-10-16 20:08:36

gaara
Member
From: Mexico
Registered: 2007-11-15
Posts: 8
Website

Re: noteo-notify - a notification-daemon replacement

hi bavardage, I have a question, when I installed noteo, it does't created the ~/.config/noteo/noteo.conf, I need to create it by hand? Does noteo has a wiki?

thanx.

Offline

#13 2008-10-16 21:32:42

bavardage
Member
Registered: 2008-02-17
Posts: 160

Re: noteo-notify - a notification-daemon replacement

If you run noteo once, then kill it (CTRL+C) the file will be created.
When you enable a module in noteo.conf, run noteo, kill it, and the module's configuration file will also be in ~/.config/noteo/

There is a wiki, but it's so unmaintained it's near useless (not sure if the hosting is still there), so the useful answer is "no wiki"

Offline

#14 2008-10-17 03:19:40

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: noteo-notify - a notification-daemon replacement

I tried your application today. When I do:

notify-send "Heaven & Earth"

The window pops-up, but doesn't display any text. Removing '&' helps, also changing it to '&' helps as well.  I couldn't find any special mention regarding this behaviour in the spec: http://www.galago-project.org/specs/not … /x161.html

Offline

#15 2008-10-17 17:57:52

bavardage
Member
Registered: 2008-02-17
Posts: 160

Re: noteo-notify - a notification-daemon replacement

Yeah I probably don't keep to the spec all that much. Think of it as a spiritual implementation of the spec, rather than a line-for-line. big_smile It'll go on my list of things to do.

Offline

#16 2008-10-17 18:58:24

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

Re: noteo-notify - a notification-daemon replacement

bavardage wrote:

Yeah I probably don't keep to the spec all that much. Think of it as a spiritual implementation of the spec, rather than a line-for-line. big_smile It'll go on my list of things to do.

Mind you, neither notification-daemon and notification-daemon-xfce are doing it right.

Offline

#17 2008-11-12 06:44:49

edenxavier
Member
Registered: 2008-03-02
Posts: 35

Re: noteo-notify - a notification-daemon replacement

I'd like to give this a shot.  However, upon running noteo in the command line I get:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/noteo/noteo.py", line 13, in <module>
    import gtk
ImportError: No module named gtk

Any idea how to get around this? I already have gtk+, not sure if that makes a diffy...

Last edited by edenxavier (2008-11-12 06:45:06)

Offline

#18 2008-11-12 09:55:41

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: noteo-notify - a notification-daemon replacement

pacman -S pygtk

Offline

#19 2008-11-12 10:10:15

edenxavier
Member
Registered: 2008-03-02
Posts: 35

Re: noteo-notify - a notification-daemon replacement

iphitus wrote:

pacman -S pygtk

I already have that too.  Though I tried to reinstall it, that didn't seem to help. hmm

Offline

Board footer

Powered by FluxBB