@Raadush This package takes the official binary from Microsoft. You should be reporting it to the upstream.
Search Criteria
Package Details: visual-studio-code-bin 1.96.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/visual-studio-code-bin.git (read-only, click to copy) |
---|---|
Package Base: | visual-studio-code-bin |
Description: | Visual Studio Code (vscode): Editor for building and debugging modern web and cloud applications (official binary version) |
Upstream URL: | https://code.visualstudio.com/ |
Licenses: | custom: commercial |
Conflicts: | code |
Provides: | code, vscode |
Submitter: | dcelasun |
Maintainer: | dcelasun |
Last Packager: | dcelasun |
Votes: | 1480 |
Popularity: | 16.83 |
First Submitted: | 2017-12-18 19:14 (UTC) |
Last Updated: | 2024-12-20 03:54 (UTC) |
Dependencies (17)
- alsa-lib
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- gnupg (gnupg-gitAUR, gnupg-largekeysAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libnotify (libnotify-gitAUR)
- libsecret
- libxkbfile
- libxss
- lsof (lsof-gitAUR)
- nss (nss-hgAUR)
- shared-mime-info
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, xdg-utils-mimeoAUR, mimejs-gitAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (optional) – Needed for move to trash functionality
- icu69AUR (icu69-binAUR) (optional) – Needed for live share
- libdbusmenu-glib (optional) – Needed for KDE global menu
- org.freedesktop.secrets (keepassxc-gitAUR, gnome-keyring-gitAUR, pass-secrets-gitAUR, keepassxc-allow-aur-extension-originAUR, keepassxc-allow-aur-extension-origin-binAUR, pass-secret-service-binAUR, dssdAUR, pass-secret-service-gitAUR, bitw-gitAUR, keepassxc-qt6AUR, gnome-keyring, keepassxc, kwallet, kwallet5) (optional) – Needed for settings sync
Required by (21)
- azure-sphere-sdk (requires code) (optional)
- code-appicons (requires code)
- code-features (requires code)
- code-features-insiders (requires code)
- code-icons (requires code)
- code-marketplace (requires code)
- code-nautilus-git (requires code) (optional)
- dokytree (requires code) (optional)
- dokytree-git (requires code) (optional)
- meta-package-manager (requires code) (optional)
- meta-package-manager-git (requires code) (optional)
- nautilus-code (requires code) (optional)
- neopo-git (optional)
- nwscript-code (requires code)
- rt-thread-env-meta (requires code) (optional)
- rust-analyzer-vscode-git (requires code)
- stm32pio (requires code) (optional)
- unity-editor-lts (optional)
- unreal-engine-bin (requires code) (optional)
- vscode-xdg-patch-hook (requires vscode) (optional)
- vscode-xdg-patch-hook (requires code) (optional)
Sources (7)
Latest Comments
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 78 Next › Last »
Nowaker commented on 2024-01-15 11:00 (UTC)
Raadush commented on 2024-01-15 08:42 (UTC)
I dont know if anyone noticed or if it is my problem, but since last update I am experiencing pretty high memory consumption. It was definitely not the case in previous versions. My idle system runs on around 2.5GB ram, I open vs code, it goes to 3.5GB, connect to docker image through docker extension (4,9GB), run npm application (5,7GB), open that application in chrome (6.8GB) and then when I develop it goes up and up until at 12GB system starts to become unstable and I need to close code and start over.
kjkent commented on 2024-01-10 01:43 (UTC) (edited on 2024-01-10 01:44 (UTC) by kjkent)
Also having the same issue as 99linesofcode (https://aur.archlinux.org/packages/visual-studio-code-bin#comment-942412)
/opt/visual-studio-code/chrome-sandbox
has 0755 perms but requires 4755 perms or vscode silently fails to open. AFAIK this only affects those with the kernel flag unprivileged_userns_clone = 0
set for security hardening, but can be remediated by the correct file permissions set.
Ofc, until this is fixed in packaging/upstream, updates will overwrite chrome-sandbox
and reset its perms. In the interim, the following, placed in /etc/pacman.d/hooks/
, offers a workaround:
# /etc/pacman.d/hooks/60-visual-studio-code-bin.hook
[Trigger]
Operation = Install
Operation = Upgrade
Type = Path
Target = opt/visual-studio-code/chrome-sandbox
[Action]
Description = "Fixing file permissions on /opt/visual-studio-code/chrome-sandbox"
When = PostTransaction
Exec = /usr/bin/chmod 4755 /opt/visual-studio-code/chrome-sandbox
NB, the lack of /
before opt
in Target =
isn't a typo.
heddxh commented on 2024-01-07 09:38 (UTC)
My Vscode always launch in wrong cgroup on Kde plasma, which is the only application have this problem. For example, when I launch it through krunner, it will under background.slice/app-krunner.slice
instead of its own app slice.
If I run it with systemd-run --user /opt/visual-studio-code/code
then everything will be fine.
Is this something about launch script or a upstream problem?
cbrnr commented on 2023-12-14 10:41 (UTC) (edited on 2023-12-14 10:48 (UTC) by cbrnr)
I disabled all extensions, and using plain GNOME I cannot pin VS Code to the dock either. Not sure if this is an issue related to the PKGBUILD or upstream. EDIT: It might be the issue reported here: https://github.com/microsoft/vscode/issues/154693 So if anyone else also experienced this problem, feel free to +1 the top comment.
cbrnr commented on 2023-12-11 13:23 (UTC)
I use the Dash to Panel GNOME extension, and when right-clicking on the VS Code icon, I do not get a "Pin to Dash" option. I suspect that maybe some setting in the launcher is confusing the panel, because the window list (F2+lg) shows VS Code as "code-url-handler.desktop". Any ideas how to fix this?
Antonio_8A commented on 2023-11-27 15:00 (UTC)
Visual Studio Code está consumiendo muchos recursos alguien sabe qué puedo hacer para solucionar, está actualizado a la última versión de todo. tanto Kernel como paquetes
Krator commented on 2023-11-07 19:15 (UTC)
logxx this doesn't help
logxx это не помогает
99linesofcode commented on 2023-11-07 09:45 (UTC) (edited on 2023-11-07 09:47 (UTC) by 99linesofcode)
Not entirely sure whether this is an issue with the PKGBUILD or vscode itself but the /opt/visual-studio-code/chrome-sandbox is not created using the correct permissions. It should set the setuid bit so that it can be run by root using the sandbox helper as per the output below:
code --verbose
[FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /opt/visual-studio-code/chrome-sandbox is owned by root and has mode 4755.
As of now, I need to update these permissions with every update.
logxx commented on 2023-11-06 19:02 (UTC)
Krator, you could try to run xdg-mime default org.kde.dolphin.desktop inode/directory
as stated in https://wiki.archlinux.org/title/File_manager_functionality#Directories_are_not_opened_in_the_file_manager
Pinned Comments
dcelasun commented on 2017-11-15 06:20 (UTC) (edited on 2020-02-06 21:33 (UTC) by dcelasun)
FREQUENTLY ASKED QUESTIONS (read before flagging or commenting!)
This is the official binary distribution from Microsoft. The one in the community repo is an unofficial build made from source. Beyond the license difference and branding, there are some proprietary features not available in the open source version.
Please check this page before flagging as out-of-date. If there is no new version on that page, it's not yet released. A tag on Github is NOT a release! If you can see the new version on the updates page but the AUR package is still not updated, flag it and give it time. It's usually done within a day or two.
Sometimes AUR helpers do weird things. Download the tarball and install it manually with
makepkg -si
. If that works, report the problem to your AUR helper's upstream, not here.xdg-open
uses vscode, not my file manager! How do I fix this?Install shared-mime-info-gnome. Also see this reddit thread.
Just because $X is not required to open the app, doesn't mean there is nothing that depends on it. Always search the comment history on AUR to see if that dependency has been previously discussed before writing your own comment. Still nothing? Then use namcap to make sure it's really not needed. If namcap doesn't complain, please leave a comment here and I'll investigate.
The problem might be a packaging issue (wrong paths, dependencies, icons), so please write a comment here first. If you don't get a reply, or if someone says it's an upstream issue, you can report it on Github.
No, you won't get a reply. Please stop doing this. Leave a comment here instead and be patient.