Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such fi...

本文详细介绍了如何通过在终端中执行特定命令来解决警告问题,该问题是由于尝试创建一个实际不存在的目录导致的。具体操作包括创建用户目录下的本地共享文件夹,并使用gedit进行编辑,以确保桌面环境安装正确运行。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

To make the warning go away, open terminal and write:

 

sudo mkdir -p /root/.local/share


 

As it so happens the directory which does not exist is a directory which is not supposed to exist in the first place. (~/.local being what it is).

Move away your user’s /home/.local/share folder and start gedit.

Gedit assumes a working desktop environment installation, with ~/.local tree and all. It warns when it doesn’t find one. For /root no such tree ought to exist (it is created on first run of a desktop session, which root is never supposed to do).

转载于:https://www.cnblogs.com/JavaTechLover/archive/2012/09/30/2709156.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值