You are not logged in.
Pages: 1
How to shutdown or restart the system safely? For, example, if I have unsave text file in gvim or document in office and execute safe shutting down tool, this tool does not continued shutting process. So the safe shutting tool which sends kill signals to applications and wait okay signals from them.
Offline
You mean something like the annoying Windows7 thing where it keeps waiting until all your processes are closed?
Remember, when using Linux, you're the one in control
http://www.linux-answered.com
Offline
))) Yes
Last edited by CanisMajorWuff (2012-08-08 08:41:57)
Offline
mmmh... I've never heard of such a project. Anyway, I'll do some research and I hope to find something like that. :-)
Remember, when using Linux, you're the one in control
http://www.linux-answered.com
Offline
You mean something like the annoying Windows7 thing where it keeps waiting until all your processes are closed?
lol at that
…but I agree… well if it's about vim you could modify your .vimrc to make a backup.
not quite sure, though, if this works… I'll test it and come back with results! ![]()
domac [ git ]
Offline
I see a solution here. You can make your text editor save everything you edit to /tmp/documents/xyz frequently. Then you have modifiy the rc.shutdown scripts to save /tmp/documents/xyz to your harddrive, where it will be saved until the next restart. That way it will not be lost if you forget to save it, and there should not be a delay from closing processes a.k.a Windows7 thing :-P
Depending on the frequency, only the last x seconds of changes to you document will be lost.
Or just do not inititate shutdown blindly...
Offline
I've done some research last night and I think the solution of teateawhy is going to be the best you can get it.
I didn't really find something like you asked.
Remember, when using Linux, you're the one in control
http://www.linux-answered.com
Offline
Mind if I ask why you would want or ever need such a thing? The only benefit it can offer is base convenience which, if you're an Archer, is a terrible characteristic to desire. Save your work regularly, only open those apps you can monitor/interact with at a single time and close all windows before shutting down. Problem solved.
Offline
I completely agree with anoknusa, writing without saving is a bad habit. You can of course use # echo text >> file instead of an editor to avoid forgetting to save :-P
Offline
Pages: 1