当我从终端启动 Gimp 时,它无法启动。我收到以下错误消息:
(gimp:17589): Gtk-WARNING **: Attempting to read the recently used
resources file at `/home/richard/.local/share/recently-used.xbel', but
the parser failed: Failed to open file
'/home/richard/.local/share/recently-used.xbel': Permission denied.
不确定如何设置权限。
答案1
发出以下命令来修复 GIMP:
sudo chown richard:richard /home/richard/.local/share/recently-used.xbel
尝试运行 GIMP 或将结果发给我。
编辑:
失败时恢复:
sudo chown root:root /home/richard/.local/share/recently-used.xbel
并尝试设置新的权限
sudo chmod 700 /home/richard/.local/share/recently-used.xbel
更新:
设置/home/richard/.local/share/recently-used.xbel
所有者richard:richard
和0600
权限以及删除旧的 GIMP 配置可能会解决问题。