Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Scratch hasn't worked for the last two months, I can't edit files:
You can reinstall apps / packages with apt-get with the following command:
sudo apt-get install --reinstall scratch-text-editor
As it isn't working currently, a reinstall might not fix it.
To remove all config files (so Scratch settings and last opened files will be gone) as well, use these commands:
sudo apt-get remove --purge scratch-text-editor
sudo apt-get install scratch-text-editor
Open terminal and run:
sudo apt-get install --reinstall pantheon-files
It will solve your problem
Required, but never shown