Comment 5 for bug 1312135

Revision history for this message
> "Wetware Random Number Generator" (tnrng-purge-deactivatedaccount) wrote :

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.