[opensuse-factory] Zypper shutdown command..
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I used the shutdown command, and noticed that zypper demands a "time" to do this, so if there is nothing to update, it will not shut down after the "job is done".. If told to shut down "now", a proposition made in th help file, it shuts down imidiately, without a proper method. Apps that are open don't get saved . I suggest, zypper calls the normal shutdown procedure for this action, now it feels like a crash ;-) On the other hand, zypper handles the upgrade perfectly, no probs wse..nice! - -- Have a nice day, M9. Now, is the only time that exists. OS: Linux 2.6.22.5-31-default x86_64 Huidige gebruiker: monkey9@tribal-sfn2 Systeem: openSUSE 10.3 (x86_64) KDE: 3.5.7 "release 72" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHBki3X5/X5X6LpDgRAtcfAJ0dQIv+nJ1k8rJvpQodYAIxtOkeEQCeM8Mu rjxCyJhHM3ysQ8CEEY21uGM= =6g8p -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 2007-10-05 16:22:47 +0200, M9. wrote:
I used the shutdown command, and noticed that zypper demands a "time" to do this, so if there is nothing to update, it will not shut down after the "job is done".. If told to shut down "now", a proposition made in th help file, it shuts down imidiately, without a proper method. Apps that are open don't get saved .
I suggest, zypper calls the normal shutdown procedure for this action, now it feels like a crash ;-)
On the other hand, zypper handles the upgrade perfectly, no probs wse..nice!
zypper cant know how to tell all your applications how to shut down properly. and it should not know that. if you know that your cmdline will shutdown later on. how about your closing all applications and save the stuff before calling "zypper ; shutdown -h now"? that sounds more reasonable to me. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marcus Rueckert schreef:
On 2007-10-05 16:22:47 +0200, M9. wrote:
I used the shutdown command, and noticed that zypper demands a "time" to do this, so if there is nothing to update, it will not shut down after the "job is done".. If told to shut down "now", a proposition made in th help file, it shuts down imidiately, without a proper method. Apps that are open don't get saved .
I suggest, zypper calls the normal shutdown procedure for this action, now it feels like a crash ;-)
On the other hand, zypper handles the upgrade perfectly, no probs wse..nice!
zypper cant know how to tell all your applications how to shut down properly. and it should not know that. if you know that your cmdline will shutdown later on. how about your closing all applications and save the stuff before calling "zypper ; shutdown -h now"?
that sounds more reasonable to me.
darix
After one knows what happens this is an option. But i do not agree with you that zypper can not call the kde shutdown command? - -- Have a nice day, M9. Now, is the only time that exists. OS: Linux 2.6.22.5-31-default x86_64 Huidige gebruiker: monkey9@tribal-sfn2 Systeem: openSUSE 10.3 (x86_64) KDE: 3.5.7 "release 72" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHClAtX5/X5X6LpDgRApNqAJoDMOxCh86Av7hSH/FFmTwII7CdeQCcCrtS Q5bLJfwZ/IHYPquLvsDh2lA= =TcqL -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
M9. wrote:
Marcus Rueckert schreef:
zypper cant know how to tell all your applications how to shut down properly. and it should not know that. if you know that your cmdline will shutdown later on. how about your closing all applications and save the stuff before calling "zypper ; shutdown -h now"?
After one knows what happens this is an option. But i do not agree with you that zypper can not call the kde shutdown command?
It's *not* zypper, it's the shell. If you find out how to run the kde shutdown from the shell (some dcop magic I expect), then you can of course replace the 'shutdown' command with it. Zypper just exits when it's done with it's job, it doesn't care about your open applications. Michal --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michal Marek schreef:
M9. wrote:
Marcus Rueckert schreef:
zypper cant know how to tell all your applications how to shut down properly. and it should not know that. if you know that your cmdline will shutdown later on. how about your closing all applications and save the stuff before calling "zypper ; shutdown -h now"? After one knows what happens this is an option. But i do not agree with you that zypper can not call the kde shutdown command?
It's *not* zypper, it's the shell. If you find out how to run the kde shutdown from the shell (some dcop magic I expect), then you can of course replace the 'shutdown' command with it.
...
Zypper just exits when it's done with it's job, it doesn't care about your open applications.
Michal
I think, that if you want to have a package manager, that is taken serious, there would be nothing against shutting down the pc, as it should be done, instead of letting it 'crash', what the hell: let it crash! These stupids have to learn how to shut down themselves!....is not the right attitude dude..;-) A package manager installs the apps, so i think the least it could do , is 'care' about them? - -- Have a nice day, M9. Now, is the only time that exists. OS: Linux 2.6.22.5-31-default x86_64 Huidige gebruiker: monkey9@tribal-sfn2 Systeem: openSUSE 10.3 (x86_64) KDE: 3.5.7 "release 72" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHCmBYX5/X5X6LpDgRAhW4AJwIG5hzVgBRmH4COmzNdLL//fh+lwCgnB4S 4/Z8F89rgxdE1fNmQZIa5/4= =35bJ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 M9. wrote:
Zypper just exits when it's done with it's job, it doesn't care about your open applications. I think, that if you want to have a package manager, that is taken serious, there would be nothing against shutting down the pc, as it should be done, instead of letting it 'crash', what the hell: let it crash! These stupids have to learn how to shut down themselves!....is not the right attitude dude..;-) A package manager installs the apps, so i think the least it could do , is 'care' about them?
Please stop requesting such features, zypper will never do things that can be solved by by other way. zypper is a command-line tool. Command-line tools are always as simple as possible just to let users to combine them to do more sophisticated tasks. BTW: If you want a package manager to restart/shutdown your system after it is finished, please, make sure that you close your applications (and save your work) before running the package manager. L. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHCon9VSqMdRCqTiwRAt9hAJ9xM7hjrNMt8+aehQJdp0xn2AgqvwCdG5jI 2gseNVq4eZmjx5gT4/RXMjs= =3V4b -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lukas Ocilka schreef:
Please stop requesting such features, zypper will never do things that can be solved by by other way.
zypper is a command-line tool. Command-line tools are always as simple as possible just to let users to combine them to do more sophisticated tasks.
BTW: If you want a package manager to restart/shutdown your system after it is finished, please, make sure that you close your applications (and save your work) before running the package manager.
L.
OK, i get your point now... ;-) - -- Have a nice day, M9. Now, is the only time that exists. OS: Linux 2.6.22.5-31-default x86_64 Huidige gebruiker: monkey9@tribal-sfn2 Systeem: openSUSE 10.3 (x86_64) KDE: 3.5.7 "release 72" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHCzo+X5/X5X6LpDgRAuwMAJ9aAbvFNVAbW3k7TJcwX/0O9w1mewCgqT/9 0Z9FiWFaBCnSmpefw1B9Pf0= =RqLV -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Dňa Monday 08 October 2007 18:14:28 Michal Marek ste napísal:
M9. wrote:
Marcus Rueckert schreef:
zypper cant know how to tell all your applications how to shut down properly. and it should not know that. if you know that your cmdline will shutdown later on. how about your closing all applications and save the stuff before calling "zypper ; shutdown -h now"?
After one knows what happens this is an option. But i do not agree with you that zypper can not call the kde shutdown command?
It's *not* zypper, it's the shell. If you find out how to run the kde shutdown from the shell (some dcop magic I expect), then you can of course replace the 'shutdown' command with it. Zypper just exits when it's done with it's job, it doesn't care about your open applications.
IIRC, it's 'dcop ksmserver ksmserver logout 1 0 1' But I'm not sure about the arguments. Stano --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marcus Rueckert schreef:
On 2007-10-05 16:22:47 +0200, M9. wrote:
I used the shutdown command, and noticed that zypper demands a "time" to do this, so if there is nothing to update, it will not shut down after the "job is done".. If told to shut down "now", a proposition made in th help file, it shuts down imidiately, without a proper method. Apps that are open don't get saved .
I suggest, zypper calls the normal shutdown procedure for this action, now it feels like a crash ;-)
On the other hand, zypper handles the upgrade perfectly, no probs wse..nice!
zypper cant know how to tell all your applications how to shut down properly. and it should not know that. if you know that your cmdline will shutdown later on. how about your closing all applications and save the stuff before calling "zypper ; shutdown -h now"?
that sounds more reasonable to me.
darix
After one knows what happens this is an option. But i do not agree with you that zypper can not call the kde shutdown command? - -- Have a nice day, M9. Now, is the only time that exists. OS: Linux 2.6.22.5-31-default x86_64 Huidige gebruiker: monkey9@tribal-sfn2 Systeem: openSUSE 10.3 (x86_64) KDE: 3.5.7 "release 72" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHClBYX5/X5X6LpDgRAtZUAKDCg3j8rmDQE7nSiJ/NLF5MS03d/ACgj1fH Jl3TYWiEnXVL4+KNnu6R4vs= =dfkc -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (5)
-
Lukas Ocilka
-
M9.
-
Marcus Rueckert
-
Michal Marek
-
Stanislav Visnovsky