运行正常查询
xdg-mime query default http://google.com
挂起,直到我移动/移除
~/.local/share/applications/Steam
运行输出破碎的桌面尝试查找错误:
$ fbrokendesktop
sh: -c: line 0: syntax error near unexpected token `fi'
sh: -c: line 0: `which "/home/username/GOG &> /dev/null;if [ $? -ne 0 ];then echo "/home/username/GOG /home/username/Desktop/gog_com-Kerbal_Space_Program_1.desktop;fi '
sh: -c: line 0: syntax error near unexpected token `fi'
sh: -c: line 0: `which "/home/username/GOG &> /dev/null;if [ $? -ne 0 ];then echo "/home/username/GOG /home/username/Desktop/gog_com-Kerbal_Space_Program_2.desktop;fi '
sh: -c: line 0: syntax error near unexpected token `fi'
sh: -c: line 0: `which "/home/username/GOG &> /dev/null;if [ $? -ne 0 ];then echo "/home/username/GOG /home/username/Desktop/gog_com-Darkest_Dungeon_1.desktop;fi '
sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file
sh: -c: line 0: syntax error near unexpected token `fi'
sh: -c: line 0: `which "/home/username/GOG &> /dev/null;if [ $? -ne 0 ];then echo "/home/username/GOG /home/username/Desktop/gog_com-Hollow_Knight_1.desktop;fi '
sh: -c: line 0: syntax error near unexpected token `fi'
sh: -c: line 0: `which "/home/username/GOG &> /dev/null;if [ $? -ne 0 ];then echo "/home/username/GOG /home/username/Desktop/gog_com-Slay_the_Spire_1.desktop;fi '
但不知道它们位于哪个文件中。
我相信这个问题导致我的桌面出现许多错误,包括:从文件资源管理器拖放文件 [我试过所有这些] 挂起,并且雷鸟在启动后很快挂起
答案1
备份我的 Steam 库中所有已安装的游戏(默认位置以外的某个位置,因为它默认位于 内某个位置.local/share/applications/Steam
)。然后删除.local/share/applications/Steam
。然后正常使用 steam。
看来 xdg-open 现在可以正常工作了。fbrokendesktop
但仍报告问题