Use Cygwin's xwin to run WSL GNOME Desktop
ISwitch.exe --- Contrl app window maxsize,Resolving windows and WSL gui app input method conflicts
ISwitch.exe -c --- Resolving windows and WSL gui app input method conflicts
ISwitch.exe -w --- Contrl app window maxsize
ISwitch.exe -s --- Move task to background( default -c -w)
Important Notice :
1.Executing Windows terminal with administrator
2.Executing WSL with root (wsl -u root -d Ubuntu )
su - root
apt install gedit fcitx fcitx-config-gtk fcitx-sunpinyin fcitx-pinyin fcitx-googlepinyin xfonts-intl-chinese
apt install xfonts-wqy xfonts-unifont fonts-wqy*
apt install linux-tools-5.4.0-77-generic hwdata
apt install language-pack-gnome-zh-hans language-pack-kde-zh-hans language-pack-zh-hans
apt install daemonize gnome
mkdir /opt/WSL
cd /opt/WSL
git clone https://github.com/nufeng1999/WSL_GNOME.git --recurse-submodules
or
git clone git://github.com/nufeng1999/WSL_GNOME.git --recurse-submodules
cd WSL_GNOME
chmod +x ./install.sh;./install.sh
DOS/PowerShell
wsl --shutdown
wsl -u root -d Ubuntu
// execute gnome
wsl2-systemd
gnome-session &
If you feel that these contents are helpful to you, you can make friendly sponsorship to developers.You may get more help after sponsorship
如果你感觉这些内容对你有所帮助,可以向开发者进行友情赞助。赞助后你将可能获得更多帮助。
群名称:
WSL_XWin_Cygwin
群 号:
1014866104