I've set FileZilla to automatically download and open files when I double click them. Here are my settings for "File editing" on FileZilla:

File editing settings on FileZilla

Gedit is my default text editor in System Preferences, and I've even searched usr/share/applications/defaults.list for references to Scratch and have found none. (Text files are set to be opened in Gedit.) I've tried sudo apt remove scratch, but it appears not to be installed. Even still, when I double-click a .txt file, it opens in Scratch. How can I fix this?

Text files open in Gedit when I select "Always use default editor", but I want to avoid this because then other file types (.wav, .mp4, etc) open in Gedit as well.

2 Answers 2


This works for me /usr/bin/scratch-text-editor. Good luck

enter image description here

  • No, I want to change it so it never uses Scratch. Right now it uses Scratch when I don't want it to.
    – Kyle
    Commented May 11, 2018 at 16:40
  • 1
    Oh! I see... Sorry
    – emamut
    Commented May 11, 2018 at 16:47

A solution that works for now is to set a custom filetype association within FileZilla:

Filetype associations menu

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.