sshcode icon indicating copy to clipboard operation
sshcode copied to clipboard

ArchLinux does not use the specified paths

Open Merith-TK opened this issue 5 years ago • 2 comments

archlinux, when installing from the official repo atleast with pacman -Sy code uses $HOME/.vscode-oss and $HOME/.config/Code - OSS

Just wanted to state this

Merith-TK avatar Aug 17 '19 20:08 Merith-TK

Thank you Merith, I was wondering, why my extensions are not loaded. I use Manjaro as desktop(local) and archlinux on the server(remote).

the following steps worked for me as a quickfix/workaround

1.) delete the wrong/empty folders !!!! danger zone !!!!(be careful with -Rf >> (f)orce (R)ecursive delete)

rm -Rf $HOME/.vscode
rm -Rf $HOME/.config/Code

2.) a symlink to "fix" it:

ln -s $HOME/.vscode-oss $HOME/.vscode
ln -s "$HOME/.config/Code - OSS" $HOME/.config/Code

I hope that helps somebody ...

Would be good to have at least an option to set the "source" folder if it is not automatically determined or some env vars

Thanks @all for the good work, code-server is awesome =)

peschu123 avatar Mar 15 '20 18:03 peschu123

Agreed! i love it as it makes things so much easier to do when my main machine (windows) breaks itself cuz updates, i can just ssh to my server with my workspace and do shit there

Merith-TK avatar Mar 16 '20 17:03 Merith-TK