← Back to team overview

ubuntu-br-sp team mailing list archive

Re: Janelas de Notificação

 

Meus passos:

/home/usuario/x.sh ; chmod +x x.sh

----- x.sh -------

#############
#!/bin/bash

export DISPLAY=:0
notify-send 'hello' 2>/tmp/notify-error

#############


em: /etc/udev/rules.d/10-ativa.
rules

###############

KERNEL=="ttyUSB0",ACTION=="add",ATTRS{product}=="0101fx" , SYMLINK+="fred" ,
RUN="/home/usuario/x.sh"

#################


quando eu plugo o equipamento em /tpm/notify-error ;


libnotify-Message: Unable to get session bus: Did not receive a reply.
Possible$

** (notify-send:21944): CRITICAL **: dbus_g_proxy_connect_signal: assertion
`DB$

** (notify-send:21944): CRITICAL **: dbus_g_proxy_connect_signal: assertion
`DB$

** (notify-send:21944): CRITICAL **: dbus_g_proxy_call: assertion
`DBUS_IS_G_PR$
libnotify-Message: Unable to get session bus: Did not receive a reply.
Possible$

** (notify-send:21944): CRITICAL **: dbus_g_proxy_disconnect_
signal: assertion $

** (notify-send:21944): CRITICAL **: dbus_g_proxy_disconnect_signal:
assertion $

(notify-send:21944): GLib-GObject-CRITICAL **: g_object_unref: assertion
`G_IS_$





Obs: Estou usando Ubuntu 10


att

-- 
Frederico Martins P Junior

       fredim.wordpress.com

References