答案1
解决方案是转到:
/var/lib/flatpak/exports/bin/
我在哪里找到这个:
lrwxrwxrwx 1 root root 105 Jan 7 13:28 com.jetbrains.PyCharm-Professional -> ../../app/com.jetbrains.PyCharm-Professional/current/active/export/bin/com.jetbrains.PyCharm-Professional
所以我将默认应用程序设置为:
/var/lib/flatpak/exports/bin/com.jetbrains.PyCharm-Professional
现在可以了