nine extra root menus, ten other configurations you can switch to, the vgt geany line launcher, the nooby ethereal word processor, all the terminal shortcuts, some configurations for you to choose or not, windows repositioning and resizing scripts and shortcuts, rox bookmarks (at least three versions), MochiMoppel's WinSwitcher and SpeedDials, and very little for you to do and very little footprint left behind:
copy the nwp folder in the compressed folder to / (create a new top level directory, /nwp). will fill in details a bit later, but this is pretty much all the customizations that have come from this thread but redone in a way so as not to rely so heavily on the /root/my-applications/bin folder.
haven't tested yet but the menus were made with a series of text substition in geany-- a method that so far has proven at least as reliabe as manually creating the files. the ae menus they're based on and the original jwm menus those are based on (coming full circle/basically swapping two parts of a path) all work fine.
...nwp, vgt, sing, dub menus all work...the ae stuff works...
requires the following (all included as separate pets):
aemenu, wmctrl, xdotool, pexec, dash, gexec (optional. the main launcher (aside from aemenu and jwm) is pexec set to pop open having pretyped "/nwp/", which will allow you to use the terminal shortcuts therein even though they were never placed in the PATH. or on the PATH--the machine doesn't know to look for them, so if you want to use a launcher for some quick tab-completion access to stuff, type fnr into the pexec popup (at least one of the included jwmrc-personal files has pxc (this modified pexec launcher) binded to shift+spacebar--it's pretty convenient to type three or four characters to do just about anything you need done as far as opening files, positioning and resizing windows, etc.
i added a slot to auto generate the six puppypins needed for the puppypin switcher, and fixed some bad program links. see the following threads for further details. if something won't run, check the files in rox--they should be green. change permissions if they're not.
vgt
nwp
---------
short version: this is the gaexec paexack from the nwp thread but with forty or so jwm specific files. aemenu's ability to popup from keys or the terminal complements jwm well, i think. anyway, it's here if you want it:
Gaexec_Paexack-jwm.tar.xz
whole thing is basically a drop in. pxc goes to root/my-applications/bin, nwp goes under /, and there's a simple little tray (10but, which is in the root3 folder in /nwp) that's set to autohide over the top middle--here's the readme:
easiest way to get the nine other jwm root menus is probably to paste the following into your /root/.jwm/jwmrc-personal file:
<Include>/nwp/root3/10but<Include>
the above will use the nine menu blanks folder--the nine extra menus aren't exactly blank, but they're a lot more sparse than the ones off my precise 55 machine (trays and jwm config files included if you're interested--that was a dual monitor set up. the single is from a ~572 installation (a derivative of precise 571). they are a lot more involved and customized--i figured you may want to start from scratch, but 4 and 5 are the single monitor and dual monitor menus, 0 will give you a chance to get familiar with some of the ae menus that can be activated a number of ways, and 1 is the nwp menu...
following is the original readme to the config switch with some of the "/root/my-applications/root3" swapped out for "/nwp/root3/"--nothing to be done; this is just here for background and the above.
allows easy switching of alternate menu layouts and keyboard shortcut configurations by swapping out .jwmrc in /root and replacing it on the fly with one of your (here's a set for ten) alternates. they are set to use jwmrc.personal for customizations by default, but each new root menu has a line (by default commented out) for one of the new jwmrc-personal files that sits with it in its folder in /nwp/root3. you could alter that and switch root menus by sets of ten rather than just one at a time.
all the templates in /root/my-applications/root3 are copies of the original puppy menu from /initrd/pup_ro2 compressed to one line, with the desktops goto, rox opening the applications folder in usr/share, and a jwm config switch (which should also be added atop/etc/xdg/templates/_root_.jwmrc as well) menu added:
<Menu label="jwm config switch" icon="" height="16">
<Menu label="jwm config switch" icon="" height="16">
<Program label="gjwm">/nwp/gjwm</Program>
<Program label="my3">/nwp/my3</Program>
<Program label="my30">/nwp/my30</Program>
<Program label="my31">/nwp/my31</Program>
<Program label="my32">/nwp/my32</Program>
<Program label="my33">/nwp/my33</Program>
<Program label="my34">/nwp/my34</Program>
<Program label="my35">/nwp/my35</Program>
<Program label="my36">/nwp/my36</Program>
<Program label="my37">/nwp/my37</Program>
<Program label="my38">/nwp/my38</Program>
<Program label="my39">/nwp/my39</Program>
<Program label="orig3">/nwp/orig3</Program>
<Program label="make 6 puppy pins">/nwp/mk6p</Program>
</Menu>
# nwp menu entry for aemenu: cmd "make 6 puppy pins for pp# series" "/nwp/mk6p"
# nwp menu entry for jwm: <Program label="make 6 puppy pins">/nwp/mk6p</Program>
</Menu>
ae menu version:
menu "jwm config switch"
cmd "gjwm" "/nwp/gjwm"
cmd "my3" "/nwp/my3"
cmd "my30" "/nwp/my30"
cmd "my31" "/nwp/my31"
cmd "my32" "/nwp/my32"
cmd "my33" "/nwp/my33"
cmd "my34" "/nwp/my34"
cmd "my35" "/nwp/my35"
cmd "my36" "/nwp/my36"
cmd "my37" "/nwp/my37"
cmd "my38" "/nwp/my38"
cmd "my39" "/nwp/my39"
cmd "orig3" "/nwp/orig3"
cmd "make 6 puppy pins for pp# series" "/nwp/mk6p"
end
the terminal shortcut for each of the additional configurations is the same as their purposely short program names i.e. enter my38 into a terminal or gexec-like launcher and that menu system and its associated shortcut keys will now be activated. comment out the jwmrc-personal line atop the .jwmrc file you are using and uncomment the one corresponding to your new customizations (keyboard, group, etc.)
overwrite the .jwmrc file in /nwp/root3 to use your own current right click menu in place of the puppy original from ro2 (without having to use fixmenus, which is what "orig3" is, more or less. gjwm opens the jwm files in geany for easy access.)
---------
new shortcuts (off PATH so no conflicts with cryptic system scripts and utilities with this method; you could use pretty much any character(s) the system deems allowable as file names to launch programs and scripts) with the above pxc script searching through/acting on /nwp/ (this is what's on the root0 menu if you're using the 10but includes line (remember to restart jwm to see the changes). if you use either jwmrc-personal in /nwp/root/3 (there's one in the 572 folder and another in the 55 folder), alt+0-9 activate the menus. on blank desktop, the mouse is also the first five root menus (left click is root 1, middle click is root2, right is root3 (main menu), scroll up is root4, scroll down is 5), so moving (change your jwmrc-tray setting from x=0 to x=1) your tray right by one pixel allows you to throw the mouse in/slide your finger to the lower left corner to access roots 1-5, which in turn allows you to make the top autohide tray shorter (menus 6-0 plus now more room for whatever you want to add.)
the aemenu (pxc script plus the emboldened below or) pop ups on root0 (text coming from http://www.murga-linux.com/puppy/viewto ... 881#850881 and the post above it):
all items are set to work on active window.
1 single monitor menu
2 double monitor menu
g grid menu
x x axis menu
y y axis menu
w width menu
h height menu
mv move
wn windows menu
mx maximize window
o old windows manipulation menu
s new version of supplemental menus
n is the original nwpus menu, n1 is the full word-processing menu without any of the supplementals. it has n2 and n3 as submenus but gives some prominence to the overall document formatting commands from from n3; n2 is just the highlight and click to apply word processing/html code section, and n3 is the paste and place section of the main (word processing) menu.
it's often quicker to have the machine spit out the tags and leave the placement to you rather than have it auto delete then recreate the the text with the tags in place. the following menu just pastes the beginning and end tags for various formatting functions--it's up to you to paste them and/or follow the instructions that get printed along with them ("instructions" usually something no more than "delete this and put your text here to preserve breaks and spaces. all this other stuff is not visible when the document is viewed in a browser," and frequently something a good deal less.)
some other useful pxc shortcuts (enter the bold text in the modified pexec launcher to by-pass the menu popups and enter the commands to their right directly (adapted from the earlier http://www.murga-linux.com/puppy/viewto ... 711#846711)):
screenshots of two of the configurations available in the /nwp/root3 directory:some pxc shortcuts of note:
s# send active window to desktop#
s#s send next clicked window to desktop#
d# go to desktop#
c plus a single letter is normally a close command--cr, close rox; cu, close urxvt terminals; ct, close rxvt Terminal.
pp# --change pinboard
p# --change/toggle four panel set frame (can be altered down to one)
my# --swap out custom jwm configurations
gea3 --edit custom jwm configurations
la, lb, lm ---layer above, below, middle/normal for active window
las,lbs, lms ---layer above, below, middle/normal for selected window
stk, ustk --stick unstick active (add an s for the click to select version)
pv2--partview and rox /mnt
rr --rox recently visited
rb1 --four (iirc) rungs down on the rox bookmarks menu
rup --three rungs up from the bottom of the rox bookmarks menu
wp-- access the nwp area of one of the root menus
w5 --access the quadrants, halves, and wholes area of one of the root (jwm) menus
pcp --access pup control
fnr --find and run
hlx -- htop in an urvxt window and lx task ...
ppm is a built in for package manager (will work without pxc launcher or anything having been symlinked to /root/my-applications/bin)
x# move to # on x-axis (increments of 10)
y# move to # on y-axis (increments of 10)
h# width (increments of 5)
w# width (increments of 5)
rs resize
sd -- speeddials
sdr -- speed dials recent list only
gnysys -- open a slew of config files in geany
3but -- speed dials and a version of winswitcher
ws -- winswitcher (also ctrl plus spacebar).
1g0-1g30 grid out the screen. first number is down the y axis in steps of 100, starting with 0; second number is x axis divided by 100. select versions replace the g with an s: 1g0 is upper left corner, 7s20 sends the next thing clicked to 600y, 2000x. increments of 100 for the grid, 10 for movement along x and y axes, 5 for height and width though square presets (bare #) are by tens.
add an s to make the code work on a window to be clicked rather than the active one (examples: x440, y750s, w435, h1275s)
screen shot of the custom Precise 5.5 JWM configuration, dual monitors (asymmetrical). additional left and top autohidden trays not shown but are same as below
screen shot of 572 JWM configuration, single monitor
272kb download for the version w/o the jwm additions, 293kb for the -jwm. (smaller version is in the pupli repo as The Gaexec Paexack).
--------
edit/bugfix: to get the trays in the 55 dual monitor configuration to work, you'll need to swap out the beginning of the jwmrc-personal file in /nwp/root3/dub55 with the following:
Code: Select all
<Include>/nwp/root3/dub55/traylvert</Include>
<Include>/nwp/root3/dub55/bottomtrayr</Include>
<Include>toprighttrayr2</Include>
<Include>/nwp/root3/ninemenus55/root1menu</Include>
<Include>/nwp/root3/ninemenus55/root4menu</Include>
<Include>/nwp/root3/ninemenus55/root5menu</Include>
<Include>/nwp/root3/ninemenus55/root2menu</Include>
<Include>/nwp/root3/ninemenus55/root9menu</Include>
<Include>/nwp/root3/ninemenus55/root8menu</Include>
<Include>/nwp/root3/ninemenus55/root7menu</Include>
<Include>/nwp/root3/ninemenus55/root6menu</Include>
<Include>/nwp/root3/ninemenus55/root0menu</Include>
you'll also need to provide your own icons (next full upgrade will have better icon management).