From 8b0577a772eb82b173fc79b26e68996e54515274 Mon Sep 17 00:00:00 2001 From: "lion.chan" Date: Fri, 25 Dec 2020 01:03:15 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E8=A6=81=20sync.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lion.chan --- .../OperatingSystem/Linux/User/创建_Desktop_Entry.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Software/Development/OperatingSystem/Linux/User/创建_Desktop_Entry.md b/Software/Development/OperatingSystem/Linux/User/创建_Desktop_Entry.md index abbb76c..931137a 100644 --- a/Software/Development/OperatingSystem/Linux/User/创建_Desktop_Entry.md +++ b/Software/Development/OperatingSystem/Linux/User/创建_Desktop_Entry.md @@ -38,3 +38,13 @@ Categories=Development 在 ~/.local/share/applications 目录下也可以保存 Desktop Entry,这个目录属于用户级别设置,只对当前用户有效。 如果 ~/.local/share/applications 与 /usr/share/applications 目录下存在同名称文件,则用户级别设置生效。有时系统级别设置有效,而用户级别设置无效,将导致菜单中无法找到该应用的入口。 + +## 3.特殊说明 + +修改 ~/.local/share/applications 或 /usr/share/applications 目录中的内容后需要执行一下: + +```bash +sync +``` + +命令,确保修改生效。