Tags: ,

1. Install the scite package

  1. apt-get install scite

2. Create/modify the file

  1. ~/.local/share/applications/defaults.list
  2.     [Default Applications]
  3.     text/plain=scite.desktop

This will set scite as the default plaintext editor for this user.

If you want to modify the system-wide settings or have a look at other file associations go to

  1. /usr/share/gnome/applications/defaults.list

The scite.desktop file we linked to is located at

  1. /usr/share/applications/scite.desktop