Ubuntu :: Notify-send Not Work As CGI Script?
May 27, 2010I write a cgi script in python just send a notification command,but that can not work for me.
Code:
#!/usr/bin/env python
#-*-coding=utf-8-*-
import cgi
[code]....
I write a cgi script in python just send a notification command,but that can not work for me.
Code:
#!/usr/bin/env python
#-*-coding=utf-8-*-
import cgi
[code]....
I use Ubuntu 9.10 for one of my MythTV frontends, which have a plasma screen connected using VGA as display :0.0 and a projector connected using HDMI as display :0.1.How do I send notifications using notify-send to the projector? The following doesn't work, i.e. it still displays on the plasma screen:Code:DISPLAY=:0.1 ; notify-send "This will still display on :0.0"
View 3 Replies View RelatedI'm trying to get notify send to display time as I've done in the past on 10.04.
Here is my script:
Code:
Can't get it to work in 10.10
I've been having some trouble with the notifications on 10.04.Networking and volume popups are visible, but messages from Banshee or empathy aren't showing.
I tried the command notify-send in the terminal, but it showed nothing, unless when doing it as root.
fix or a setting to tweak in order to get full notifications back?
I've been using Ubuntu 11.04 for a couple of weeks now, and I can't seem to get notify-send to work correctly (yes, I did install libnotify-bin)
Yesterday, I reinstalled Ubuntu 11.04 and the first thing I did was install libnotify-bin to try notify-send on a fresh install.
It worked fine after the reinstallation until I did sudo apt-get upgrade. Immediately after the updates finished, I tried notify-send again and it failed to display a notification.
No error messages, command exits correctly, no indication of anything going wrong except no notification pops up.
I'm on a lenovo thinkpad t420, 64bit ubuntu.
Let's say there are machines A and B. user1 is on machine A, and has access to machine B through ssh (also as user1). user2 is sitting at machine B (let's say in Gnome session). And user1 has sudo access on machine B. How can user1 send a message to user2 (so it should appear on user2's desktop) with notify-send? code...
This doesn't work. I get in result:
(notify-send:28676): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
What else should be done to make it work? (trying it on current Debian testing).
I have a script running from a hotkey,it tries to do this:
Code:
DISPLAY=:0.0; notify-send "hi there"
this worked okay in Lucid (Ubuntu 10.04), but doesn't work in Maverick 10.10 I have also tried:
Code:
DISPLAY=:0 notify-send "hi there"
to no avail.
The notifier does not work under LXDE in fedora 15. It does not output anything through notify-send or any other program which uses notifications.
View 7 Replies View RelatedI am running Lucid with Thunderbird 3.1. I can't make the Send To feature (right click on a file in Nautilus) work. It seems to send a file but the file doesn't go to the designated email address. I don't have TB designated as the default email, because I don't know how to do that
View 1 Replies View RelatedI just loaded Ubuntu yesterday and am trying to get it set up.specifically my hotmail.I opened up the mail icon in the top bar and followed instructions from on of the threads here to no avail.When i open it up and try to send an email it doesn't work. I am way new to this. Just fed up with windows.
View 3 Replies View RelatedI'm running a server with Ubuntu 10.04 and I have installed postfix and courier. The server can recieve mail and I can fetch them using POP, but when I try to send mail it doesn't work. Postfix itself can send email if i telnet from localhost and I am using my ISP as a relay because they block port 25. I'm using outlook 2007 on my client computer and it just says that the server rejects the login attempt and tells me to check my username and password. Postfix listens on port 12 as well because the client connection also has outgoing on port 25 blocked. I have tried to use telnet to connect to the server, and I can connect. This is what I get:
[Code]....
Now what? I've tried searching for the answer but all I can come up with is AUTH PLAIN or AUTH LOGIN, but I don't know what to type after that.
Last week used lxde11.3 and no problem connecting. Today I switched to xfce11.3
and the wifi card is registering fine as connected but it doesn't send the key out
apparently to register the connection to the modem so it is fully activated.
I think lxde had a network manager but in xfce here I'm using Yast. What mismatch
do I have here ? How do I start a network manager so the key will connect ?
I've been having this problem since 10.6 released, but have until now been successful with the "just use Thunderbird" response. My sendmail server hasn't been changed, but as clients upgrade from OSX 10.5 to 10.6 suddenly mail.app will no longer connects to send SMTP messages through the server. (IMAP connections to the same server using the same user/pass combinations work perfectly) When I look at the logs, things basically stop right after the STARTTLS command.
Google indicates alot of people are having similar problems, but I'm not seeing any solutions. Do any of you administrate sendmail servers where some of your clients are using Apple's Mail.app on Snow Leopard, and if so what settings are you using? At this point, I'm happy to make changes to the server to accommodate Apple's issue, I have too many Mac users connecting to my server. I just can't figure out what to change. I've enabled virtually every possible login authentication combination, and none of them work.
the mail server itself will receive mail, that part works. i'm using dovecot imap to grab my mail, that works. but if i try to send mail from my iphone using an account on that server it doesnt work. this is what i see in syslog: May 15 07:14:52 coax postfix/smtpd[1432]: NOQUEUE: reject: RCPT from mobile-166-137-139-003.mycingular.net[166.137.139.3]: 450 4.1.8 <eppo@customconnexions.com>: Sender address rejected: Domain not found; from=<eppo@customconnexions.com> to=<xxxxxxx@aol.com> proto=ESMTP helo=<[10.25.15.47]>
View 1 Replies View RelatedNotify-osd is one of my favorite things about ubuntu but the pop ups last _WAY TOO LONG_. I've been googling for an hour and can't find any way to change it. Is this true? This is literally a big enough deal that I might just un-install it. But, that would be terrible because I think it's a fantastic app if it didn't sit there for five god damn minutes telling me about messages I read five minutes ago...
No, not literally five minutes, so don't respond saying "There's no way its five minutes" or "if it lasts that long something's wrong with your computer". If I really can't change the timing then that's an awful call on the part of the programmers who made it. Who the hell wants an app that can't be adjusted in any way?
I was hoping to have a pop up come up after my rssdler completes, I was hoping for the nice pop ups that Ubuntu for brightness, audio volume, instant messages ect, i think it's called notify but i'm still figuring things out. Is there a way i can write this into my rssdler start up script? or any other script i'm writing?
View 5 Replies View RelatedNo matter what I try, notifications do not appear. The notify-osd program is running (if I check ps) and nothing ever reports an error. I just don't see it, or hear it (does it make a sound?)
I think this might be because of my dual screen setup. I have two screens set up, with the screen on the right lower than the screen on the left so that they match up in real life.
This leaves a dead space above the right hand screen, perhaps its appearing in there? But I have already used notification-preferences to move it to the left (does that even work?) and still nothing. What's up? I rely on notifications to tell me that something's up, since the new "notification area" plugin does not flash and is thus utterly useless on this large screen display (design failure)
I was wondering if there was a way to let lib-notify show notifications above windows that are in fullscreen, such as a fullscreen flash video.
View 2 Replies View RelatedSince updating Thunderbird (to version 3.1.7), I now get libnotify popups when new mail arrives, even though I have disabled the "show popup" option in Thunderbird's general options. Is there a way to disable these notifications?
View 1 Replies View RelatedPidgin was running beautifully with notify-osd until recently i've decided to try AWN-notification-daemon ... didn't like it, so simply disabled it .. now notify-osd is not working at all with pidgin... it works with other applications , but not pidgin..
the pidgin-libnotify plugin is checked and working.. I've reinstalled notify-osd and notify-osd icons package .. but still.
Is there a way to change the location that notify OSD uses when it displays a new notification? I have some large dual monitors at work which is great, but I typically do browsing/development work on the left display and leave email and other less used things on the right display. Because notifications are displayed on the right monitor, I often miss the notifications because there are outside of my peripheral vision. I generally notice them within a minute or two because the mail icon in the panel is blue instead of black, but I would rather get the notifications as they occur.
When running 10.10 there was no panel at the top of the right monitor, so all notifications showed up on my left monitor. Since I upgraded to 11.04, Unity seems to display a panel on both monitors and thus, all notifications wind up on the right monitor. I would like them to appear on the left monitor instead.
See attached screenshot for more info. Sorry it's not the best quality -- but the idea is that I ran notify-send "test" in the terminal and you can see the bubble on the right monitor instead of the left one.
So...can the location of the notify OSD be controlled somewhere?
Does anyone know what this program does and how to remove it? I did a complete removal of evolution, and deleted the .evolution folder yet this job still runs. How do I remove it to get a clean install?
View 3 Replies View Relatedhow would you go about piping the output of the shell to notify-osd?
View 5 Replies View RelatedI wonder if is possible to have a "download finished" notification in Chromium when... well, when a download finishes.
View 1 Replies View RelatedI've upgraded to Kubuntu 10.10 but there is nothing in my system tray popping up telling me there are packages to upgrade (there are 83 btw!). What should be running? In control panel->software management->settings I can see I have "notify when updates are available" ticked, but I've not been notified of anything. What can I check or install to sort this out?
View 3 Replies View RelatedI'm using the indicator applet on my top-panel with gm-notify, but the only mail-client I use is the gmail webUI, so I don't need the entries above, just the bottom two entries related to gmail. any way to accomplish this?... is there a config-file for the indicator applet?
here's a screenshot:
I want to remove the first three entries in that list.
I don't know exactly how it started. It was working pretty well.Before I notice the OSD was messed up, I had disabled Compiz (to test some game) and I've been goofing around with the Awn Dock, moving it around the corners of the screen. Not sure what caused it to bug. I've tried restarting the machine, "sudo apt-get remove notify-osd" and "apt-get install..",I've tried changing system fonts..
What should I do to 'reset' it, or something?I'll be trying to fix it on my own over here. I'll post back if I get any luck at it.Completely disabling Compiz (Desktop Effects OFF) renders this:Doesn't look right.The first picture was taken with Compiz enabled.
It is possible to know when any process is closed? When I refer to any process, is a process that is not a child of my application.
I thought perhaps pipes in /proc/[pid]/fd/..
I'm running a syslog server on ubuntu 7.04. Can I somehow have it email me if it finds a certain thing in the log? For example. I'm running a PRI and when the PRI goes down, it logs a "DEACTIVED" in the log. I would like an email telling me this so I know to get on it and fix it.
View 9 Replies View RelatedIt never notifies me about any updates.
In my startup following line is present:
update-notifier --startup-delay=60
In my repository settings I have chacked that it should llok for updates daily.