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 许可协议。转载请注明出处!
相关文章
Ubuntu-18-04-修改登录界面背景图
前言 Ubuntu 18.04用了一段时间了,在Gnome桌面的加持下,兔子 18.04 的颜值还不错,加上自己搭配了几套GTK主题,简直美滋滋,唯一美中不足的就是,Ubuntu的登录管理器换成GDM之后,登录界面背景没办法修改了,这怎么行呢,于是经过一番折腾,有了本文。 首先,准备一张图片 图片的尺寸呢,根据你的屏幕分辨率确定咯。 然后把图片放到/usr/share/backgrounds/目录
2025-10-27 · 系统配置 · 约 1 分钟
小心误关了NAS服务器!修改Linux的电源键功能
NAS居然离线关机了?电源键被傻逼系统接管了。改改`logind.conf`让这玩意忽略电源键,省得误操作重启关机。谁用谁知道,别真当NAS是玩具。
2025-10-27 · 系统配置 · 约 1 分钟
Ubuntu-18-04-修复-Telegram-中文输入法
前言 Ubuntu 18.04,新的 Gnome 桌面的确好看很多。但同时出现了很多之前在 Unity 没有出现过的 BUG,例如在 Telegram 下无论怎么切换输入法都不能输入中文。 大概是所有 QT 编写的应用程序在 Gnome3 下都会出现这个问题,解决方法是引入 QT_IM_MODULE 变量。大致 步骤如下 编辑~/.local/share/applications/telegram
2025-10-27 · 系统配置 · 约 1 分钟
Debian下SSH服务的安装与配置
https://cnzhx.net/blog/linux-server-ssh-key-auth-configuration/
2025-10-27 · 系统配置 · 约 1 分钟
讨论
共 0 条加载评论中…