4

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 Nov 16 '15 at 16:38
  • update my question and picture of terminal output – MH Raihan Nov 17 '15 at 15:21
  • Does scratch is opened or not? – Ravan Nov 17 '15 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 Nov 18 '15 at 1:11
  • 1
    Scratch does not handle large files well. – Lewis Goddard Jan 18 '16 at 15:08
3

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 Feb 5 '16 at 1:48
  • Then we both get some reputation if you mark as answer (+2 for you and +10 for me) – Suici Doga Feb 5 '16 at 12:45
2

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. – Marcel Kohls May 18 '17 at 14:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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