maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Google Voice Notifier *Alpha* (https://talk.maemo.org/showthread.php?t=29981)

addisjon 2009-08-12 21:09

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by falconx (Post 311321)
I am a newbie at all of this i instaaled the deb instalation got the gv icon now how and where do i go to configure this as nothing happens when i hit the icon. i am a qucik learner with good directions :) thanks

I updated the instructions in my first post (about half-way down) so they are hopefully easier to understand. However, even after you have followed the steps to configure it, hitting the icon won't visibly do anything since this runs completely in the background with no interface.

addisjon 2009-08-12 21:16

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by mrdally204 (Post 311165)
awesome work fellas! I do have a bug to report. I was listening to a podacst prior to installing the latest notifier. I have noticed that when I receive a new sms, the sound plays as it should but then starts up the podcast from the begining! I can not stop the sound without actually opening up media player and closing it manually. pretty funny :)

**Edit if I remove the podcast from the now playing list, the sound is all that I hear. Does this mean that media player is still now running in the background even though I hear no other sound(playlist has ended but application does not close)? guess I'm curious as to how it works and why it wanted to play my playlist :)

Yea I was worried this might be a problem. It happened to me while listening to music today. I had been researching a way to play the sound file without spawning a new process, but I hadn't found anything and figured this would tide you guys over :).

I'll take a look at the flipclock code again.

falconx 2009-08-12 22:43

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by addisjon (Post 311343)
I updated the instructions in my first post (about half-way down) so they are hopefully easier to understand. However, even after you have followed the steps to configure it, hitting the icon won't visibly do anything since this runs completely in the background with no interface.

Okay I thought I was doing the right the right thing. That is what I have been doing and it is telling me file not found. But I have the icon so apparently it installed. I am going to uninstall and reinstall it and see if that helps.

Thanks

falconx 2009-08-12 23:37

Re: Google Voice Notifier *Alpha*
 
Uninstalled, re-installed, rebooted, still isn't working. Any other ideas? I typed it exactly in the terminal hit enter and got file not found. Am I supposed to type it at the $ sign?
thanks again for the help

addisjon 2009-08-13 00:36

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by falconx (Post 311374)
Uninstalled, re-installed, rebooted, still isn't working. Any other ideas? I typed it exactly in the terminal hit enter and got file not found. Am I supposed to type it at the $ sign?
thanks again for the help

Yes, at the $ sign. Also don't use the quote marks, and make sure there's a period before gv-notifier.

falconx 2009-08-13 19:45

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by addisjon (Post 311385)
Yes, at the $ sign. Also don't use the quote marks, and make sure there's a period before gv-notifier.

Hi,
Still getting file not found. I tryed uninstalling and going with the older version still get file not found. doubled checked i do have python 2.5. I tryed overwitting the old withe new and deleted it all and did a fresh install still getting the same error.

scratching head here... even pulled up instructions on the laptop to make sure i was typing in right. that is a - beween the .gv and notifier right? not a ~?
thanks again for all the help

addisjon 2009-08-13 20:52

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by falconx (Post 311565)
Hi,
Still getting file not found. I tryed uninstalling and going with the older version still get file not found. doubled checked i do have python 2.5. I tryed overwitting the old withe new and deleted it all and did a fresh install still getting the same error.

scratching head here... even pulled up instructions on the laptop to make sure i was typing in right. that is a - beween the .gv and notifier right? not a ~?
thanks again for all the help

Hmm, actually using vi it shouldn't ever say file not found, even if the file doesn't exist. It will just open an empty file that you can edit.

And yes it's a dash.

gogol 2009-08-13 20:53

Re: Google Voice Notifier *Alpha*
 
path is /usr/lib/gv-notifier/gv_notifier.py

file not found would be because you're typing it wrong. Otherwise try cd-ing to the directory and typing ls to make sure the files are all there.

addisjon 2009-08-13 20:58

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by gogol (Post 311591)
path is /usr/lib/gv-notifier/gv_notifier.py

file not found would be because you're typing it wrong. Otherwise try cd-ing to the directory and typing ls to make sure the files are all there.

I believe he's trying to edit conf.xml, but falconx correct me if i'm wrong.

falconx 2009-08-14 07:11

Re: Google Voice Notifier *Alpha*
 
trying to but i get file not found even on a plain vi when i double tab i see vi there thinking it may be time to reflash the tablet

falconx 2009-08-14 07:25

Re: Google Voice Notifier *Alpha*
 
actually vi gets me a no file comment cant cd to gv either. I have tryed reinstalling. I get the extra gv dialer and the gv notifyer icon but still cant get into the conf.xml file from terminal.

gogol 2009-08-14 07:46

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by falconx (Post 311665)
cant cd to gv either.

you mean /home/user/.gv-notifier ? you are including the period before g? Are you installing with dpkg -i? What's the output afterwards? Run this in terminal and post what it says:

cat /var/lib/dpkg/info/gv-notifier.list

falconx 2009-08-14 14:32

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by gogol (Post 311667)
you mean /home/user/.gv-notifier ? you are including the period before g? Are you installing with dpkg -i? What's the output afterwards? Run this in terminal and post what it says:

cat /var/lib/dpkg/info/gv-notifier.list

Not found. I installed using the application manager and the dpkg. I tryed opening a few other programs last night just to see what would happen and they opened using terminal.

falconx 2009-08-14 15:55

Re: Google Voice Notifier *Alpha*
 
Okey flashed tablet got everything re-installed. In the conf.xml file now how do I save edits LOL Thanks for everything seems was just my tablet needed a good wipe down.

addisjon 2009-08-14 18:02

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by falconx (Post 311720)
Okey flashed tablet got everything re-installed. In the conf.xml file now how do I save edits LOL Thanks for everything seems was just my tablet needed a good wipe down.

To save in vi (assuming you're in edit mode with the 'I' in the bottom left corner) first hit Esc, then type :wq and hit enter.

falconx 2009-08-15 01:29

Re: Google Voice Notifier *Alpha*
 
Is there a posting somewhere with the xterm commands? do I need a command to run the second line? I got the editing done (after I finally got it to load only took a reflash to work) now I just need to run the other command. I tryed just typing in and hitting enter and that didn't do it. what is the run command?

Thanks for all your help, never used xterm before but I am learning.

Laura

falconx 2009-08-15 04:49

Re: Google Voice Notifier *Alpha*
 
line 32, in<module> import dbus
Import Error: No module named dbus

addisjon 2009-08-15 06:13

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by falconx (Post 311895)
line 32, in<module> import dbus
Import Error: No module named dbus

You need to have python 2.5 runtime installed, which should contain the python 2.5 dbus module. You'll probably need to back up your conf.xml that you just saved, uninstall GV Notifier, install python 2.5 runtime, install GV Notifier, replace conf.xml, then run the last command again.

fatboyxpc 2009-08-15 14:51

Re: Google Voice Notifier *Alpha*
 
My LED won't stop flashing now that it saw an unread message, maybe I set something up wrong?

falconx 2009-08-15 14:52

Re: Google Voice Notifier *Alpha*
 
Okey all installed finally got it all going right the very last error I got was telling me line 4 column 9. But I managed to check it out in conf.xml and that happened to be the first space in my user name apparently you can't have a number for your first character in your user name. My user name for google is 1stfalconx. When I take out the 1 it configures... of course that does me no good. LOL
Thanks for all your help anyhow :) Has been a good learning experience on my end. And you were right I forget to install my python2.5 runtime after my reflash.

Thanks again,

Laura

addisjon 2009-08-15 17:08

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by fatboyxpc (Post 311987)
My LED won't stop flashing now that it saw an unread message, maybe I set something up wrong?

You might want to try deleting the Missed Calls url in conf.xml.

gogol 2009-08-15 18:22

Re: Google Voice Notifier *Alpha*
 
It doesn't stop flashing until you open Dialcentral with the added icon. addjison maybe you should consider making the LED stop after ten seconds or so. I have mine disabled simply because I dont like closing and reopening Dialcentral over and over, and a sound notification is enough. I cant even see the LED during the daytime anyway.

fatboyxpc 2009-08-15 23:18

Re: Google Voice Notifier *Alpha*
 
Thanks Gogol that did the trick! Addisjon I guess I should have specified that I had already removed that :P

I like Gogol's idea about stopping the LED for so long.

Gogol you say you have to open DialCentral(with that icon) repeatedly, what if I keep it open then will it stop after it becomes read?

Edit: so I seriously was like I'm sure that would have been in his first post but I don't remember seeing it, so I go back and check and sure enough. Bah!!!

gogol 2009-08-15 23:48

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by fatboyxpc (Post 312072)
what if I keep it open then will it stop after it becomes read?

No, the dbus call to turn it off is contained in the replaced icon.

You can stop the LED from ever flashing by commenting line 163:
meaning, change
self.ledOn()
to
#self.ledON()

or by typing this into a terminal (you could always save it in a script and add it to Personal Menu)
Code:

/usr/bin/dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_led_pattern_deactivate string:PatternCommunicationChat
NOTE: that's all one line. I know, wow!

munky261 2009-08-16 18:56

Re: Google Voice Notifier *Alpha*
 
Is there any way you could add the option to, or tell us how to change the color of the LED flash?

gogol 2009-08-16 21:30

Re: Google Voice Notifier *Alpha*
 
My lord. I did a search for you and YOU had already started a thread on this topic and been answered in detail! It's actually the thread I reference when I'm changing LED settings!

http://talk.maemo.org/showthread.php?t=22662

Really now....

mrdally204 2009-08-16 21:44

Re: Google Voice Notifier *Alpha*
 
well dialcentral now has notification built in. thanks addisjon, I'm assuming he used part of your code or you at least motivated him to include it. It might be time to merge the 2 projects together as 1 big happy family. Gogol please post some more of you tinkering with the scripts, I woujldnt mind having a different led color or some other thnings

falconx 2009-08-16 22:14

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by mrdally204 (Post 312261)
well dialcentral now has notification built in. thanks addisjon, I'm assuming he used part of your code or you at least motivated him to include it. It might be time to merge the 2 projects together as 1 big happy family. Gogol please post some more of you tinkering with the scripts, I woujldnt mind having a different led color or some other thnings


I see they imported it as well. Mine dial central no longer works:( doesn't support my user name starting with a number and getting a dbus error on dial central now and not able to use it. Is there anywhere I can get the old dial central?

Thanks
:(

gogol 2009-08-16 23:21

Re: Google Voice Notifier *Alpha*
 
The new version of dialcentral (with notification support) seems to break something in DBUS, causing gv-notifier to not work either. I'm trying to discover why...the same error is thrown on both dialcentral and gv-notifier when they try to access alarmd settings:

Code:

DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name com.nokia.alarmd was not provided by any .service files
Yet even when I booted back into my working copy in flash, there is no such file as /usr/share/dbus-1/services/com.nokia.alarmd.service. I'm totally lost as of yet. Any ideas anyone?

epage 2009-08-17 16:52

Re: Google Voice Notifier *Alpha*
 
I wanted to thank everyone who worked notification support. It was a big help in merging it into Dialcentral.

I know there are issues right now. Sorry about this. 1.0.4-3 is hopefully better. I guess I also need to do some further investigation with the DBus issue if the new Dialcentral also broke gv_notifier.

If addisjon or someone else is interested in still maintaining gv_notifier I'd be willing to cooperate.

st5150 2009-08-17 23:36

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by gogol (Post 312281)
The new version of dialcentral (with notification support) seems to break something in DBUS, causing gv-notifier to not work either. I'm trying to discover why...the same error is thrown on both dialcentral and gv-notifier when they try to access alarmd settings:

Code:

DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name com.nokia.alarmd was not provided by any .service files
Yet even when I booted back into my working copy in flash, there is no such file as /usr/share/dbus-1/services/com.nokia.alarmd.service. I'm totally lost as of yet. Any ideas anyone?

I'm in the same boat http://talk.maemo.org/showpost.php?p...&postcount=165 and haven't made any progress. Let me know what you find. This has broken m/gnotifier as well.

munky261 2009-08-18 19:09

Re: Google Voice Notifier *Alpha*
 
Im goning to stick with gv notifier for now since it can play a sound as well as flash the led.

epage 2009-08-18 19:14

Re: Google Voice Notifier *Alpha*
 
gv_notifier users shouldn't fear the killing of alarmd anymore. The issue has been found and fixed. See the Dialcentral thread for further details.

Quote:

Originally Posted by munky261 (Post 312815)
Im goning to stick with gv notifier for now since it can play a sound as well as flash the led.

I'm curious what people think of an idea I posted on the Dialcentral thread that is more pertinent to this thread. Is the main reason to keep using gv_notifier the custom way of handling notifications? What if I made it so you could specify an alternative notification app in settings.ini?

This way you could do led, sound, both, pop up Dialcentral (if not already open), or whatever else people would generally want.

Sound like a good compromise for sharing code/effort?

munky261 2009-08-18 19:18

Re: Google Voice Notifier *Alpha*
 
Well, I cant speak for anyone else, but I only use DC these days to make calls...just dont like how the message interface looks...not discounting your hard work, just a personal preference...i have my inbox saved as a bookmark in tear and it loads faster and I like have the standalone command to stop the led from blinking.

st5150 2009-08-18 20:26

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by epage (Post 312818)
What if I made it so you could specify an alternative notification app in settings.ini?

This way you could do led, sound, both, pop up Dialcentral (if not already open), or whatever else people would generally want.

Sound like a good compromise for sharing code/effort?

Sounds like a great idea!!

fatboyxpc 2009-08-19 16:56

Re: Google Voice Notifier *Alpha*
 
To be completely honest I agree with munky about the message interface. In the DC thread I already stated something about how I'd like something different, but for how it is now I am definitely okay with it, I can work with it just fine :). However, if you could change the UI for it, it'd sure be nice :D:D :P

JayOnThaBeat 2009-08-21 00:33

Re: Google Voice Notifier *Alpha*
 
Quote:

Originally Posted by jalladin (Post 311173)
hey would you happen to know how to receive yahoo mail using the mail notifier/ native mail fetching system for the n810..

Yahoo free mail doesn't allow access from third party programs :(

http://help.yahoo.com/l/us/yahoo/mai...op/pop-35.html

It sucks for sure.

mrdally204 2010-01-02 20:51

Re: Google Voice Notifier *Alpha*
 
The thread seems dead but I guess I'll ask anyways. I'm still using this instead of the Dialcentral notifier because it supports sound. As of the past week or 2 I have been getting a lot of false positives with this. Has anyone else noticed this?

silvermountain 2010-03-01 14:34

Re: Google Voice Notifier *Alpha*
 
Are all of the features from this now in DC?

epage 2010-03-01 14:43

Re: Google Voice Notifier *Alpha*
 
Dialcentral only officially supports LED notification. For anything else you have to edit your settngs file manually and specify a different notification system. Some examples are included in the DC package.


All times are GMT. The time now is 21:21.

vBulletin® Version 3.8.8