从这里安装Wine无效快捷方式清理工具
https://winegame.net/games/no-wine-desktop/
装好后点启动即可
Wine游戏助手有时候会自动创建一些并不能使用的Windows应用程序图标,可以打开终端,执行以下命令删除(不要加sudo,不要用root权限执行):
rm -rf ~/.local/share/applications/wine*;
sed -i '/wine/d' ~/.local/share/applications/mimeinfo.cache;
dir="$HOME/.local/share/applications";
if [ -d "$dir/wine" ]; then
rm -rf "$dir/wine/";
fi
find "$dir" -type f -name 'wine-extension-*.desktop' | while read f; do
rm "$f";
mkdir -p "$f";
done
sed -i '/wine-extension-/d' "$dir/mimeinfo.cache";
touch "$dir/wine";
mkdir -p \
"$dir/wine-extension-chm.desktop" \
"$dir/wine-extension-gif.desktop" \
"$dir/wine-extension-hlp.desktop" \
"$dir/wine-extension-htm.desktop" \
"$dir/wine-extension-html.desktop" \
"$dir/wine-extension-ini.desktop" \
"$dir/wine-extension-jfif.desktop" \
"$dir/wine-extension-jpe.desktop" \
"$dir/wine-extension-msp.desktop" \
"$dir/wine-extension-pdf.desktop" \
"$dir/wine-extension-png.desktop" \
"$dir/wine-extension-rtf.desktop" \
"$dir/wine-extension-txt.desktop" \
"$dir/wine-extension-url.desktop" \
"$dir/wine-extension-vbs.desktop" \
"$dir/wine-extension-wri.desktop" \
"$dir/wine-extension-xml.desktop" \
;
@姜辰,请不要在严肃教程中发表危险命令,真的有人会执行。