ubuntu / WSL

Ubuntu WSL image build and launcher code.
MIT License
139 stars 39 forks source link

The `jetbrains-toolbox.desktop` file of jetbrains-toolbox under Ubuntu WSL cannot be used #449

Closed linghengqian closed 5 months ago

linghengqian commented 5 months ago

cmd /c ver

Microsoft Windows [版本 10.0.22631.3296]

wsl --status

默认分发: Ubuntu-22.04 默认版本: 2

Did the problem occur during installation?

What happened?

sudo apt update && sudo apt upgrade -y
sudo apt install gnome-text-editor gimp vlc nautilus x11-apps -y

cd /tmp
wget https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/microsoft-edge-stable_122.0.2365.92-1_amd64.deb?brand=M102 -O ./microsoft-edge-stable.deb
sudo apt install --fix-missing ./microsoft-edge-stable.deb -y
sudo apt install libfuse2 libxi6 libxrender1 libxtst6 mesa-utils libfontconfig libgtk-3-bin tar -y
wget https://download-cdn.jetbrains.com/toolbox/jetbrains-toolbox-2.2.3.20090.tar.gz -O ./jetbrains-toolbox.tar.gz
tar -xzf ./jetbrains-toolbox.tar.gz
./jetbrains-toolbox-2.2.3.20090/jetbrains-toolbox --install
rm -rf /tmp/jetbrains-toolbox-2.2.3.20090/

~/.local/share/applications/jetbrains-toolbox.desktop
$ ~/.local/share/applications/jetbrains-toolbox.desktop
/home/linghengqian/.local/share/applications/jetbrains-toolbox.desktop: 行 1: [Desktop: 未找到命令
/home/linghengqian/.local/share/applications/jetbrains-toolbox.desktop: 第 3 行: fg: 无任务控制
/home/linghengqian/.local/share/applications/jetbrains-toolbox.desktop: 行 7: Toolbox: 未找到命令
/home/linghengqian/.local/share/applications/jetbrains-toolbox.desktop: 行 11: X-GNOME-Autostart-enabled=true: 未 找到命令
/home/linghengqian/.local/share/applications/jetbrains-toolbox.desktop: 行 13: X-GNOME-Autostart-Delay=10: 未找到 命令
/home/linghengqian/.local/share/applications/jetbrains-toolbox.desktop: 行 14: X-MATE-Autostart-Delay=10: 未找到命令
/home/linghengqian/.local/share/applications/jetbrains-toolbox.desktop: 行 15: X-KDE-autostart-after=panel: 未找到命令

What was expected?

Steps to reproduce

cd /tmp wget https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/microsoft-edge-stable_122.0.2365.92-1_amd64.deb?brand=M102 -O ./microsoft-edge-stable.deb sudo apt install --fix-missing ./microsoft-edge-stable.deb -y sudo apt install libfuse2 libxi6 libxrender1 libxtst6 mesa-utils libfontconfig libgtk-3-bin tar -y wget https://download-cdn.jetbrains.com/toolbox/jetbrains-toolbox-2.2.3.20090.tar.gz -O ./jetbrains-toolbox.tar.gz tar -xzf ./jetbrains-toolbox.tar.gz ./jetbrains-toolbox-2.2.3.20090/jetbrains-toolbox --install rm -rf /tmp/jetbrains-toolbox-2.2.3.20090/

~/.local/share/applications/jetbrains-toolbox.desktop



### Additional information

- Null.
linghengqian commented 5 months ago