gedit unresponsive how to save my file?
Asked Answered
E

2

7

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?

Electrophone answered 23/6, 2013 at 23:30 Comment(0)
G
1

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

Gallicism answered 23/6, 2013 at 23:38 Comment(6)
I did not have it saved! any solution?Electrophone
unfortunately not. except from making a screenshot. sorryGallicism
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 chatGallicism
P
0

You might have to start gedit as root and then save your file.

Starting as root.

Then you could do $gedit filename and try to save it.

Pontormo answered 23/6, 2013 at 23:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.