Mutate icon indicating copy to clipboard operation
Mutate copied to clipboard

No application icons

Open codeThatThinks opened this issue 10 years ago • 17 comments

All applications display a generic executable icon instead of the application icon on Arch Linux.

no-icons

I'm not entirely sure why this is happening, but it could be a missing dependency, an issue with the way Mutate gets app icons on Arch, or the fact the Arch runs newer versions of libraries compared to other distros like Ubuntu.

codeThatThinks avatar Feb 10 '15 22:02 codeThatThinks

In addition, I'm getting the following errors, which may be related:

(process:10038): Gtk-CRITICAL **: IA__gtk_icon_theme_lookup_by_gicon: assertion 'GTK_IS_ICON_THEME (icon_theme)' failed

(process:10038): Gtk-CRITICAL **: IA__gtk_icon_info_load_icon: assertion 'icon_info != NULL' failed

(process:10038): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_bits_per_sample: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(process:10038): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(process:10038): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(process:10038): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(process:10038): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_has_alpha: assertion 'GDK_IS_PIXBUF (pixbuf)' failed

(process:10038): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
conversion failed: Fatal error in PNG image file: Invalid IHDR data

codeThatThinks avatar Feb 10 '15 22:02 codeThatThinks

Does Arch Linux use gnome?

qdore avatar Feb 17 '15 03:02 qdore

I use g_app_info_get_icon to get icon at Mutate/src/widget.cpp:275, this function may not work fine on Arch Linux

qdore avatar Feb 17 '15 03:02 qdore

Arch Linux doesn't come preinstalled with a specific desktop environment. Some users run Gnome, but many do not.

I'm not running a specific desktop, just a lightweight install of bspwm.

Is there a way to look up .desktop files and application icons without Gnome? It looks like that's the only reason Gtk is a dependency.

codeThatThinks avatar Feb 17 '15 18:02 codeThatThinks

Any solution would have to be independent of distro or desktop environment.

codeThatThinks avatar Feb 17 '15 18:02 codeThatThinks

@codeThatThinks , there is dmenu2 for same purpose while this gets solved. IMHO dmenu2 is for launching programs , while Mutate is somewhat Alfred inspired launcher which manages a lot other things.

agauniyal avatar Feb 22 '15 17:02 agauniyal

I'm aware that dmenu can be used for launching applications. I should have been more clear, I am wondering if there is a library available for reading .desktop files and icon themes that works regardless of desktop environment. It would be a lot easier if we could include something like that rather than write something from scratch.

codeThatThinks avatar Feb 22 '15 19:02 codeThatThinks

Also seeing this on Void Linux, running Openbox, with both GTK+ and GTK+3. Also, doesn't seem to recognize some applications. For example, typing Firefox into the window results in a google search, rather than launching the app.

antonio-malcolm avatar Apr 01 '15 01:04 antonio-malcolm

Same issue on elementary freya

rodrigolopezguerra avatar Apr 13 '15 22:04 rodrigolopezguerra

@qdore is this in the roadmap at some point? :)

Issue seems to be related to :

GtkIconTheme *pGtkIconTheme = gtk_icon_theme_get_default();

if you use GtkIconTheme *pGtkIconTheme= gtk_icon_theme_new();

lots of the icons appear. I'm couldn't figure out why gtk_icon_theme_get_default() is returning NULL

rodrigolopezguerra avatar Apr 14 '15 19:04 rodrigolopezguerra

Looks like libqtxdg might work as a replacement for gtk. It's DE-independent and is available in the official repos for Ubuntu.

codeThatThinks avatar Apr 28 '15 23:04 codeThatThinks

@codeThatThinks any news on this?

rodrigolopezguerra avatar Jun 03 '15 15:06 rodrigolopezguerra

I'm using Mutate on Linux Mint Cinnamon 17.1 and it is not showing application icons as well.

ishu3101 avatar Sep 25 '15 05:09 ishu3101

Ubuntu 15.10. I'm having the same problem.

pavelbrilliant avatar Feb 19 '16 22:02 pavelbrilliant

Elementary Loki (Ubuntu 16.04). Same problem.

jyotishp avatar Jun 18 '16 08:06 jyotishp

Ubuntu 16.04, facing the same issue.

(mutate:26435): Gtk-CRITICAL *: IA__gtk_icon_theme_lookup_by_gicon: assertion 'G_IS_ICON (icon)' failed (mutate:26435): Gtk-CRITICAL *: IA__gtk_icon_info_load_icon: assertion 'icon_info != NULL' failed (mutate:26435): Gtk-CRITICAL *: IA__gtk_icon_info_load_icon: assertion 'error == NULL *error == NULL' failed (mutate:26435): Gtk-CRITICAL *: IA__gtk_icon_info_load_icon: assertion 'error == NULL error == NULL' failed (mutate:26435): Gtk-CRITICAL *: IA__gtk_icon_info_load_icon: assertion 'error == NULL error == NULL' failed (mutate:26435): Gtk-CRITICAL *: IA__gtk_icon_info_load_icon: assertion 'error == NULL *error == NULL' failed

rahulghanate avatar Nov 19 '16 14:11 rahulghanate

I'm having the exact same problem, also I can't seem to autostart Mutate on log in or save any preference.

noranazmy avatar Aug 30 '17 14:08 noranazmy