Set the default file manager for Linux.
Searched for a long time and tried for quite a while. You can use the following command: To use Xfce's file manager xdg-mime default Thunar.desktop inode/directory Replace thunar.desktop with the name of your desired file manager If that doesn't work, you can only uninstall the original file manager = =. I prefer using Gnome's file manager: xdg-mime default org.gnome.Nautilus.desktop i
目录1 个章节
Searched for a while and tried many times.
Using this command works:
Use Xfce's file manager
xdg-mime default Thunar.desktop inode/directory
Replace Thunar.desktop with the name of the file manager you want to use.
If it still doesn’t work, you can only uninstall the original file manager == .
I prefer using Gnome's file manager:
xdg-mime default org.gnome.Nautilus.desktop inode/directory
Found another method on the Deepin Forum:
Modify the following line under the
[Default Applications]field in~/.config/mimeapps.list:
inode/directory=org.gnome.Nautilus.desktop
to change the default file manager.
This method is more intuitive and convenient!
It’s strange—I searched through foreign forums and communities earlier and only found the method above, with many explanations being quite vague. After using Chinese search, I quickly found the solution. I have to admit, our domestic computer development is really not lacking!

About

To learn more interesting operations, follow my WeChat official account: DealiAxy Every article is also published on my blog: blog.deali.cn
_EOF_
Set the default file manager for Linux.
- 本文作者:
- 程序设计实验室
- 版权声明:
- 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
相关文章
Linux设置系统邮件转发到指定邮箱
前言 在Linux的操作中,有的时候每敲一下回车,就出来You have new mail in /var/spool/mail/root的提示,究竟是为什么呢? Linux 系统经常会自动发出一些邮件来提醒用户系统中出了哪些问题(收件箱位置:/var/mail/)。可是这些邮件都是发送给 root 用户的。出于系统安全考虑,通常不建议大家直接使用 root 帐户进行日常操作。所以要想点办法来让系
2025-10-27 · 系统配置 · 约 1 分钟
Ubuntu-18-04-修改登录界面背景图
前言 Ubuntu 18.04用了一段时间了,在Gnome桌面的加持下,兔子 18.04 的颜值还不错,加上自己搭配了几套GTK主题,简直美滋滋,唯一美中不足的就是,Ubuntu的登录管理器换成GDM之后,登录界面背景没办法修改了,这怎么行呢,于是经过一番折腾,有了本文。 首先,准备一张图片 图片的尺寸呢,根据你的屏幕分辨率确定咯。 然后把图片放到/usr/share/backgrounds/目录
2025-10-27 · 系统配置 · 约 1 分钟
在Linux系统上一键配置DoH,解决DNS解析被污染
DNS解析被污染?换DoH不就得了。云flare那破工具简单得可笑,国内DNS上游直接用就行。一行配置搞定,谁还不会啊?
2025-10-02 · 系统配置 · 约 1 分钟
在Manjaro上配置国内源
前言 之前我一直用官方源的,但是最近发现官方源变慢了,于是想要切换国内源,顺手做个笔记。 操作 使用以下命令,生成可用中国镜像站列表: sudo pacman-mirrors -i -c China -m rank 刷新完列表之后会弹出来一个框让你选择软件源,这里的就都是国内源了,选择一个喜欢的就行(当然要选择两个以上也没问题。) 日常桌面截图
2025-10-27 · 系统配置 · 约 1 分钟
讨论
共 0 条加载评论中…