You are not logged in.

#1 2013-08-04 15:38:12

pinoteres
Member
From: Kraków, PL
Registered: 2013-05-16
Posts: 3

[SOLVED] No default Gnome icons after update, Gnome crash.

After recent system update (including  gnome-themes-standard) most of standard (Adwaita theme) Gnome 3 icons disappeared (instead of them is visible blank white icon with red "x").
What is worse running some of applications makes Gnome 3 crash with dumb "Oh no!" BSOD.

Example log from GEdit (attempt to run was enough to "Oh no!")

(gedit:17663): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.

(gedit:17663): Gtk-WARNING **: Error loading theme icon 'text-x-generic' for stock: Unrecognized image file format

** (gedit:17663): WARNING **: Could not load theme icon system-file-manager: Unrecognized image file format

(gedit:17663): Gtk-WARNING **: Error loading theme icon 'document-new' for stock: Unrecognized image file format

(gedit:17663): Gtk-WARNING **: Error loading theme icon 'document-open' for stock: Unrecognized image file format

...

(gedit:17663): Gtk-WARNING **: Error loading theme icon 'edit-find-replace' for stock: Unrecognized image file format

(gedit:17663): Gdk-WARNING **: gedit: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

In /var/log/gdm nothing particularly interesting appeared, neither in ~/.xsession-errors.

I found that switch to other icon set solves the issue.

I've checked my icons directory

[przemek@probook Adwaita]$ pwd
/usr/share/icons/Adwaita
[przemek@probook Adwaita]$ tree
.
`-- cursors
    |-- 00008160000006810000408080010102
    |-- 028006030e0e7ebffc7f7070c0600140
    |-- 03b6e0fcb3499374a867c041f52298f0
    |-- 08e8e1c95fe2fc01f976f1e063a24ccd
    |-- 1081e37283d90000800003c07f3ef6bf
    |-- 14fef782d02440884392942c11205230
    |-- 2870a09082c103050810ffdffffe0204
    |-- 3085a0e285430894940527032f8b26df
    |-- 3ecb610c1bf2410f44200f48c40d3599
    |-- 4498f0e0c1937ffe01fd06f973665830
    |-- 5c6cd98b3f3ebcb1f9c7f1c204630408
    |-- 6407b0e94181790501fd1e167b474872
    |-- 640fb0e74195791501fd1ed57b41487f
    |-- 9081237383d90e509aa00f00170e968f
    |-- 9d800788f1b08800ae810202380a0822
    |-- arrow
    |-- bd_double_arrow
    |-- bottom_left_corner
    |-- bottom_right_corner
    |-- bottom_side
    |-- bottom_tee
    |-- c7088f0f3e6c8088236ef8e1e3e70000
    |-- circle
    |-- copy
    |-- cross
    |-- crossed_circle
    |-- crosshair
    |-- cross_reverse
    |-- d9ce0ab605698f320427677b458ad60b
    |-- diamond_cross
    |-- dnd-ask
    |-- dnd-copy
    |-- dnd-link
    |-- dnd-move
    |-- dnd-none
    |-- dotbox
    |-- dot_box_mask
    |-- double_arrow
    |-- draft_large
    |-- draft_small
    |-- draped_box
    |-- e29285e634086352946a0e7090d73106
    |-- fcf1c3c7cd4491d801f1e1c78f100000
    |-- fd_double_arrow
    |-- fleur
    |-- grabbing
    |-- hand
    |-- hand1
    |-- hand2
    |-- h_double_arrow
    |-- help
    |-- icon
    |-- left_ptr
    |-- left_ptr_help
    |-- left_ptr_watch
    |-- left_side
    |-- left_tee
    |-- link
    |-- ll_angle
    |-- lr_angle
    |-- move
    |-- pencil
    |-- pirate
    |-- plus
    |-- question_arrow
    |-- right_ptr
    |-- right_side
    |-- right_tee
    |-- sb_down_arrow
    |-- sb_h_double_arrow
    |-- sb_left_arrow
    |-- sb_right_arrow
    |-- sb_up_arrow
    |-- sb_v_double_arrow
    |-- target
    |-- tcross
    |-- top_left_arrow
    |-- top_left_corner
    |-- top_right_corner
    |-- top_side
    |-- top_tee
    |-- ul_angle
    |-- ur_angle
    |-- v_double_arrow
    |-- watch
    |-- X_cursor
    `-- xterm

Almost everything is missing (default HighContrast icon set which works for me has much more directories and icons).
How pathetic is that the lack of few image files makes whole UI crash?!

Pacman tells me the /usr/share/icons/Adwaita is owned by gnome-themes-standard package, which downgrade does not resolve the problem - no missing icon was restored.

The question is how to restore original Gnome icons set (provided by gnome-themes-standard (?)) ?

Last edited by pinoteres (2013-08-05 17:27:19)

Offline

#2 2013-08-05 15:57:43

isacdaavid
Member
From: México
Registered: 2011-11-21
Posts: 76
Website

Re: [SOLVED] No default Gnome icons after update, Gnome crash.

Don't worry about Adwaita, it's only a cursor icon set and the GTK themes under /usr/share/themes/Adwaita/. The actual Gnome icon set should be found in /usr/share/icons/gnome/. There are few packages populating that directory and they can be installed/reinstalled with:

# pacman -S $(pacman -Ssq gnome-icon-theme)

If that doesn't make the trick take a look at this topic. From the output I can tell you have a problem loading image files, and gdk-pixbuf2 is in charge for that. Also try playing with gtk-update-icon-cache.

Last edited by isacdaavid (2013-08-05 21:13:40)

Offline

#3 2013-08-05 17:26:06

pinoteres
Member
From: Kraków, PL
Registered: 2013-05-16
Posts: 3

Re: [SOLVED] No default Gnome icons after update, Gnome crash.

Thanks. Reinstalation of gnome-icon-theme solved my case.

--force was needed because I had those icons in my filesystem (but they were 0 bytes size)

[przemek@probook actions]$ pwd
/usr/share/icons/gnome/16x16/actions
[przemek@probook actions]$ ls -la | head
razem 24
drwxr-xr-x  2 root root 20480 07-31 18:13 .
drwxr-xr-x 12 root root  4096 2012-11-15  ..
lrwxrwxrwx  1 root root    12 07-31 11:21 add.png -> list-add.png
-rw-r--r--  1 root root     0 07-31 11:21 address-book-new.png
-rw-r--r--  1 root root     0 07-31 11:21 application-exit.png
-rw-r--r--  1 root root     0 07-31 11:21 appointment-new.png
lrwxrwxrwx  1 root root    19 07-31 11:21 appointment.png -> appointment-new.png
lrwxrwxrwx  1 root root    15 07-31 11:21 back.png -> go-previous.png
lrwxrwxrwx  1 root root    16 07-31 11:21 bookmark_add.png -> bookmark-new.png

They got modified when I was at work and my (very private) laptop was presumably suspended. Weird.
I've tried to check what happened with /var/log/everything.log but it was last modified at 06-07 22:39, generally lots of logs ends at that time (journalctl is now primary log??? (unfortunately it does not contain so old data)).

/usr/share/icons/gnome directory was not owned by this package

[przemek@probook ~]$ pacman -Qo /usr/share/icons/gnome
/usr/share/icons/gnome is owned by gnome-icon-theme-extras 3.6.2-1
/usr/share/icons/gnome is owned by gnome-icon-theme-symbolic 3.8.3-1
/usr/share/icons/gnome is owned by libgweather 3.8.2-1
/usr/share/icons/gnome is owned by libreoffice-common 4.0.4-1

And gnome-icon-theme package info looks broken

[przemek@probook ~]$ pacman -Qi gnome-icon-theme
Name           : gnome-icon-theme
Version        : 3.8.3-1
Description    : None
Architecture   : None
URL            : None
Licenses       : None
Groups         : None
Provides       : None
Depends On     : None
Optional Deps  : None
Required By    : eog  evince  gnome-icon-theme-extras  gnome-system-monitor  libgweather  nautilus  network-manager-applet  system-config-printer  totem  vinagre
Optional For   : None
Conflicts With : None
Replaces       : None
Installed Size :   0.00 KiB
Packager       : None
Build Date     : None
Install Date   : None
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Unknown

Offline

Board footer

Powered by FluxBB