I have created a document and have not saved it yet. The gedit has become unresponsive. Is there anyway I can save or get the content of my file before killing the process?
gedit unresponsive how to save my file?
gedit will create a backup file called filename~
in the same folder as the edited file. It will contain the contents before last save. If you have saved the file during edit it may contain at least a part of the contents
I did not have it saved! any solution? –
Electrophone
unfortunately not. except from making a screenshot. sorry –
Gallicism
when the contents aren't saved, they only exist in the memory space of the gedit process. It is by design that no other processes can access this memory regions. Only the gedit process which is hanging or the kernel could access this memory. You can try to obtain a core dump: serverfault.com/questions/173999/… –
Gallicism
Another idea would be to stop gedit from hanging. are you able to obtain the pid of gedit? –
Gallicism
when I ps it I get some pid but im not sure if they are the right ones. so what do u suggest to stop it from hanging? –
Electrophone
let us continue this discussion in chat –
Gallicism
You might have to start gedit as root and then save your file.
Then you could do $gedit filename
and try to save it.
© 2022 - 2024 — McMap. All rights reserved.