Notices


Poll: Would you like to see a "now playing" notification?
Poll Options
Would you like to see a "now playing" notification?

Reply
Thread Tools
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#81
Originally Posted by Addison View Post
I really don't get this.

sudo etc/init.d/now-playing-notifier restart
Restarting Now Playing Notifier:

It just hangs on this without ever giving me a new command line.

After running that and having this
NPN_OPTS="-u -t 2"
in my config file. No notifications anymore.

Here is my complete config file now.

# Default settings for now-playing-notifier. This file is sourced by /bin/sh from
# /etc/init.d/now-playing-notifier.

# -u will make now-playing-notifier use a HildonBanner instead
# -t <number> allows you to adjust the time that the notification is displayed on-screen for (default: 10)

# Options to pass to now-playing-notifier
NPN_OPTIONS="-u -t 2"

I receive notifications but they appear like so.



Current permissions and owners of the config file.



Thanks for helping me with this gazza.
It should be NPN_OPTS - not NPN_OPTIONS

that's what it is on mine, and it works great. - The righthand screenshot oin my previous post shows my settings.

Also ignore the service restart should be (as root)
Code:
/etc/init.d/now-paying-notifier restart
not what I originally put. spending to much time on ubuntu/debian!
__________________
______________________________

Nokia 770 (2gb) since Aug 2007
Nokia N800 (32gb) since Dec 2007
Nokia N810 (16gb) since Sep 2009
Nokia N900 (64gb) since Aug 2010 ______________________________
 

The Following User Says Thank You to gazza_d For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#82
Got it!

Hey, is there a way to change the coloring, look, or feel of the banner or can it only be used with it's default settings?
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#83
I finally see what was wrong earlier.

I need to have Xterm open

root
/etc/init.d/now-playing-notifier restart

in order for this to work.

Once I close Xterm, it stops doing anything.

Is this the same for you, needing to have Xterm open?
 
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#84
Cool - Glad you got it working - it uses the standard Hildon taskmanager or banner functionality, so the only way to theme it would be by theming the whole desktop.

Mine does not need xterm open to run. Sounds like you may be running it directly from the terminal. A restart should make everything right.

I really find this little utility really helpful, and have it on all my devices.
__________________
______________________________

Nokia 770 (2gb) since Aug 2007
Nokia N800 (32gb) since Dec 2007
Nokia N810 (16gb) since Sep 2009
Nokia N900 (64gb) since Aug 2010 ______________________________
 

The Following User Says Thank You to gazza_d For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#85
^ Do you mean reboot or restart?
 
Posts: 961 | Thanked: 565 times | Joined on Jul 2007 @ Tyneside, North East England
#86
Restart, either from terminal or just power down the device and power back on.
__________________
______________________________

Nokia 770 (2gb) since Aug 2007
Nokia N800 (32gb) since Dec 2007
Nokia N810 (16gb) since Sep 2009
Nokia N900 (64gb) since Aug 2010 ______________________________
 

The Following User Says Thank You to gazza_d For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#87
sudo /etc/init.d/now-playing-notifier restart
This only works for me if I leave open the Xterm window I've typed it in.


sudo /etc/init.d/now-playing-notifier stop
sudo /etc/init.d/now-playing-notifier start


This did it for me. Not sure why. But yeah, I can close out Xterm and the notification script still works great.

Thanks again for all of the help.
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#88
Hey.

Is there a way to make all notifications go to the hildon banner instead of the task manager?

I use Modest and I think that would be a neat feature to have this.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:49.