LinuxQuestions.org
Visit Jeremy's Blog.
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 08-27-2012, 10:06 AM   #1
TKH
Member
 
Registered: Jul 2011
Location: Milky Way
Distribution: Ubuntu, LFS, Slackware, Fedora
Posts: 223

Rep: Reputation: 20
XFCE4 Icon Problem


Hi, I just compiled and installed XFCE-4.10 Desktop, and I found out that the Desktop I just compiled cannot display icon (I also tried looking to "Start => Setting => Appearance => Icon" menu)

I use the LFS-7.0 as my base, with i686 arch.
I have installed all the required, recommended, and some optional packages.

Anyone have encountered this problem?
 
Old 08-28-2012, 08:01 PM   #2
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
You can download and install icon sets from xfce-look.org/icons. Just add them to the .icons folder in your home directory. If properly extracted and installed, they should appear in your Xfce-menu --> Settings --> Appearance --> icons tab.

Luck!
 
2 members found this post helpful.
Old 08-28-2012, 11:53 PM   #3
TKH
Member
 
Registered: Jul 2011
Location: Milky Way
Distribution: Ubuntu, LFS, Slackware, Fedora
Posts: 223

Original Poster
Rep: Reputation: 20
can i use the default hicolor icons?
 
Old 08-29-2012, 12:14 AM   #4
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
If your Xfce compiled and installed correctly, you should find the hicolor icons in /usr/share/icons/hicolor. If they're not working by default, you can copy that entire directory to your ~/.icons directory, making sure you have proper permissions after copying, of course.

From the Xfce Wiki:

Quote:
Icons

-- Extract the theme in ~/.icons
-System wide installation in ${sysprefix}/share/icons
-- Optional: run gtk-update-icon-cache -f -t ~/.icons/<theme_name> to create an icon cache 1)
-- If the theme contains scalable icons (~/.icons/<theme_name>/scalable) make sure you have librsvg installed
-- Select the theme in the User Interface Settings (2nd tab, Xfce 4.4.x) or in the Appearance Settings (2nd tab, Xfce 4.6.x)

When you have icon theme problems, it's also recommended to install the hicolor-icon-theme package.
 
Old 08-29-2012, 02:34 AM   #5
TKH
Member
 
Registered: Jul 2011
Location: Milky Way
Distribution: Ubuntu, LFS, Slackware, Fedora
Posts: 223

Original Poster
Rep: Reputation: 20
it still doesn't show up

Btw, I noticed that some package-specific icons (thunar, panel setting, power manager setting, WM settings, session setting are all that i noticed) have their icons shown. When I copy the /usr/share/icons/* to ~/.icons , these icons went missing.

I see also that there are always these warnings:
Quote:
GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion `G_IS_LOADABLE_ICON (icon)' failed
 
Old 08-29-2012, 10:56 AM   #6
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Hmm... GLib warnings - not so good. Personally, I wouldn't rack my brain trying to debug this. I would probably remove the current installation and recompile the Xfce again and see what happens.
 
1 members found this post helpful.
Old 08-29-2012, 11:36 PM   #7
TKH
Member
 
Registered: Jul 2011
Location: Milky Way
Distribution: Ubuntu, LFS, Slackware, Fedora
Posts: 223

Original Poster
Rep: Reputation: 20
So is it some kind of error from the mis-compiling?
The strange thing is, why is it affects just icon?

I think there is a pattern on which the icons are missing:
- All the icons on the dock (which are mostly commands)
- The settings from xfce4-settings
- The start menu icons
- File icons
 
Old 08-30-2012, 12:24 AM   #8
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Those are basically all the icons in the icon theme. The issue may be with the icons only because there is an issue with the compiling that is affecting rendering of .png images, which is what the entire default hicolor icon set contains. Purely a guess, though.

What method did you use to build this on your LFS system? This one --> http://docs.xfce.org/xfce/building

It can be a chore to troubleshoot a bad build, if that's what it actually is that's causing you these issues. If you're young and have lots of time on your hands, go for it. As you get older, though, you begin to prefer quicker solutions... re-compile, for example.
 
1 members found this post helpful.
Old 08-30-2012, 05:47 AM   #9
TKH
Member
 
Registered: Jul 2011
Location: Milky Way
Distribution: Ubuntu, LFS, Slackware, Fedora
Posts: 223

Original Poster
Rep: Reputation: 20
A little details, I hope it helps:

LDFLAGS=-s CC='gcc -s'
CFLAGS=CPPFLAGS=CXXFLAGS='-Os -pipe -fomit-frame-pointer -march=i686'

I have installed all the required and recommended dependencies, and almost all of the optional ones; except for thunar-volman and packages from gnome.

Does that add some clue?
 
Old 08-30-2012, 10:55 AM   #10
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
No help. Sorry. If you someone else here at LQ.org doesn't jump in with some advice, TKH, I would suggest contacting the LFS community and see if anyone there has experienced this same issue and may possibly know a way to resolve it for you. If you do find a solution outside or LQ.org, please post here what happened. I'm curious, you know.

Regards,

~Eric
 
1 members found this post helpful.
Old 08-30-2012, 02:17 PM   #11
TKH
Member
 
Registered: Jul 2011
Location: Milky Way
Distribution: Ubuntu, LFS, Slackware, Fedora
Posts: 223

Original Poster
Rep: Reputation: 20
I actually joined the BLFS-Support mailing list.
I also have asked about this at my local forum.

Still no solution...

Well, I decided to reset all the procedure from before I install X11.

I'll give you the update
 
Old 08-30-2012, 02:59 PM   #12
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
OK. Luck with it.
 
Old 08-31-2012, 07:44 AM   #13
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,155

Rep: Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857Reputation: 857
Try installing a decent icon theme from xfce-look.org ( I would suggest nouvou-grey ).
Also run these commands ( as root )
Code:
/usr/bin/gdk-pixbuf-query-loaders --update-cache
fc-cache -f
gtk-update-icon-cache /usr/share/icons/hicolor
gtk-update-icon-cache /usr/share/icons/gnome
/usr/bin/pango-querymodules > /etc/pango/pango.modules
This should update the various caches.
 
1 members found this post helpful.
Old 09-04-2012, 07:48 AM   #14
TKH
Member
 
Registered: Jul 2011
Location: Milky Way
Distribution: Ubuntu, LFS, Slackware, Fedora
Posts: 223

Original Poster
Rep: Reputation: 20
Okay, now I have reinstalled all the tools needed for XFCE.

There are some changes:
  • No more "GLib-GIO-CRITICAL" thingy again
  • Some icons starts to appear, but most still don't show up, I'm pretty sure that this is caused by runtime error, but I don't know what to do.
  • There is this warning:
    Code:
    Gtk-WARNING **: Locale not supported by C library
    Using the fallback 'C' locale
    I don't even think it's important...
    Is there anyone who know how to set the locale to "C"? It's not like I care that much, but kinda annoying to me.
 
Old 09-04-2012, 08:40 AM   #15
TKH
Member
 
Registered: Jul 2011
Location: Milky Way
Distribution: Ubuntu, LFS, Slackware, Fedora
Posts: 223

Original Poster
Rep: Reputation: 20
Quote:
Originally Posted by TKH View Post
  • There is this warning:
    Code:
    Gtk-WARNING **: Locale not supported by C library
    Using the fallback 'C' locale
    I don't even think it's important...
    Is there anyone who know how to set the locale to "C"? It's not like I care that much, but kinda annoying to me.
I got this one fixed
 
  


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
xfce4 panel icon ordering slac-in-the-box Linux - Desktop 2 04-10-2012 04:45 PM
[SOLVED] wicd xfce4 dbus notification-icon problem radiodee1 Debian 3 02-13-2012 12:42 PM
xfce4 and icon for xfce4-mixer vehn Slackware 1 11-15-2008 03:37 PM
icon problem in xfce4 panel using slackware 10 gravityworks Slackware 2 06-27-2004 02:46 PM
XFCE4 - permanent icon creation loadedmind Linux - Software 3 10-25-2003 10:56 PM

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

All times are GMT -5. The time now is 01:00 AM.

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