@marmis your patch looks good! I'll integrate it into the next version.
Search Criteria
Package Details: visual-studio-code-bin 1.130.0-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: | 1698 |
| Popularity: | 28.88 |
| First Submitted: | 2017-12-18 19:14 (UTC) |
| Last Updated: | 2026-07-22 18:51 (UTC) |
Dependencies (17)
- alsa-lib
- gcc-libs (gcc-libs-gitAUR, gcc-libs-fast-optimizedAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-git-native-pgoAUR, glibc-eacAUR)
- gnupg (gnupg-gitAUR, gnupg-largekeysAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-classic-xfceAUR)
- libnotify (libnotify-gitAUR)
- libsecret
- libxkbfile
- libxss
- lsof (lsof-gitAUR)
- nss (nss-hgAUR)
- shared-mime-info (shared-mime-info-gitAUR)
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, openerAUR, mimejs-gitAUR, xdg-utils-mimeoAUR, xdg-utils-gitAUR)
- glib2 (glib2-gitAUR, 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 (pass-secrets-gitAUR, keepassxc-allow-aur-extension-originAUR, keepassxc-allow-aur-extension-origin-binAUR, bitw-gitAUR, dssdAUR, pass-secret-service-gitAUR, himitsu-secret-serviceAUR, kwallet-gitAUR, gopass-secret-serviceAUR, pass-secret-service-binAUR, chipass-gitAUR, keepassxc-gitAUR, mykey-gitAUR, pass-secret-service-runitAUR, pass-secret-serviceAUR, rosec-binAUR, rosec-gitAUR, gnome-keyring-gitAUR, gnome-keyring, keepassxc, kwallet, oo7) (optional) – Needed for settings sync
Required by (29)
- azure-sphere-sdk (requires code) (optional)
- claude-workspaces (requires code) (optional)
- code-features (requires code)
- code-features-insiders (requires code)
- code-marketplace (requires code)
- code-nautilus-git (requires code) (optional)
- code-xdg-dir-patch (requires code)
- contextpilot (optional)
- contextpilot-git (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)
- python-ocp-vscode (requires vscode) (optional)
- rainbeau (requires code) (optional)
- rt-thread-env-meta (requires code) (optional)
- rust-analyzer-vscode-git (requires code)
- Show 9 more...
Sources (4)
Latest Comments
« First ‹ Previous 1 .. 14 15 16 17 18 19 20 21 22 23 24 .. 94 Next › Last »
dcelasun commented on 2024-08-25 06:34 (UTC)
marmis commented on 2024-08-25 04:55 (UTC) (edited on 2024-08-25 06:02 (UTC) by marmis)
Hi @ZorinArch I also made a pacman hook that patches VSCode files for some of these XDG issues (especifically #15741, #129953 and #214741), as upstream doesn't look very interested in fixing them. Package: vscode-xdg-patch-hook
marmis commented on 2024-08-25 04:49 (UTC) (edited on 2024-08-25 07:03 (UTC) by marmis)
@dcelasun If you're interested, I've made a patch to fetch desktop and MIME files from Github, then modify the @@VARIABLES@@ in a new prepare script. You can see it in this commit. Other changes proposed there are:
-
use a more descriptive name for the license: either
custom: Microsoft Software License Termsor the SPDX versionLicenseRef-MicrosoftSoftwareLicenseTerms -
use POSIX-only for the launcher script
Edit: one last change I also propose: setting options=(!strip !debug). This should speed build time (from 8.40 s to 4.89 s, for me), with very minimal increase in package size (125 MiB to 131 MiB, minimal compression).
dcelasun commented on 2024-08-24 05:00 (UTC)
@ZorinArch I've changed that line to match upstream as per the previous comment. Please report it upstream.
ZorinArch commented on 2024-08-24 02:27 (UTC)
Hi, @dcelasun, please update MimeType in code.desktop and add line below, because now the app not showing in open with context menu.
MimeType=text/plain;inode/directory;application/x-code-workspace;
dcelasun commented on 2024-08-23 17:28 (UTC)
It's not intentional, just out of sync. I'll push an update soon.
marmis commented on 2024-08-23 05:04 (UTC) (edited on 2024-08-23 05:11 (UTC) by marmis)
Hi, @dcelasun, the XDG files look a little bit outdated. Not sure if it is intentional, but code.desktop, code-url-handler.desktop and code-workspace.xml all don't match their upstream versions.
Also, the current version is affected by issue #129953. It would be nice to have a patch applied downstream while that is not fixed. If you're interested, I've implemented both changes in this repository.
zethson commented on 2024-08-13 08:25 (UTC)
segfaults immediately without out any output even when run in verbose mode. A reinstall did not fix it for me.
wscp commented on 2024-08-04 07:03 (UTC) (edited on 2024-08-04 07:04 (UTC) by wscp)
The current latest version (visual-studio-code-bin-1.92.0-1) seems to segfault immediately, too early to even log any crash data.
EDIT: A reinstall fixed it.
dcelasun commented on 2024-07-21 15:28 (UTC)
Historical reasons, mostly. There is a long tradition of proprietary binaries ending up in /opt.
Pinned Comments
dcelasun commented on 2017-11-15 06:20 (UTC) (edited on 2026-06-04 12: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 licence difference and branding, there are some proprietary features not available in the open-source version.
This package depends on the official tarball. Please check this page before flagging as out-of-date. If the new version isn't on that page, this package cannot be updated! If you can see the new version there, but the AUR package is still not updated, flag it and give it time. It's usually done within hours.
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-openuses vscode, not my file manager! How do I fix this?Install
shared-mime-info-gnomegnome-sessionwhich now includes mimemapps.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.