@UntalentedFailure
You can set your own default start flags since https://aur.archlinux.org/cgit/aur.git/commit/?h=visual-studio-code-bin&id=a0595836467bb205fcabb7e6d44ad7da82b29ed2
| 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: | 1668 |
| Popularity: | 30.43 |
| First Submitted: | 2017-12-18 19:14 (UTC) |
| Last Updated: | 2026-05-20 10:43 (UTC) |
« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 90 Next › Last »
@UntalentedFailure
You can set your own default start flags since https://aur.archlinux.org/cgit/aur.git/commit/?h=visual-studio-code-bin&id=a0595836467bb205fcabb7e6d44ad7da82b29ed2
@UntalentedFailure it would be better to ask upstream to do it so it works for everyone.
Would it be possible to add the launch flag -ozone-platform-hint=auto to the desktop file? As of right now I need to add this manually after every update. This shouldn't affect people on other platforms
@dcelasun seems like a reboot fixed it which is odd, as an application update shouldn't cause this - but i guess there's another cache i don't know about / didn't find.
I am using KDE Plasma. Visual-code 1.98.0-1 initially crashes on launch and locks up the taskbar.
However, if I download the PKGBUILD for 1.97.2 and only change pkgver to 1.98.0, pkgrel to 1, update the sums, and add !Strip, visual-code runs fine.
Basically, reverting the change from icons to pixmaps seems to work with 1.98.0, although I have no idea why.
UPDATE: I pulled 1.98.0-1 again, which includes the pixmaps change, and now everything works fine. I assume that updating to 1.98.0, reverting, and updating again with these changes did something cache-related. Wish I definitively knew what changed, sorry.
@xmatthias I can revert it if necessary but I'm not a KDE user. Can a few others confirm please?
@witt.9099 what do you mean not stable? What's wrong with it?
I'm not entirely sure if the change to /usr/share/pixmaps is related to this - but on plasma, icons now don't render any longer (after this morning's update). mainly, this impacts the plasma task bar (so far).
So far, i tried to delete the plasma icon cache file (rm ~/.cache/icon-cache.kcache) - but icons didn't return so far.
The address https://update.code.visualstudio.com is no longer stable and needs to be replaced with cdn https://vscode.download.prss.microsoft.com
@listproc thanks for the heads up! It'll be included in the next update.
Hi @dcelasun, please install the icon into /usr/share/pixmaps as it's for unthemed icons, while /usr/share/icons is for icon themes. Qt's icon loader can't render the icon if it is not installed into the proper search paths.
Ref: [1] https://github.com/GNOME/gtk/blob/main/docs/iconcache.txt#L148 [2] https://code.qt.io/cgit/qt/qtbase.git/tree/src/gui/image/qiconloader.cpp?h=6.9#n583
Pinned Comments
dcelasun commented on 2017-11-15 06:20 (UTC) (edited on 2026-01-23 13:07 (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 both the official tarball and files from GitHub. Please check this page AND this page before flagging as out-of-date. If the new version isn't on both pages, this package cannot be updated! If you can see the new version on both pages, 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.