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 01 Oct 2014, 10:26
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
The 'Official Puppy Shutdown Script' or Pshutdown-1.01
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
ttuuxxx


Joined: 05 May 2007
Posts: 10760
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 07 Apr 2009, 12:32    Post_subject:  The 'Official Puppy Shutdown Script' or Pshutdown-1.01  

Hi Guys during 3.2 I started working on a shutdown script, Basically it a popup that gives a little nice eye candy to just about any Window Manager. So I offered it to 4.2 and we went with it, The first Official shutdown popup script for puppy:) a few changes later and the User Hairywill gave it tabs and 4.2 had a new feature that was used for JWM and IceWM.

I've also tried it on Blackbox, Openbox, and a few others and most of the features work, it would be simple to adapt to just about any window manager's menu:)

I made the icons for it, They are really not my best work, but I was trying to match that flat orange theme that Zigbert made for the main 24x24 menu. I still don't know why we ever used it, it really didn't go with any of the themes.

What I have here is the full version of the Pshutdown for icewm&JWM, including all the Icons and the new refresh script .
The refresh script was made by another user who name has slipped my mind, but anyways what it does is does the 'fixmenus' and restarts Jwm&Icewm. so all the icons for newly installed software will register in the menu. I was the first one who made a fixmenus script for 4.2 but the other users version was better and my version was dropped:) oh well.

Now what I was thinking is lets maybe work on this as a project? We could post themes on here, tweak the GUI and make it a group effort, since its simple code. So in the next coming days I'll post a few new themes for the Pshutdown. So feel free to tar.gz you icon sets or make pets for them, if you can't make pets, just tar.gz them up and I'll make the pets for you:)

This should be a fun project:) Some Ideas people have been giving me is to make a ctrl+Alt+Delete shortcut to pop it up.
The Pshutdown uses 32x32 icons for the popup script and 24x24 for the menu icons.
Thanks for your time Smile
ttuuxxx
Pshutdown-banner.pet
Description 
pet

 Download 
Filename  Pshutdown-banner.pet 
Filesize  3.27 KB 
Downloaded  723 Time(s) 
Pshutdown-1.0.jpg
 Description   
 Filesize   58.51 KB
 Viewed   3181 Time(s)

Pshutdown-1.0.jpg

Pshutdown-1.01.pet
Description 
pet

 Download 
Filename  Pshutdown-1.01.pet 
Filesize  17.79 KB 
Downloaded  678 Time(s) 

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
DaveS


Joined: 09 Oct 2008
Posts: 3726
Location: UK

PostPosted: Tue 07 Apr 2009, 16:33    Post_subject:  

Thanks Ttuuxxx. I installed this in 4.1.1 with no trouble. It added a top bar which was sitting on top of my previously hand configured top launch bar (jwm), but it was only a case of deleting the added jwm-top-tray file. I can highly rec. this to anybody using a laptop touchpad. Makes shut-down options way easier to select...........
_________________
Spup Frugal HD and USB
Root forever!
Back to top
View user's profile Send_private_message 
brad_chuck

Joined: 15 Aug 2005
Posts: 284
Location: Appalachian Mountains

PostPosted: Tue 07 Apr 2009, 22:23    Post_subject:  

Thanks ttuuxx. works great in 4.1.2 / JWM (SVN-456)

Why did we not have this 3 years ago?

One small problem is that it adds .jwm-tray-top to my /etc/xdg/templates/_root_.jwmrc file. This removed my top tray that is in the .jwm-tray file.


Code:

<!-- Additional tray attributes: autohide, width, border, layer, layout -->
<!-- Tray definition moved to separate file: .jwmrc-tray -->
<Include>/root/.jwmrc-tray</Include>
<Include>/root/.jwmrc-tray-top</Include>
<Include>/root/.jwmrc-tray-add_widget</Include>
<Include>/root/.jwmrc-tray-add_icon</Include>


All fixed now but a new user installing pet would not know how to fix the problem.
Back to top
View user's profile Send_private_message 
ttuuxxx


Joined: 05 May 2007
Posts: 10760
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 07 Apr 2009, 22:39    Post_subject:  

brad_chuck wrote:
Thanks ttuuxx. works great in 4.1.2 / JWM (SVN-456)

Why did we not have this 3 years ago?

One small problem is that it adds .jwm-tray-top to my /etc/xdg/templates/_root_.jwmrc file. This removed my top tray that is in the .jwm-tray file.

All fixed now but a new user installing pet would not know how to fix the problem.

thanks brad that was in because if you use ptray it will put a shutdown button in it that launches the menu. should probably just remove it I guess
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
ttuuxxx


Joined: 05 May 2007
Posts: 10760
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 07 Apr 2009, 23:38    Post_subject:  

Its been updated, now if you add Ptray, you'll have to add the extra lines of code to /etc/xdg/templates/_root_.jwmrc

these are the lines you'll need for Ptray
<Include>/root/.jwmrc-tray-top</Include>
<Include>/root/.jwmrc-tray-add_widget</Include>
<Include>/root/.jwmrc-tray-add_icon</Include>

I never use ptray, I find it a very annoying application that gets in the way. Kind of like a fly buzzing around your head. lol
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send_private_message Visit_website 
ttuuxxx


Joined: 05 May 2007
Posts: 10760
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 07 Apr 2009, 23:50    Post_subject:  

added the 4.2 banner as a pet, if anyone wants it, or could be used as a template for newer themes Smile
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send_private_message Visit_website 
darkcity


Joined: 23 May 2010
Posts: 2454
Location: near here

PostPosted: Mon 06 Aug 2012, 08:47    Post_subject:  

Hi

I installed the small utilities Pet from
http://puppylinux.org/wikka/LupufySlacko

on Slacko 531

but PShutdown appears to be broken

On the 'Advanced Tab' it gives the option to 'restart in IceWM', however I have JWM and Openbox. Clicking on it gives no response.

Clicking on 'cancel' gives no response.

---

Also, shutdown option only appears in JWM, when I switch to OpenBox the menu reverts to the standard Slacko options.

any help appreciated,
pshutdown-broken-inslacko.jpg
 Description   
 Filesize   22.63 KB
 Viewed   588 Time(s)

pshutdown-broken-inslacko.jpg


_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Mon 06 Aug 2012, 09:10    Post_subject:  

I vaguely remember that other Window Managers were a little temperamental.

You could try starting them from the command line and see if that works
press ctrl + Alt + backspace
and then startx icewm Smile

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
ttuuxxx


Joined: 05 May 2007
Posts: 10760
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 06 Aug 2012, 15:59    Post_subject:  

darkcity wrote:
Hi

I installed the small utilities Pet from
http://puppylinux.org/wikka/LupufySlacko

on Slacko 531

but PShutdown appears to be broken

On the 'Advanced Tab' it gives the option to 'restart in IceWM', however I have JWM and Openbox. Clicking on it gives no response.

Clicking on 'cancel' gives no response.

---

Also, shutdown option only appears in JWM, when I switch to OpenBox the menu reverts to the standard Slacko options.

any help appreciated,


Hi darkcity this was the first shutdown utility used in a official puppy, I made it for 4.2 community edition, that was a special edition made by the community, It came with icewm and JWM as default. I haven't altered it for other other versions of puppy so it probably would have issues if icewm wasn't installed. it wouldn't take much to alter it to to use openbox, if I have time I'll look at it this weekend.
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send_private_message Visit_website 
darkcity


Joined: 23 May 2010
Posts: 2454
Location: near here

PostPosted: Mon 06 Aug 2012, 16:53    Post_subject:  

Hi

I tried starting from terminal to no avail.

-Ideas-

*Merge with PupShutdown menu? - The advantage with PupShutdown is the extra configuration options, with PShutdown its the fact it allows restarting into different window managers and that it appears in the root of Puppy Menu, rather than under 'Utility'. Maybe three tabs Shutdown/Configure/Window Manager
see- http://puppylinux.org/wikka/PShutdown

*Borrow code from WM Switcher? - This app seems to be able to read which WMs are installed.


-Menu Problem-

In OpenBox PShutdown doesn't show in root menu. If fixmenus is run from OpenBox it produces errors

Code:
# fixmenus
Generating /root/.icewm/menu...
Generating /root/.jwmrc...
Generating /root/.fbpanel/default...
killall: blinky_tray: no process killed
killall: network_tray: no process killed
killall: traytemp: no process killed
killall: vattery: no process killed
killall: powerapplet_tray: no process killed
/usr/sbin/pfbpanel: line 1580: /root/Startup/network_tray: Permission denied


Running from terminal-without-x seems to work - but doesn't resolve the OpenBox no show.
Code:
# fixmenus
Generating /root/.icewm/menu...
Generating /root/.jwmrc...
Generating /root/.fbpanel/default...
Generating /root/.config/openbox/menu.xml...


nice work Cool

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0758s ][ Queries: 13 (0.0037s) ][ GZIP on ]