Friday, October 23, 2009

Installing flickr plasma widget on KDE

I was trying to install a flickr plasma widget (plasma-widget-flickr) to my KDE on Ubuntu. It is also downloadable using apt-get
If you downloaded the source file, you'll have to install libkde5-dev and cmake packages.

after i installed the packages, i couldn't see the widget in "add widget" list. I kept trying to install from a local file, but none of the installed file was accepted in the open file dialog.

All you have to do it to run "kbuildsycoca4" from the console, and the widget will appear. When googling "kbuildsycoca4" i found out:

kbuildsycoca4, as part of the KDE command line tools ensures the proper operation of KDE by reading in all the .desktop, .directory, .kimgio and .protocol files to constructs a binary database.

KDE itself accesses this database during operation to provide configuration information a program needs to run.

This tool is part of ksycoca, which stands for KDE System Configuration Cache