Overriding nautilus as the default file manager

In Ubuntu nautilus is the default file manager even if you use TDE, KDE or any other desktop environment.

From kcontrol:

 

Even if konqueror is at the top of the list, some applications will still open files and directories through nautilus.

This is exceptionally annoying so I’m going to present a quick and effective method how to change that once and for all.

 

And change from:

To:

The only change is in the ‚exec’ line.

Of course we should also adjust the rest of the file but I does do the trick.