Because doing `sudo apt-get purge nautilus` breaks `furiusisomount` and `ubuntu-desktop`, I rename `/usr/bin/nautilus` to `/usr/bin/nautilus.ubuntu` and create the following `/usr/local/bin/nautilus` script to keep Nautilus as the preferred file manager on Unity and Dolphin on KDE:
#!/bin/bash
if [ '$KDE_FULL_SESSION' == 'true' ]; then
if [ '${1}' == '--no-desktop' ]; then shift; fi
/usr/bin/dolphin "$@"
else
/usr/bin/nautilus.ubuntu "$@"
fi
but I have repeat `mv /usr/bin/nautilus /usr/bin/nautilus.ubuntu` if the Nautilus package is updated.
Because doing `sudo apt-get purge nautilus` breaks `furiusisomount` and `ubuntu-desktop`, I rename `/usr/bin/nautilus` to `/usr/bin/ nautilus. ubuntu` and create the following `/usr/local/ bin/nautilus` script to keep Nautilus as the preferred file manager on Unity and Dolphin on KDE:
#!/bin/bash usr/bin/ dolphin "$@" usr/bin/ nautilus. ubuntu "$@"
if [ '$KDE_FULL_SESSION' == 'true' ]; then
if [ '${1}' == '--no-desktop' ]; then shift; fi
/
else
/
fi
but I have repeat `mv /usr/bin/nautilus /usr/bin/ nautilus. ubuntu` if the Nautilus package is updated.