Open phoenix277yt opened 3 years ago
Same Issue here. Even after specifying the user directory, a fresh instance of vscode loads up.
To enable neon dreams I need to run VS Code as root, I got this part but when I do so with this command-
sudo code --user-data-dir="~/.vscode-root"
it's as if the plugin was never installed and there is a white nav bar on the top that is normally visible when on the root account. I'm a beginner so I may not understand everything you say in the comments so just provide easy to understand instructions.
Try this: https://github.com/robb0wen/synthwave-vscode/issues/149#issuecomment-682969968
To enable neon dreams I need to run VS Code as root, I got this part but when I do so with this command-
sudo code --user-data-dir="~/.vscode-root"
it's as if the plugin was never installed and there is a white nav bar on the top that is normally visible when on the root account. I'm a beginner so I may not understand everything you say in the comments so just provide easy to understand instructions.Try this: #149 (comment)
i use arch tho i installed the binary version
Try this: #149 (comment)
i use arch tho i installed the binary version
I can confirm this solution works on Arch, with the community/code
package. This should also apply to the vscode found in the AUR, although I haven't tested.
To enable neon dreams I need to run VS Code as root, I got this part but when I do so with this command-
sudo code --user-data-dir="~/.vscode-root"
it's as if the plugin was never installed and there is a white nav bar on the top that is normally visible when on the root account. I'm a beginner so I may not understand everything you say in the comments so just provide easy to understand instructions.Try this: #149 (comment)
i use arch tho i installed the binary version
Another solution I came across is to gain ownership of vscode installation directory so core files can be modified by theme for adding glow effect. better than running code as superuser.
Running the following should solve the issue:
On Ubuntu:
sudo chown -R $(whoami) /usr/share/code
On Arch:
sudo chown -R $(whoami) /usr/lib/code/
or
sudo chown -R $(whoami) /opt/visual-studio-code
better than running code as superuser.
I don't know, this is a permanent change while you only need to run vscode as root once to enable neon dreams. Putting user writable executables and libraries in /usr/lib is not the best choice security-wise.
/usr/lib/code/ directory doesen't exist. the only directory i've found related to code (till now) is ~/home/.vscode
also im kinda dumb so like.............
@phoenix277yt you should also have a dir in ~/.config/
. In my case it's called Code - OSS
, but yours may be different if you're using the aur version. These are my contents, so you can identify if it is the correct one:
Backups 'Code Cache' GPUCache TransportSecurity logs
Cache Cookies 'Local Storage' User machineid
CachedData Cookies-journal 'Network Persistent State' blob_storage rapid_render.json
CachedExtensionVSIXs 'Crash Reports' Preferences 'exthost Crash Reports' storage.json
CachedExtensions Dictionaries 'Session Storage' languagepacks.json
After you've identified your data dir, run sudo code --user-data-dir ~/.config/<your folder>
After enabling, doesen't show up/work. it tells me that the vs-code install is corrupted, as it should be. it is also saying that neon dreams is enabled. yet.
After enabling, doesen't show up/work. it tells me that the vs-code install is corrupted, as it should be. it is also saying that neon dreams is enabled. yet.
It showed up the same pop-up for me, but the I am able to see the neon dreams effect enabled on restarting code as normal user
After enabling, doesen't show up/work. it tells me that the vs-code install is corrupted, as it should be. it is also saying that neon dreams is enabled. yet.
It showed up the same pop-up for me, but the I am able to see the neon dreams effect enabled on restarting code as normal user
well, it works. with a caveat though. i can only see the neon dreams effect upon selecting the text.
To enable neon dreams I need to run VS Code as root, I got this part but when I do so with this command-
sudo code --user-data-dir="~/.vscode-root"
it's as if the plugin was never installed and there is a white nav bar on the top that is normally visible when on the root account. I'm a beginner so I may not understand everything you say in the comments so just provide easy to understand instructions. :hugs: