![Gedit:系统管理员已禁用保存功能](https://linux22.com/image/968585/Gedit%EF%BC%9A%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86%E5%91%98%E5%B7%B2%E7%A6%81%E7%94%A8%E4%BF%9D%E5%AD%98%E5%8A%9F%E8%83%BD.png)
我有疑问编辑。如果我开始编写新文件或编辑现有文件,则“保存”按钮和保存快捷方式将被禁用。如果我退出已修改的文档,则会打开一个对话框,其中包含以下文本:
Changes to the document "<Name>" will be permanently lost. Saving has
been disabled by the system administrator.
有趣的是,我可以通过右键单击侧面板中的文档来保存文件。
我尝试在退出时从终端删除与 gedit 相关的 gconf ( rm -rf .gconf/apps/gedit-2/
),但是没有效果。
答案1
它似乎是 Gnome 中的用户范围设置,Gnome 应用程序可以看到它,并且如果它们愿意的话,可以遵守它。
在 Ubuntu-tweak 中:
- 去
Tweaks > Michellaneous
- 取消选中
Disable save to disk
没有 Ubuntu-tweak:
- 按 ALT+F2
- 进入
gsettings reset org.gnome.desktop.lockdown disable-save-to-disk
- 按
Return/Enter