Skip to content

Instantly share code, notes, and snippets.

@marcussacana
Last active February 6, 2023 22:49
Show Gist options
  • Save marcussacana/aa81a69b2f750f8770c8a3ba343875a0 to your computer and use it in GitHub Desktop.
Save marcussacana/aa81a69b2f750f8770c8a3ba343875a0 to your computer and use it in GitHub Desktop.
ZorinOS WSL2 Distro

Zorin OS Distro for WSL2

  1. Download Here
  2. Run the "Install Zorin.bat"
  3. Installed!

Post Install

Run ZorinOS in your windows CMD, then in the first startup it will prompt you with a username
Be sure to put a unix username without any special characters, and in lower case.
It will prompt some info after that, everything optional, you can leave empty.
After create the user i will run a auto update, just wait it.

Zorin-Appearence Crash Fix

  1. Open the /usr/lib/python3/dist-packages/zorin_appearance/envoriment.py
  2. Replace the line _desktop_environment = os.environ['XDG_CURRENT_DESKTOP'] with this code:
try:
	_desktop_environment = os.environ['XDG_CURRENT_DESKTOP']
except:
	_desktop_environment = "GNOME"

Full Desktop Shell

Currently the Zorin Desktop isn't working very well, and I don't know why. But the most near of run the desktop it was with this command:

export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0 && export XDG_CURRENT_DESKTOP=x11 && export GDK_BACKEND=x11 export LIBGL_ALWAYS_INDIRECT=0 && export XDG_SESSION_TYPE=x11 && sudo su $USER -c 'gnome-shell --x11 --mode=zorin'

It started the shell but it crashes with some random apps.

@yoavshimshon
Copy link

Hi, I am trying to download and the link to drive.google.com is broken.

@marcussacana
Copy link
Author

@yoavshimshon

Hi, I am trying to download and the link to drive.google.com is broken.

Link reuploaded, but this build of the ZorinOS is very old, I don't recommend much

@amitabhr
Copy link

I need to put zorin 16 on WSL2 but am not sure where to get the rootfs tarball ? There are a few scripts on github for configuring any distro for WSL but they need a rootfs tarball and I am not sure if I can just tar the zorin filesystem (while booted from a live usb etc) or whether that may need a lot of changes.
Or if there's a zorin docker image that might work too.
Could you give me a few hints what you did to make this work in WSL ?

@marcussacana
Copy link
Author

I really don't remember what I did in this build, it has some years ago, and I did only one time.

@vlnc3
Copy link

vlnc3 commented Oct 28, 2022

@yoavshimshon

Hi, I am trying to download and the link to drive.google.com is broken.

Link reuploaded, but this build of the ZorinOS is very old, I don't recommend much

pls reupload again.

@marcussacana
Copy link
Author

@yoavshimshon

Hi, I am trying to download and the link to drive.google.com is broken.

Link reuploaded, but this build of the ZorinOS is very old, I don't recommend much

pls reupload again.

the next takedown in the google drive it suspended my entire account, therefore I don't have the image anymore

@bolavefasfas
Copy link

how about mega.nz link or https://anonfiles.com/

@marcussacana
Copy link
Author

I updated the gist.

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