Package Details: visual-studio-code-bin 1.95.3-1

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: 1465
Popularity: 13.44
First Submitted: 2017-12-18 19:14 (UTC)
Last Updated: 2024-11-15 11:08 (UTC)

Required by (20)

Sources (7)

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!)

  • What is the difference between this package and the one in the community repo?

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.

  • There is a new version out, why is the package not updated?

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.

  • I'm using an AUR helper (yay, yaourt etc.) and I can't install it. Why?

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.

  • When I install this package xdg-open uses vscode, not my file manager! How do I fix this?

Install shared-mime-info-gnome. Also see this reddit thread.

  • Why is $X a dependency? I don't like it.

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.

  • Something is broken with the app, where do I report it?

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.

  • I have a problem with this package, can I email you?

No, you won't get a reply. Please stop doing this. Leave a comment here instead and be patient.

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 78 Next › Last »

dcelasun commented on 2023-01-15 15:29 (UTC)

@adelks chrome-sandbox is already owned by root. Are you sure you haven't made any local modifications?

$ ls -alh /opt/visual-studio-code/ | grep chrome
-rw-r--r--  1 root root 126K Jan 15 15:26 chrome_100_percent.pak
-rw-r--r--  1 root root 177K Jan 15 15:26 chrome_200_percent.pak
-rwxr-xr-x  1 root root 1,2M Jan 15 15:26 chrome_crashpad_handler
-rwxr-xr-x  1 root root  15K Jan 15 15:26 chrome-sandbox

adelks commented on 2023-01-15 15:14 (UTC)

Hello, please add a line to the PKGBUILD to fix this:

[6204:0115/161133.400478:FATAL:setuid_sandbox_host.cc(157)] 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

Thanks!

sourcandy commented on 2023-01-13 00:43 (UTC)

When using AUR helper (Pamac), it will fail to install (failed to generate visual-studio-code-bin information) because the PKGBUILD has this line: install=$pkgname.install but the file doesn't exist. Simply deleting that line (from PKGBUILD) will solve the issue.

dcelasun commented on 2022-11-26 14:15 (UTC)

@Tim_Paik do you have shared-mime-info-gnome installed as explained in the pinned FAQ?

Tim_Paik commented on 2022-11-26 14:14 (UTC)

I recently ran into the following problem with GNOME nautilus and VSCode: My default folder opens with VSCode!

xdg-mime query default inode/directory This command will output code.desktop, and then when I try to run open <dir_name> in the fish shell, fish will use VSCode to open this directory, GNOME keyboard The shortcut key also opens the main directory with VSCode by default.

However, when choosing the way to open the directory in nautilus, there is no option to change the default (I think this may be to prevent nautilus from being damaged due to carelessness)

I think it might be because of this commit: Rename desktop files to match upstream, since this happened to me recently.

I think this is definitely not expected, but I found a temporary workaround, you can run the following command to set the current user's default to normal:

xdg-mime default org.gnome.Nautilus.desktop inode/directory

dcelasun commented on 2022-11-24 14:12 (UTC)

Any objections to that? I don't want to keep pushing updates for a cosmetic issue.

ZZYSonny commented on 2022-11-24 13:10 (UTC)

I think patching "desktopName" to "code.desktop" in /opt/visual-studio-code/resources/app/package.json would be a better choice. Because by default, code-url-handler is hidden and cannot be pinned.

In current setting, the vscode window gets code-url-handler class and displays the right icon. But if we pin the normal vscode, then on the pannel, there will be two vscode icons.

dcelasun commented on 2022-11-24 11:16 (UTC)

I've renamed the desktop files, please let me know if there are any issues. I don't use Wayland myself so I can't test.

sgishere commented on 2022-11-24 11:05 (UTC)

On line 7 there should not be the: (,) between