Questions tagged [pynotify]
39 questions
0
votes
1 answer
How do I know which of the menu items I have clicked in appindicator?
I have created a program in which I created several menu items and stored them in 'ci' last. Whenever I click one of the menu items it executes the 'checkStatus' function .I want to know which of the menu items I have clicked( ci[0] or ci[1] or…

Sarthak Agarwal
- 11
- 3
0
votes
1 answer
Not able to import pynotify in virtualenv
i am using Ubuntu 14.04. I have a script which depends on pynotify. When the script is run outside any virtual environment then it runs fine (other dependencies also installed globally) but if i run the same script inside any virtual environment…

Vivek Anand
- 621
- 1
- 7
- 15
0
votes
1 answer
I want to handle closing xfce4-notifyd notification
import pynotify
import gobject
def on_clicked(notification, signal_text):
print "1: " + str(notification)
print "2: " + str(signal_text)
notification.close()
def on_closed(notification):
print "on_closed"
…
0
votes
3 answers
Python and Pynotify error "gio.Error: Connection Closed"
i'm new on python and pynotify i want to create a notify message that shows me a notification with python and pynotify but i have a problem, all examples i use on tutorials found on internet.
ex.
#!/usr/bin/python
import sys
import pynotify
if…
0
votes
1 answer
xmms2 track change detection for pynotify?
I have written this little script to show current track playing on xmms2 on a notification widget using xmms client and pynotify, so when i run it i can see the widget popup with current artist and title using xmmsclient methods.
Can anybody give…

deadPoet
- 528
- 9
- 22
0
votes
3 answers
Python: pynotify network problem
I am using pynotify and this is the code I am trying to get to work:
#! /usr/bin/python
try:
import pynotify
if pynotify.init("Telebrama Alert"):
n = pynotify.Notification('Message','This is test message')
…

rajaneesh
- 189
- 2
- 5
- 11
0
votes
1 answer
pynotify linux changing the text
I'm using the pynotify module in python in linux (linux mint 15), and I want to know if there's a good way to change the text in a notification without making a new notification.
So lets say I have this:
pynotify.init("app_name")
n =…

Nathan
- 73,987
- 14
- 40
- 69
-2
votes
1 answer
No module named pyinotify
Traceback (most recent call last):
File "mitmf.py", line 29, in
import core.responder.settings as settings
File "/home/hacklab/Downloads/MITMf-master/MITMf/core/responder/settings.py", line 24, in
from…

umbrelaa
- 1
-2
votes
1 answer
Notification from linux box
I m using putty on windows server to login into remote server. I need to monitor some jobs on that remote linux box. I need some script or binary file, that will send me notification on windows server/pc as soon as job fails on remote…