Skip to content

can't launch discord from rofi #124965

Open
Open

Description

@skandix

Describe the bug
After the new version from Discord (0.0.15) i'm not able to launch discord from rofi, as its just chrasing

To Reproduce

  1. rofi -show run
  2. Pick Discord in the list
  3. Starting to start, and Crashing.

Expected behavior
It should spawn discord as normal, and not crash

Screenshots
If applicable, add screenshots to help explain your problem.
discord_not_spawning

Additional context
Add any other context about the problem here.

  • Dump from running discord from rofi. (rofi -show run &> wtf_rofi then choosing Discord.)
       │ File: wtf_rofi
───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ Discord 0.0.15
   2   │ (node:2818) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
   3   │ Starting app.
   4   │ Starting updater.
   5   │ [Modules] Modules initializing
   6   │ [Modules] Distribution: remote
   7   │ [Modules] Host updates: enabled
   8   │ [Modules] Module updates: enabled
   9   │ [Modules] Module install path: /home/skandix/.config/discord/0.0.15/modules
  10   │ [Modules] Module installed file path: /home/skandix/.config/discord/0.0.15/modules/installed.json
  11   │ [Modules] Module download path: /home/skandix/.config/discord/0.0.15/modules/pending
  12   │ [Modules] No updates to install
  13   │ [Modules] Checking for host updates.
  14   │ [Modules] Host is up to date.
  15   │ [Modules] Checking for module updates at https://discord.com/api/modules/stable/versions.json
  16   │ [Modules] No module updates available.
  17   │
  18   │ (Discord:2818): LIBDBUSMENU-GTK-WARNING **: 15:50:34.001: Unable to create pixbuf data stream: Image type “png” is not supported
  19   │
  20   │ (Discord:2818): LIBDBUSMENU-GTK-WARNING **: 15:50:34.001: Unable to create pixbuf data stream: Image type “png” is not supported
  21   │
  22   │ (Discord:2818): Gtk-WARNING **: 15:50:34.127: Could not load a pixbuf from icon theme.
  23   │ This may indicate that pixbuf loaders or the mime database could not be found.
  24   │ **
  25   │ Gtk:ERROR:../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /run/current-system/sw/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognised image file format (gdk-pixbuf-error-quark, 3)
  26   │ Bail out! Gtk:ERROR:../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /run/current-system/sw/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognised image file format (gdk-pixbuf-error-quark, 3)
  27   │ Cannot upload crash dump: cannot exec /usr/bin/wget
  28   │
  29   │ Unexpected crash report id length
  30   │ Failed to get crash dump id.
  31   │ Report Id:

Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.119, NixOS, 20.09.4204.76ed24ceab9 (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.11`
 - channels(skandix): `"home-manager-20.09, nixos-hardware"`
 - channels(root): `"home-manager-20.09, nixos-20.09.4204.76ed24ceab9, nixos-hardware"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Activity

  1. added
    0.kind: bug
    on May 30, 2021
  2. SCOTT-HAMILTON commented on May 30, 2021

    @SCOTT-HAMILTON
    Contributor

    Your discord seems to be missing libpng, could you give the output of this command :

    $ ldd "$(readlink -f $(which Discord)|rev|cut -d/ -f2-|rev)/.Discord-wrapped"
    

    We should also verify that this file is indeed a png file :

    $ file /run/current-system/sw/share/icons/Adwaita/16x16/status/image-missing.png
    
  3. skandix commented on May 30, 2021

    @skandix
    Author
    • ldd "$(readlink -f $(which Discord)|rev|cut -d/ -f2-|rev)/.Discord-wrapped"
    	linux-vdso.so.1 (0x00007fff3a461000)
    	libffmpeg.so => /nix/store/q0zm2ziszxdm18ly3x5ass6cprwqwj0i-discord-0.0.15/opt/Discord/libffmpeg.so (0x00007fe830511000)
    	libdl.so.2 => /nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib/libdl.so.2 (0x00007fe83050c000)
    	libpthread.so.0 => /nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib/libpthread.so.0 (0x00007fe8304eb000)
    	librt.so.1 => /nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib/librt.so.1 (0x00007fe8304e1000)
    	libgobject-2.0.so.0 => /nix/store/ai5054xzilz0q285c0ldabmkvhyyl6yq-glib-2.64.6/lib/libgobject-2.0.so.0 (0x00007fe830482000)
    	libglib-2.0.so.0 => /nix/store/ai5054xzilz0q285c0ldabmkvhyyl6yq-glib-2.64.6/lib/libglib-2.0.so.0 (0x00007fe830357000)
    	libgio-2.0.so.0 => /nix/store/ai5054xzilz0q285c0ldabmkvhyyl6yq-glib-2.64.6/lib/libgio-2.0.so.0 (0x00007fe83018a000)
    	libX11.so.6 => /nix/store/q837f5zzr4gkm61fhybdhbkbj2bnpjrb-libX11-1.6.12/lib/libX11.so.6 (0x00007fe830046000)
    	libX11-xcb.so.1 => /nix/store/q837f5zzr4gkm61fhybdhbkbj2bnpjrb-libX11-1.6.12/lib/libX11-xcb.so.1 (0x00007fe830041000)
    	libxcb.so.1 => /nix/store/cwhm3sz7d34hfqxvpn0yp85mnnp7aks2-libxcb-1.13.1/lib/libxcb.so.1 (0x00007fe830016000)
    	libxcb-dri3.so.0 => /nix/store/cwhm3sz7d34hfqxvpn0yp85mnnp7aks2-libxcb-1.13.1/lib/libxcb-dri3.so.0 (0x00007fe830010000)
    	libXcomposite.so.1 => /nix/store/jfyj9wyvlg2fqs7w3v7d9plb47mfgmj3-libXcomposite-0.4.5/lib/libXcomposite.so.1 (0x00007fe830009000)
    	libXcursor.so.1 => /nix/store/bxfa8j59fh63lm1pxrivnmfb5xb1zpia-libXcursor-1.2.0/lib/libXcursor.so.1 (0x00007fe82fffc000)
    	libXdamage.so.1 => /nix/store/g1d233yaif4kjl6cb15fcl4b7y9cih78-libXdamage-1.1.5/lib/libXdamage.so.1 (0x00007fe82fff7000)
    	libXext.so.6 => /nix/store/6fmzsy5bim0255q8pmbcq8lrayp0zh1q-libXext-1.3.4/lib/libXext.so.6 (0x00007fe82ffe2000)
    	libXfixes.so.3 => /nix/store/cigrmplk07w13vi61nw0pik4jyn5sbll-libXfixes-5.0.3/lib/libXfixes.so.3 (0x00007fe82ffda000)
    	libXi.so.6 => /nix/store/5iyk6vh4w1i3cqhdrh8pl3bba5k25d50-libXi-1.7.10/lib/libXi.so.6 (0x00007fe82ffc5000)
    	libXrender.so.1 => /nix/store/8hxbn8qwp6slfys6bpi0qns6gbgzs4r2-libXrender-0.9.10/lib/libXrender.so.1 (0x00007fe82ffb8000)
    	libXtst.so.6 => /nix/store/53h3q6hmn2aapl9lzn7yc19nbi0imnjr-libXtst-1.2.3/lib/libXtst.so.6 (0x00007fe82ffb0000)
    	libnss3.so => /nix/store/bli00bnggzsir939wzy6b0jr2myw2qvd-nss-3.56/lib/libnss3.so (0x00007fe82fe79000)
    	libnssutil3.so => /nix/store/bli00bnggzsir939wzy6b0jr2myw2qvd-nss-3.56/lib/libnssutil3.so (0x00007fe82fe46000)
    	libsmime3.so => /nix/store/bli00bnggzsir939wzy6b0jr2myw2qvd-nss-3.56/lib/libsmime3.so (0x00007fe82fe1b000)
    	libnspr4.so => /nix/store/gs4sybyk9cjbqlm27ggg2jg55irqswwj-nspr-4.28/lib/libnspr4.so (0x00007fe82fdd6000)
    	libatk-1.0.so.0 => /nix/store/yw33abggqjgppkqnbsq7bwcibnj3brhp-atk-2.36.0/lib/libatk-1.0.so.0 (0x00007fe82fdac000)
    	libatk-bridge-2.0.so.0 => /nix/store/x34s3m2wxy2xd8qny98h752h77vr9m61-at-spi2-atk-2.34.2/lib/libatk-bridge-2.0.so.0 (0x00007fe82fd75000)
    	libdbus-1.so.3 => /nix/store/5xcaqgdigkla8xdfskw7vaz7zqdb9di5-dbus-1.12.20-lib/lib/libdbus-1.so.3 (0x00007fe82fd21000)
    	libgdk_pixbuf-2.0.so.0 => /nix/store/vx1kv1s6vw2gnnf6192hxzs10yjb9fcg-gdk-pixbuf-2.40.0/lib/libgdk_pixbuf-2.0.so.0 (0x00007fe82fcf9000)
    	libgtk-3.so.0 => /nix/store/95nv31yhncx7vdfiv51gilvjv7mifz7k-gtk+3-3.24.21/lib/libgtk-3.so.0 (0x00007fe82f53c000)
    	libgdk-3.so.0 => /nix/store/95nv31yhncx7vdfiv51gilvjv7mifz7k-gtk+3-3.24.21/lib/libgdk-3.so.0 (0x00007fe82f443000)
    	libpangocairo-1.0.so.0 => /nix/store/k86kqigi5gvpy3vxibrm4ydbpwkqc695-pango-1.45.5/lib/libpangocairo-1.0.so.0 (0x00007fe82f432000)
    	libpango-1.0.so.0 => /nix/store/k86kqigi5gvpy3vxibrm4ydbpwkqc695-pango-1.45.5/lib/libpango-1.0.so.0 (0x00007fe82f3e1000)
    	libcairo.so.2 => /nix/store/5gnxrfj9i4y9jb0w2iiq7g21zsjl1qb0-cairo-1.16.0/lib/libcairo.so.2 (0x00007fe82f2a8000)
    	libm.so.6 => /nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib/libm.so.6 (0x00007fe82f167000)
    	libXrandr.so.2 => /nix/store/0di3q5gz5kkzx0dqv85gadbi2ll3n4ic-libXrandr-1.5.2/lib/libXrandr.so.2 (0x00007fe82f15a000)
    	libexpat.so.1 => /nix/store/4imdzapglkc5css760p5ysbygg09bsw3-expat-2.2.8/lib/libexpat.so.1 (0x00007fe82f12b000)
    	libdrm.so.2 => /nix/store/ngd1j1crqhd1k60lzp4py3s6n8g2z5iw-libdrm-2.4.102/lib/libdrm.so.2 (0x00007fe82f116000)
    	libgbm.so.1 => /nix/store/a6rlrm59dv2bpw2hln2jsfs1isj6jkmq-mesa-20.1.10/lib/libgbm.so.1 (0x00007fe82f103000)
    	libXss.so.1 => /nix/store/wjhpmwl4l95habdfmcvr1pfdjzp82mr2-libXScrnSaver-1.2.3/lib/libXss.so.1 (0x00007fe82f0fe000)
    	libasound.so.2 => /nix/store/x2qczlyqsnaq26pmmz0wj4x88wcxkqhj-alsa-lib-1.2.3/lib/libasound.so.2 (0x00007fe82efff000)
    	libatspi.so.0 => /nix/store/hbd4rig55pj8rywx1f0m5kfq8azy608d-at-spi2-core-2.36.0/lib/libatspi.so.0 (0x00007fe82efc7000)
    	libcups.so.2 => /nix/store/l38mkxl5qrh5yr39j2ff53916d1lf6rj-cups-2.3.3-lib/lib/libcups.so.2 (0x00007fe82ef3c000)
    	libgcc_s.so.1 => /nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib/libgcc_s.so.1 (0x00007fe82ef22000)
    	libc.so.6 => /nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib/libc.so.6 (0x00007fe82ed63000)
    	/nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib/ld-linux-x86-64.so.2 => /nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib64/ld-linux-x86-64.so.2 (0x00007fe838759000)
    	libffi.so.7 => /nix/store/zi7j496snmhhaam2qwlkpm0dif0vj8i8-libffi-3.3/lib/libffi.so.7 (0x00007fe82ed56000)
    	libpcre.so.1 => /nix/store/w9kiwndsj8q2hvqzm993ijq0fa8svnha-pcre-8.44/lib/libpcre.so.1 (0x00007fe82ece4000)
    	libgmodule-2.0.so.0 => /nix/store/ai5054xzilz0q285c0ldabmkvhyyl6yq-glib-2.64.6/lib/libgmodule-2.0.so.0 (0x00007fe82ecdb000)
    	libz.so.1 => /nix/store/rldppqna2kya26zpdrl7p1wlbz0jgvj3-zlib-1.2.11/lib/libz.so.1 (0x00007fe82ecbe000)
    	libmount.so.1 => /nix/store/h3gimnf2xyfz1cy00lmqvaic5p74mmmk-util-linux-2.36/lib/libmount.so.1 (0x00007fe82ec5e000)
    	libselinux.so.1 => /nix/store/zgwj44hmwbhgxyw1bsia6q129rfshdws-libselinux-2.9/lib/libselinux.so.1 (0x00007fe82ec31000)
    	libresolv.so.2 => /nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib/libresolv.so.2 (0x00007fe82ec18000)
    	libXau.so.6 => /nix/store/3lfpr18x7v6la37kyjv1hn7panr1vfc5-libXau-1.0.9/lib/libXau.so.6 (0x00007fe82ec11000)
    	libXdmcp.so.6 => /nix/store/4q34y8bll217pafc18k58akvmqanpack-libXdmcp-1.1.3/lib/libXdmcp.so.6 (0x00007fe82ec09000)
    	libplds4.so => /nix/store/gs4sybyk9cjbqlm27ggg2jg55irqswwj-nspr-4.28/lib/libplds4.so (0x00007fe82ec04000)
    	libplc4.so => /nix/store/gs4sybyk9cjbqlm27ggg2jg55irqswwj-nspr-4.28/lib/libplc4.so (0x00007fe82ebfd000)
    	libsystemd.so.0 => /nix/store/zpzn7c5g58srji21flwqmxzbnaa8w29j-systemd-246.6/lib/libsystemd.so.0 (0x00007fe82eb2e000)
    	libharfbuzz.so.0 => /nix/store/z22c9761ifh2b60gncyhpzb7ykv6s7zd-harfbuzz-2.7.1/lib/libharfbuzz.so.0 (0x00007fe82ea2d000)
    	libpangoft2-1.0.so.0 => /nix/store/k86kqigi5gvpy3vxibrm4ydbpwkqc695-pango-1.45.5/lib/libpangoft2-1.0.so.0 (0x00007fe82ea14000)
    	libfontconfig.so.1 => /nix/store/fylgr4s2iid2q9c0xbqr6bq07w1isi1h-fontconfig-2.13.92-lib/lib/libfontconfig.so.1 (0x00007fe82e9ca000)
    	libfreetype.so.6 => /nix/store/2a1symv95sprifz8k861byj9584l7frb-freetype-2.10.2/lib/libfreetype.so.6 (0x00007fe82e907000)
    	libfribidi.so.0 => /nix/store/ajmcj4i9rd09i05r7zvqsjcax6ai37ld-fribidi-1.0.7/lib/libfribidi.so.0 (0x00007fe82e8e8000)
    	libcairo-gobject.so.2 => /nix/store/5gnxrfj9i4y9jb0w2iiq7g21zsjl1qb0-cairo-1.16.0/lib/libcairo-gobject.so.2 (0x00007fe82e8dc000)
    	libepoxy.so.0 => /nix/store/aq4ygwyic553vzdl63iqnpj3ssx81hnj-epoxy-1.5.4/lib/libepoxy.so.0 (0x00007fe82e7a6000)
    	libxkbcommon.so.0 => /nix/store/lpjqj7b0fpb0hgspb3s5jsrwjaq33ii3-libxkbcommon-0.10.0/lib/libxkbcommon.so.0 (0x00007fe82e761000)
    	libwayland-client.so.0 => /nix/store/66h1732nzqvxlasiw2l2as0x692p84wb-wayland-1.18.0/lib/libwayland-client.so.0 (0x00007fe82e74f000)
    	libwayland-cursor.so.0 => /nix/store/66h1732nzqvxlasiw2l2as0x692p84wb-wayland-1.18.0/lib/libwayland-cursor.so.0 (0x00007fe82e745000)
    	libwayland-egl.so.1 => /nix/store/66h1732nzqvxlasiw2l2as0x692p84wb-wayland-1.18.0/lib/libwayland-egl.so.1 (0x00007fe82e740000)
    	libXinerama.so.1 => /nix/store/idqckd064y8wb9xn2xc3s2iv0xgh2fzj-libXinerama-1.1.4/lib/libXinerama.so.1 (0x00007fe82e739000)
    	libpixman-1.so.0 => /nix/store/2268kdkyj9vh2x1mr1mncgj2lbppj5s4-pixman-0.38.4/lib/libpixman-1.so.0 (0x00007fe82e690000)
    	libEGL.so.1 => /nix/store/9740qhifn5jdrsr33ma093brm6x0wika-libglvnd-1.3.2/lib/libEGL.so.1 (0x00007fe82e67b000)
    	libpng16.so.16 => /nix/store/yljv27xqgkcwllczzr18sc483mzpxvc4-libpng-apng-1.6.37/lib/libpng16.so.16 (0x00007fe82e642000)
    	libxcb-shm.so.0 => /nix/store/cwhm3sz7d34hfqxvpn0yp85mnnp7aks2-libxcb-1.13.1/lib/libxcb-shm.so.0 (0x00007fe82e63b000)
    	libxcb-render.so.0 => /nix/store/cwhm3sz7d34hfqxvpn0yp85mnnp7aks2-libxcb-1.13.1/lib/libxcb-render.so.0 (0x00007fe82e62b000)
    	libGL.so.1 => /nix/store/9740qhifn5jdrsr33ma093brm6x0wika-libglvnd-1.3.2/lib/libGL.so.1 (0x00007fe82e59d000)
    	libwayland-server.so.0 => /nix/store/66h1732nzqvxlasiw2l2as0x692p84wb-wayland-1.18.0/lib/libwayland-server.so.0 (0x00007fe82e586000)
    	libavahi-common.so.3 => /nix/store/vx429kd8ga1v2r5ydpspybkb088151zk-avahi-0.7/lib/libavahi-common.so.3 (0x00007fe82e574000)
    	libavahi-client.so.3 => /nix/store/vx429kd8ga1v2r5ydpspybkb088151zk-avahi-0.7/lib/libavahi-client.so.3 (0x00007fe82e560000)
    	libgnutls.so.30 => /nix/store/3s6bdg4ici1qjyq2gr97jvk6h4xabg78-gnutls-3.7.1/lib/libgnutls.so.30 (0x00007fe82e35f000)
    	libcrypt.so.1 => /nix/store/0c7c96gikmzv87i7lv3vq5s1cmfjd6zf-glibc-2.31-74/lib/libcrypt.so.1 (0x00007fe82e325000)
    	libblkid.so.1 => /nix/store/h3gimnf2xyfz1cy00lmqvaic5p74mmmk-util-linux-2.36/lib/libblkid.so.1 (0x00007fe82e2d2000)
    	liblzma.so.5 => /nix/store/flamg9q8vxk3m6bkzkrp6a1jv2xa7qrr-xz-5.2.5/lib/liblzma.so.5 (0x00007fe82e2a6000)
    	liblz4.so.1 => /nix/store/9wmsdzmm1i21p225f7grkv6f78xg9n99-lz4-1.9.2/lib/liblz4.so.1 (0x00007fe82e272000)
    	libcap.so.2 => /nix/store/knfdklrhi3jhwicqlrnbs1y3s1k7cwmc-libcap-2.27-lib/lib/libcap.so.2 (0x00007fe82e26b000)
    	libgcrypt.so.20 => /nix/store/lisk3cn2zz6ccgg7j1nzsdx5ivmj43d6-libgcrypt-1.8.6/lib/libgcrypt.so.20 (0x00007fe82e14c000)
    	libgraphite2.so.3 => /nix/store/iyzlgqaynazscvh55grp66jybxa1y4bj-graphite2-1.3.14/lib/libgraphite2.so.3 (0x00007fe82e120000)
    	libbz2.so.1 => /nix/store/lipa6p96ivgwws4hp2v4zjd7jv00p04d-bzip2-1.0.6.0.1/lib/libbz2.so.1 (0x00007fe82e10d000)
    	libGLdispatch.so.0 => /nix/store/9740qhifn5jdrsr33ma093brm6x0wika-libglvnd-1.3.2/lib/libGLdispatch.so.0 (0x00007fe82e054000)
    	libGLX.so.0 => /nix/store/9740qhifn5jdrsr33ma093brm6x0wika-libglvnd-1.3.2/lib/libGLX.so.0 (0x00007fe82e01e000)
    	libssp.so.0 => /nix/store/c10296m7xgm3ksibcklb2xf48jr635x3-gcc-9.3.0-lib/lib/libssp.so.0 (0x00007fe82e019000)
    	libp11-kit.so.0 => /nix/store/shmaginmqlwfspbvg8p1by2xnqramqk7-p11-kit-0.23.22/lib/libp11-kit.so.0 (0x00007fe82dee8000)
    	libunistring.so.2 => /nix/store/h7570la4ydh3hjcf5qyxl3878z0wcjay-libunistring-0.9.10/lib/libunistring.so.2 (0x00007fe82dd65000)
    	libtasn1.so.6 => /nix/store/cqgppinax5az90xkk6vngqgmvvq2687c-libtasn1-4.16.0/lib/libtasn1.so.6 (0x00007fe82dd4d000)
    	libnettle.so.8 => /nix/store/b9s9dm1wi4k68byjgg6aw634na7pkkz8-nettle-3.7.2/lib/libnettle.so.8 (0x00007fe82dd04000)
    	libhogweed.so.6 => /nix/store/b9s9dm1wi4k68byjgg6aw634na7pkkz8-nettle-3.7.2/lib/libhogweed.so.6 (0x00007fe82dcba000)
    	libgmp.so.10 => /nix/store/1lj2b24v408awrfxw6xxv9spm9023lva-gmp-6.2.0/lib/libgmp.so.10 (0x00007fe82dc18000)
    	libgpg-error.so.0 => /nix/store/0gs7a9zv989f7sx1nr166cm759cy4jan-libgpg-error-1.38/lib/libgpg-error.so.0 (0x00007fe82dbf1000)
    
    • file /run/current-system/sw/share/icons/Adwaita/16x16/status/image-missing.png
    /run/current-system/sw/share/icons/Adwaita/16x16/status/image-missing.png: PNG image data, 16 x 16, 8-bit/color RGBA, non-interlaced
    
  4. futile commented on May 30, 2021

    @futile
    Contributor

    Does this only happen with rofi? Or also if you, e.g., launch discord from a terminal?

    Found these issues that look similar, might or might not be related:

  5. skandix commented on May 31, 2021

    @skandix
    Author

    It only happens through rofi, works fine when launching it through the terminal.
    it's after the latest discord update this started to happen, never had this kind of error with rofi from before.

    • ls -al /run/current-system/sw/share/icons/Adwaita/16x16/status/image-missing.png

    -r--r--r-- 7 root root 565 Jan 1 1970 /run/current-system/sw/share/icons/Adwaita/16x16/status/image-missing.png

  6. futile commented on May 31, 2021

    @futile
    Contributor
    $ ls -al /run/current-system/sw/share/icons/Adwaita/16x16/status/image-missing.png 
    -r--r--r-- 1 root root 565 Jan  1  1970 /run/current-system/sw/share/icons/Adwaita/16x16/status/image-missing.png
    $ ls -al $(realpath /run/current-system/sw/share/icons/Adwaita/16x16/status/image-missing.png)
    -r--r--r-- 1 root root 565 Jan  1  1970 /nix/store/56cx3n870044hwsxa08xa2a9q9zqzaw5-adwaita-icon-theme-3.36.1/share/icons/Adwaita/16x16/status/image-missing.png
    

    That seems to be the same on my system, and I just did a nix run nixpkgs/nixos-20.09#rofi --show run and started discord, which also worked fine.

  7. SCOTT-HAMILTON commented on May 31, 2021

    @SCOTT-HAMILTON
    Contributor

    Have you figured out wether this was due to a recent rofi update or a discord update ? And if so which update introduced this issue.

  8. Omoroca13 commented on Jun 10, 2021

    @Omoroca13
    Contributor

    I think the reason for this is #110805
    I have something similar with steam were the tray icon shows only the unknown icon instead of the steam icon.

    shot-1623312324

    if I try with
    nix-shell -p rofi -I nixpkgs=channel:nixos-20.09

    shot-1623312545

    it works

    so its probably something with wrapping rofi with gdk-pixbuff

    no clue how to fix this though

  9. wchresta commented on Aug 23, 2021

    @wchresta
    Member

    Ran into this same issue on Ubuntu + nix (I can't run any gtk applications through rofi that have not been installed through nix).
    The problem for me is that rofi sets $GDK_PIXBUF_MODULE_FILE for all started programs instead of just the ones coming through nix. This makes other locally installed progams use the loaders.cache in nix-store instead of my system loaders.cache.
    My dirty fix is to use overrideAttrs to get a rofi derivation without gdk-pixbuf in buildInputs:

    pkgs.rofi.overrideAttrs (oldAttrs: rec {                                                                         
      buildInputs = builtins.filter (x: x.pname != "gdk-pixbuf") oldAttrs.buildInputs;                                         
    } )

    This removes export GDK_PIXBUF_MODULE_FILE from rofi wrapper and everything works again (for me).

  10. rvalieris commented on Sep 28, 2021

    @rvalieris

    same issue here launching firefox/chromium (from ubuntu) with rofi (from nixpkgs) makes the browser crash when I try to open a file picker.
    @wchresta workaround solves the issue.

  11. stale commented on Apr 19, 2022

    @stale

    I marked this as stale due to inactivity. → More info

  12. added
    2.status: stale
    on Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug2.status: stale

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions