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 Aug 2014, 15:49
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
GTK error: Could not find 'hicolor theme.
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
sunburnt


Joined: 08 Jun 2005
Posts: 5016
Location: Arizona, U.S.A.

PostPosted: Wed 09 Oct 2013, 04:13    Post subject:  GTK error: Could not find 'hicolor theme.  

I assume the hicolor theme is: /usr/share/icons/hicolor

It`s there and so are the icons it`s complaining about.
But still these errors with most of the GTK apps. I make.
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 1352
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Wed 09 Oct 2013, 06:35    Post subject:  

sunburnt,

If you are adding the icons to /usr/share/icons/hicolor you need to update the icon cache, run this in the terminal.
Code:
gtk-update-icon-cache -f -i /usr/share/icons/hicolor


petget updates the cache when a pet is installed.

Mine looks like this with the icon-theme.cache and index.theme
Screenshot-6.png
 Description   
 Filesize   107.41 KB
 Viewed   195 Time(s)

Screenshot-6.png


_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5016
Location: Arizona, U.S.A.

PostPosted: Wed 09 Oct 2013, 13:21    Post subject:  

Hey again Geoffrey; A few obvious Qs here.

1) Can only one path be set.? Or are all paths run in command set into GTK`s icon cache DB.?

2) Your pic. shows the files: icon-theme.cache and index.theme as raw files.
Mine were gzipped, what effect will this have?
# I half expected a new set of files to be made when I ran the command.
Although running the command did report: gtk-update-icon-cache: No theme index file.
I extracted them and it seems to make no difference, other than the above report disappearing.

3) Where is the DB kept.? With GTK somewhere, or does it use the gzipped cache file.?
RoxFiler didn`t show any file activity with the gzipped cache file ( bold text ).

4) And some of the files don`t show icons; exec., scripts, images, and image files.
Is this normal, or is something still missing.? There`s no errors at all now.
See pic. below:
000_spacefm.png
 Description   Missing icons...
 Filesize   87.12 KB
 Viewed   167 Time(s)

000_spacefm.png

Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4335

PostPosted: Wed 09 Oct 2013, 15:16    Post subject:  

In gtk4, there will no longer be built-in or "stock" icons... I would hope they at least include a "missing" icon.
It won't be the space savings they think though, actually xpm data compiled into C on a compressed file system can be 50% smaller than the png

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5016
Location: Arizona, U.S.A.

PostPosted: Wed 09 Oct 2013, 21:34    Post subject:  

Hi again technosaurus; Yeah... They keep changing, again and again.
I`d think there`d at least be a default path ( there probably is ).

Perhaps you could answer the first Q above.?

1) Can only one path be set.?
Or are all paths that are run in "successive commands" added to GTK`s icon cache DB.?

# I rather not spend most of my time experimenting and never really knowing the answers.
Windows is bad, but Linux is a real case of reinventing the wheel in so many different ways.
.
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4335

PostPosted: Wed 09 Oct 2013, 21:56    Post subject:  

busybox readahead list of files to load in ram

ex.
busybox readahead /usr/bin/myapp /usr/share/myapp/*

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5016
Location: Arizona, U.S.A.

PostPosted: Wed 09 Oct 2013, 22:37    Post subject:  

Thanks again techysaurus; Smile

# A thought that comes to my mind is... Will it be swapped or purged later if it`s not used.
I would think so, as readahead is mainly for booting, so pre-loading doesn`t "fix" it in place.

It looks like not only files but you show myapp`s dep. dir. in /usr/share being loaded too.
Typical, readahead has only the simplest of help. I wouldn`t have guessed dirs. work too.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
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.0539s ][ Queries: 13 (0.0062s) ][ GZIP on ]