![]() |
Re: Pidgin N900 Questions
Figured I would follow up on my most recent complaints in case some one was suffering from the same issues. I unchecked the "use SSL" box and voila, my AIM account was functional.
|
Re: Pidgin N900 Questions
edit: decided to make my own thread since these questions dont have anything to do with led lights....
http://talk.maemo.org/showthread.php...512#post722512 Quick question about pidgin if anyone knows an answer... a. In my status selector, you now, available, away, etc. I at one point typed something in there for status, but made a few mistakes on what to put in there...and now i have like 3 or for poorly worded status on there, including the one that I initially wanted to make. I looked around, but i cant seem to find a way to GET RID OF THEM! there is an option for new status, or saved status, but i never went to the new button to create any...so why are they stuck there??? Its really aggravating. b.Also, i started using pidgin because of the obvious reasons, it doesn't clutter your normal contacts, but one thing i have not been able to discover is a way to make pidgin start on phone start-up...seems like this should be an option somewhere...or can i program my phone through xserver to make it do this? c. And, i noticed something else that is rather agravating! After a clean reboot of the phone(power off and on) Pidgin is not running yet. I go to pidgin, and start it up, and then i just get a black screen, that includes the phone status bar n clock at the top. If i hit the top left desktop button, it will show an active window for buddy list, but there is nothing in it. If i click on that, it then shows me a blank desktop screen ( ie my wallpaper ) with the phone status n clock, but what i guess is actually happening, is that pidgin is really there, but none of pidgin is displaying, its invisible, cause if i click on any of the space on that screen, say...where one of my buddies might be, i get a new to: message box to that buddy! if i close that window, which i can actually see, then pidgin just goes back to being invisible! ARGGG!!! edit: it seems that if i go to the pidgin status plugin from the main phone status tile to access pidgin, after initial start of pidgin, the invisibility glitch is corrected...but again, that is a whole 'nother step that i should not have to do! help. Any help would be greatly appreciated. thanks |
Re: Pidgin N900 Questions
Quote:
Thanks! |
Re: Pidgin N900 Questions
Is it possible to start pidgin automatically when booting?
|
Re: Pidgin N900 Questions
Quote:
open up xterm and type "cd .purple" and then "rm status.xml". all the old status messages should be gone at the next pidgin startup. Quote:
maemo uses startup - event.d. there you have to create a startup-file like this: Code:
start on started hildon-desktop this file you have to place in: /etc/event.d (the path would be: /etc/event.d/pidginautostart ) Quote:
maybe a little bit cleaning up would help. if you aren't lazy and haven't got any problems to type in all of your accounts again then just try following: (close pidgin) open up xterm and type "cd .purple" and then "rm *xml". (your logs aren't affected by doing this) your pidgin should be pretty virgin at the next start and will ask you for your accounts. if you are lazy with creating accounts, you have to type some more lines in xterm: 1. cd .purple 2. mv accounts.xml accounts.bak 3. rm *xml 4. mv accounts.bak accounts.xml if your pidgin doesn't work correctly after this you can try to uninstall it completely via the program manager. after uninstalling it, open up xterm and type "rm -r .purple". this will delete all of your preferences including your log-files. (if you want to save your log-files then do a "cp -r .purple/logs pidgin/" first) then install pidgin again, fire it up and recreate your accounts. it should be fine now - everything else wouldn't make any sense ^^. (if you saved your logs in the way i described above you can restore them in xterm by "cp -r pidgin/logs .purple/" and "rm -r pidgin/") have fun (: |
Re: Pidgin N900 Questions
Quote:
dbus commands can be easily sent - for example in xterm: Code:
dbus-send-notification "foo bar boo bah bang" mhm... unfortunately i don't know how to program plugins for pidgin but maybe i will take a short look into it ^^ it can't be this hard ;D (in "normal" pidgin there is something similar done with libnotify which unfortunately isn't available in pidgin - but you may have just to change the libnotify-call to a dbus-call ^^) |
Re: Pidgin N900 Questions
SUMMARY:
tried to port the nowplayingd project to a pidginnotifyd project ^^ this means that after all there should be a libnotify notification when someone writes you. unfortunately i hadn't too much time - so this is just quick and dirty. one important thing to do would be programming a function which looks up if there is an fullscreen app (like browser) opened - and ONLY then make a notification - a notification on every message like it would be now would be a total overkill. (maybe you could make a preferences-file which states when the notification should show up and can be easily edited by the user) (but in my opinion: if no fullscreen-app is opened the statusbar plugin which shows a little icon when someone wrote you is already good enough for this job) ------------------------------- i tried to do some coding on the notify thingy: HAVEN'T TESTED IT YET - JUST WRITTEN TOGETHER SOME STUFF! Code:
#include <glib.h> and a special thanks to the guys over at http://developer.pidgin.im/wiki/DbusHowto - don't know who has written this howto but it's nearly what i was looking for (: maybe someone can look into this code and improve it - maybe compile it too - THIS WOULD BE VERY APPRECIATED ;D this code is meant to be run as a daemon like nowplayingd: Code:
#!/bin/sh (maybe someone will be inspired by this quick&dirty code ^^) |
Re: Pidgin N900 Questions
so... back from watching germany against ghana :D *yay*
tried following code on my laptop and ran it as script: Code:
void received_im_msg_cb (DBusGProxy *purple_proxy, int account_id, Code:
b666m@xb666mx:~/pidgin$ ./pidginnotifyd but hey.. i get the data i want to get for the notification :D so the notification should show on top the number of your contact and under this the message - and of course the pidgin-logo. (don't know the maximum length of it and what happens if it exceeds it ^^) would look like: http://farm5.static.flickr.com/4030/...8d1acbf1_o.png four things would be to-do: 1. convert the number to the name of the contact (should be easy) 2. check the length of the message and cut it (add "..." at the end) 3. replace the pidgin-icon by the contact's photo (don't know if it's possible because the photos are stored with a very cryptic name) 4. by clicking the notification bring the conversation to foreground (this would be the hardest (impossible) thing to do ^^) will see what i can do (: |
Re: Pidgin N900 Questions
Thanx for you effort !
|
Re: Pidgin N900 Questions
OMG
FORGET TO LINK "pidgin" NOW THE FUNCTIONS WORK FINE IGNORE THE REST OF THE POST xD -------------------------------------------- i found some interesting functions in the "account.h" file of libpurple. and i tried to use them but i get an error when trying to compile the code. include: Code:
#include <libpurple/account.h> example of function declaration in account.h: Code:
const char *purple_account_get_alias(const PurpleAccount *account); callback with the functions declared in account.h: Code:
/* Signal callback handling routing */ my compiler command: Code:
sudo gcc -MMD -Wall -ggdb -O `pkg-config --cflags dbus-1 glib-2.0 dbus-glib-1` `pkg-config --libs dbus-1 glib-2.0 dbus-glib-1` marshal.c pidginnotifyd.c -o pidginnotifyd and this is the error i get: Code:
/tmp/ccVoXEPd.o: In function `received_im_msg_cb': help, please (: --------------------------------------------------- the correct compiler command: Code:
sudo gcc -MMD -Wall -ggdb -O `pkg-config --cflags dbus-1 glib-2.0 dbus-glib-1 pidgin` `pkg-config --libs dbus-1 glib-2.0 dbus-glib-1 pidgin` marshal.c pidginnotifyd.c -o pidginnotifyd |
All times are GMT. The time now is 00:26. |
vBulletin® Version 3.8.8