Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 22 Nov 2019, 00:50
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How can I keep the ROX thumbnails from session to session?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
fernan

Joined: 23 Jan 2007
Posts: 416
Location: Buenos Aires

PostPosted: Wed 09 Oct 2019, 22:10    Post subject:  How can I keep the ROX thumbnails from session to session?  

Hello. Running bionic pup 32 now, but the same behavior with tahrpup32 and previous versions:

I see the picts thumbnails are deleted in every new session, so every time I reboot the computer, opening the same folder with 1000 picts, the thumbnails need to be generated again.

Is there a way to keep the thumbnails, and purge them only when I decide to do it?

Thanks for your help
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12871
Location: S.C. USA

PostPosted: Thu 10 Oct 2019, 05:58    Post subject:  

Rox>Options>Thumbnails

Is show image thumbnails checked?

How is Bionicpup installed?
Live USB or CD?
Frugal install on what device?
Full install on what device?

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
fernan

Joined: 23 Jan 2007
Posts: 416
Location: Buenos Aires

PostPosted: Thu 10 Oct 2019, 08:32    Post subject:  

Thumbnails is checked, that's why ROX start generating thumbnails when I open the folders.

It's a frugal install, saving to a folder in an EXT3 partition.

In tahrpup it was the same, every reboot all the thumbnails are deleted and need to be generated again. I understand it's a feature, not a problem, since in all my 4 puppy machines happens the same, but I'd like to keep the thumbnails, since I have several folders with 1000 images each.
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1925
Location: Japan

PostPosted: Thu 10 Oct 2019, 09:33    Post subject:  

You have to edit the file /etc/rc.d/rc.shutdown

After loading the file into your editor search for string "thumbnails". You should find the line
Code:
rm -rf /root/.thumbnails/* 2> /dev/null

Comment the line out by prepending it with a #:
Code:
#rm -rf /root/.thumbnails/* 2> /dev/null
This Puppy "feature", which deletes all thumbnails at shutdown, is very old and probably present in all distros.
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 3491
Location: 500 seconds from Sol

PostPosted: Thu 10 Oct 2019, 11:46    Post subject:  

After following MochiMoppel's instructions, if you have a frugal install I suggest that you move the /root/.thumbnails/ to somewhere on /mnt/home, symlink it back and execute a Save.

Anything in /root occupies RAM. Having thousand of even small sized thumbnails occupying RAM serves no useful purpose: probably why /etc/rc.d/rc.shutdown was configured to remove them.
Back to top
View user's profile Send private message 
fernan

Joined: 23 Jan 2007
Posts: 416
Location: Buenos Aires

PostPosted: Thu 10 Oct 2019, 12:10    Post subject:  

Thanks very much. I was sure here was an instruction to delete the thumbnails, but didn't know where to search for it.

I'll do both suggested actions: to comment the "rm -rf " command, and to move the folder to the hard drive outside the root folder (and link inside the root folder)
Back to top
View user's profile Send private message 
HerrBert

Joined: 03 Nov 2016
Posts: 100
Location: NRW, Germany

PostPosted: Thu 10 Oct 2019, 13:41    Post subject:  

MochiMoppel wrote:
You have to edit the file /etc/rc.d/rc.shutdown

After loading the file into your editor search for string "thumbnails". You should find the line
Code:
rm -rf /root/.thumbnails/* 2> /dev/null

Comment the line out by prepending it with a #:
Code:
#rm -rf /root/.thumbnails/* 2> /dev/null
This Puppy "feature", which deletes all thumbnails at shutdown, is very old and probably present in all distros.

Just to mention:
The same line appears in /sbin/init
So content of /root/.thumbnails will also be deleted on startup at least in Tahr and Slacko
Back to top
View user's profile Send private message 
fernan

Joined: 23 Jan 2007
Posts: 416
Location: Buenos Aires

PostPosted: Thu 10 Oct 2019, 14:04    Post subject:  

Done. Both lines commented, at shutdown and at startup

Thanks very much!
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 1237
Location: Chatswood, NSW

PostPosted: Thu 10 Oct 2019, 16:53    Post subject: Move/link .cache as well
Subject description: Wherever you've put .thumbnails
 

G'day fernan,

You could shift your /root/.cache to the same place you've put .thumbnails.
Saves more savefile space.

David S.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 12871
Location: S.C. USA

PostPosted: Thu 10 Oct 2019, 18:56    Post subject:  

Someone needs to post this in the how to section.
_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer) http://www.murga-linux.com/puppy/viewtopic.php?t=107601
Back to top
View user's profile Send private message 
fernan

Joined: 23 Jan 2007
Posts: 416
Location: Buenos Aires

PostPosted: Thu 10 Oct 2019, 19:48    Post subject:  

bionicpup 32 bit doesn't have the instruction inside the /sbin/init file.

Tahrpup 32 does.

I'll reboot my bionicpup to see what happens
Back to top
View user's profile Send private message 
fernan

Joined: 23 Jan 2007
Posts: 416
Location: Buenos Aires

PostPosted: Fri 18 Oct 2019, 08:25    Post subject:  

Hello. This "solution" doens't work as expected. I'm going back to the default settings.

The .thumbnails/normal/ folder keeps the images, but still in some folders more thumbnails are generated , I've checked that looking at the .thumbnails folder while opening another folder, opened in previous sessions some days ago. Perhaps thumbnails a bit old need to be generated again, or whatever, but it doesn't seem a good idea to keep this folder growing and growing without control.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0438s ][ Queries: 11 (0.0051s) ][ GZIP on ]