Debian 文件管理界面自定义指南
一 确定默认文件管理器
xdg-mime query default inode/directorynautilus --version / thunar --version / dolphin --version二 GNOME Nautilus 的可视与行为自定义
sudo apt install gnome-tweakssudo apt install gnome-shell-extensions(如 Desktop Icons NG、Dash to Dock、Dash to Panel 等),可改变桌面与面板布局,从而间接优化文件管理的使用体验。sudo apt install dconf-editordefault-visible-columns:设置默认可见列,例如 ['name','type','size','date_modified_with_time']default-columns-order:设置列显示顺序(需关闭“使用默认值”后修改)sudo apt install nautilus-adminsudo mkdir -p /usr/share/nautilus-adminsudo nano /usr/share/nautilus-admin/nautilus-admin-actions[Desktop Entry]
Type=Action
Name=Open in VS Code
Icon=visual-studio-code
Profiles=profile-zero;
[X-Action-Profile profile-zero]
MimeTypes=all/all;
Application=code;
nautilus -q && nautilus。三 Xfce Thunar 的可视与行为自定义
四 KDE Dolphin 的可视与行为自定义
kde-service-menu-*),在“系统设置”→“应用程序”→“默认应用程序/文件关联”中也可调整打开方式。五 进阶 终端文件管理器与快捷键工作流
sudo apt install rofi rangermkdir -p ~/.config/rofi/launchersnano ~/.config/rofi/launchers/ranger-launcher.sh#!/usr/bin/env bash
rofi \
-show filebrowser \
-theme ~/.config/rofi/themes/style-1.rasi \
-file-browser-cmd "ranger"
chmod +x ~/.config/rofi/launchers/ranger-launcher.sh