GUI , Desktop or Window Manager on Windows Subsystem Linux(WSL)


Table of Contents

Headnotes

Many equations and formulas look intimidating. However, when you hunt them down, they are definitely not! Just papertigers!

Now let's hunt the papertiger.

sudo apt install xfce4
cd ~
nano .bashrc
export DISPLAY=:0.0
xfce4-session
if pgrep -x "gedit" > /dev/null
then
    echo "Running"
else
    xfce4-session
fi
if ! pgrep -x "xfce4-session" > /dev/null
then
    xfce4-session
fi

P.S. Running command xfce4-session should be avoided. One should run startxfce4 instead.


Footnotes

There are many excellent tutorials out there. Some tutorials are too intuitive and it's helpful, but you cannot get it straight on the math details. Some focused on dymestifying math. Some focused on code. I found the best tutorials that give you the conceptual ideas and are possible for implementation without being blind to the math details. Drop a comment if I failed. It would be really appreciable.


If you want to cite this article, please cite this article as:

Lachlan Chen, "GUI , Desktop or Window Manager on Windows Subsystem Linux(WSL)," in EarnFromScratch, February 24, 2019, https://www.earnfs.com/en/html/1566.htm.

or

@misc{lachlanchen2020tutorial,
title=GUI , Desktop or Window Manager on Windows Subsystem Linux(WSL),
author={Chen, Lachlan},
year=February 24, 2019
}


EarnFromScratch (June 14, 2021) GUI , Desktop or Window Manager on Windows Subsystem Linux(WSL). Retrieved from https://www.earnfs.com/en/html/1566.htm.
"GUI , Desktop or Window Manager on Windows Subsystem Linux(WSL)." EarnFromScratch - June 14, 2021, https://www.earnfs.com/en/html/1566.htm
EarnFromScratch February 24, 2019 GUI , Desktop or Window Manager on Windows Subsystem Linux(WSL)., viewed June 14, 2021,<https://www.earnfs.com/en/html/1566.htm>
EarnFromScratch - GUI , Desktop or Window Manager on Windows Subsystem Linux(WSL). [Internet]. [Accessed June 14, 2021]. Available from: https://www.earnfs.com/en/html/1566.htm
"GUI , Desktop or Window Manager on Windows Subsystem Linux(WSL)." EarnFromScratch - Accessed June 14, 2021. https://www.earnfs.com/en/html/1566.htm
"GUI , Desktop or Window Manager on Windows Subsystem Linux(WSL)." EarnFromScratch [Online]. Available: https://www.earnfs.com/en/html/1566.htm. [Accessed: June 14, 2021]


Leave a Reply