返回文章列表文章索引阅读全文
STARBLOG / 阅读手记
系统配置

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

曦远 (DealiAxy)约 4 分钟
目录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 分钟

讨论

共 0 条

良言一句三冬暖,恶语伤人六月寒。

加载评论中…