If a novice like me can install WSLg ‘n Linux GUI apps, then imagine what the Developers ‘n ‘Such’ can do when Microsoft gets it really rolling.
As an admitted novice I won’t go into how I got WSLg installed so quickly. I usually take at least a few notes when attempting ‘Thangs like this, but didn’t bother with notes this time since I had figured it would be a failed first try anyway. Besides, there are many other sites offering excellent advice on ‘How to Install WSLg’ already…including the GetHub’s Microsoft WSLg page. I do have some Novice Tips tho…
- Novice Tip 1: Windows 10 comes with the Backup and Restore (Windows 7) app, in the Control Panel. Make a full backup image with that app. (Note: This is when it’s nice to have a 2nd computer for tests.)
- Novice Tip 2: Remove the main WIN10 OS drive (SSD, HDD, M.2 NVMe, etc.) and replace it with that spare drive you have for emergencies or testing. Make sure it is either the exact same size or bigger. You’ll be using the Windows Insider Program – Dev Channel, so best to use a spare drive for such testing, IMHO.
- Novice Tip 3: Restore that backup image you made in Novice Tip 1, to the test drive.
Dig this … sorry, I couldn’t wait any longer to show this pic:
That pic is on a 24” ViewSonic monitor…look at the size of the GParted app’s window, i.e. it’s the same size as when its been installed on a Linux Distro. This WSLg is no small window view like it is in a standard virtual machine ‘Thingy.
The upper-left corner has the Ubuntu terminal…that’s what I used to install the GParted and LibreOffice apps.
The lower-left corner has the Windows 10 Start Menu All apps section showing the Ubuntu 20.04 LTS on Windows (Ubuntu Terminal for command line work) icon, and the Ubuntu app folder icon that contains the GParted & LibreOffice apps that were installed with the Ubuntu Terminal.
GParted is shown on the bottom-center area. It was installed thru the Ubuntu Terminal command line: “sudo apt-get install gparted”. After installation, the app is opened with the “sudo gparted” command line. Passwords whilst in the terminal are not as annoying as the ridiculous “Authenticate” popups. These annoying ‘Thangs:
Those annoying “Authenticate” popups require you to put down the mouse ‘n move to a keyboard to type in a password. When you are in the terminal you are already at the keyboard. Anyway, no annoying “Authenticate” popups so far under WSLg. BTW, GParted is my favorite Linux app, but it can’t be installed on Windows 10 except thru WSLg.
LibreOffice Writer is on the top-center area. I installed it thru the Ubuntu Terminal command line also. First: “sudo add-apt-repository ppa:libreoffice/ppa” Second: “sudo apt update” Third: “sudo apt install libreoffice”. Here’s the Link I used to install it.
- Novice Tip 4: It appears that some Linux apps are opened with a command line (like GParted) and others can be opened by clicking on their icons (like LibreOffice Writer); however, so far, the Ubuntu Terminal needs to be opened first.
That above pic of opened windows shown on the 24” ViewSonic has 3 Linux applications going on – the Ubuntu Terminal, GParted and LibreOffice Writer. That’s 3 Linux applications, then Windows Firefox and Snip & Sketch…all working without interfering with each other.
Here is a pic of their Linux icons in the Windows 10 Start Menu:
- Novice Tip 5: If you switch mouse primary and secondary buttons like I do, then you will notice that Linux apps like GParted ‘n Writer don’t recognize that switch of mouse buttons. Maybe there is a command line for it in the Ubuntu Terminal (?). I noticed it when moving the various windows around and when closing the app. Oh, the Ubuntu Terminal is closely linked with Windows 10, so it easily recognizes the switch of mouse primary and secondary buttons. Guess the Ubuntu Terminal is the link between Windows 10 and the Linux Apps ‘Stuff’. Hey, I’m a novice at the terminology also…besides, 70-93% of all communication is nonverbal.
For the most part, it has all been fairly easy for this novice. Hardest part so far has been trying to figure out the Ubuntu Terminal’s needed command lines, e.g. when the terminal is opened it automatically checks for updates, but it took me long time to find the command line to install the listed package updates.
Also, most all instruction sites recommend getting the vGPU drivers for WSL – AMD’s, Intel’s and Nvidia. They provide links and it seemed easy to do:
LINUX IS LIKE A BOX OF CHOCOLATES – you never know what you’re gonna get!