replace gedit with default text editor, credits: busprofi