@dcelasun I agree with @jgierer12.
I haven't been using VS Code for a long time, so my advice for @nix6839 was more in general manner, but after looking into it more I don't think this is upstream issue.
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: | 1513 |
Popularity: | 16.50 |
First Submitted: | 2017-12-18 19:14 (UTC) |
Last Updated: | 2025-04-17 07:24 (UTC) |
« First ‹ Previous 1 .. 41 42 43 44 45 46 47 48 49 50 51 .. 81 Next › Last »
@dcelasun I agree with @jgierer12.
I haven't been using VS Code for a long time, so my advice for @nix6839 was more in general manner, but after looking into it more I don't think this is upstream issue.
Hi @dcelasun, I don't think this is an upstream issue. The PR you linked removed the StartupWMClass
from visual-studio-code-url-handler.desktop
, but not from visual-studio-code.desktop
. I'm having the same issue as @nix6839 and was also able to fix it by re-adding StartupWMClass=code
into the latter file.
@Anty0 I'm not fixed that way either.
@dcelasun I hope to put it in visual-studio-code.desktop.
(Ref to https://github.com/Microsoft/vscode/blob/master/resources/linux/code.desktop and https://aur.archlinux.org/cgit/aur.git/tree/visual-studio-code.desktop?h=visual-studio-code-bin)
@nix6839 Try re-add (remove it and add it again) VS Code to your favorites. You probably have added wrong one (the one which was starting before fix).
@nix6839, since that was done on purpose, you should report it upstream.
Please re-add "StartupWMClass". Without it, an error occurs. The error is as follows the dock contains multiple copies of the same icon.
@teohhanhui, thanks for the heads up. This should be working now, e.g xdg-open vscode://file/etc/pacman.conf
or xdg-open vscode-insiders://file/etc/pacman.conf
for the insiders build.
Please add the code-url-handler.desktop file (visual-studio-code-url-handler.desktop in our case) to support vscode://
URIs. See https://github.com/Microsoft/vscode/pull/56727 and https://github.com/Microsoft/vscode/pull/63750
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.