This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[Solved] Disable thumbnails in Gwenview?

Tags: None
(comma "," separated)
User avatar
danniken
Registered Member
Posts
91
Karma
0
Is there any way to disable the thumbnail feature in Gwenview? I don't mean to delete them on exit, I mean to use Gwenview without creating the thumbnails in the first place.

Last edited by danniken on Sat Jun 30, 2012 9:51 am, edited 1 time in total.
User avatar
agateau
Moderator
Posts
97
Karma
0
OS
No, this is not possible.
User avatar
danniken
Registered Member
Posts
91
Karma
0

Re: Disable thumbnails in Gwenview?

Sat Jun 30, 2012 9:51 am
agateau wrote:No, this is not possible.


Thanks agaateau, I appreciate the info.
GreyGnome
Registered Member
Posts
14
Karma
0
For those in the future like myself who may be looking for a solution to this:

Code: Select all
rm -rf $HOME/.cache/thumbnails
mkdir -p /dev/shm/thumbnails
ln -s /dev/shm/thumbnails .thumbnails


...this puts all the thumbnails into ramdisk, which disappears at shutdown or reboot.

Further management of thumbnails is left as an exercise for the user. For example, I do this in my scripts:

At the top:

Code: Select all
RAMDISK=/dev/shm
# Note that the -f option on rm eliminates most error reporting, so if you make a mistake or misunderstand what you have, you may not remove anything.
trap 'echo cleaning up; cd $RAMDISK; rm -rf whatever; find ~/.cache/thumbnails/* -type f -exec rm -f {} \; ; rm -rf $RAMDISK' EXIT

mkdir -p $RAMDISK/.thumbnails


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kesang, Yahoo [Bot]