Mar 24, 2009

make scite, a default editor in gnome

Personally, I prefer scite over gedit (The one that is included by default in gnome). So soon after every system upgrade (fresh installation), I simply remove gedit and install scite:
sudo sh -c "apt-get -y remove gedit && apt-get -y install scite"

Now to make it a default text editor run:
sudo update-alternatives --install /usr/bin/gnome-text-editor \
gnome-text-editor /usr/share/scite 1