LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-13-2016, 09:39 AM   #1
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 6,604
Blog Entries: 1

Rep: Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996
gThumb and thumbnails.


Is there a way to stop gThumb from caching and saving thumbnails and history?
I've searched but haven't found a solution.
Thanks.
 
Old 11-13-2016, 01:02 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,522

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
link
/home/"your user name"/.thumbnails/small
to
/dev/null

Code:
ln -s /dev/null /home/BOB/.thumbnails/mall

Last edited by John VV; 11-13-2016 at 01:03 PM.
 
1 members found this post helpful.
Old 11-13-2016, 01:56 PM   #3
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 6,604

Original Poster
Blog Entries: 1

Rep: Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996
Quote:
Originally Posted by John VV View Post
link
/home/"your user name"/.thumbnails/small
to
/dev/null

Code:
ln -s /dev/null /home/BOB/.thumbnails/mall
Many thanks for the suggestion, but no joy.
 
Old 11-13-2016, 02:42 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,522

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
what did not work

i use that for flash cookies
you should have what looks like a file of zero size in place of the thumbnail small folder
or the large folder
what ever one you are using
 
1 members found this post helpful.
Old 11-13-2016, 04:39 PM   #5
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 6,604

Original Poster
Blog Entries: 1

Rep: Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996
Quote:
Originally Posted by John VV View Post
what did not work

i use that for flash cookies
you should have what looks like a file of zero size in place of the thumbnail small folder
or the large folder
what ever one you are using
The thumbnails were created and stored as usual, regardless of the link.
 
Old 11-15-2016, 10:36 AM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by John VV View Post
link
/home/"your user name"/.thumbnails/small
to
/dev/null

Code:
ln -s /dev/null /home/BOB/.thumbnails/mall
excuse me everyone OP and John VV mostly, But,
isn't that backwards, or is it me?

source -> destination

Code:
ln -s /home/BOB/.thumbnails/small  /dev/null

Last edited by BW-userx; 11-15-2016 at 10:50 AM.
 
1 members found this post helpful.
Old 11-20-2016, 01:28 PM   #7
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 6,604

Original Poster
Blog Entries: 1

Rep: Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996
Short of manually deleting the /user-name/.thumbnail directory, the only other way I've found to delete them so far is to use KDE's "Sweeper." However, that doesn't delete gThumb's history file.
 
Old 11-20-2016, 01:33 PM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by cwizardone View Post
Short of manually deleting the /user-name/.thumbnail directory, the only other way I've found to delete them so far is to use KDE's "Sweeper." However, that doesn't delete gThumb's history file.
Did you fix your soft link? It was BAckWards

ln -s /dev/NULL /home/BOB/.thumbnails/small

is sending NULL into your ThumbNails directory when you want to send you thumbnails into NULL, which would be
Code:
ln -s /home/BOB/.thumbnails/small /dev/NULL
 
1 members found this post helpful.
Old 11-20-2016, 02:12 PM   #9
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 6,604

Original Poster
Blog Entries: 1

Rep: Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996
Tried that, and, no, it wasn't backwards.
 
Old 11-20-2016, 02:46 PM   #10
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by cwizardone View Post
Tried that, and, no, it wasn't backwards.
then I must be backwards, sorry.
 
1 members found this post helpful.
Old 11-20-2016, 02:52 PM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by cwizardone View Post
Tried that, and, no, it wasn't backwards.
I did a google search and found this, I have not tried it but here is the info and link to it.
Code:
	

Just symlink that directory to /dev/null

rm -rf ~/.logs
ln -s /dev/null ~/.logs

/dev/null, doesn't have to be a directory.
 If the program tries writing to ~/.logs/log1.dump, it still goes 
right into /dev/null.

I do this for Google Chrome's cache because after a 
while it gets so big that Chrome will take minutes to start.
http://unix.stackexchange.com/questi...hole-directory

that bold part might be the piece that was missing in that equation.

Last edited by BW-userx; 11-20-2016 at 02:54 PM.
 
1 members found this post helpful.
Old 11-20-2016, 04:57 PM   #12
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 6,604

Original Poster
Blog Entries: 1

Rep: Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996
Thank you for the information. Greatly appreciated!
 
Old 11-20-2016, 05:20 PM   #13
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by cwizardone View Post
Thank you for the information. Greatly appreciated!
I take it - it worked - sweet - and you're welcome
 
1 members found this post helpful.
Old 11-21-2016, 08:33 AM   #14
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib."
Posts: 6,604

Original Poster
Blog Entries: 1

Rep: Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996Reputation: 3996
Just taking a moment to thank you for the time you spent researching the problem.
Upon re-reading the information in message #11, I don't see how that will keep gThumb from creating and saving thumbnails, but I'll give it a go and let you know if it works or not.
 
Old 11-21-2016, 08:55 AM   #15
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by cwizardone View Post
Just taking a moment to thank you for the time you spent researching the problem.
Upon re-reading the information in message #11, I don't see how that will keep gThumb from creating and saving thumbnails, but I'll give it a go and let you know if it works or not.
Keewl I hope it does work. The theory looks good.

While it thinks it is writing them to the place it is suppose to. You now have a pseudo directory connected to /dev/NULL

So the program thinks it is sending them to the correct place but the redirection is actually sending them to the land of the lost.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
In Praise of gThumb rubyyarn General 2 01-10-2014 07:01 PM
gthumb can't see picture skedit Slackware 7 11-21-2008 01:08 PM
Gthumb does not show thumbnails jeffbarish Linux - Software 2 09-14-2005 11:27 AM
Deleting thumbnails from /root/thumbnails directory moxieman99 Linux - Newbie 3 10-19-2004 03:45 PM
gthumb not showing thumbnails?? dwright Linux - Software 2 09-07-2004 06:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration