Dolphin4ubuntu
来自Ubuntu中文
跳到导航跳到搜索
使Dolphin成为Ubuntu默认文件管理器
面板-位置
1.备份
sudo mv /usr/bin/nautilus /usr/bin/nautilus.real
2.重建
sudo gedit /usr/bin/nautilus
3.修改脚本
#!/bin/bash #zenity --info --text="${1}/${@}" #DEBUG if [ -n "${1}" ]; then if [ "${1:0:1}" == "/" ]; then dolphin "${1}" elif [ "${1}" == "--no-desktop" ]; then if [ -n "${2}" ]; then if [ "${2:0:7}" == "file://" ] || [ "${2:0:1}" == "/" ]; then dolphin "${2}" else nautilus.real "${2}" fi else dolphin fi else nautilus.real "${@}" fi else dolphin fi
4.权限
sudo chmod 755 /usr/bin/nautilus
面板-位置-计算机
sudo vi /usr/share/applications/nautilus-computer.desktop
Exec=nautilus --no-desktop computer:
替换为
Exec=dolphin /