[Bug Report] 更新后的新特性
Tofloor
poster avatar
𰻞𰻝面
deepin
2025-11-27 08:15
Author

更新后新建菜单会显示主目录的文件
image.png

Reply Favorite View the author
All Replies
186******75
deepin
2025-11-27 09:18
#1

功能变强大了很多呀!

Reply View the author
xuqi
deepin testing team
2025-11-27 09:20
#2
  • 感谢反馈~想问一下这个是什么场景下产生的呢 ~?之前有做一些什么操作吗,我们尝试复现一下这个问题
Reply View the author
deepin-流云
Super Moderator
Community OP
2025-11-27 09:21
#3

什么版本,25.0.9么?是不是装过什么应用或者插件之后导致的,内部没有遇到过这样的问题。

Reply View the author
𰻞𰻝面
deepin
2025-11-27 11:03
#4
deepin-流云

什么版本,25.0.9么?是不是装过什么应用或者插件之后导致的,内部没有遇到过这样的问题。

就是前几天更新后突然发现的,内容是我主目录下编译的文件和工具,放到任意目录后消失,拉出来就有了(需要注销或重启桌面环境)

image.png

Reply View the author
𰻞𰻝面
deepin
2025-11-27 11:04
#5
xuqi
  • 感谢反馈~想问一下这个是什么场景下产生的呢 ~?之前有做一些什么操作吗,我们尝试复现一下这个问题

都是主目录下的文件,放到任意目录后消失,拉出来就有了(需要注销或重启桌面环境)

image.png

Reply View the author
𰻞𰻝面
deepin
2025-11-27 11:05
#6
186******75

功能变强大了很多呀!

哈哈,我也很惊讶joy

Reply View the author
186******75
deepin
2025-11-27 13:28
#7
𰻞𰻝面

哈哈,我也很惊讶joy

你是陕西省的吧!𰻞𰻝面

Reply View the author
𰻞𰻝面
deepin
2025-11-27 13:42
#8
186******75

你是陕西省的吧!𰻞𰻝面

西安的joy

Reply View the author
BLumia
deepin
2025-11-27 16:47
#9

看下你的 ~/.config/user-dirs.dirs的文件内容?主要关注有没有 XDG_TEMPLATES_DIR这个东西

Reply View the author
𰻞𰻝面
deepin
2025-11-27 18:16
#10
BLumia

看下你的 ~/.config/user-dirs.dirs的文件内容?主要关注有没有 XDG_TEMPLATES_DIR这个东西

# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DESKTOP_DIR="$HOME/桌面"
XDG_DOWNLOAD_DIR="$HOME/下载"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/文档"
XDG_MUSIC_DIR="$HOME/音乐"
XDG_PICTURES_DIR="$HOME/图片"
XDG_VIDEOS_DIR="$HOME/视频"

Reply View the author
BLumia
deepin
2025-11-27 20:36
#11

XDG_TEMPLATES_DIR="$HOME/"

这个是不对的,可能不知道什么程序改了这个文件(甚至把其他的几个文件夹名称改成了中文...)。

常规的话应该是这样:

# This file is created by dde.
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
# 
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/.Templates"
XDG_PUBLICSHARE_DIR="$HOME/.Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos

可以手动替换你那个文件的内容为我这个的,或者另一个方式是直接开终端执行这个命令:

LC_ALL=C.UTF-8 xdg-user-dirs-update --force

完事儿注销重新登录或者重启一下,使文管以及可能用到这个信息的其他程序工作正常。

备注:上面配置中是英文是没问题的,也是deepin的默认行为。你在深度文管看到的这些文件夹的显示名始终会是中文的名称。

Reply View the author