LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 06-03-2015, 06:51 PM   #1
GameCodingNinja
Member
 
Registered: Jul 2014
Posts: 100

Rep: Reputation: Disabled
How to get gnome apps like gedit and Archive Manager to display their icons


I'm using Xfce as my desktop. I have the latest Xfce which I believe supports GTK+3. I'm not sure what to do.
 
Old 06-03-2015, 08:22 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
You have to run the cache updaters as described with the gtk, gdk, glib, pango, icons, fonts, ldconfig, and such packages. I normally keep a script for these to run at boot time once off of inittab in the background while X loads.
 
Old 06-04-2015, 04:35 AM   #3
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
If you want a script this is mine:
Code:
#!/bin/bash -e

#©keithhedger Tue 10 Feb 19:40:20 GMT 2015 kdhedger68713@gmail.com

mkdir -vp /etc/pango ||true
/usr/bin/gdk-pixbuf-query-loaders --update-cache
fc-cache -f
gtk-update-icon-cache --ignore-theme-index --force /usr/share/icons/hicolor||true
gtk-update-icon-cache --ignore-theme-index --force /usr/share/icons/gnome||true
/usr/bin/pango-querymodules > /etc/pango/pango.modules||true
update-mime-database -V /usr/share/mime||true
update-desktop-database -v /usr/share/applications||true
mkdir -vp /var/cache/man/fsstnd||true
mandb -c
You don't need to run it at every boot, only when you have made changes, ie added an application, font etc.
 
Old 06-04-2015, 07:11 AM   #4
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
If setting a GTK+3 theme doesn't work from Xfce4 settings, then try setting the icon-theme manually as described on the GTK+3 page using $HOME/.config/gtk-3.0/settings.ini or /etc/gtk-3.0/settings.ini (system wide).
 
Old 06-04-2015, 11:18 AM   #5
GameCodingNinja
Member
 
Registered: Jul 2014
Posts: 100

Original Poster
Rep: Reputation: Disabled
Thanks Keith! Your script works! I'm analyzing it to figure out what it does so that I can incorporate it into my build process. I'm already doing some of this stuff when installing icons and the desktop. I know I have nothing related to pango being done.

Cool, finally, after all this time I see icons in these apps.

PS. Some icons are still missing but it looks to be related to the icon theme. For example, the icon theme "Cheser" had all the icons where as "hicolor" and "gnome" were missing some.

Last edited by GameCodingNinja; 06-04-2015 at 11:49 AM.
 
Old 06-04-2015, 02:04 PM   #6
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
I have Cheser installed as well mainly for testing as I know it isn't a complete icon set.
 
Old 06-04-2015, 05:28 PM   #7
GameCodingNinja
Member
 
Registered: Jul 2014
Posts: 100

Original Poster
Rep: Reputation: Disabled
What icon set do you that works well?
 
Old 06-04-2015, 05:33 PM   #8
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Here's some of mine:

http://xfce-look.org/content/show.ph...content=150858
http://xfce-look.org/content/show.ph...content=150142
http://keithhedger.darktech.org/pages/themes.html

Sorry blatent plug
 
Old 06-05-2015, 02:41 AM   #9
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
adwaita-icon-theme and oxygen-icons provide decent icon set and both are in BLFS. Yes, they are part of GNOME and KDE, but nothing's stoping you from installing them on any other desktop. Note that adwaita-icon-theme contains 3 other gnome-icon-themes + additions since the merging.
 
Old 06-19-2015, 01:28 PM   #10
GameCodingNinja
Member
 
Registered: Jul 2014
Posts: 100

Original Poster
Rep: Reputation: Disabled
Keith, I just want to thank you again for the script. I've added it to the end of my build process. It solves more then just the gnome apps not showing their icons. So when I install my current build from the lfs partition to the root, everything is working great from the start.
 
Old 06-19-2015, 01:52 PM   #11
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Your welcome!
 
  


Reply



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
Gnome 3, Gedit 3.0.5, when I open file with gedit, it created one more unneeded tab Mr. Alex Linux - Software 1 06-18-2011 07:58 AM
gnome no icons on newly installed apps Akheron Linux - Software 1 06-14-2009 08:35 PM
All icons disappeared from KDE apps in Gnome TheBelush Fedora 1 04-22-2005 01:47 PM
All icons disappeared from KDE apps in Gnome in FC3 TheBelush Linux - Newbie 2 04-17-2005 05:41 PM
Gnome icons does not display properly rahulnsoni Linux - Newbie 1 02-09-2004 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:56 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