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 Wed 22 Oct 2014, 20:04
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Desktop Shutdown Shortcut <SOLVED>
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
linbie

Joined: 09 Jan 2010
Posts: 63

PostPosted: Thu 21 Jan 2010, 06:56    Post subject:  Desktop Shutdown Shortcut <SOLVED>
Subject description: One Click Shutdown
 

Having successfully installed frugal puppy on my old laptop I am now "updating" an old desktop for my elderly parents. I need to make the system as simple as possible.

I have removed most icons from the desktop leaving only the browser and media player. In addition I have downloaded pupRadio and configured it to their favorite stations. I have had to make the icons larger as the hands are not steady.

If possible I would like to add a desktop icon that would allow them to shoutdown (safely) with a single click.

I am assuming I would have to modify the poweroff file in some way however some of the suggestions such as:

shutdown -h now

don't seem to work

any help appreciated

_________________
Linbie (LINux newBIE)

Dell Inspirion 2500, 900MHz Celeron, 20GB HDD, 128MB RAM, CD/DVD Player, Netgear USB wireless adapter

Puppy 4.3.1 frugal dual boot with WIN XP

Last edited by linbie on Thu 21 Jan 2010, 19:35; edited 1 time in total
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Thu 21 Jan 2010, 07:25    Post subject:  

Seach for a file called wmpoweroff. I cant remember where it is located. Drag it to the desktop, assign an icon........... bingo!
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
linbie

Joined: 09 Jan 2010
Posts: 63

PostPosted: Thu 21 Jan 2010, 19:34    Post subject:  

DaveS wrote:
Seach for a file called wmpoweroff. I cant remember where it is located. Drag it to the desktop, assign an icon........... bingo!


Thank you - works !!

_________________
Linbie (LINux newBIE)

Dell Inspirion 2500, 900MHz Celeron, 20GB HDD, 128MB RAM, CD/DVD Player, Netgear USB wireless adapter

Puppy 4.3.1 frugal dual boot with WIN XP
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11119
Location: Arizona USA

PostPosted: Thu 21 Jan 2010, 21:30    Post subject:  

Where the heck did you find the file? Confused The answer to your question might be helpful to other people with the same question, if you'd say what it was.
Back to top
View user's profile Send private message 
rjbrewer


Joined: 22 Jan 2008
Posts: 4422
Location: merriam, kansas

PostPosted: Thu 21 Jan 2010, 21:56    Post subject:  

Flash wrote:
Where the heck did you find the file? Confused The answer to your question might be helpful to other people with the same question, if you'd say what it was.


Open pfind>type wmpoweroff;
There's only 2 files.

I never would have thought of it. Smile

_________________

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Back to top
View user's profile Send private message 
aarf

Joined: 30 Aug 2007
Posts: 3620
Location: around the bend

PostPosted: Thu 21 Jan 2010, 22:09    Post subject:  

Flash wrote:
Where the heck did you find the file? Confused The answer to your question might be helpful to other people with the same question, if you'd say what it was.
depending on which version you are using it may not be there at all.

/usr/bin/wmpoweroff

or you may have to use

/usr/bin/shutdownjwm

instead.

_________________

ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_

<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Back to top
View user's profile Send private message Visit poster's website 
linbie

Joined: 09 Jan 2010
Posts: 63

PostPosted: Thu 21 Jan 2010, 22:16    Post subject:  

rjbrewer wrote:
Flash wrote:
Where the heck did you find the file? Confused The answer to your question might be helpful to other people with the same question, if you'd say what it was.


Open pfind>type wmpoweroff;
There's only 2 files.

I never would have thought of it. Smile



Not on my Puppy computer at the moment however as suggested I used pfind to locate the file.

Using puppy 4.3.1 as a frugal dual boot with WIN XP

_________________
Linbie (LINux newBIE)

Dell Inspirion 2500, 900MHz Celeron, 20GB HDD, 128MB RAM, CD/DVD Player, Netgear USB wireless adapter

Puppy 4.3.1 frugal dual boot with WIN XP
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11119
Location: Arizona USA

PostPosted: Fri 22 Jan 2010, 00:11    Post subject:  

I wasn't asking for myself, I was asking as a forum administrator.

It's very rude to ask for help in a forum and then not report back with what worked. The people who helped you will appreciate the feedback, and leaving the solution that you found might help other people to solve a similar problem. It's how I think a forum should work, anyway. Smile
Back to top
View user's profile Send private message 
linbie

Joined: 09 Jan 2010
Posts: 63

PostPosted: Fri 22 Jan 2010, 00:47    Post subject:  

linbie wrote:
DaveS wrote:
Seach for a file called wmpoweroff. I cant remember where it is located. Drag it to the desktop, assign an icon........... bingo!


Thank you - works !!


I think that is pretty clear

To me that says that the instructions given were followed and the problem was solved.

As to others who may not know how to search is another matter - my opinion for its worth.
Back to top
View user's profile Send private message 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Fri 22 Jan 2010, 02:08    Post subject:  

You can use the same instructions for wmreboot (/usr/bin/wmreboot) if you want to put a restart icon on the desktop too.
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send private message 
DC


Joined: 30 Apr 2006
Posts: 359
Location: Maidenhead, England

PostPosted: Wed 17 Mar 2010, 06:12    Post subject:  

Also if you install acpid-1.0.10-1.pet
http://www.murga-linux.com/puppy/viewtopic.php?t=38173

Then you can suspend you laptop / newer pc's also with a desktop icon
(/etc/acpi/actions/suspend.sh)

DC
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2684
Location: Montenegro

PostPosted: Wed 17 Mar 2010, 06:14    Post subject:  

How to find binaries that are in executable path:

Code:
which wmpoweroff


EDIT:

Better yet:


Open folder in rox where binary is located:
Code:
rox `dirname $(which wmpoweroff)`


Open script that's in executable path in geany:
Code:
geany `which defaultpaint`

_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 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.0700s ][ Queries: 11 (0.0037s) ][ GZIP on ]