When I try to open Scratch, a window appears and I need to use the "force close" option. Screenshot of force close

How may I solve this problem?

I really like the Scratch UI, so I want to use this application.

When try to use scratch-text-editor from the terminal , I get this error.

Scratch Terminal Errors

  • 3
    Try running scratch-text-editor from the terminal and let us know what the output is.
    – r3bl
    Commented Nov 16, 2015 at 16:38
  • update my question and picture of terminal output
    – MH Raihan
    Commented Nov 17, 2015 at 15:21
  • Does scratch is opened or not?
    – Ravan
    Commented Nov 17, 2015 at 15:29
  • it's not opened. when try to open scratch , scratch is not responding window appear and need to force close .
    – MH Raihan
    Commented Nov 18, 2015 at 1:11
  • 1
    Scratch does not handle large files well.
    – Lewis Goddard
    Commented Jan 18, 2016 at 15:08

2 Answers 2


You can try clearing the currently opened files in Scratch since I had this problem because I opened a big file. To clear the currently opened files list run gsettings set org.pantheon.scratch.settings opened-files []

  • @coppettim Can you mark this the as answer?
    – Suici Doga
    Commented Feb 5, 2016 at 1:48
  • Then we both get some reputation if you mark as answer (+2 for you and +10 for me)
    – Suici Doga
    Commented Feb 5, 2016 at 12:45

If I type gsettings set org.pantheon.scratch.settings opened-files [] I get The key "opened-files" doesn't exist"(something like that. My System is in Spanish). I write what I did in case it helps someone else.

I installed dconf-editor via sudo apt install dconf-editor, then I opened it and followed the route org » pantheon » scratch » settings and there I emptied the []. It's the same that the command does, but in a visual way.

  • using the dconf-editor solves the problem. Also emptied the opened-files-view1 and opened-files-view2. Thanks. Commented May 18, 2017 at 14:13

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.