LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-08-2008, 06:09 AM   #1
drum
Member
 
Registered: Feb 2005
Location: QLD, Australia
Posts: 40

Rep: Reputation: 15
Long time booting "updating icon-theme.cache"


It takes a long time to update all the various icon-theme.cache on boot.
Is it necessary every boot? I'm using 12.1 with GSB (Gnome)
Can it be disabled?
Thanks
Regards to all.

Last edited by drum; 06-08-2008 at 05:27 PM.
 
Old 06-08-2008, 11:21 AM   #2
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
Move those sections of the init scripts to daily cron jobs.
See Boot time Slackware and Debian thread for more information.
 
Old 06-08-2008, 11:40 AM   #3
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I was a little taken aback myself when I first ran 12.1 because of this. That and the mime cache. Just disable it. It's not needed every time you boot up. Only when a package is first installed. Any package that ships with icons or mimetypes should run those commands via doinst.sh.... I'm not in Slackware right now but I think it's found in /etc/rc.d/rc.M.... One of the main startup scripts. Just comment it out or delete it.

You can always run those commands via pkgtool so it makes it doubly unnecessary.
 
Old 06-08-2008, 11:50 AM   #4
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,441

Rep: Reputation: 70
Quote:
Originally Posted by jong357 View Post
I was a little taken aback myself when I first ran 12.1 because of this. That and the mime cache. Just disable it. It's not needed every time you boot up. Only when a package is first installed. Any package that ships with icons or mimetypes should run those commands via doinst.sh.... I'm not in Slackware right now but I think it's found in /etc/rc.d/rc.M.... One of the main startup scripts. Just comment it out or delete it.

You can always run those commands via pkgtool so it makes it doubly unnecessary.
Yes, it is in rc.M. For many of those commands you can just add '&' to the end of the line which sends forks the process off into the background. They won't really slow your boot down then.
update-mime-database and fc-cache are two places I do that. The others you can move into a cron job or, as jong357 said, just be sure they are updated during software installation changes.
 
Old 06-08-2008, 05:24 PM   #5
drum
Member
 
Registered: Feb 2005
Location: QLD, Australia
Posts: 40

Original Poster
Rep: Reputation: 15
Thumbs up Long time booting "updating icon-theme.cache"SOLVED

Thanks to shadowsnipes and jong357

That worked. I have chopped 25 seconds off my boot time.
I appreciate your help
Regards
drum
 
  


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
icon-theme.cache is invalid PhilTR Fedora 5 08-27-2007 06:35 AM
How to convert "unsigned long long" to "char pointer"? novicehacker Linux - Kernel 1 11-20-2006 12:57 AM
What can I do when I get only "grub>" at booting time? cucolin@ Linux - Newbie 7 05-30-2006 10:34 AM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-06-2005 11:44 PM


All times are GMT -5. The time now is 08:28 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration