Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running the latest desktop Ubuntu, and my system seems to have frozen -- the pointer moves when I move the mouse, but nothing else is happening; even the clock is stopped. tty1-6 work just fine, though; it's just the GUI.

Normally I'd just restart, but I have an open file in gedit with a lot of unsaved changes -- inexplicably, the auto-save hasn't worked for ages. Is there a way to go into another console, log in with the same account, and access processes in a GUI console, either to just send a "save" command or just retrieve the open file text?

ETA: I know how to get the process ID with lsof and have done so. I suspect there may be something I can do with disown or the like.

share|improve this question

closed as off-topic by Jorge Castro, mikewhatever, Warren Hill, Eric Carvalho, Tom Brossman May 2 '14 at 21:07

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Bug reports and problems specific to development version of Ubuntu should be reported on Launchpad so that developers can see, track and fix these issues." – Jorge Castro, mikewhatever, Warren Hill, Eric Carvalho, Tom Brossman
If this question can be reworded to fit the rules in the help center, please edit the question.

You can look to see if it saved a backup, ls -A, you should (hopefully) see a file.txt~. Otherwise, I do not know a solution, I would debug why autosave is not working. – bodhi.zazen May 23 '13 at 16:09
I didn't think to mention, but while there IS a file.txt~, it's older than the file.txt. – Shay Guy May 23 '13 at 16:27
check the contents. nano file.txt~ – bodhi.zazen May 23 '13 at 17:59
Further clarification: The contents are older than the main file. I checked before I ever posted this question. – Shay Guy May 23 '13 at 18:06
I do not think there is any way to recover then. – bodhi.zazen May 23 '13 at 18:06

Browse other questions tagged or ask your own question.