Steps to run Zim on Windows Subsystem for Linux:
Install WSL : https://docs.microsoft.com/en-us/windows/wsl/install-win10
Install the Ubuntu 18.04 App
Install Zim + dependencies via apt
. Following packages need to be installed for the gtksourceview plugin:
ii gir1.2-gtksource-3.0:amd64 3.24.7-1 amd64 gir files for the GTK+ syntax highlighting widget
ii libgtksourceview-3.0-1:amd64 3.24.7-1 amd64 shared libraries for the GTK+ syntax highlighting widget
ii libgtksourceview-3.0-common 3.24.7-1 all common files for the GTK+ syntax highlighting widget
ii libgtksourceview-3.0-dev:amd64 3.24.7-1 amd64 development files for the GTK+ syntax highlighting widget
ii libgtksourceview-3.0-doc 3.24.7-1 all documentation for the GTK+ syntax highlighting widget
ii python-pkg-resources 39.0.1-2 all Package Discovery and Resource Access using pkg_resources
ii python3-pkg-resources 39.0.1-2 all Package Discovery and Resource Access using pkg_resources
Create a Windows shortcut for the Linux GUI Desktop (WSL): see https://token2shell.com/howto/x410/creating-shortcut-for-wsl-gui-desktop/
For the batch script in combination with MobaXterm
use:
REM ### Start MobaXterm
start "" "C:\Program Files (x86)\Mobatek\MobaXterm\MobaXterm.exe" -hideterm
REM ### Start Linux GUI desktop
ubuntu1804 .exe run "export DISPLAY=127.0.0.1:0.0; zim"
Leave a comment