NotifyOSD not working as daemon on Ubuntu 12.04
Posted: February 8th, 2014, 10:46 pm
Hello All,
I've recently moved my sabnzbd over to my ubuntu 12.04 machine, and wanted to get notifyOSD working but noticed that it was greyed out.
Based on http://forums.sabnzbd.org/viewtopic.php ... 086#p72905 I was able to understand what is going on, but unfortunately the suggestion didn't work.
Here is what I know:
my env variable DISPLAY=:0
running pynotify in a python interpreter works (and os.environ shows correct display).
running sabnzbd without daemon mode works.
when I run sabnzbd in daemon mode, the log shows:
My attempt was to put 'export DISPLAY=:0' into a separate line in /etc/default/sabnzbdplus
I've recently moved my sabnzbd over to my ubuntu 12.04 machine, and wanted to get notifyOSD working but noticed that it was greyed out.
Based on http://forums.sabnzbd.org/viewtopic.php ... 086#p72905 I was able to understand what is going on, but unfortunately the suggestion didn't work.
Here is what I know:
my env variable DISPLAY=:0
running pynotify in a python interpreter works (and os.environ shows correct display).
running sabnzbd without daemon mode works.
when I run sabnzbd in daemon mode, the log shows:
Code: Select all
2014-02-08 20:52:40,364::INFO::[growler:267] Send to NotifyOSD: SABnzbd@summers / SABnzbd 0.7.17RC1 started
2014-02-08 20:53:05,391::INFO::[growler:273] NotifyOSD not working
Any thoughts?# This file is sourced by /etc/init.d/sabnzbdplus
#
# When SABnzbd+ is started using the init script, the
# --daemon option is always used, and the program is
# started under the account of $USER, as set below.
#
# Each setting is marked either "required" or "optional";
# leaving any required setting unconfigured will cause
# the service to not start.
# [required] user or uid of account to run the program as:
USER=tim
# [optional] full path to the configuration file of your choice;
# otherwise, the default location (in $USER's home
# directory) is used:
CONFIG=
# [optional] hostname/ip and port number to listen on:
HOST=0.0.0.0
PORT=
# [optional] extra command line options, if any:
EXTRAOPTS=
export DISPLAY=:0