VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: [Solved in a way] Broken gtk ?  (Read 6605 times)

Pita

  • Vectorian
  • ****
  • Posts: 1332
[Solved in a way] Broken gtk ?
« on: November 05, 2010, 06:18:26 pm »

Suddenly in my VL6 box the icons on the desktop or panel or in aplications
are not rendered anymore. I get the error message:

"Unrecognized image file format"
or "Gtk-WARNING **: Error loading theme icon 'gtk-add' for stock: Unrecognized image file format
"
When I open properties-icons /usr/share/icons/ nothing shows yet all the
icon pictures are there.

Is it that gtk has broken and/or what would I have to reinstall to get it back?

Thanks!


« Last Edit: November 13, 2010, 12:35:42 am by Pita »
Logged

Pita

  • Vectorian
  • ****
  • Posts: 1332
Re: Broken gtk ?
« Reply #1 on: November 09, 2010, 05:03:09 pm »

Suddenly in my VL6 box the icons on the desktop or panel or in aplications
are not rendered anymore. I get the error message:

"Unrecognized image file format"
or "Gtk-WARNING **: Error loading theme icon 'gtk-add' for stock: Unrecognized image file format
"
When I open properties-icons /usr/share/icons/ nothing shows yet all the
icon pictures are there.

Is it that gtk has broken and/or what would I have to reinstall to get it back?

Thanks!

Now I found that this not showing of icons or pictures like in gthumb happens only
for me the user and as sudo. As root all runs perfect. Gedit crashes with this
notice:
Gtk:ERROR:gtkrecentmanager.c:1933:get_icon_fallback: assertion failed: (retval != NULL)
Aborted,
however, not when opened as root.

In VL6SOHO where I use the /home directory partition all icons show, therefore
I conclude the defect  cannot be in this directory.

May be this new info gives someone an idea how to fix. :)



[/quote]
« Last Edit: November 09, 2010, 07:33:15 pm by Pita »
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3234
Re: Broken gtk ?
« Reply #2 on: November 10, 2010, 06:42:49 am »

post your ~/.gtkrc-2.0 and ~/.gtkrc-mine if exists

Pita

  • Vectorian
  • ****
  • Posts: 1332
Re: Broken gtk ?
« Reply #3 on: November 10, 2010, 08:04:10 pm »

post your ~/.gtkrc-2.0 and ~/.gtkrc-mine if exists

cat ~/.gtkrc-2.0
# -- THEME AUTO-WRITTEN DO NOT EDIT
include "/usr/share/themes/Clearlooks/gtk-2.0/gtkrc"
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-font-name="Liberation Sans 10"
gtk-icon-theme-name="UltimateGnome"

sudo cat /root/.gtkrc-2.0
# -- THEME AUTO-WRITTEN DO NOT EDIT
include "/usr/share/themes/Clearlooks/gtk-2.0/gtkrc"
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-font-name="Liberation Sans 10"
gtk-icon-theme-name="UltimateGnome"

There is no .gtkrc-mine

So .gtkrc-2.0 are the same for user and root.

In VLSOHO where I do not have the problem using the same /home/user
partition. BTW "same" is missing in my last post.

What it boils down to is that all picture files cannot be opened with certain
applications.

Does this help?

 @~:$  gthumb bread.gif

** (gthumb:26011): WARNING **: Owner of /tmp/orbit-heisspf-2828a8e8 is not the current user


(gthumb:26011): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

I changed the user of this file to my user name and still get  the 'failed' message.
Logged

vector

  • Administrator
  • Vectorite
  • *****
  • Posts: 484
Re: Broken gtk ?
« Reply #4 on: November 10, 2010, 08:27:41 pm »

Get root access then run in a terminal 'update-pango-querymodules' see if that doesn't help the situation.
Let us know.

Cheers,
Vec
Logged

Pita

  • Vectorian
  • ****
  • Posts: 1332
Re: Broken gtk ?
« Reply #5 on: November 10, 2010, 11:05:42 pm »

Get root access then run in a terminal 'update-pango-querymodules' see if that doesn't help the situation.
Let us know.

Cheers,
Vec

Thanks!
File 'update-pango-querymodules' was not in my box. Copied it over from SOHO.
Would not run, looking for some files in /etc/pango/.
Even so I am about ready to switch to SOHO I still would like to solve this puzzle first
just for the interest of it if it is possible.

Logged

Pita

  • Vectorian
  • ****
  • Posts: 1332
Re: Broken gtk ?
« Reply #6 on: November 11, 2010, 07:50:59 pm »

Get root access then run in a terminal 'update-pango-querymodules' see if that doesn't help the situation.
Let us know.

Cheers,
Vec

Thanks!
File 'update-pango-querymodules' was not in my box. Copied it over from SOHO.
Would not run, looking for some files in /etc/pango/.
Even so I am about ready to switch to SOHO I still would like to solve this puzzle first
just for the interest of it if it is possible.

Copied /etc/pango over from SOHO. 'update-pango-querymodules' did run now and
nothing chaged.

To recap:

Only as user and not as root

Most applications like gqview, eog or gthumb cannot read anymore picture files, .gif or .png.

Icons on the desktop, panels or themes in applications are not being rendered.

Some applications like gedit even crash.

Opening applications the following and more error messages show:
 Gtk-WARNING **: Error loading theme icon 'gtk-refresh' for stock: Unrecognized image file format

xv and ImageMagik can read and display .gif and .png files.

In VL6SOHO and VL7 I am using the same /home/user directory as in my VL6 box and there is no such problem
in these 2 versions.

This freaking happened all-of-a-sudden and I am not aware having tinkered
with anything.
Logged

Pita

  • Vectorian
  • ****
  • Posts: 1332
Re: Broken gtk ?
« Reply #7 on: November 12, 2010, 10:22:18 pm »

Get root access then run in a terminal 'update-pango-querymodules' see if that doesn't help the situation.
Let us know.

Cheers,
Vec

Thanks!
File 'update-pango-querymodules' was not in my box. Copied it over from SOHO.
Would not run, looking for some files in /etc/pango/.
Even so I am about ready to switch to SOHO I still would like to solve this puzzle first
just for the interest of it if it is possible.

Copied /etc/pango over from SOHO. 'update-pango-querymodules' did run now and
nothing chaged.

To recap:

Only as user and not as root

Most applications like gqview, eog or gthumb cannot read anymore picture files, .gif or .png.

Icons on the desktop, panels or themes in applications are not being rendered.

Some applications like gedit even crash.

Opening applications the following and more error messages show:
 Gtk-WARNING **: Error loading theme icon 'gtk-refresh' for stock: Unrecognized image file format

xv and ImageMagik can read and display .gif and .png files.

In VL6SOHO and VL7 I am using the same /home/user directory as in my VL6 box and there is no such problem
in these 2 versions.

This freaking happened all-of-a-sudden and I am not aware having tinkered
with anything.

I just added a new user and behold all picture files show with this new user.
Logged

Pita

  • Vectorian
  • ****
  • Posts: 1332
Re: Broken gtk ?
« Reply #8 on: November 13, 2010, 12:34:48 am »

Get root access then run in a terminal 'update-pango-querymodules' see if that doesn't help the situation.
Let us know.

Cheers,
Vec

Thanks!
File 'update-pango-querymodules' was not in my box. Copied it over from SOHO.
Would not run, looking for some files in /etc/pango/.
Even so I am about ready to switch to SOHO I still would like to solve this puzzle first
just for the interest of it if it is possible.

Copied /etc/pango over from SOHO. 'update-pango-querymodules' did run now and
nothing chaged.

To recap:

Only as user and not as root

Most applications like gqview, eog or gthumb cannot read anymore picture files, .gif or .png.

Icons on the desktop, panels or themes in applications are not being rendered.

Some applications like gedit even crash.

Opening applications the following and more error messages show:
 Gtk-WARNING **: Error loading theme icon 'gtk-refresh' for stock: Unrecognized image file format

xv and ImageMagik can read and display .gif and .png files.

In VL6SOHO and VL7 I am using the same /home/user directory as in my VL6 box and there is no such problem
in these 2 versions.

This freaking happened all-of-a-sudden and I am not aware having tinkered
with anything.

I just added a new user and behold all picture files show with this new user.

That gave me an idea and I was able to solve it. Deleted me as user, added me as user in new /home.
Upgraded with mc new /home/from old /home and bang there I am with all controls working. ;D ;D
[/quote]

Now I had even a better idea. I copied all the hidden directories and files from the
new user to my old /home/user and all is back to normal in my beloved box.
« Last Edit: November 13, 2010, 05:14:13 pm by Pita »
Logged

Pita

  • Vectorian
  • ****
  • Posts: 1332
Re: [Solved in a way] Broken gtk ?
« Reply #9 on: November 16, 2010, 07:12:32 pm »

I just caught the culprit in the act which causes this mess with the icons:

IT IS opera 10.63.

I installed it in my home directory and when it had finished the icons could
not open any longer as described above. Quickly deleted this opera version
and restored my icons by copying all the hidden directories from the
new user to my old /home/user.

Beware of the new Opera!!!
Logged

roarde

  • Vectorian
  • ****
  • Posts: 604
  • move the needle
Re: [Solved in a way] Broken gtk ?
« Reply #10 on: November 16, 2010, 07:32:25 pm »

I wonder if the new Opera links against or somehow calls libpng 1.4.x. This won't work in 6, will in 7 and, I think, SOHO.
Logged
Robert
VL 7.1 Light RC 2

GrannyGeek

  • Packager
  • Vectorian
  • ****
  • Posts: 2567
Re: [Solved in a way] Broken gtk ?
« Reply #11 on: November 16, 2010, 09:42:09 pm »

I have Opera 10.63 installed and working without problems in VL6 Light and VL6 SOHO Deluxe. I doubt libpng is a problem. Opera 10.63 is on four computers here, two have VL6 Light and two have VL6 SOHO Deluxe.
--GrannyGeek
Logged
Registered Linux User #397786

Happily running VL 7 Gold on  a Sempron LE-1300 desktop (2.3 GHz), 4 G RAM,  GeForce 6150 SE onboard graphics and on an HP Pavilion dv7 i7, 6 gigs, Intel 2nd Generation Integrated Graphics Controller