
Akonadi contacts plasmoid
Source (link to git-repo or to original if based on someone elses unmodified work):
Please use the comments to report bugs and suggest new features.
Installation
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
make install (as root)
kbuildsycoca4
and maybe you must quit plasma-desktop
kquitapp plasma-desktop
kstart plasma-desktop
Required:
Qt4
KDE4
Kdelibs
If you want try the hottest version you can find it on my KDE git repository
https://projects.kde.org/projects/playground/pim/akonadi-google-applets
Note: This version may not work perfectly.
Update:
Fix compilation with Qt < 4.8
########################
0.1.7 - 27.4.2012
########################
- new look
- better searching
- more contact info (IM,homepage)
########################
0.1.6 - 23.4.2012
########################
- some improvements and bugfixes
- drop support of fade animation for lower memory usage
########################
0.1.5 - 11.3.2012
########################
- support for more contacts collections
########################
0.1.4 - 6.3.2012
########################
- better format of contact info
########################
0.1.3 - 2.3.2012
########################
- display more emails
########################
0.1.2 - 28.2.2012
########################
- now you can add plasmoid to the panel
########################
0.1.1 - 27.2.2012
########################
- some improvements and fade animation
########################
0.1.0 - 26.2.2012
########################
- initial version
Ratings & Comments
18 Comments
Application: Powłoka pulpitu Plazmy (plasma-desktop), signal: Aborted Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7fc03cc18780 (LWP 3280))] Thread 6 (Thread 0x7fc012861700 (LWP 3285)): #0 0x00007fc038d858f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fc037392eb7 in ?? () from /usr/lib64/libQtWebKit.so.4 #2 0x00007fc037392ee9 in ?? () from /usr/lib64/libQtWebKit.so.4 #3 0x00007fc038d81e0e in start_thread () from /lib64/libpthread.so.0 #4 0x00007fc03c5092cd in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7fc011f60700 (LWP 3286)): #0 0x00007fff363ff65e in clock_gettime () #1 0x00007fc031aaaf7d in clock_gettime () from /lib64/librt.so.1 #2 0x00007fc03906dd84 in do_gettime (frac=0x7fc011f5fb68, sec=0x7fc011f5fb60) at tools/qelapsedtimer_unix.cpp:123 #3 qt_gettime () at tools/qelapsedtimer_unix.cpp:140 #4 0x00007fc039142a3d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fc00c002860) at kernel/qeventdispatcher_unix.cpp:354 #5 0x00007fc039142d83 in QTimerInfoList::timerWait (this=0x7fc00c002860, tm=...) at kernel/qeventdispatcher_unix.cpp:461 #6 0x00007fc0391417fc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fc011f5fc5c) at kernel/qeventdispatcher_glib.cpp:136 #7 0x00007fc0391418a5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169 #8 0x00007fc02f9fdebf in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0 #9 0x00007fc02f9fe5ab in ?? () from /usr/lib64/libglib-2.0.so.0 #10 0x00007fc02f9fe7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #11 0x00007fc039142136 in QEventDispatcherGlib::processEvents (this=0x7fc00c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #12 0x00007fc03911294f in QEventLoop::processEvents (this=this@entry=0x7fc011f5fe00, flags=...) at kernel/qeventloop.cpp:149 #13 0x00007fc039112bd8 in QEventLoop::exec (this=0x7fc011f5fe00, flags=...) at kernel/qeventloop.cpp:204 #14 0x00007fc0390150b0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542 #15 0x00007fc03901808c in QThreadPrivate::start (arg=0x2f84020) at thread/qthread_unix.cpp:338 #16 0x00007fc038d81e0e in start_thread () from /lib64/libpthread.so.0 #17 0x00007fc03c5092cd in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7fc00bfff700 (LWP 3287)): #0 0x00007fc038d858f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fc035e56247 in ?? () from /usr/lib64/libQtScript.so.4 #2 0x00007fc035e56279 in ?? () from /usr/lib64/libQtScript.so.4 #3 0x00007fc038d81e0e in start_thread () from /lib64/libpthread.so.0 #4 0x00007fc03c5092cd in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fc0084eb700 (LWP 3288)): #0 0x00007fc038d83dc5 in pthread_mutex_lock () from /lib64/libpthread.so.0 #1 0x00007fc02fa3a471 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0 #2 0x00007fc02f9fd9a3 in g_main_context_release () from /usr/lib64/libglib-2.0.so.0 #3 0x00007fc02f9fe635 in ?? () from /usr/lib64/libglib-2.0.so.0 #4 0x00007fc02f9fe7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #5 0x00007fc039142136 in QEventDispatcherGlib::processEvents (this=0x7fc0000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #6 0x00007fc03911294f in QEventLoop::processEvents (this=this@entry=0x7fc0084eadd0, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007fc039112bd8 in QEventLoop::exec (this=0x7fc0084eadd0, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007fc0390150b0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542 #9 0x00007fc0390f30bf in QInotifyFileSystemWatcherEngine::run (this=0x449ded0) at io/qfilesystemwatcher_inotify.cpp:256 #10 0x00007fc03901808c in QThreadPrivate::start (arg=0x449ded0) at thread/qthread_unix.cpp:338 #11 0x00007fc038d81e0e in start_thread () from /lib64/libpthread.so.0 #12 0x00007fc03c5092cd in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fc00657f700 (LWP 3338)): #0 0x00007fc03c50114f in poll () from /lib64/libc.so.6 #1 0x00007fc008be139b in ?? () from /usr/lib64/python2.7/lib-dynload/select.so #2 0x00007fc01c64d13a in PyEval_EvalFrameEx () from /usr/lib64/libpython2.7.so.1.0 #3 0x00007fc01c652322 in PyEval_EvalCodeEx () from /usr/lib64/libpython2.7.so.1.0 #4 0x00007fc01c6395b6 in ?? () from /usr/lib64/libpython2.7.so.1.0 #5 0x00007fc01c63540d in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 #6 0x00007fc01c636171 in ?? () from /usr/lib64/libpython2.7.so.1.0 #7 0x00007fc01c63540d in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0 #8 0x00007fc01c64bb82 in PyEval_CallObjectWithKeywords () from /usr/lib64/libpython2.7.so.1.0 #9 0x00007fc01bbfd2e2 in ?? () from /usr/lib64/python2.7/site-packages/sip.so #10 0x00007fc01bf148bd in sipVH_QtCore_11(PyGILState_STATE, void (*)(_sipSimpleWrapper*), _sipSimpleWrapper*, _object*) () from /usr/lib64/python2.7/site-packages/PyQt4/QtCore.so #11 0x00007fc01bf62459 in sipQThread::run() () from /usr/lib64/python2.7/site-packages/PyQt4/QtCore.so #12 0x00007fc03901808c in QThreadPrivate::start (arg=0x3d06ea0) at thread/qthread_unix.cpp:338 #13 0x00007fc038d81e0e in start_thread () from /lib64/libpthread.so.0 #14 0x00007fc03c5092cd in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fc03cc18780 (LWP 3280)): [KCrash Handler] #5 0x00007fc03c459d25 in raise () from /lib64/libc.so.6 #6 0x00007fc03c45b1a8 in abort () from /lib64/libc.so.6 #7 0x00007fc037e2168d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6 #8 0x00007fc037e1f796 in ?? () from /usr/lib64/libstdc++.so.6 #9 0x00007fc037e1f7c3 in std::terminate() () from /usr/lib64/libstdc++.so.6 #10 0x00007fc037e1fa36 in __cxa_rethrow () from /usr/lib64/libstdc++.so.6 #11 0x00007fc039112e44 in QEventLoop::exec (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:218 #12 0x00007fc039117878 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218 #13 0x00007fc03c809701 in kdemain (argc=1, argv=0x7fff3631a9f8) at /usr/src/debug/kde-workspace-4.10.0/plasma/desktop/shell/main.cpp:126 #14 0x00007fc03c446455 in __libc_start_main () from /lib64/libc.so.6 #15 0x0000000000400731 in _start () at ../sysdeps/x86_64/elf/start.S:113
Hi I would love to try this app but alas i can't get trough the compilation. Anyone could help me ? jpleac@jpleac-XPS-L412Z:~/Téléchargements/contacts/build$ make Scanning dependencies of target plasma_applet_google_contacts_automoc Generating plasmacontacts.moc Generating moc_contactwidgetitem.cpp Generating moc_contactwidget.cpp [ 0%] Built target plasma_applet_google_contacts_automoc [ 16%] Generating ui_config.h uic: Error in line 32, column 68 : Unexpected attribute alignment File '/home/jpleac/Téléchargements/contacts/src/config.ui' is not valid Scanning dependencies of target plasma_applet_google_contacts [ 33%] Building CXX object src/CMakeFiles/plasma_applet_google_contacts.dir/plasma_applet_google_contacts_automoc.o [ 50%] Building CXX object src/CMakeFiles/plasma_applet_google_contacts.dir/contactslayout.o [ 66%] Building CXX object src/CMakeFiles/plasma_applet_google_contacts.dir/contactwidgetitem.o [ 83%] Building CXX object src/CMakeFiles/plasma_applet_google_contacts.dir/contactwidget.o [100%] Building CXX object src/CMakeFiles/plasma_applet_google_contacts.dir/plasmacontacts.o In file included from /home/jpleac/Téléchargements/contacts/src/plasmacontacts.cpp:19:0: /home/jpleac/Téléchargements/contacts/src/plasmacontacts.h:37:23: erreur fatale: ui_config.h : Aucun fichier ou dossier de ce type compilation terminée. make[2]: *** [src/CMakeFiles/plasma_applet_google_contacts.dir/plasmacontacts.o] Erreur 1 make[1]: *** [src/CMakeFiles/plasma_applet_google_contacts.dir/all] Erreur 2
Try it now :)
same result :-) sould the result have been different ? thank you !
I removed the line where you have problem. Maybe I didn't upload it correctly to kde-look. Can you try version from git?
Try it now please, I hope it should work now. Thanks
Thank you very much ! it works now !!! The only little probleme is that, when i look for someone in the search box, all the data concerning this person (phone, mail adress, ...) appears "crumbled". I have to click on "modify" to clearly the the data. Still, it's very usable. Thank you again !
Can you show me screenshot of this? Because I don't know what you mean :)
This is a nice and useful plasmoid. But can you please pack it into a directory and add the version? This would make it easier for package maintainers to build new versions.
Thank you. Now it's should be ok.
Scanning dependencies of target plasma_applet_google_contacts [ 33%] Building CXX object contacts/CMakeFiles/plasma_applet_google_contacts.dir/plasma_applet_google_contacts_automoc.o In file included from /usr/include/KDE/Akonadi/../../akonadi/item.h:28:0, from /usr/include/KDE/Akonadi/Item:1, from /home/marco/Apps/149182-google_contacts_plasmoid/build/contacts/../../contacts/contactwidgetitem.h:31, from /home/marco/Apps/149182-google_contacts_plasmoid/build/contacts/moc_contactwidgetitem.cpp:10, from /home/marco/Apps/149182-google_contacts_plasmoid/build/contacts/plasma_applet_google_contacts_automoc.cpp:4: /usr/include/KDE/Akonadi/../../akonadi/itempayloadinternals_p.h:29:32: fatal error: boost/shared_ptr.hpp: File o directory non esistente compilation terminated. make[2]: *** [contacts/CMakeFiles/plasma_applet_google_contacts.dir/plasma_applet_google_contacts_automoc.o] Errore 1 make[1]: *** [contacts/CMakeFiles/plasma_applet_google_contacts.dir/all] Errore 2 make: *** [all] Errore 2
Try to install your boost-devel package.
very nice :D May you add the possibility to open a kopete chat??
My contacts from my Android should be there, should they not? So far, no results. I actually want to see them in my phone applet where they might be useful. If they show in contacts applet or in the plasmaengine viewer, they should show in my applet, at most a one line code addition. BTW, try inserting this applet onto the panel and see what happens! Best give it an icon view, huh :-)
Do you have your google contacts in KAddressbook? You have to add Google contacts resource from Akonadi-google to your Akonadi resources. It should look like this http://imageshack.us/photo/my-images/402/akonadi.png/
I'll try the new version. The resource was added and set up. In the address book, I do see a few items but not all the contacts from my phone.
I display only contacts which are in KAddressbook, so if you can't see them in KAddressbook, they won't be in my plasmoid. Maybe there is some problem with Akonadi-google. Are you sure you have all phone contacts in https://www.google.com/contacts_v2/#contacts? Maybe they are only in SIM cards.
I display only contacts which are in KAddressbook, so if you can't see them in KAddressbook, they won't be in my plasmoid. Maybe there is some problem with Akonadi-google. Are you sure you have all phone contacts in https://www.google.com/contacts_v2/#contacts? Maybe they are only in SIM card.