Topic: Make nautilus --no-desktop default.
Hello everybody.
I don't use Crunchbang at this moment, but I installed Arch Linux next to it, trying to make some sort of Andreas/#! mix that I like better which is lighter. Don't get me wrong, Crunchbang is fast, but Debian is not thaaat fast, while Arch Linux is. So, I want to keep it that way: light.
Now Crunchbang uses Thunar as default file manager which doesn't manage the desktop, however I like nautilus better for it's features like easy dualpane, and that's about it. Anyway, I really like Nautilus over Thunar, so I install Nautilus. The annoying thing about it is the desktopmanaging: this means no access to the normal Openbox menu and suddenly a different background and icons and aargh.
So my solution:
I copied /usr/bin/nautilus to /usr/bin/nautilus.original
Deleted /usr/bin/nautilus
Made a new shell script called nautilus in /usr/bin with the following contents:
#!/bin/bash
nautilus.original $@ --no-desktop &the '$@' means 'expand all received arguments'.
this causes 'nautilus /home/andreas/images/wallpapers/' to be executed as 'nautilus.original /home/andreas/images/wallpapers/ --no-desktop'
Et voila: a default --no-desktop nautilus file manager without needing gconf2-tool, gnome-settings-daemon or anything like that to be run at boot.
Now I just had a look, and I had gconf2-tool installed, but I don't care, I like my solution better.
This can of course be applied to every other program out there, if you want a few options always to be default without typing them ![]()
I hope you found this useful and I would like to see other people using it for their own purpose!