Corrected wsl docker volume mounts.
This commit is contained in:
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#+NAME: Download and install VcXsrv
|
#+NAME: Download and install VcXsrv
|
||||||
#+BEGIN_SRC shell
|
#+BEGIN_SRC shell
|
||||||
cd /mnt/c/Users/$USER/Downloads/
|
cd /c/Users/$USER/Downloads/
|
||||||
wget https://sourceforge.net/projects/vcxsrv/files/latest/download
|
wget https://sourceforge.net/projects/vcxsrv/files/latest/download
|
||||||
mv download installer.exe
|
mv download installer.exe
|
||||||
cmd.exe /c installer.exe
|
cmd.exe /c installer.exe
|
||||||
@ -53,7 +53,7 @@
|
|||||||
|
|
||||||
#+NAME: Apply our VcXsrv configuration
|
#+NAME: Apply our VcXsrv configuration
|
||||||
#+BEGIN_SRC shell
|
#+BEGIN_SRC shell
|
||||||
cd /mnt/c/ProgramData/Microsoft/Windows/Start\ Menu/Programs/Startup
|
cd /c/ProgramData/Microsoft/Windows/Start\ Menu/Programs/Startup
|
||||||
cat > VcXsrv.xlaunch << EOF
|
cat > VcXsrv.xlaunch << EOF
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<XLaunch WindowMode="MultiWindow" ClientMode="NoClient" LocalClient="False" Display="-1" LocalProgram="xcalc" RemoteProgram="xterm" RemotePassword="" PrivateKey="" RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False" XDMCPIndirect="False" Clipboard="True" ClipboardPrimary="True" ExtraParams="" Wgl="True" DisableAC="False" XDMCPTerminate="False"/>
|
<XLaunch WindowMode="MultiWindow" ClientMode="NoClient" LocalClient="False" Display="-1" LocalProgram="xcalc" RemoteProgram="xterm" RemotePassword="" PrivateKey="" RemoteHost="" RemoteUser="" XDMCPHost="" XDMCPBroadcast="False" XDMCPIndirect="False" Clipboard="True" ClipboardPrimary="True" ExtraParams="" Wgl="True" DisableAC="False" XDMCPTerminate="False"/>
|
||||||
@ -128,7 +128,7 @@ Note there is an about:config setting that needs to be set to enable these style
|
|||||||
|
|
||||||
#+NAME: Configure usercss
|
#+NAME: Configure usercss
|
||||||
#+begin_src shell
|
#+begin_src shell
|
||||||
cd /mnt/c/Users/jmhbnz/AppData/Roaming/Mozilla/Firefox/Profiles/jamqyxbf.default-release/chrome/
|
cd /c/Users/jmhbnz/AppData/Roaming/Mozilla/Firefox/Profiles/jamqyxbf.default-release/chrome/
|
||||||
cat > userContent.css << EOF
|
cat > userContent.css << EOF
|
||||||
/* https://userstyles.org/styles/90565/firefox-adjust-white-flash-when-opening-new-tab */
|
/* https://userstyles.org/styles/90565/firefox-adjust-white-flash-when-opening-new-tab */
|
||||||
/* https://userstyles.org/styles/142191/remove-new-tab-flash */
|
/* https://userstyles.org/styles/142191/remove-new-tab-flash */
|
||||||
|
|||||||
@ -80,11 +80,17 @@ This guide will walk through setting up [[https://en.wikipedia.org/wiki/Windows_
|
|||||||
|
|
||||||
# Allow your user to access the Docker CLI without needing root access.
|
# Allow your user to access the Docker CLI without needing root access.
|
||||||
sudo usermod -aG docker $USER
|
sudo usermod -aG docker $USER
|
||||||
#+end_src
|
|
||||||
|
|
||||||
#+RESULTS: Install docker
|
# Configure wsl to mount at / for docker volumes
|
||||||
#+begin_example
|
sudo su
|
||||||
#+end_example
|
cat > /etc/wsl.conf << EOF
|
||||||
|
[automount]
|
||||||
|
root = /
|
||||||
|
options = "metadata"
|
||||||
|
|
||||||
|
EOF
|
||||||
|
exit
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
We use [[https://pandoc.org/][pandoc]] for documentation export from spacemacs and other markup conversion tasks.
|
We use [[https://pandoc.org/][pandoc]] for documentation export from spacemacs and other markup conversion tasks.
|
||||||
|
|||||||
Reference in New Issue
Block a user