Scratch crashes when restoring last session

Asked by Christian

Hello!

When I start Scratch the application tries to restore the last session and crashes.
I tried to de- and re-install Scratch but it doesn't help.

How can I delete the session information of Scratch?
When I start Scratch as administrator (SUDO) it works fine.

Thank you very much and best regards,
Christian

System info:
elementary OS
Version 0.2.1 (luna) (64-Bit)
Kernel Linux 3.2.0-88-generic
GNOME 3.4.2
Memory 1,9 GiB
CPU Intel® Core™2 Duo CPU T6400 @ 2.00GHz × 2
Available HD space 55,1 GiB

Scratch version: 2.0.2.1

Question information

Language:
English Edit question
Status:
Solved
For:
Scratch Edit question
Assignee:
No assignee Edit question
Solved by:
Djax
Solved:
Last query:
Last reply:
Revision history for this message
Best Djax (parnold-x) said :
#1

Hi Christian,
the "session" information what file was opened is stored in gsettings.
In you case you can reset it with

gsettings set org.pantheon.scratch.settings opened-files ['']

Revision history for this message
Christian (0-latnchpad-6) said :
#2

Hi Djax!
Your proposed solution works fine. Now I can start Scratch again.
Thank you very much and best regards,
Christian