The 'Official Puppy Shutdown Script' or Pshutdown-1.01
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
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
ttuuxxx
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
ttuuxxx
- Attachments
-
- Pshutdown-banner.pet
- (3.27 KiB) Downloaded 1156 times
-
- Pshutdown-1.0.jpg
- (58.51 KiB) Downloaded 5924 times
-
- Pshutdown-1.01.pet
- (17.79 KiB) Downloaded 1010 times
Last edited by ttuuxxx on Wed 08 Apr 2009, 03:49, edited 2 times in total.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
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!
Root forever!
-
- Posts: 286
- Joined: Tue 16 Aug 2005, 03:47
- Location: Appalachian Mountains
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.
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: Select all
<!-- 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>
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
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 guessbrad_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.
ttuuxxx
Last edited by ttuuxxx on Wed 08 Apr 2009, 03:40, edited 2 times in total.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
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
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 :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
added the 4.2 banner as a pet, if anyone wants it, or could be used as a template for newer themes
ttuuxxx
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
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,
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,
- Attachments
-
- pshutdown-broken-inslacko.jpg
- (22.63 KiB) Downloaded 772 times
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
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.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,
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
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
Running from terminal-without-x seems to work - but doesn't resolve the OpenBox no show.
nice work
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: Select all
# 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
Code: Select all
# fixmenus
Generating /root/.icewm/menu...
Generating /root/.jwmrc...
Generating /root/.fbpanel/default...
Generating /root/.config/openbox/menu.xml...