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 Tue 25 Nov 2014, 22:53
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 Posts_count  
Author Message
linbie

Joined: 09 Jan 2010
Posts: 63

PostPosted: Thu 21 Jan 2010, 06:56    Post_subject:  Desktop Shutdown Shortcut <SOLVED>
Sub_title: 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

Edited_time_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: 11164
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_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: 11164
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: 361
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: 2716
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`

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send_private_message Visit_website MSNM 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0825s ][ Queries: 11 (0.0125s) ][ GZIP on ]