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 16 Sep 2014, 17:40
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
PupShutdown-2.1
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 6 [90 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Author Message
Jim1911

Joined: 19 May 2008
Posts: 2456
Location: Texas, USA

PostPosted: Sun 17 Oct 2010, 14:18    Post subject:  

radky wrote:
PupShutdown 1.4 will be available soon, plus the following new programs: JWM Clockset, PupApps, PupControl and PupSnap.
Good news, PupShutdown 1.3 works great on all pups that I've tried.

Thanks,
Jim
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3368
Location: Oregon

PostPosted: Mon 18 Oct 2010, 00:56    Post subject:
Subject description: Replacing shutdown on the menu
 

How would one replace Shutdown in the Lucid 511 menu with PupShutdown?
Also, what backup program is run by the backup button?
Back to top
View user's profile Send private message 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Mon 18 Oct 2010, 14:46    Post subject:  

8-bit, thanks for your questions.

Quote:
How would one replace Shutdown in the Lucid 511 menu with PupShutdown?


This would depend on the window manager, but for JWM in Lucid 511 you could try the following:

Go to /etc/xdg/templates/_root_.jwmrc

To add the PupShutdown entry immediately below the Help entry:
Insert the following below line #28 (without the outside quotes):
“ <Program label="PupShutdown" icon="shutdown24.png">exec PupShutdown</Program>”

To replace the current Shutdown menu entry with PupShutdown:
Delete (or comment out) lines 30-38, and replace with the following (without the outside quotes):
“ <Program label="PupShutdown" icon="shutdown24.png">exec PupShutdown</Program>”

Then run /usr/sbin/fixmenus.


Quote:
Also, what backup program is run by the backup button?


In the upcoming PupShutdown 1.4, the options for backup and task manager will be configurable. Backup selections will include gadmin-rsync, pbackup, pmirror and snap2. Task Manager selections will include pprocess, htop, lxtask and xfce4-taskmanager. If your choice is not among the default options, you can easily add another program to the option menu.

Thanks,
radky

Last edited by radky on Mon 18 Apr 2011, 15:02; edited 1 time in total
Back to top
View user's profile Send private message 
Jim1911

Joined: 19 May 2008
Posts: 2456
Location: Texas, USA

PostPosted: Wed 03 Nov 2010, 14:50    Post subject:  

radky wrote:
This would depend on the window manager, but for JWM in Lucid 511 you could try the following:

Go to /etc/xdg/templates/_root_.jwmrc

To add the PupShutdown entry immediately below the Help entry:
Insert the following below line #28 (without the outside quotes):
“ <Program label="PupShutdown" icon="shutdown24.png">exec PupShutdown</Program>”

To replace the current Shutdown menu entry with PupShutdown:
Delete (or comment out) lines 30-38, and replace with the following (without the outside quotes):
“ <Program label="PupShutdown" icon="shutdown24.png">exec PupShutdown</Program>”
Hi radky,
Do you have the corresponding code for Openbox?

Thanks,
Jim
Back to top
View user's profile Send private message 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Wed 03 Nov 2010, 20:49    Post subject:  

Quote:
Do you have the corresponding code for Openbox?


Hi Jim,

Thanks for the question. If I understand correctly, you’re referring to the combination of Openbox and Fbpanel in the upcoming Lucid Puppy 5.2.

For the Fbpanel menu, you could try the following:

Go to /usr/sbin/pfbpanel

To add the PupShutdown entry immediately below the Help entry:
Insert the following on line #774:

echo "item {
name = PupShutdown
action = PupShutdown
image = /usr/local/PupShutdown/icons/shutdown20.png
}" >> $DEFAULT


Then run usr/bin/fbpanel_menu_refresh

---

The PupShutdown entry and surrounding script will look something like this:

echo "menu {
name = Help
image = ${X11PIXMAPS}/help24.png
item {
name = Help
action = defaulthtmlviewer file:///usr/share/doc/index.html
image = ${X11PIXMAPS}/help24.png
}
}" >> $DEFAULT

echo "item {
name = PupShutdown
action = PupShutdown
image = /usr/local/PupShutdown/icons/shutdown20.png
}" >> $DEFAULT


echo "menu {
name = Shutdown
image = ${X11PIXMAPS}/shutdown24.png
item {
name = Exit to prompt
action = wmexit
image = ${X11MINIICONS}/prompt16.xpm
}
item {
name = Reboot computer
action = wmreboot
image = ${X11MINIICONS}/mini-turn.xpm
}
item {
name = Power-off computer
action = wmpoweroff
image = ${X11MINIICONS}/mini-stop.xpm
}
item {
name = Restart X server
action = restartwm
image = ${X11MINIICONS}/mini-x.xpm
}
}" >> $DEFAULT

---

Regards,
radky
Back to top
View user's profile Send private message 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Sun 14 Nov 2010, 15:03    Post subject:  

Version 1.4. See main post.
-Removed redundant code; now supports concurrent instances.
-Added default applications selector.
-Added support for standby mode in ACPI compliant laptops and notebooks.
-Added seamless integration with PupApps Launcher and PupControl Panel for easy access to most Puppy applications and system functions.
-Improved compatibility with the Stardust desktop environment (DuDe).
Back to top
View user's profile Send private message 
tlchost

Joined: 05 Aug 2007
Posts: 1693
Location: Baltimore, Maryland USA

PostPosted: Sun 14 Nov 2010, 18:25    Post subject: Re: Option "DO NOT SAVE" at shutdown ?  

radky wrote:
Quote:
As you keep rebuilding this pet I take the liberty to ask for the... option "DO NOT SAVE" - at shutdown.


Nancy, I think your request could be very useful for those who boot Puppy in flash memory.


I am running quirky on a bootable usb flashdrive, and at shutdown Quirky tells me that things are already saved in the top laver.

Not sure if you can work around that. Not being able to select no save at shut down is a huge inconvenience when you do not want or need to save changes....killing the power or performing usb interruptus has never appealed to me.

Thom
Back to top
View user's profile Send private message Visit poster's website 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Mon 15 Nov 2010, 10:09    Post subject:  

Quote:
Not sure if you can work around that. Not being able to select no save at shut down is a huge inconvenience when you do not want or need to save changes....killing the power or performing usb interruptus has never appealed to me.


tlchost, thanks for the question. Please check your PM.
Back to top
View user's profile Send private message 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Sat 15 Jan 2011, 10:54    Post subject:
Subject description: PupShutdown-1.5
 

Version 1.5. See main post.
-Access buttons for System Information and Task Management are now transposed.
-Drop-down lists in the applications selector now show installed programs only.
-After first install, please set default apps as follows: Pref->Configuration options->Apps.
-Supported backup programs include gadmin-rsync, pbackup, pmirror and snap2.
-Supported task-manager programs include htop, lxtask, pprocess and xfce4-taskmanager.
-Shutdown code is now enhanced to comply with most Puppy derivatives and window managers.
-Improved support for the suspend feature of ACPI compliant laptops and notebooks.
Back to top
View user's profile Send private message 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Sat 19 Feb 2011, 13:49    Post subject:
Subject description: PupShutdown-1.6
 

Version 1.6. See main post.
-Improved access to help resources.
-Added support for screen fonts up to 144 dpi, in 6-dpi increments only.
-Added improved and consistent display of GUI buttons at all screen resolutions.
Back to top
View user's profile Send private message 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Mon 18 Apr 2011, 15:32    Post subject:
Subject description: Add PupShutdown to IceWM menu
 

Quote:
How do I add PupShutdown to the first-order menu of IceWM in Lupu-511, Lupu-520 and Lupu-525?

Go to /etc/xdg/templates/_root_.icewm_menu.

To add the PupShutdown entry immediately below the Help entry of the IceWM menu:
Insert the following below line #52:
Code:
prog   PupShutdown shutdown24.png PupShutdown


To replace the current IceWM Shutdown menu entry with PupShutdown:
Delete (or comment out) lines 54-65, and replace with the following:
Code:
prog   PupShutdown shutdown24.png PupShutdown


Then run /usr/sbin/fixmenus.

Last edited by radky on Mon 18 Apr 2011, 18:40; edited 1 time in total
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Mon 18 Apr 2011, 16:57    Post subject:  

Radky very important things you do there. Thanks for providing it.
_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
radky

Joined: 02 May 2010
Posts: 448

PostPosted: Mon 18 Apr 2011, 19:03    Post subject:
Subject description: Add PupShutdown to IceWM menu
 

nooby wrote:
Radky very important things you do there. Thanks for providing it.

Thank you nooby for your kind comments. Smile

In prior forum posts in this thread, you can find additional instructions for adding PupShutdown to the first-order menu of JWM or FBPanel/Openbox.
Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 537
Location: UK

PostPosted: Tue 19 Apr 2011, 15:06    Post subject:  

May I also thank radky for his huge & welcome contributions to Puppy.

An alternative approach which I have adopted is to edit the quick launch menu in ICEWM to provide icons for CD insert/eject & PupShutdown on the taskbar.

The syntax is slightly different but provides a backdoor to pup control by selecting exit on the shutdown window.

Both can be seen in action here:

http://megaswf.com/simple_serve/1046691/
screenshot.1.png
Description 
png

 Download 
Filename  screenshot.1.png 
Filesize  55.15 KB 
Downloaded  678 Time(s) 
Back to top
View user's profile Send private message 
mickee


Joined: 08 Feb 2011
Posts: 212
Location: Saskatoon SK Canada, Gateway 5300 Laptop, 600MHz Celeron, 384MB RAM, lucid puppy 5.2 (Full Install)

PostPosted: Tue 19 Apr 2011, 22:55    Post subject:  

Awesome radky ! Works eggzellently!

Peace

_________________

Linux is NOT Windows. Doesn't PRETEND to be, Doesn't WANT to be; Don't try to MAKE it be.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Display posts from previous:   Sort by:   
Page 2 of 6 [90 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0913s ][ Queries: 13 (0.0060s) ][ GZIP on ]