synthwave-vscode icon indicating copy to clipboard operation
synthwave-vscode copied to clipboard

ERROR: You may need to run VS code with admin privileges in order to enable Neon Dreams.

Open enriquemorenotent opened this issue 2 years ago • 3 comments

I have seen this error in other tickets, but it is marked as solved. In my case, this error persists.

image

OS: Ubuntu 22.40 VSCode: v1.82.2 Synthwave: v0.1.15

How to solve it, please?

enriquemorenotent avatar Sep 17 '23 22:09 enriquemorenotent

If you haven't already sorted this out, you can avoid running vs code as a super user by chowning the program files as your user. For example, this does the job for me on mac sudo chown -R $(whoami) /Applications/Visual\ Studio\ Code.app/Contents, just replace with the correct one on your platform. I don't have a ubuntu vm configured right now, but I'm guessing your install binaries should be somewhere in /opt that's not too difficult to find. You could probably narrow the permissions down to particular files by digging around the enable/disable script, but the lazy solution works well enough for single user systems. I mean, I guess it would work fine for multi-user systems too if you wanted to chown using a shared group only.

wilrodriguez avatar Oct 02 '23 16:10 wilrodriguez