Subscription date : 28 October 2009
Messages : 415
|
Hello!
I worked on an applet to check Facebook accounts and deliver notifications. It is basically a frontend for FBCMD (http://fbcmd.dtompkins.com/installation)
Now please test it and let me know whether it works or if there are bugs.
You can download the applet from here: http://dl.free.fr/pGWH3LIvZ [version.1.11.04.20.2 uploaded at 5:35 pm]
More improvements are already planned for future versions:
- entering your status from dock
- full-length message notifications
- ect :)
|
matttbe, Wednesday 20 April 2011 à 21:36
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Hello,
First of all, thank you for this applet
But I've a few comments/questions/ideas:
- It seems it's not easy to test it
- we need an active facebook account
- We need FBCMD and it's seems we have to do same by ourselves (=> so if we try it, it's will not work and is there any message?)
- But we need php to use it (it's not light... )
- Why don't you use a python module? I guess there are a few available modules. pyfacebook? apt-cache search facebook gives me libsocialweb, libwww-facebook-api-perl, python-facebook, libmojito but also some modules of gwibber and pidgin. (about pyfacebook, there are a few examples (e.g. here but it's maybe a bit too old... I hope not )
- Your hack to display an emblem with the number of unread messages is interesting but it can be better if we can do that easily => @fabounet
- Can I add you applet on our cairo-dock-plug-ins-extras bzr branch? Or not? Or do you want to add it by yourself and create a merge proposal?
- Do you want to use BZR? If yes, you can have a look to our wiki => Documentation or directly => Help us with BZR
- It's not hard to use BZR. In fact and after having uploaded your public ssh key, you just have to use bzr add to add a new file or bzr rm to remove another one, bzr commit -m "My Applet: A message" to create a new revision and bzr push lp:~your_nick/cairo-dock-plug-ins-extras/your_applet to upload it on launchpad (and then propose your branch for merging on the trunk.)
|
Subscription date : 28 October 2009
Messages : 415
|
matttbe :
We need FBCMD and it's seems we have to do same by ourselves (=> so if we try it, it's will not work and is there any message?)
The applet should guide you through the installation. Or did it not?
matttbe : But we need php to use it (it's not light...Why don't you use a python module? I guess there are a few available modules. pyfacebook? etc.
Sure. I am too novice in computing / programming to be able to assess that kinds of matters. I just jumped on the keyboard and decided i'd make an applet I'll look into other engines as you suggested. I'll try to improve the applet to get more functions out of it, i'll need an engine that's complete. We'll see about that.
matttbe : Your hack to display an emblem with the number of unread messages is interesting but it can be better if we can do that easily => @fabounet
I'm not sure what you mean by "if we can do that easily", what do you mean by that? To make an API? (One major flaw of SVG at the moment is that it's not possible to describe objects' position in relative positioning. It was an issue for the one/two digit numbers. But i worked my way around it as you can see. Another option would be to make two different layers and switch depending on the number to display.
matttbe : Can I add you applet on our cairo-dock-plug-ins-extras bzr branch? Or not? Or do you want to add it by yourself and create a merge proposal
Sure! You know the stuff better than me Go ahead.
matttbe : Do you want to use BZR?
I'm still not quite sure i understand what the BZR is/does i'll look into it |
matttbe, Wednesday 20 April 2011 à 22:09
|
|
Subscription date : 24 January 2009
Messages : 12573
|
The applet should guide you through the installation. Or did it not? Oh great (I didn't test it because of that: we need an active facebook account )
I'll look into other engines as you suggested Yes because it's easier to install a python module from repositories!
I'm not sure what you mean by "if we can do that easily", what do you mean by that? I already proposed to add the possibility to customise these "quick-info", to change the background, the size, the form, the position, etc.
I'm still not quite sure i understand what the BZR is/does i'll look into it As say wikipedia, Bazaar is a distributed revision control system, designed to make it easier for anyone to contribute to free and open source software projects. You can easily create new revisions which contains a few modifications and share them with other people. You can easily have a look to the differences between each revision, you can create your own fork, etc. It's a bit like Git (or SVN but less) => https://code.launchpad.net/cairo-dock
EDIT: => all cairo-dock-plug-ins-extras branches |
matttbe, Thursday 21 April 2011 à 01:01
|
|
Subscription date : 24 January 2009
Messages : 12573
|
This applet is now available on lp:cairo-dock-plug-ins-extras (rev 160).
Feel free to test it and report any bugs, suggestions, questions, etc. here!
@ jesuisbenjamin: Thank you! |
Subscription date : 28 October 2009
Messages : 415
|
Hey btw i didn't manage to install the bzr version... |
matttbe, Thursday 21 April 2011 à 01:23
|
|
Subscription date : 24 January 2009
Messages : 12573
|
i didn't manage to install the bzr version... Oh
do you want to install Cairo-Dock with this script: cairo-dock_bzr.sh or do you want to install bzr (simply launch this command: sudo apt-get install bzr) |
Subscription date : 28 October 2009
Messages : 415
|
matttbe : i didn't manage to install the bzr version... Oh
do you want to install Cairo-Dock with this script: cairo-dock_bzr.sh or do you want to install bzr (simply launch this command: sudo apt-get install bzr)
1st: i want to install cairo-bzr version, followed the steps from wiki but no amount of updates seems to make the difference. |
matttbe, Thursday 21 April 2011 à 01:45
|
|
Subscription date : 28 October 2009
Messages : 415
|
ok got it
PS i looked into all kinds of Facebook from command line. Python-Facebook (aka. pyfacebook) has several dependences and i already get bugs at import.
Others are really basic like the perl Facebook API, i don't want to re-invent the wheel. So i'll look more into the Python-Facebook option and see how smoothly it goes. |
matttbe, Thursday 21 April 2011 à 08:33
|
|
Subscription date : 24 January 2009
Messages : 12573
|
I think it can be better to use a python module but if it's not possible... It's not possible |
matttbe, Thursday 21 April 2011 à 19:50
|
|
Subscription date : 24 January 2009
Messages : 12573
|
matttbe : jesuisbenjamin : I'm not sure what you mean by "if we can do that easily", what do you mean by that?
I already proposed to add the possibility to customise these "quick-info", to change the background, the size, the form, the position, etc. There you can find a mockup: http://www.glx-dock.org/bg_topic.php?t=5093 |
Subscription date : 28 October 2009
Messages : 415
|
OK, i just made an update of the code to improve the emblem.
Now what am i supposed to do with BZR? Upload the files? Then what happens?
PS: i did something, not used to it, let me know if it works. |
matttbe, Thursday 21 April 2011 à 23:31
|
|
matttbe, Thursday 21 April 2011 à 23:36
|
|
Subscription date : 24 January 2009
Messages : 12573
|
About Ground Control, you can have a look there: http://ground-control.org/, there are a few screencasts. |
Subscription date : 28 October 2009
Messages : 415
|
OK i messed up but now i'm ok i think. |
matttbe, Friday 22 April 2011 à 00:07
|
|
Subscription date : 28 October 2009
Messages : 415
|
fabounet : well, the Quick-Info is made for that especially, I think it's important that all applets have the same look, so it's better using it.
My applet gives the choice to use either emblem or quickinfo. Keeping the same look for all applets is a relative understanding, this emblem matches that of my theme
fabounet : +1 for a python module easy to install
Well pyfacebook is not easy to install, it's buggy and the team's not very active if i judge from the dates on their git site.
I'm thinking of connecting to Gwibber through Dbus instead: have questions about this btw see http://www.glx-dock.org/bg_topic.php?t=5321&pos=40#mess_66812
fabounet : also, you should use the run method, and not triggering yourself the begin method, nor calling gtk.main() :)
I was wondering why the begin() method did not start on its own?? I'll try that.
I need to call the gtk.main() apparently if i want the glib.TimeOut() to function (threading). If you know how to make it work without, please let me know. |
fabounet, Thursday 28 April 2011 à 17:02
|
|
Subscription date : 30 November 2007
Messages : 17118
|
run() does the job |
|