Not all that much here really, but if you do like to switch around amongst several window managers and have them set up properly after the first time run (a few like openbox may drop you in to a root window with no background, but generally rox provides a pinboard/bg if you have it enabled by default as most standard pups do), plogout can be a useful bit of luxury - typing things at the prompt can get old and doing startup scripts might not be your cup of tea either.
So what to do? There have been other trys at switching, but it wasn't until I saw this in the first Macpup I used that I went "geeeee .. click a button sounds like the hot ticket!" and it worked so well that I looked under the hood a bit and modified this'n'that and here we are.



*** this is not a dotpet ***
(also you bypass official methods entirely at your own risk)
You should have a fair understanding of what happens and why you should check a utility like this.
Some window managers may need their own special logout to save session info if desired so you can start up where you left off (like browser sessions with many tabs open and work in progress, etc). Most window managers are okay if you exit without asking permission first

Most puppy folk are quite aware of why and how to drop out of the X server (and know the uncomfortable feeling when Ctrl+Alt+backspace doesn't get you to at least a Prompt) or simply to restart X. So those buttons got included. Some wms can 'hot-swap' without restarting X (blackbox, fluxbox, icewm and pekwm that I know of), but that's another deal - plogout does it the 'clean break' way since that's more universal.
Reboot and poweroff are a few other basics (but vital to get right, there's a few different methods of install and some older pups have different paths). Do open plogout up in a text editor or viewer to ensure the paths are correct for your version of Puppy (and edit the plogout file if needed). The starting point for that info is usually in the menu file or template for it.
There's a basic set of what you need in the archive - simply unpack it and put things where they go (I included a simple howto.txt). Check the contents for your particular setup (particularly the paths as stated in the plogout file, whichever one you choose or adapt to your own system - the various 'windowmanager' files in subdirs of nibbac dir should have the basic command for the window managers to start with, but you may need to add a suffix like session or however the actual command reads when you type it in at the Prompt
Code: Select all
xwin <your_window_manager's_load_identification>

Remember, if you do play around modifying it, the buttons are 'live' once it's in - why the big cancel on the bottom so you don't ..


Some other stuff in the 'plus' archive (use what you need and dump what you don't). I wasn't hip to murgaLua color codes so you can change the jewel tones of the buttons with a little fussing about and the visual aids. Also in there is libsqlite3.so.0.8.6 and symlinks which may come in helpful if your pup is missing those items..