synthwave-vscode
synthwave-vscode copied to clipboard
Issue Enableing neon Dreams on Ubuntu
I seem to be unable to enable dreams. I have tried the work arounds suggested in other issues but with no joy. I simply get the message: "Something went wrong when starting neon dreams" after running 'Enable Neon Dreams'.
Any ideas much appreciated!

The same thing. Extension throws:
{
"errno": -30,
"syscall": "open",
"code": "EROFS",
"path": "/snap/code/25/usr/share/code/resources/app/out/vs/code/electron-browser/workbench/neondreams.js"
}
I think it's related with documentation part:
For Linux and Mac users, Code must not be installed in a read-only location and you must have write permissions.
I've just had a chance to get my Ubuntu machine up and running and I get a prompt to run code as an admin to enable neon dreams... @gphillips8frw how do you get around this without having to sudo code --user-data-dir each time you want to use vscode??
I did the following and had the same problem:
- Fresh install of Ubuntu 18.04.4, literally just installed and first thing next was VSCode
- Updated Ubuntu with
sudo apt update && sudo apt upgrade -y - Updated snap with
snap refresh=> "All snaps are up to date." - Installed VSCode via
sudo snap install --classic code - Installed the extension Synthwave '84, restarted VSCode, wanted to activate neon dreams but only get the "Something went wrong when starting neon dreams".
I also tried, even if not recommended, running VSCode as root but that changed nothing. Now I have to use a lame text editor without neon dream :(
I've just had a chance to get my Ubuntu machine up and running and I get a prompt to run code as an admin to enable neon dreams... @gphillips8frw how do you get around this without having to
sudo code --user-data-direach time you want to use vscode??
That is odd and not something I have come across. I agree with @pavel-voronin that perhaps all of our issues stem from the install location of code
Just remembered/checked I’m on 19.10... might be a slight difference there compared to 18.04
I found a solution that works for me now (see below). As I mentioned above I installed VSCode using snap, however, on their webpage is another way of installing it. I had to launch it as root first though (not recommended). That is just my workaround. From their webpage:
"The repository and key can also be installed manually with the following script:
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -o root -g root -m 644 packages.microsoft.gpg /usr/share/keyrings/
sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
Then update the package cache and install the package using:
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install code # or code-insiders
"
Facing the same issue here, I've had Vs code installed for a while now. Can't really reinstall it; way too many dependencies need to be re-configured if I were to do so. Is there any other alternative?
@HashTalmiz I tried @A-Heimann‘s last comment and that worked for me (still needed to run vscode as root first though and then you can relaunch normally).
I found that under normal launch, nothing had actually uninstalled. All of my extensions/theme/snippets were still there and applied upon reinstall.
Running as root though, it was the equivalent of a fresh install. Fortunately, I use settings sync which might work for you here too?
@willstocks Thanks for the setting sync extension reccomendation, quite a life saver for me. I've had bad memories of recovering Ubuntu from wipe-outs and so after reading a bit here and also here, I think I'll pass. I might be pessimistic here, but it's not worth running software that could potentially come with bugs (even though this is Microsoft who we're talking about) with root, just to get text to glow on an editor. Hopefully @robb0wen comes up with a better solution.
i agree with Mr Talmiz - in general, as few programs as possible should run as admin. An editor which allows users to install a wide variety of 3rd party plugins could create a large security hole.
I've commented this on a newer issue and it works wonders, relatively less risk than running vscode as root.
Anyone knows how to set this up on a MacOSX install? I also get the "something went wrong" error when enabling this extension.
Here's how I do it. Tested on Ubuntu 20.04.1.
- Install VSCode from the .deb downloaded from https://code.visualstudio.com/download
- Run VSCode as root with the following command
sudo code --user-dir ~/.config/Code- Install theme, enable Neon Dream, reload VSCode to activate (VSCode will now throw the "Unsupported" error)
- Install Fix VSCode Checksum and follow instruction.
- Close VSCode and restart it with just
codefrom terminal or from shortcut- Continue with extensions/settings sync
in ubuntu in 2020: ( sudo code --user-data-dir ~/.config/Code ) -- using sudo code --user-dir ~/.config/Code make a error.
The best solution is to reinstall vscode with the deb package, save your settings with Settings Sync and then running these commands
sudo chown root:sudo -R /usr/share/code/resources/app/out/
sudo chmod 775 -R /usr/share/code/resources/app/out/
Then enable neon dreams and then it should be fine. With everything intact.
I use arch tho. I have it installed thru snap
[daksh_s@R53600X ~]$ sudo code --user-dir ~/.config/Code
[sudo] password for daksh_s:
You are trying to start Visual Studio Code as a super user which isn't recommended. If this was intended, please specify an alternate user data directory using the "--user-data-dir" argument.
[daksh_s@R53600X ~]$
this is the output @mqt0029
@phoenix277yt use it:
sudo code --user-data-dir ~/.config/Code
what a mess
"For Linux and Mac users, Code must not be installed in a read-only location and you must have write permissions." Syntwave
I'm experiencing this issue when I installed VS Code using snap. I changed the permission of my code installation folder to from root to me (checked using whoami). However, I think snap is read-only. So I did the ff steps instead:
- Sign in to Sync Settings. Optional but I highly recommend doing this
- Uninstall VS Code.
- Go to VS Code official download site and download it.
- Install the .deb (I just used Ubuntu Software)
- Once installed, exit VS Code and open your terminal
- Check where VS Code is by
which code. My output is /usr/bin/code - Also, you can check the owner and permissions
ls -l /usr/bin/code. /usr/bin/code is fromwhich codecommand - Change the permission for
/usr/bin/codeand/usr/share/code/bin/codebysudo chown -R whoami /usr/bin/code /usr/share/code/whoami is the user. check usingwhoami. we'll change it back to root later - Open VS Code, ctr + shift + p (idunno the mac shortcut for this sorry xD) then type synth then click the Enable Neon Dreams thing. Make sure to install SynthWave first haha 9 Exit VS Code and open again (or just download the reload extension to have a button to do the reload thing without exiting VS Code haha)
- Lastly, change the permission to root.
sudo chown -R root /usr/bin/code /usr/share/code/You won't be able to enable or disable the extension if u do this. If u want to disable it, just do step 7 then do step 10, or if ur lazy like me, skip step 10 haha
btw, if there's a VS Code update, SynthWave needs to be enabled again
Hope it works! I'm using Ubuntu 20.04.2 LTS. Posted a screenshot of it working :D
I've done this in Windows 10. I guess it's easier setting up SynthWave in Windows 10 haha

"Para los usuarios de Linux y Mac, el código no debe instalarse en una ubicación de solo lectura y debe tener permisos de escritura". Syntwave
Estoy experimentando este problema cuando instalé VS Code usando snap . Cambié el permiso de mi carpeta de instalación de código de root a mà (verificado usando whoami). Sin embargo, creo que snap es de solo lectura. Asà que hice los pasos de ff en su lugar:
- Inicie sesión en Sync Settings. Opcional pero recomiendo encarecidamente hacer esto
- Desinstale VS Code.
- Vaya al sitio oficial de descargas de VS Code y descárguelo.
- Instale el .deb (acabo de usar el software Ubuntu)
- Una vez instalado, salga de VS Code y abra su terminal
- Compruebe dónde está VS Code
which code. Mi salida es / usr / bin / code- Además, puede verificar el propietario y los permisos
ls -l /usr/bin/code. / usr / bin / code es delwhich codecomando- Cambiar el permiso para
/usr/bin/codey/usr/share/code/bin/codeporsudo chown -R whoami /usr/bin/code /usr/share/code/whoami es el usuario. comprobar el usowhoami. lo cambiaremos de nuevo a root más tarde- Abra VS Code, ctr + shift + p (no conozca el acceso directo de mac para este lamentable xD) luego escriba synth y luego haga clic en Enable Neon Dreams. Asegúrese de instalar SynthWave primero jaja 9 Salga de VS Code y abra nuevamente (o simplemente descargue la extensión de recarga para tener un botón para hacer la recarga sin salir de VS Code jaja)
- Por último, cambie el permiso a root.
sudo chown -R root /usr/bin/code /usr/share/code/No podrá habilitar o deshabilitar la extensión si hace esto. Si desea desactivarlo, simplemente haga el paso 7 y luego el paso 10, o si es un perezoso como yo, omita el paso 10 jajapor cierto, si hay una actualización de VS Code, SynthWave debe habilitarse nuevamente
¡Espero que funcione! Estoy usando Ubuntu 20.04.2 LTS. Publicado una captura de pantalla de su funcionamiento: D
He hecho esto en Windows 10. Supongo que es más fácil configurar SynthWave en Windows 10 jaja.
This solved the problem for me.
Linux Mint 20.1 Cinnamon
"For Linux and Mac users, Code must not be installed in a read-only location and you must have write permissions." Syntwave
I'm experiencing this issue when I installed VS Code using snap. I changed the permission of my code installation folder to from root to me (checked using whoami). However, I think snap is read-only. So I did the ff steps instead:
- Sign in to Sync Settings. Optional but I highly recommend doing this
- Uninstall VS Code.
- Go to VS Code official download site and download it.
- Install the .deb (I just used Ubuntu Software)
- Once installed, exit VS Code and open your terminal
- Check where VS Code is by
which code. My output is /usr/bin/code- Also, you can check the owner and permissions
ls -l /usr/bin/code. /usr/bin/code is fromwhich codecommand- Change the permission for
/usr/bin/codeand/usr/share/code/bin/codebysudo chown -R whoami /usr/bin/code /usr/share/code/whoami is the user. check usingwhoami. we'll change it back to root later- Open VS Code, ctr + shift + p (idunno the mac shortcut for this sorry xD) then type synth then click the Enable Neon Dreams thing. Make sure to install SynthWave first haha 9 Exit VS Code and open again (or just download the reload extension to have a button to do the reload thing without exiting VS Code haha)
- Lastly, change the permission to root.
sudo chown -R root /usr/bin/code /usr/share/code/You won't be able to enable or disable the extension if u do this. If u want to disable it, just do step 7 then do step 10, or if ur lazy like me, skip step 10 hahabtw, if there's a VS Code update, SynthWave needs to be enabled again
Hope it works! I'm using Ubuntu 20.04.2 LTS. Posted a screenshot of it working :D
I've done this in Windows 10. I guess it's easier setting up SynthWave in Windows 10 haha
it worked for me, thanks
Here's how I do it. Tested on Ubuntu 20.04.1.
- Install VSCode from the .deb downloaded from https://code.visualstudio.com/download
- Run VSCode as root with the following command
sudo code --user-dir ~/.config/Code- Install theme, enable Neon Dream, reload VSCode to activate (VSCode will now throw the "Unsupported" error)
- Install Fix VSCode Checksum and follow instruction.
- Close VSCode and restart it with just
codefrom terminal or from shortcut- Continue with extensions/settings sync
in ubuntu in 2020: ( sudo code --user-data-dir ~/.config/Code ) -- using sudo code --user-dir ~/.config/Code make a error.
worked for me one manjaro
Stil have issues on manajro. Even running on Superuser and changing ownsership from root to user doesnt help at all
"For Linux and Mac users, Code must not be installed in a read-only location and you must have write permissions." Syntwave
I'm experiencing this issue when I installed VS Code using snap. I changed the permission of my code installation folder to from root to me (checked using whoami). However, I think snap is read-only. So I did the ff steps instead:
- Sign in to Sync Settings. Optional but I highly recommend doing this
- Uninstall VS Code.
- Go to VS Code official download site and download it.
- Install the .deb (I just used Ubuntu Software)
- Once installed, exit VS Code and open your terminal
- Check where VS Code is by
which code. My output is /usr/bin/code- Also, you can check the owner and permissions
ls -l /usr/bin/code. /usr/bin/code is fromwhich codecommand- Change the permission for
/usr/bin/codeand/usr/share/code/bin/codebysudo chown -R whoami /usr/bin/code /usr/share/code/whoami is the user. check usingwhoami. we'll change it back to root later- Open VS Code, ctr + shift + p (idunno the mac shortcut for this sorry xD) then type synth then click the Enable Neon Dreams thing. Make sure to install SynthWave first haha 9 Exit VS Code and open again (or just download the reload extension to have a button to do the reload thing without exiting VS Code haha)
- Lastly, change the permission to root.
sudo chown -R root /usr/bin/code /usr/share/code/You won't be able to enable or disable the extension if u do this. If u want to disable it, just do step 7 then do step 10, or if ur lazy like me, skip step 10 hahabtw, if there's a VS Code update, SynthWave needs to be enabled again
Hope it works! I'm using Ubuntu 20.04.2 LTS. Posted a screenshot of it working :D
I've done this in Windows 10. I guess it's easier setting up SynthWave in Windows 10 haha
Thanks It works for me!
"For Linux and Mac users, Code must not be installed in a read-only location and you must have write permissions." Syntwave
I'm experiencing this issue when I installed VS Code using snap. I changed the permission of my code installation folder to from root to me (checked using whoami). However, I think snap is read-only. So I did the ff steps instead:
- Sign in to Sync Settings. Optional but I highly recommend doing this
- Uninstall VS Code.
- Go to VS Code official download site and download it.
- Install the .deb (I just used Ubuntu Software)
- Once installed, exit VS Code and open your terminal
- Check where VS Code is by
which code. My output is /usr/bin/code- Also, you can check the owner and permissions
ls -l /usr/bin/code. /usr/bin/code is fromwhich codecommand- Change the permission for
/usr/bin/codeand/usr/share/code/bin/codebysudo chown -R whoami /usr/bin/code /usr/share/code/whoami is the user. check usingwhoami. we'll change it back to root later- Open VS Code, ctr + shift + p (idunno the mac shortcut for this sorry xD) then type synth then click the Enable Neon Dreams thing. Make sure to install SynthWave first haha 9 Exit VS Code and open again (or just download the reload extension to have a button to do the reload thing without exiting VS Code haha)
- Lastly, change the permission to root.
sudo chown -R root /usr/bin/code /usr/share/code/You won't be able to enable or disable the extension if u do this. If u want to disable it, just do step 7 then do step 10, or if ur lazy like me, skip step 10 hahabtw, if there's a VS Code update, SynthWave needs to be enabled again
Hope it works! I'm using Ubuntu 20.04.2 LTS. Posted a screenshot of it working :D
I've done this in Windows 10. I guess it's easier setting up SynthWave in Windows 10 haha
Thanks it works. I am able to see the default glow brightness. However, when I try to adjust the glow brightness it doesn't make the change. I read the glow brightness adjustment steps in the documentation but nothing.
"For Linux and Mac users, Code must not be installed in a read-only location and you must have write permissions." Syntwave I'm experiencing this issue when I installed VS Code using snap. I changed the permission of my code installation folder to from root to me (checked using whoami). However, I think snap is read-only. So I did the ff steps instead:
- Sign in to Sync Settings. Optional but I highly recommend doing this
- Uninstall VS Code.
- Go to VS Code official download site and download it.
- Install the .deb (I just used Ubuntu Software)
- Once installed, exit VS Code and open your terminal
- Check where VS Code is by
which code. My output is /usr/bin/code- Also, you can check the owner and permissions
ls -l /usr/bin/code. /usr/bin/code is fromwhich codecommand- Change the permission for
/usr/bin/codeand/usr/share/code/bin/codebysudo chown -R whoami /usr/bin/code /usr/share/code/whoami is the user. check usingwhoami. we'll change it back to root later- Open VS Code, ctr + shift + p (idunno the mac shortcut for this sorry xD) then type synth then click the Enable Neon Dreams thing. Make sure to install SynthWave first haha 9 Exit VS Code and open again (or just download the reload extension to have a button to do the reload thing without exiting VS Code haha)
- Lastly, change the permission to root.
sudo chown -R root /usr/bin/code /usr/share/code/You won't be able to enable or disable the extension if u do this. If u want to disable it, just do step 7 then do step 10, or if ur lazy like me, skip step 10 hahabtw, if there's a VS Code update, SynthWave needs to be enabled again Hope it works! I'm using Ubuntu 20.04.2 LTS. Posted a screenshot of it working :D I've done this in Windows 10. I guess it's easier setting up SynthWave in Windows 10 haha
Thanks It works for me!
Doesn't seem to work on macOS. Will probably have to wait for a fix.
"For Linux and Mac users, Code must not be installed in a read-only location and you must have write permissions." Syntwave
I'm experiencing this issue when I installed VS Code using snap. I changed the permission of my code installation folder to from root to me (checked using whoami). However, I think snap is read-only. So I did the ff steps instead:
- Sign in to Sync Settings. Optional but I highly recommend doing this
- Uninstall VS Code.
- Go to VS Code official download site and download it.
- Install the .deb (I just used Ubuntu Software)
- Once installed, exit VS Code and open your terminal
- Check where VS Code is by
which code. My output is /usr/bin/code- Also, you can check the owner and permissions
ls -l /usr/bin/code. /usr/bin/code is fromwhich codecommand- Change the permission for
/usr/bin/codeand/usr/share/code/bin/codebysudo chown -R whoami /usr/bin/code /usr/share/code/whoami is the user. check usingwhoami. we'll change it back to root later- Open VS Code, ctr + shift + p (idunno the mac shortcut for this sorry xD) then type synth then click the Enable Neon Dreams thing. Make sure to install SynthWave first haha 9 Exit VS Code and open again (or just download the reload extension to have a button to do the reload thing without exiting VS Code haha)
- Lastly, change the permission to root.
sudo chown -R root /usr/bin/code /usr/share/code/You won't be able to enable or disable the extension if u do this. If u want to disable it, just do step 7 then do step 10, or if ur lazy like me, skip step 10 hahabtw, if there's a VS Code update, SynthWave needs to be enabled again
Hope it works! I'm using Ubuntu 20.04.2 LTS. Posted a screenshot of it working :D
I've done this in Windows 10. I guess it's easier setting up SynthWave in Windows 10 haha
Deffinitely works....recommended....Thanks
Alhamdulillah..It works.. Peace be upon you
- sudo chown -R
<path_to_your_vscode_installation_directory> - to check the current user on your machine:
whoamieg: John - You can find path of vscode directory using following command:
whereis codee.g. in my case path is : /usr/share/code - Now run: sudo chown -R John /usr/share/code
- Now install your extensions
- Open VS Code, Ctrl+Shift+P and then
Enable Neon Dreams - After reset owner back to root
sudo chown -R root /usr/share/code - Hope it works! I'm using Ubuntu 21.10
Thanks @KyawNyeinNaing this worked for me on macOS !