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, 09:03
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 1 of 6 Posts_count   Goto page: 1, 2, 3, 4, 5, 6 Next
Author Message
radky

Joined: 02 May 2010
Posts: 461

PostPosted: Thu 27 May 2010, 13:29    Post_subject:  PupShutdown-2.1
Sub_title: Configurable shutdown manager
 

Recommended OS
Puppy Linux with gtkdialog4 (0.7.21 or greater)

Purpose and Base Features
PupShutdown permits menu-like access to sixteen common functions that one may find helpful when closing a Puppy session. Backup and task manager selections in the main menu have multi-program support to provide flexibility in managing the shutdown process. If the panel application selector does not have your program, you can add it manually. In addition to the configurable menu options, the appearance of the graphic interface can be quickly changed to complement a personal preference or match a Puppy theme. PupShutdown integrates seamlessly with PupControl, PupMenu and PupApps.

Caveats
1 - PupShutdown requires Puppy versions 4.3.1 and above to assure accurate markup of title text attributes and to allow automatic retrieval of the font name list.

2 - Program access is by Puppy Menu->Utility->PupShutdown or by the default Ctrl+Shift+X keyboard shortcut which is configured for IceWm, JWM, Openbox, Fluxbox, LXDE and LXPanel. If the Xfce window manager is currently active, the hotkey can be set manually as follows: Xfce Settings->Keyboard->Application Shortcuts.

3 - For those with laptops or notebooks, PupShutdown supports suspend (standby) in ACPI compliant systems. This function is mediated by Acpitool, but the suspend option does not work equally in all systems. More information is available here and here.

4 - When one closes a Puppy session in PupShutdown, an optional pop-up dialog provides the opportunity to remove CD media before shutdown. This dialog is easily enabled or disabled: PSD menu->Preferences->Configuration options.

Title and Logo Options
The title frame of PupShutdown is easily configured and one can quickly change the name and version of the Puppy derivative, graphic logo, and title font attributes. An optional Logo-addon.pet contains 64-pixel graphics created by forum member afgs, including those for Dpup, Lighthouse, Slacko and Upup. For those who prefer a more distinctive theme, a logo template is available to facilitate the design of copy-and-paste graphics for the title frame.

Download
http://www.smokey01.com/radky/PupShutdown-2.1.pet (gettext by vicmz)

Optional Graphics:
http://www.smokey01.com/radky/Logo-addon-1.1.pet

PupMates
http://www.smokey01.com/radky/PupMates.html
PSD-1.png
 Description   
 Filesize   46.47 KB
 Viewed   11463 Time(s)

PSD-1.png

PSD-2.png
 Description   
 Filesize   26 KB
 Viewed   10296 Time(s)

PSD-2.png

PSD-3.png
 Description   
 Filesize   60.81 KB
 Viewed   10286 Time(s)

PSD-3.png


Edited_times_total
Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5753
Location: Valåmoen, Norway

PostPosted: Thu 27 May 2010, 15:32    Post_subject:  

Offering code in your first post is a great start. Welcome!!!
_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
radky

Joined: 02 May 2010
Posts: 461

PostPosted: Fri 28 May 2010, 04:18    Post_subject:  

Version 1.1. See main post.
Removed redundant code to improve performance.
Back to top
View user's profile Send_private_message 
radky

Joined: 02 May 2010
Posts: 461

PostPosted: Sat 29 May 2010, 17:08    Post_subject:  

Version 1.2. See main post.
Added preview of fonts, and changed button selections in Preferences dialog.
Minor improvement in code.
Back to top
View user's profile Send_private_message 
raffy

Joined: 25 May 2005
Posts: 4776
Location: Manila

PostPosted: Sat 29 May 2010, 18:06    Post_subject: excellent  

Excellent work!

I wonder whether this approach can also be made for the boot up routine, especially at that point when Puppy searches for its program sfs, the source of most boot-up failures (Here, pmedia, pdev, pupmode as well as psubdir are the less-understood parameters).

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send_private_message 
radky

Joined: 02 May 2010
Posts: 461

PostPosted: Sat 29 May 2010, 21:28    Post_subject:  

Thanks raffy

I'm not sure if this approach has any additional utility, especially in the boot-up routine of Puppy, but in PupShutdown it does provide a little diversionary eye candy. Thanks again for your thoughts!
Back to top
View user's profile Send_private_message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 141

PostPosted: Wed 28 Jul 2010, 12:13    Post_subject: PupShutdown feedback
Sub_title: suggested functionality
 

That's nice. A couple options I'd like to see in your next update are "PowerOff and Eject" and "Reboot and Eject". Ubuntu has been doing this for a long time and dpup-484 does it too.

Why? Puppy lore encourages booting continually from the LiveCD and to save personal file to enable using the boot CD drive for other purposes after booting. However, if I don't use the drive during a session I find myself forgetting to remove the CD before shut down and have to resort to the paperclip trick.

B.K. Johnson
Back to top
View user's profile Send_private_message 
radky

Joined: 02 May 2010
Posts: 461

PostPosted: Wed 28 Jul 2010, 21:32    Post_subject: Re: PupShutdown feedback
Sub_title: suggested functionality
 

B.K. Johnson wrote:
That's nice. A couple options I'd like to see in your next update are "PowerOff and Eject" and "Reboot and Eject". Ubuntu has been doing this for a long time and dpup-484 does it too.


Thanks for your comments B.K.

The automatic ejection of optical disc media at shutdown seems more appropriate for those Puppy developers who would code this feature as a default behavior in /etc/rc.d/rc.shutdown, such as gposil with dpup. Even so, I could provide PupShutdown with simple dialogs that would prompt users (at their discretion) to remove optical media before power-off or rebooting. Such dialogs could be quickly bypassed if media removal is not a consideration. The end result would be the same for you - no more CD neglect at shutdown. I'll see what I can do.

Regards,
radky
Back to top
View user's profile Send_private_message 
radky

Joined: 02 May 2010
Posts: 461

PostPosted: Thu 29 Jul 2010, 08:23    Post_subject: PupShutdown-1.3
Sub_title: New Version
 

Version 1.3. See main post.
-Added option for multi-function management of the desktop and JWM, including 14 secondary options.
-Added Snap2 (if installed) as the first option for file backup, otherwise the call defaults to Pbackup.
-Added Power-Off and Reboot dialog prompts for the discretionary removal of optical disc media before shutdown.
-Minor improvement in code.
Back to top
View user's profile Send_private_message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 141

PostPosted: Thu 05 Aug 2010, 18:52    Post_subject: Feedback on PupShutdown-1.3  

radky
That's nice. A couple options I'd like to see in your next update are "POwerOff and Eject" and "Reboot and Eject". Ubuntu has been doing this for a long time and dpup-484 does it too.

Why? Puppy lore encourages booting continually from the LiveCD and to save personal file to enable using the boot CD drive for other purposes after booting. However, if I don't use the drive during a session I find myself forgetting to remove the CD before shut down and have to resort to the paperclip trick.

B.K. Johnson
Back to top
View user's profile Send_private_message 
radky

Joined: 02 May 2010
Posts: 461

PostPosted: Fri 06 Aug 2010, 12:38    Post_subject: Re: Feedback on PupShutdown-1.3  

B.K. Johnson wrote:
radky
That's nice. A couple options I'd like to see in your next update are "POwerOff and Eject" and "Reboot and Eject". Ubuntu has been doing this for a long time and dpup-484 does it too.

Why? Puppy lore encourages booting continually from the LiveCD and to save personal file to enable using the boot CD drive for other purposes after booting. However, if I don't use the drive during a session I find myself forgetting to remove the CD before shut down and have to resort to the paperclip trick.

B.K. Johnson


B.K.

Thanks again for your comments. As mentioned in post 7 above, the automatic ejection of media could be addressed by developers who code Puppy's basic framework. Guy Posil did so with the much-respected dpup 484 which features automatic CD ejection at shutdown, and includes a program to control the optical disc tray from the taskbar. On the other hand, PupShutdown is just a simple menu utility that opens various Puppy programs on demand.

In response to your request, version 1.3 above includes alert dialogs at reboot or shutdown to remind us of the option to remove optical disc media if so desired. Also, the upcoming version 1.4 will feature a configurable control panel that allows easy access to most Puppy system functions.

Regards,
radky
Back to top
View user's profile Send_private_message 
nancy reagan

Joined: 22 Jan 2009
Posts: 513

PostPosted: Sun 05 Sep 2010, 15:53    Post_subject: Option "DO NOT SAVE" at shutdown ?  

Hi Radky,

As you keep rebuilding this pet I take the liberty to ask for the feature the choose the option

"DO NOT SAVE" - at shutdown.

For I only want to save once in a bluemoon. Mainly for the initial settings. It seems I am not the only one.

In the post of the link below, Sc0ttman describes how to write in terminal. Would it be hard to incorporate this in your wonderful pet ?

http://www.murga-linux.com/puppy/viewtopic.php?t=51466&sid=db905276c861d27b530e44d5c8a979d8



Looking forwad to your reply, whether or not, it is possible ?.
Back to top
View user's profile Send_private_message 
radky

Joined: 02 May 2010
Posts: 461

PostPosted: Mon 06 Sep 2010, 16:34    Post_subject: Re: Option "DO NOT SAVE" at shutdown ?  

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’ll see what I can do for the next release. Thanks for the inquiry.

Regards,
radky
Back to top
View user's profile Send_private_message 
nancy reagan

Joined: 22 Jan 2009
Posts: 513

PostPosted: Sun 17 Oct 2010, 10:30    Post_subject: Keep pm-ing you about results  

Hi Radky don't know what goes wrong but I replied 4 or 5 times but my sentbox does not show anything.

Could you pm me your mailaddress or let me know that you received nevertheless my pm's ?
Back to top
View user's profile Send_private_message 
radky

Joined: 02 May 2010
Posts: 461

PostPosted: Sun 17 Oct 2010, 13:33    Post_subject:  

Quote:
Hi Radky don't know what goes wrong but I replied 4 or 5 times but my sentbox does not show anything.


Nancy, Thanks for your PM. Please check your inbox for an update. PupShutdown 1.4 will be available soon, plus the following new programs: JWM Clockset, PupApps, PupControl and PupSnap.

Thanks,
radky
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 6 Posts_count   Goto page: 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:  

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.0859s ][ Queries: 12 (0.0055s) ][ GZIP on ]