Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 18 Oct 2019, 19:47
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
shutdown puppy when power button is pressed?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
divisionmd


Joined: 14 Jul 2007
Posts: 608

PostPosted: Sun 03 Aug 2008, 15:59    Post subject:  shutdown puppy when power button is pressed?
Subject description: When powerbutton is pressed now nothing happens.
 

Hello,

How can i make so that when i press the powerbutton i want Puppy 4 to execute the normal shutdown procedure?

Right now when i press the powerbutton nothing happens.

Thanks for help,

best regards,
Johan
Back to top
View user's profile Send private message MSN Messenger 
puppyluvr


Joined: 06 Jan 2008
Posts: 3503
Location: Chickasha Oklahoma

PostPosted: Sun 03 Aug 2008, 17:05    Post subject:  

Very Happy Hello divisionmd,
Please do not "cold kill" your Puppy with the power button. Proper shutdown is necessary or you can corrupt your xorg.config file(at least), causing you to have to run xorgwizard on reboot.
If you do not want to use the menu shutdown procedure, you can drop out of X (ctrl / alt / bkspce) and type reboot or poweroff.
If you just want a "one click kill", I can post you a script to put on your desktop, which, when clicked, performs a complete shutdown. (exec wmpoweroff)..
Back to top
View user's profile Send private message Visit poster's website 
Bruce B

Joined: 18 May 2005
Posts: 11488
Location: The Peoples Republic of California

PostPosted: Sun 03 Aug 2008, 18:04    Post subject: Re: shutdown puppy when power button is pressed?
Subject description: When powerbutton is pressed now nothing happens.
 

divisionmd wrote:
Hello,

How can i make so that when i press the powerbutton i want Puppy 4 to execute the normal shutdown procedure?

Right now when i press the powerbutton nothing happens.

Thanks for help,

best regards,
Johan


If we can call the 'powerbutton' hardware and I think it is. What you
are asking for is this specific piece of hardware to have software
instructions built into it to execute a specific software program and
not act as a power(off?)button.

If your computer is late model the wmpoweroff puppyluvr mentioned
is a much more appropriate method.

It provides an orderly shutdown, not the most orderly maybe, but
sufficient. When the right signal is sent to your hardware off it goes.

Desktop icon, taskbar icon, keyboard shortcut anything that will
execute the file.

The rest takes care of itself.

One puzzling exception! What's wrong with you power button? I
would think if held in several seconds, it would shut things down,
even though that's not how Hoyle says to do it.
Back to top
View user's profile Send private message 
divisionmd


Joined: 14 Jul 2007
Posts: 608

PostPosted: Mon 04 Aug 2008, 02:36    Post subject:  

Hello,

- Ok so if i press the power button the default is that Puppy should shutdown?

- What i want of course is not that the power should breaks the puppy right away, but executes that command "exec wmpoweroff" so Puppy shutsdown nicely.


Thanks for help,

Best regards,

Johan
Back to top
View user's profile Send private message MSN Messenger 
nooby

Joined: 29 Jun 2008
Posts: 10548
Location: SwedenEurope

PostPosted: Mon 04 Aug 2008, 07:31    Post subject:  

Is this made same way in every hardware? Or is it different in
that it could be bios set up to send signal to os or progs?

I though the powerbutton override all software and went directly
to the circuits that take care of powr supply.

that is why a hard reboot as it is referred to??? is so destructive
cause it can corrupt the mbr? Did happen to me using Ubuntu
so many times me deleted ubuntu due to its failure to shut down
properly. Only SliTaz and Vector shut down cleanly on my gear.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
Bruce B

Joined: 18 May 2005
Posts: 11488
Location: The Peoples Republic of California

PostPosted: Mon 04 Aug 2008, 15:55    Post subject:  

nooby wrote:

that is why a hard reboot as it is referred to??? is so destructive
cause it can corrupt the mbr?


A hard reboot is also known as a cold reboot. It had the meaning of hitting the power button ( a toggle switch ) to shut the power off. Then a few seconds later hit it again to turn the computer on.

A warm reboot was meaning, push the reset button, this would reboot the computer, but not turn the power off.
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10548
Location: SwedenEurope

PostPosted: Mon 04 Aug 2008, 17:25    Post subject:  

Yes but was the original poster really talking a about a warm reboot.

A cold reboot are potentially dangerous to a shared or dual boot system
cause the shutdown will not be clean. Only telling what experience
showed me several times when I needed rescue cd to get it going again.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
cretsiah

Joined: 24 May 2008
Posts: 89

PostPosted: Wed 06 Aug 2008, 00:07    Post subject:  

hhm i have a dual boot system and i only hard/cold kill when the system freezes ....hasnt cuased me any adverse affects to the operating systems mbr ....except for windows usual hd scan
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1698
Location: Germany

PostPosted: Wed 06 Aug 2008, 04:27    Post subject:  


_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0631s ][ Queries: 12 (0.0106s) ][ GZIP on ]