You are not logged in.

#1 2012-08-08 08:20:24

CanisMajorWuff
Member
Registered: 2012-08-05
Posts: 23

Safe system shutdown

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

#2 2012-08-08 08:27:22

tr!x0r
Member
From: Belgium
Registered: 2010-12-31
Posts: 55
Website

Re: Safe system shutdown

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

#3 2012-08-08 08:38:39

CanisMajorWuff
Member
Registered: 2012-08-05
Posts: 23

Re: Safe system shutdown

))) Yes

Last edited by CanisMajorWuff (2012-08-08 08:41:57)

Offline

#4 2012-08-08 08:59:47

tr!x0r
Member
From: Belgium
Registered: 2010-12-31
Posts: 55
Website

Re: Safe system shutdown

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

#5 2012-08-08 09:31:30

domac
Member
Registered: 2012-08-06
Posts: 102

Re: Safe system shutdown

tr!x0r wrote:

You mean something like the annoying Windows7 thing where it keeps waiting until all your processes are closed?

lol at that tongue …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! smile


domac [ git ]

Offline

#6 2012-08-08 23:48:56

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Safe system shutdown

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

#7 2012-08-09 06:20:19

tr!x0r
Member
From: Belgium
Registered: 2010-12-31
Posts: 55
Website

Re: Safe system shutdown

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

#8 2012-08-09 17:46:41

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Safe system shutdown

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

#9 2012-08-09 18:41:26

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Safe system shutdown

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

Board footer

Powered by FluxBB