打开网易云音乐:netease-cloud-music %U
报错:/opt/netease/netease-cloud-music/netease-cloud-music: symbol lookup error: /lib/x86_64-linux-gnu/libgio-2.0.so.0: undefined symbol: g_module_open_full
编辑 gedit /opt/netease/netease-cloud-music/netease-cloud-music.bash
#!/bin/sh HERE="$(dirname "$(readlink -f "${0}")")" export LD_LIBRARY_PATH=/opt/netease/netease-cloud-music/libs export QT_PLUGIN_PATH="${HERE}"/plugins export QT_QPA_PLATFORM_PLUGIN_PATH="${HERE}"/plugins/platforms exec "${HERE}"/netease-cloud-music $@
添加进入x86_64-linux-gnu目录的命令:cd /lib/x86_64-linux-gnu/
#!/bin/sh HERE="$(dirname "$(readlink -f "${0}")")" export LD_LIBRARY_PATH=/opt/netease/netease-cloud-music/libs export QT_PLUGIN_PATH="${HERE}"/plugins export QT_QPA_PLATFORM_PLUGIN_PATH="${HERE}"/plugins/platforms cd /lib/x86_64-linux-gnu/ exec "${HERE}"/netease-cloud-music $@