Wallpapers from Digikams collections?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Wallpapers from Digikams collections?

Philipp Matthias Hahn
Hello!

Since I'm not subscribed to his mailing list, please cc: me on replies.


Is there some easy way to _automatically_ change my KDE wallpaper
(background image), choosing from the collections of Digikam?

I have several GiBs of photos and rarely find time to review them. What
I would like is some way to automatically replace the background image
with another photo from the collections I manage with digikam. KDEs
simple slide show doesn't work, since I have a large hierarchy of
directories. I'd either have to regularly add new directories to it's
list or would have to place all images in a single directory.

Bonus points to some solution, where I could specify some filters like
'only pictures rates with more than 2 stars' or 'only pictures tagged
with x,y or z'.

BYtE
Philipp
--
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ [hidden email]
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Wallpapers from Digikams collections?

Bugzilla from mikmach@wp.pl
Dnia Saturday 14 of June 2008, Philipp Matthias Hahn napisaƂ:

> Hello!
>
> Since I'm not subscribed to his mailing list, please cc: me on replies.
>
>
> Is there some easy way to _automatically_ change my KDE wallpaper
> (background image), choosing from the collections of Digikam?
>
> I have several GiBs of photos and rarely find time to review them. What
> I would like is some way to automatically replace the background image
> with another photo from the collections I manage with digikam. KDEs
> simple slide show doesn't work, since I have a large hierarchy of
> directories. I'd either have to regularly add new directories to it's
> list or would have to place all images in a single directory.
>
> Bonus points to some solution, where I could specify some filters like
> 'only pictures rates with more than 2 stars' or 'only pictures tagged
> with x,y or z'.

Well, it is possible but not from inside of digiKam. The easiest route
- yeah, that may sound like joke ;) - is to write your own
bash/zsh/whatever script which will use sqlite3 command utility to query
digikam3.db and copy your chosen file to some specific place. In KDE
wallpaper settings chose this place as source of wallpaper. If you make
this script running with each system start each time you will have new
wallpaper.

You need a bit of shell and SQL knowledge. And yes, this is the easiest
way :)


m.

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Wallpapers from Digikams collections!

Philipp Matthias Hahn
In reply to this post by Philipp Matthias Hahn
Hello!

On Thu, Jun 12, 2008 at 05:39:03PM +0200, Philipp Matthias Hahn wrote:

> Since I'm not subscribed to his mailing list, please cc: me on replies.
>
>
> Is there some easy way to _automatically_ change my KDE wallpaper
> (background image), choosing from the collections of Digikam?
>
> I have several GiBs of photos and rarely find time to review them. What
> I would like is some way to automatically replace the background image
> with another photo from the collections I manage with digikam. KDEs
> simple slide show doesn't work, since I have a large hierarchy of
> directories. I'd either have to regularly add new directories to it's
> list or would have to place all images in a single directory.
>
> Bonus points to some solution, where I could specify some filters like
> 'only pictures rates with more than 2 stars' or 'only pictures tagged
> with x,y or z'.
The hint with using the sqlite3 command-line tool helped. I'll attach my
solution, so others can use it or extend it. Both files go to
$HOME/.kde/share/apps/kdesktop/programs/
The SQL-query is currently hard-coded to "two stars or above".

BYtE
Philipp
--
  / /  (_)__  __ ____  __ Philipp Hahn
 / /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ [hidden email]

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users

digikam (1K) Download Attachment
digikam.desktop (262 bytes) Download Attachment