Linux installation
Last updated
Was this helpful?
Last updated
Was this helpful?
VSCode-Anywhere has been tested with several Linux distributions but it is impossible to test with all.
If you have any problems, please open an .
Installation example:
Installation options are:
gitenv (optional): git branch to use for installation (V2 by default)
installdir (optional): installation directory (~/VSCode-Anywhere
by default)
saltversion (optional): Saltstack version to use (value evolves with time). It is not recommended to change this value (only for testing purposes for developers).
profile (optional): type of installation profile (linux_user by default)
There are 3 kinds of profile
for different use cases :
linux_admin: require administrator rights (for local use)
linux_user: no administrator rights required (for local use)
linux_portable: does not exist. Use linux_user
instead (also works with a portable device like an usb stick)
profile
advantages
disadvantages
linux_admin
No Linux namespaces
Better compatibility
/nix
and /home/linuxbrew
will be created on your system
Not recommended if you already nix or brew is installed on your system
Need to have a privileged account (sudo)
linux_user
No privileged account needed for the installation process and modules
‘’/nix’’ and /home/linuxbrew
is encapsulated in the installdir
directory with the namespaces
less compatibility
Must have a Linux distribution that manages namespaces
linux_portable
Not needed at this time
Not needed at this time
If you are in this case, there are multiple choices:
After the installation with the linux_user
profile (default), the home directory is no longer your home inside VSCode-Anywhere but it is insideVSCode-Anywhere/apps/vscode-anywhere/home
.
This mechanism aims to avoid polluting your home directory. If you want to retrieve your real home directory, there are 2 ways:
remove the VSCode-Anywhere/apps/vscode-anywhere/home
and create a link that points to your home:
For some security reasons, some file managers like the are no longer allowed to run desktop files inside the file manager which causes some problems for VSCode-Anywhere.
if you are root, you can install another file manager that allow to run desktop files like and run the desktop files with this manager
On , you can copy desktop files in the desktop and right-click on them and select Allow Launching
Copy manually desktop files in ~/.local/share/applications
or set install_desktop_files
to True
in and runthe script:
override settings in :