Running Manjaro on VirtualBox and VS Code and Insiders version always failed to start.
~
➜ code --disable-extensions --verbose
(process:3138): Gtk-WARNING **: 13:25:49.629: Locale not supported by C library.
Using the fallback 'C' locale.
Gtk-Message: 13:25:49.771: Failed to load module "canberra-gtk-module"
/snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /usr/lib/libcrypto.so.1.1)
Failed to load module: /usr/lib/gio/modules/libgioopenssl.so
/usr/lib/gio/modules/libgioremote-volume-monitor.so: undefined symbol: g_mount_operation_get_is_tcrypt_system_volume
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
(code:3138): Gtk-WARNING **: 13:25:50.012: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(code:3138): Gtk-WARNING **: 13:25:50.013: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(code:3138): Gtk-WARNING **: 13:25:50.013: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
snap 2.39.3-3
snapd 2.39.3-3
kernel 5.1.0-0-MANJARO
1.36.1
2213894ea0415ee8c85c5eea0d0ff81ecc191529
x64
1.37.0-insider
360e4e4dfa989135f28edc0d6f7e42df33cddf87
x64
Does this issue occur when all extensions are disabled?: Yes
This is a fresh install of VS Code with no extensions installed.
On Ubuntu, everything is working fine with the same snap and vs code versions.
I am also getting this error on code version 1.37.1 (f06011ac164ae4dc8e753a3fe7f9549844d15e35) [x64]
and snap & snapd version 2.40-1
.
However it seems to work fine on my laptop which is running the exact same versions as above?
cc @flexiondotorg
same issue
I am also getting this error on code version
1.37.1 (f06011ac164ae4dc8e753a3fe7f9549844d15e35) [x64]
and snap & snapd version2.40-1
.However it seems to work fine on my laptop which is running the exact same versions as above?
the package from pacman of vscode works correctly, but it's a fork of it, not the official one
It worked for me
Snap version of vscode doesn't open/works (don't uninstall yet).
Install ~pacman~ AUR version of code and then uninstall it.
Now open snap version. Hurray 🎉 Its working.
1.38.0
Manjaro Linux 18.1.0
5.2.11
@vkasraj doesn't work for me :(
Still actual, by the way
Still happening on new installs, but not 100% of the time.
I have recently installed Manjaro 18.1 on my main machine and I found the problem, anyways I happened to make it work (idk how honestly, most likely it was something like @vkasraj 's trick). Now I'm installing Manjaro 18.1 on a friend's computer and I can't happen to make it work in any way.
@carlesjavierre I found a method for me. Just build it from the AUR sources, it works!
@hackfeed yes we know that works.. that's why this issue has [snap] in brackets
I did a fresh install today and I have the exact same issue. The VSCode and the Insiders snap will not launch. All the other snaps I installed work as expected.
Here is the error I am seeing in the snapd log files:
desktop.go:129: cannot use line "Exec=/usr/share/code/code --new-window %F" for desktop file "/var/lib/snapd/desktop/applications/code_code.desktop" (snap code)
I'm in the same boat. AUR under Manjaro gives me a working VS code, but not code installed using snap.
I get the same error as of the latest Manjaro installed yesterday.
desktop.go:129: cannot use line "Exec=/usr/share/code/code --new-window %F" for desktop file "/var/lib/snapd/desktop/applications/code_code.desktop" (snap code)
The Flatpak works just fine.
On Tue, Sep 24, 2019, 5:36 PM petermcclymont notifications@github.com
wrote:
I'm in the same boat. AUR under Manjaro gives me a working VS code, but
not code installed using snap.I get the same error as of the latest Manjaro installed yesterday.
desktop.go:129: cannot use line "Exec=/usr/share/code/code --new-window
%F" for desktop file
"/var/lib/snapd/desktop/applications/code_code.desktop" (snap code)—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/77061?email_source=notifications&email_token=AAL63BNPYYHTRFTWY7I6OFLQLKB47A5CNFSM4H7MSIZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7P4FIQ#issuecomment-534758050,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAL63BNP76DTZ2FAXBEGJS3QLKB47ANCNFSM4H7MSIZQ
.
same problem on xubuntu 19.04
1.38.1
b37e54c98e1a74ba89e03073e5a3761284e3ffb0
x64.
Same problem on Manjaro 18.1-kernel 4.19
I am having the same problem on Manjaro KDE 18.1.0.
For now, I am using the Flatpak version.
Fixed in version
1.39.1
88f15d17dca836346e787762685a40bb5cce75a8
Still not opening on kubuntu 19.10 when installing through Discover
I'm still having this issue with the snap on Manjaro 18.1.1
code --version
1.39.2
6ab598523be7a800d7f3eb4d92d7ab9a66069390
x64
I think the root cause here is the glibc version on Ubuntu 16.04 is too old. I'm going to see if I can get the snap to working using 18.04 as the base.
Changing the base in snapcraft.yml to core18
didn't work either. I think part of the problem is that i'm on Manjaro, so when I run yarn gulp vscode-linux-x64
it's linking to my glibc version which gets passed into the multipass environment during the snap build.
Same problem on Manjaro 18.1.1 - kernel 5.3.6
Same problem on Manjaro 18.1.1 - kernel 5.3.6
But problem not in vscode. On Manjaro any Electron app not working. I tried with Slack and Atom too.
All Electron apps or only those installed via snap?
All Electron apps or only those installed via snap?
only those installed via snap. Atom from official repo works fine.
only those installed via snap. Atom from official repo works fine.
You can install vscode via deb from the off site, as I did. This solved my problem.
You can install vscode via deb from the off site, as I did. This solved my problem.
I don't need vscode actually. Want to apps from snap to work in my Manjaro.
only those installed via snap. Atom from official repo works fine.
Slack and Postman snaps are working fine.
It worked for me
Snap version of vscode doesn't open/works (don't uninstall yet).
Install ~pacman~ AUR version of code and then uninstall it.
Now open snap version. Hurray Its working.
Also I am currently using vscode snap via this trick.
I don't need vscode actually. Want to apps from snap to work in my Manjaro. And deb don't work at Manjaro linux.
You can install any app from AUR.
You can install any app from AUR.
Thank! Found fresh Slack and Atom on AUR. Don't know why can't did it yesterday.
I tried the workaround proposed by @vkasraj above, but the snap version still doesn't work for me. Looks like I'll be using the AUR version for now.
Same issue. I think all electron apps have that problem.
[msenol@msenol-manjaro ~]$ code --disable-extensions --verbose
(process:11581): Gtk-WARNING **: 20:23:48.436: Locale not supported by C library.
Using the fallback 'C' locale.
/usr/lib/gio/modules/libgioremote-volume-monitor.so: undefined symbol: g_mount_operation_get_is_tcrypt_system_volume
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/usr/lib/gio/modules/libgiolibproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiolibproxy.so
/usr/lib/gio/modules/libgiognutls.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiognutls.so
/usr/lib/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiognomeproxy.so
/snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /usr/lib/libcrypto.so.1.1)
Failed to load module: /usr/lib/gio/modules/libgioopenssl.so
Gtk-Message: 20:23:48.467: Failed to load module "canberra-gtk-module"
Gtk-Message: 20:23:48.468: Failed to load module "canberra-gtk-module"
[msenol@msenol-manjaro ~]$ snap list
Name Version Rev Tracking Publisher Notes
code 6ab59852 18 stable vscode✓ classic
core 16-2.42 7917 stable canonical✓ core
core18 20191010 1223 stable canonical✓ base
gnome-3-28-1804 3.28.0-14-g9303a49.9303a49 91 stable canonical✓ -
gtk-common-themes 0.1-25-gcc83164 1353 stable canonical✓ -
hello-world 6.4 29 stable canonical✓ -
snap-store 20191021.a9948d5 201 stable canonical✓ -
[msenol@msenol-manjaro ~]$ uname -a
Linux msenol-manjaro 5.3.7-2-MANJARO #1 SMP PREEMPT Tue Oct 22 18:56:05 UTC 2019 x86_64 GNU/Linux
FOR REAL ... if you install vscodium from AUR ... then code from snap will work. It seems to be a matter of dependencies. !!!
then you are able to uninstall vscodium !! and code from snap will continue working.
@Ortega-Dan thanks for this suggestion, I just installed the missing dependencies of vscodium and it worked.
BTW the dependecies were: libdbusmenu-glib
and gconf
@Ortega-Dan thanks for this suggestion, I just installed the missing dependencies of vscodium and it worked.
BTW the dependecies were:
libdbusmenu-glib
andgconf
Thanks for the confirmation
just tried installing vscode from snap store on Manjaro, not working...
I can confirm that installing libdbusmenu-glib
and gconf
on Manjaro 18 as kaioduarte suggested allowed me to launch the vscode snap.
I can also confirm that, just install these 2 and code will works flawless!
Same issue.
Resolved with
sudo pacman -S gconf
_Befor fix the issue, it was_
$ uname -a
Linux edson-pc 5.4.2-1-MANJARO #1 SMP PREEMPT Thu Dec 5 09:55:57 UTC 2019 x86_64 GNU/Linux
$ code --verbose
(process:9810): Gtk-WARNING **: 21:01:32.150: Locale not supported by C library.
Using the fallback 'C' locale.
/usr/lib/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiognomeproxy.so
/snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /usr/lib/libcrypto.so.1.1)
Failed to load module: /usr/lib/gio/modules/libgioopenssl.so
/usr/lib/gio/modules/libgioremote-volume-monitor.so: undefined symbol: g_mount_operation_get_is_tcrypt_system_volume
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/usr/lib/gio/modules/libgiolibproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiolibproxy.so
/usr/lib/gio/modules/libgiognutls.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiognutls.so
Thanks @Ortega-Dan!
@Ortega-Dan thanks for this suggestion, I just installed the missing dependencies of vscodium and it worked.
BTW the dependecies were:
libdbusmenu-glib
andgconf
Yes it really worked!!
Many thanks
then you are able to uninstall vscodium !! and code from snap will continue working.
Thanks this worked for me...
Same issue.
Resolved with >>>> $ sudo pacman -S gconf
_Befor fix the issue, it was_
$ uname -a
Linux edson-pc 5.4.2-1-MANJARO #1 SMP PREEMPT Thu Dec 5 09:55:57 UTC 2019 x86_64 GNU/Linux$ code --verbose
(process:9810): Gtk-WARNING **: 21:01:32.150: Locale not supported by C library.
Using the fallback 'C' locale.
/usr/lib/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiognomeproxy.so
/snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /usr/lib/libcrypto.so.1.1)
Failed to load module: /usr/lib/gio/modules/libgioopenssl.so
/usr/lib/gio/modules/libgioremote-volume-monitor.so: undefined symbol: g_mount_operation_get_is_tcrypt_system_volume
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/usr/lib/gio/modules/libgiolibproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiolibproxy.so
/usr/lib/gio/modules/libgiognutls.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiognutls.so
This works!
Thanks!
Getting the same issue too :(
same issue
# uname -a
Linux murmur-81xd 5.4.23-1-MANJARO #1 SMP PREEMPT Fri Feb 28 22:45:29 UTC 2020 x86_64 GNU/Linux
# code --version
1.42.1
c47d83b293181d9be64f27ff093689e8e7aed054
x64
resolved with command sudo pacman -S gconf
Same Issue
Linux s-x580vd 5.4.23-1-MANJARO #1 SMP PREEMPT Fri Feb 28 22:45:29 UTC 2020 x86_64 GNU/Linux
➜ ~ code --verbose
/usr/lib/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiognomeproxy.so
/usr/lib/gio/modules/libgioremote-volume-monitor.so: undefined symbol: g_mount_operation_get_is_tcrypt_system_volume
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /usr/lib/libcrypto.so.1.1)
Failed to load module: /usr/lib/gio/modules/libgioopenssl.so
/usr/lib/gio/modules/libgiolibproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiolibproxy.so
/usr/lib/gio/modules/libgiognutls.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiognutls.so
Gtk-Message: 19:40:45.546: Failed to load module "canberra-gtk-module"
Gtk-Message: 19:40:45.548: Failed to load module "canberra-gtk-module"
# code --version
1.42.1
c47d83b293181d9be64f27ff093689e8e7aed054
x64
Same issue Manjaro Linux 19
solved with
sudo pacman -S gconf
@flexiondotorg
VSCode wasn't working for me via snap either (Manjaro 19.0.2).
I initially ran sudo pacman -S code
which downloaded the Open-sourced version of Code ("OSS").
I then installed the 'actual' VSCode with snap.
When I would run code .
in command line, OSS would open and not VSCode.
I uninstalled OSS with pacman, installed the gconf package suggested by codeforcesmeme above, and now code .
works all fine.
If I've traced this correctly, it's broken since #65744 (which removed gconf
from the snap).
I have the very similar issue but installing gconf does not solve it for me:
❯ sudo pamac install libdbusmenu-glib
Preparing...
Warning: libdbusmenu-glib-16.04.0-4 is up to date -- skipping
Nothing to do.
Transaction successfully finished.
❯ sudo pamac install gconf
Preparing...
Warning: gconf-3.2.6+11+g07808097-7 is up to date -- skipping
Nothing to do.
Transaction successfully finished.
❯ code --verbose
/usr/lib/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiognomeproxy.so
/usr/lib/gio/modules/libgiolibproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiolibproxy.so
/snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /usr/lib/libcrypto.so.1.1)
Failed to load module: /usr/lib/gio/modules/libgioopenssl.so
/usr/lib/gio/modules/libgioremote-volume-monitor.so: undefined symbol: g_mount_operation_get_is_tcrypt_system_volume
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/var/lib/snapd/snap/code/30/usr/share/code/../../lib/x86_64-linux-gnu/libgnutls.so.30: version `GNUTLS_3_6_3' not found (required by /usr/lib/gio/modules/libgiognutls.so)
Failed to load module: /usr/lib/gio/modules/libgiognutls.so
Gtk-Message: 22:03:29.910: Failed to load module "canberra-gtk-module"
Gtk-Message: 22:03:29.912: Failed to load module "canberra-gtk-module"
❯ snap --version
snap 2.44.3-1
snapd 2.44.3-1
series 16
manjaro -
kernel 4.19.114-1-MANJARO
Same issue Manjaro Linux 19
solved withsudo pacman -S gconf
:arrow_up: Works on my system w/ Manjaro GNOME 20.0.3 and Kernel version 5.6.16
Is still not working on Manjaro 20. KDE
[user@computer ~]$ code --verbose
Gtk-Message: 05:52:56.964: Failed to load module "canberra-gtk-module"
/var/lib/snapd/snap/code/37/usr/share/code/../../lib/x86_64-linux-gnu/libgnutls.so.30: version `GNUTLS_3_6_3' not found (required by /usr/lib/gio/modules/libgiognutls.so)
Failed to load module: /usr/lib/gio/modules/libgiognutls.so
/usr/lib/gio/modules/libgioremote-volume-monitor.so: undefined symbol: g_mount_operation_get_is_tcrypt_system_volume
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /usr/lib/libcrypto.so.1.1)
Failed to load module: /usr/lib/gio/modules/libgioopenssl.so
/usr/lib/gio/modules/libgiolibproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiolibproxy.so
/usr/lib/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/gio/modules/libgiognomeproxy.so
(code:4218): Gtk-WARNING **: 05:52:56.975: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(code:4218): Gtk-WARNING **: 05:52:56.975: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(code:4218): Gtk-WARNING **: 05:52:56.975: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
(code:4218): GdkPixbuf-WARNING **: 05:52:56.978: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
EDIT: Building it from AUR worked...
On Solus (with gconf installed)
code --verbose
/snap/code/36/usr/share/code/../../lib/x86_64-linux-gnu/libgnutls.so.30: version `GNUTLS_3_6_3' not found (required by /usr/lib/gio/modules/libgiognutls.so)
Failed to load module: /usr/lib/gio/modules/libgiognutls.so
/snap/core/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /usr/lib/libcrypto.so.1.1)
Failed to load module: /usr/lib/gio/modules/libgioopenssl.so
/usr/lib/gio/modules/libgioremote-volume-monitor.so: undefined symbol: g_mount_operation_get_is_tcrypt_hidden_volume
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
(code:4412): GdkPixbuf-WARNING **: 08:06:04.668: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
FOR REAL ... if you install vscodium from AUR ... then code from snap will work. It seems to be a matter of dependencies. !!!
Thanks, that really helped. now it's working for me on manjaro.
Same issue here, I'm on Manjaro 20.1.1, XFCE on kernel 5.8.11-1. I'm using the snap version of vs code.
After analyze the output of code --verbose
, I just ran the command bellow and it's all working now.
gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
The gdkpixbuf issue is now fixed.
Most helpful comment
@Ortega-Dan thanks for this suggestion, I just installed the missing dependencies of vscodium and it worked.
BTW the dependecies were:
libdbusmenu-glib
andgconf