Announcement

Collapse
No announcement yet.

KDE thumbnail generator running wild ?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    KDE thumbnail generator running wild ?

    Are there settings for kde thumbnail generator ? And where are they?

    Konqueror/Dolphin puts preview pictures in the /home/user/.thumbnails/large/ and /home/user/.thumbnails/normal/. There was several thousand png pictures, about 2 GB. Oldest preview picture was from 2005. Is the kde keeping these forever ? No cache size limit / expiration date ?


    I did find these:

    KDE Thumbnail Generator: how do I turn this off?
    http://www.mepis.org/node/6758
    I'm not completely sure on this, but try KDE control centre > Kde components > file manager > Previews and meta data
    then try turning off thumbnails.

    Option 2
    if the main concern is making a huge folder, you can cut the amount of disc space used down to a minimum 0.2 MB at the 'maximum file size' control
    Hmm - i have 1.0 MB at the 'maximum file size' control.

    and

    Turn off image thumbnail caching on KDE 3.5.2??
    http://www.linuxquestions.org/questi...d.php?t=431026
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    #2
    Re: KDE thumbnail generator running wild ?

    I must admit that I hadn't even considered the size of my thumbnail directories until I saw your post.

    I don't have an answer, although I now wish I did. The only thing I can suggest is to make sure that the "Use thumbnails embedded in files" entry is checked.

    Comment


      #3
      Re: KDE thumbnail generator running wild ?

      one simple way to to clean thumbnail cache is to run kcontrol; choose > Security & Privacy > Privacy
      but 2GB cache is unexpected

      Comment


        #4
        Re: KDE thumbnail generator running wild ?

        Trying fix with this:

        I made text file obsolete:

        Code:
        #!/bin/sh
        
        #remove older than 30 days
        find /home/user/.thumbnails/ -mtime +30 -exec rm -f {} \;
        and put it in the /etc/cron.daily/ (anacron should run these scripts daily).


        This should find and remove files older then 30 days.

        More man find, man rm and man anacron.

        I tried this from konsole in the form:
        Code:
        find /home/user/.thumbnails/ -mtime +30 -exec rm -i {} \;
        This finds and asks, if i want to remove.
        -f, --force
        ignore nonexistent files, never prompt

        -i, --interactive
        prompt before any removal

        Hmm - seems to work.
        Last Words: A collection of famous last words...
        http://www.geocities.com/Athens/Acropolis/6537/
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: KDE thumbnail generator running wild ?

          Good thought! Daily cleaning with a cron job will tame the thumbnail monster before it takes over the entire /home partition. The only thing I would add is, that the file should be created as root, e.g. "sudo nano /etc/cron.d/cleanthumbs" and the perms will need to be set to 755, e.g. "sudo chmod -v 755 /etc/cron.d/cleanthumbs".

          Comment

          Working...
          X