How to Turn off with the button in fewer seconds?
How to Turn off with the button in fewer seconds?
Hi guys, when I push the button to turn off the pc It starts to count down 30 second and after that It turns off. How can I reduce this time to few second in order to have a quick turn of of the pc? thank you so much
Re: How to Turn off with the button less seconds?
No idea but what happens if you keep the button pushed in?zaqsedc wrote:Hi guys, when I push the button to turn off the pc It starts to count down 30 second and after that It turns off. How can I reduce this time to few second in order to have a quick turn of of the pc? thank you so much
I'm guessing zacsedc means the power button. If that's the case, holding it in forces a shutdown. It is approximately the equivalent of yanking the power cord. Nothing is saved. Depending on how he's running Puppy (Frugal install with a Save file, full install on hard disk,) this may or may not cause problems. Windows wouldn't like it at all.
I run from multisession DVD. If I force a shutdown or if the power fails, I only lose the changes made since the last boot.
I run from multisession DVD. If I force a shutdown or if the power fails, I only lose the changes made since the last boot.
Hi zaqsedc,
You didn't tell us which Puppy you are running. Running newer Puppies as a Frugal Install, you can do the following: Open Menu>System>Puppy Event Manager, click the Save Session Tab, then set the Save Interval to Zero(0); optionally put a check mark in the "Ask at Shutdown" button.
With that setting, you can literally "pull the plug" since, with Automatic Save turned off corruptions of your SaveFile/Folder can't take place because no Automatic Save ever is occurring when you shutdown/reboot. So holding the power-button down to force a shutdown won't damage your SaveFile/Folder.
A couple of things though.(1) If you're running from a hard-drive (not a USB-Stick) you'll have to change the boot argument, for example "kernel /slacko7x/vmlinuz pmedia=atahd psubdir=slacko7x pfix=fsck" to "kernel /slacko7x/vmlinuz pmedia=ataflash psubdir=slacko7x pfix=fsck". The bolding is for emphasis/clarity. As actually written, those terms are not bolded. The "ataflash" argument tricks Puppies into treating a hard-drive as if it were a USB-Stick.
(2) If you put a check mark in the "Ask at Shutdown" button, at shutdown a GUI will appear with two buttons, "Save" and "No Save". Save is high-lighted for ease of use. Just press enter or "s"*. But, if you do nothing, in 60 seconds Puppy will shutdown without Saving. You can immediately shutdown without Saving by typing "n"* or tabbing to "No Save" and pressing Enter/Return.
(3) If you're running an older Puppy such as Lucid or earlier, you may have to install shinobar's pupsaveconfig-2.2.5.pet from here: http://www.murga-linux.com/puppy/viewto ... 081#457081. The test for whether that's needed is if after changing the Save Session setting (and the boot argument) on shutdown the notice that Saving is taking place still appears, you'll need to install this pet.
For Puppies older than Lucid, more changes are necessary. See this thread: http://murga-linux.com/puppy/viewtopic. ... 326#662326.
And if you do turn the Automatic Save off, you should be aware of the "downside" and make such other changes as would be appropriate for your way of running your Puppy. http://murga-linux.com/puppy/viewtopic. ... 066#974066
* With BionicPup64 pressing 'n' or 's' doesn't work; only (1) Return while Save is highlighted to Save; Tab to "No Save" + Return to not Save; or do nothing and it will shutdown without Saving in 60 seconds.
You didn't tell us which Puppy you are running. Running newer Puppies as a Frugal Install, you can do the following: Open Menu>System>Puppy Event Manager, click the Save Session Tab, then set the Save Interval to Zero(0); optionally put a check mark in the "Ask at Shutdown" button.
With that setting, you can literally "pull the plug" since, with Automatic Save turned off corruptions of your SaveFile/Folder can't take place because no Automatic Save ever is occurring when you shutdown/reboot. So holding the power-button down to force a shutdown won't damage your SaveFile/Folder.
A couple of things though.(1) If you're running from a hard-drive (not a USB-Stick) you'll have to change the boot argument, for example "kernel /slacko7x/vmlinuz pmedia=atahd psubdir=slacko7x pfix=fsck" to "kernel /slacko7x/vmlinuz pmedia=ataflash psubdir=slacko7x pfix=fsck". The bolding is for emphasis/clarity. As actually written, those terms are not bolded. The "ataflash" argument tricks Puppies into treating a hard-drive as if it were a USB-Stick.
(2) If you put a check mark in the "Ask at Shutdown" button, at shutdown a GUI will appear with two buttons, "Save" and "No Save". Save is high-lighted for ease of use. Just press enter or "s"*. But, if you do nothing, in 60 seconds Puppy will shutdown without Saving. You can immediately shutdown without Saving by typing "n"* or tabbing to "No Save" and pressing Enter/Return.
(3) If you're running an older Puppy such as Lucid or earlier, you may have to install shinobar's pupsaveconfig-2.2.5.pet from here: http://www.murga-linux.com/puppy/viewto ... 081#457081. The test for whether that's needed is if after changing the Save Session setting (and the boot argument) on shutdown the notice that Saving is taking place still appears, you'll need to install this pet.
For Puppies older than Lucid, more changes are necessary. See this thread: http://murga-linux.com/puppy/viewtopic. ... 326#662326.
And if you do turn the Automatic Save off, you should be aware of the "downside" and make such other changes as would be appropriate for your way of running your Puppy. http://murga-linux.com/puppy/viewtopic. ... 066#974066
* With BionicPup64 pressing 'n' or 's' doesn't work; only (1) Return while Save is highlighted to Save; Tab to "No Save" + Return to not Save; or do nothing and it will shutdown without Saving in 60 seconds.
If you want a single click to turn everything off the correct way.
desktop icon for shutting down the computer.
In Rox file manager.
Go to /usr/bin
Left click and drag file wmpoweroff to the desktop.
Now have power off icon on desktop.
Right click on desktop icon for file.
To change name -> edit item
To change icon -> set icon
( normal icon set is located at /usr/local/lib/X11/pixmaps )
Can also do this:
Make script file and place on desktop.
desktop icon for shutting down the computer.
In Rox file manager.
Go to /usr/bin
Left click and drag file wmpoweroff to the desktop.
Now have power off icon on desktop.
Right click on desktop icon for file.
To change name -> edit item
To change icon -> set icon
( normal icon set is located at /usr/local/lib/X11/pixmaps )
Can also do this:
Make script file and place on desktop.
Code: Select all
#!/bin/bash
# This powers off Linux Puppy !
#
wmpoweroff
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Hi gang.
It's a bit off-thread, I know...
FWIW: Two ugly solutions I have used when cornered:
1) Type in consoleThis bypasses the nice save sequence in Puppy's shutdown script.
2) Pull the electrical cord!
Both shut the computer down immediately, and you lose all your
work in all apps and settings.
I repeat: you lose all your work in all apps and settings if you use one of
the above.
If you must, you must, of course, but please try to avoid these situations.
Taking a couple of deep breaths to calm yourself down and pulling out the
Internet cable instead of the electrical cord is usaually a good alternative
to # 2.
BFN
It's a bit off-thread, I know...
FWIW: Two ugly solutions I have used when cornered:
1) Type in console
Code: Select all
busybox poweroff
2) Pull the electrical cord!
Both shut the computer down immediately, and you lose all your
work in all apps and settings.
I repeat: you lose all your work in all apps and settings if you use one of
the above.
If you must, you must, of course, but please try to avoid these situations.
Taking a couple of deep breaths to calm yourself down and pulling out the
Internet cable instead of the electrical cord is usaually a good alternative
to # 2.
BFN
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Oooooooh - methinks a "chickenswitch" desktop shutdown icon+script is on the horizon. Thanks musher0musher0 wrote:1) Type in consoleThis bypasses the nice save sequence in Puppy's shutdown script.Code: Select all
busybox poweroff
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...
This will also do a unclean shutdown.musher0 wrote:Hi gang.
1) Type in consoleThis bypasses the nice save sequence in Puppy's shutdown script.Code: Select all
busybox poweroff
shut the computer down immediately, and you lose all your work in all apps and settings.
I repeat: you lose all your work in all apps and settings
The way I posted on how to do a console command and make a desktop icon to run it, is the safe way to do it.
One click normal shutdown, power off.
Processes are performed, as part of a normal shutdown, for very good reasons.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Good call, bigpup - I was skimming threads and missed your essential post - which makes my previous comment absolutely redundant (and hazardous). Cheers
Search engines for Puppy
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...
Re: How to Turn off with the button in fewer seconds?
The Banksy 3 I'm using can do this.zaqsedc wrote:...when I push the button to turn off the pc It starts to count down 30 second and after that It turns off. How can I reduce this time to few second in order to have a quick turn of of the pc?
i.e. I can improper-poweroff with no ill effects.
That's because:
a. This Puppy has been remastered [to include my personalizations], and is totally held on and booted from an optical disk [no pupsave file or folder].
b. It loads totally [and only] into RAM.
c. Loads an unchanging/incorruptible OS at each boot.
Although it isn't necessary to do this, because there are 3 varied quick shutdown buttons on the desktop .
Each of the 3 of them are quick [a couple of seconds].