Skip to content

Instantly share code, notes, and snippets.

@wilhelmberg
Last active November 21, 2021 11:14
Show Gist options
  • Save wilhelmberg/cc0a0c6ed649c8b9961e37e7ff44828c to your computer and use it in GitHub Desktop.
Save wilhelmberg/cc0a0c6ed649c8b9961e37e7ff44828c to your computer and use it in GitHub Desktop.
install and run **LINUX** sublime text 3 on Windows 10 Linux Subsystem "Ubuntu bash"
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer

run /opt/sublime_text/sublime_text or sudo ln -s /opt/sublime_text/sublime_text /usr/local/bin/subl

with ubuntu bash on Windows 10 and Xming:

DISPLAY=:0 /opt/sublime_text/sublime_text

remove:

sudo apt-get remove sublime-text-installer

file manager:

sudo apt-get install PCManFM
DISPLAY=:0 pcmanfm
@SRIME
Copy link

SRIME commented Nov 21, 2021

If it didnt work try this

alias subl='"/mnt/c/Program Files/Sublime Text/subl.exe"'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment