![文本/纯 mimetype 设置为“Python 文件(无控制台)”](https://linux22.com/image/197378/%E6%96%87%E6%9C%AC%2F%E7%BA%AF%20mimetype%20%E8%AE%BE%E7%BD%AE%E4%B8%BA%E2%80%9CPython%20%E6%96%87%E4%BB%B6%EF%BC%88%E6%97%A0%E6%8E%A7%E5%88%B6%E5%8F%B0%EF%BC%89%E2%80%9D.png)
在 Wine 中安装 Wine 和 Python 2.7,然后删除 Wine 后,纯文本文件格式无法更改为Python File (no console)
.
答案1
~/.local/share/mime/packages/x-wine-extension-*
具体而言,删除~/.local/share/mime/packages/x-wine-extension-pyw.xml
解决了该问题。
在 Wine 中安装 Wine 和 Python 2.7,然后删除 Wine 后,纯文本文件格式无法更改为Python File (no console)
.
~/.local/share/mime/packages/x-wine-extension-*
具体而言,删除~/.local/share/mime/packages/x-wine-extension-pyw.xml
解决了该问题。