感谢知乎用户@拉布:/p/518108518
1.终端中输入以下命令:
cd /opt/netease/netease-cloud-music/sudo vim netease-cloud-music.bash
#!/bin/shHERE="$(dirname "$(readlink -f "${0}")")"export LD_LIBRARY_PATH="${HERE}"/libsexport QT_PLUGIN_PATH="${HERE}"/plugins export QT_QPA_PLATFORM_PLUGIN_PATH="${HERE}"/plugins/platformscd /lib/x86_64-linux-gnu/ # 插入该行exec "${HERE}"/netease-cloud-music $@
2.保存netease-cloud-music.bash后再点击网易云音乐图标即可进入!