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 Fri 24 Nov 2017, 00:02
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Add A JWM Bookmarks Menu or Submenu/Messing Around With JWM
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 13 of 14 [201 Posts]   Goto page: Previous 1, 2, 3, ..., 11, 12, 13, 14 Next
Author Message
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Mon 21 Dec 2015, 00:45    Post subject: nwp and config quickswitch update  

from http://www.murga-linux.com/puppy/viewtopic.php?p=877825#877825
Quote:

Re: and update of the install procedure (jwm only) and of the jwm ten (really 11) configuration quickswitch
http://www.murga-linux.com/puppy/viewtopic.php?p=877825#877825

Puppus Dogfellow wrote:
I'm not sure if the new slacko64 is the way all future pups will be built, but if it is, the install scripts for the two more complicated versions of the menus and trays need the following update, which is also an update for the included jwm config quickswitch (switch back and forth between ten separate configurations).
here's the new nwp:

nwp-jwm-aem-1.1.tar.xz

and here's the included "iinstall2--quickswitch version" file:
Quote:


alternate install scripts for 392 and 390r for the 1.1 pack's updated quick config switch
[same but with sed commented out--mods will be handled by the file being swapped over]


#392 -- top and left trays added, nine menus added, bottom tray swapped, two additional menus added to root3:
# mbm activates MochiMoppel's bookmark script, which will put your rox bookmarks on a jwm submenu
# nwp full
cp /nwp/ww /root/my-applications/bin/ww
cp /nwp/f /root/my-applications/bin/f
cp /nwp/t /root/my-applications/bin/t
cp /nwp/p /root/my-applications/bin/p
cp /nwp/rr /root/my-applications/bin/rr
chmod 755 /nwp/ww /root/my-applications/bin/ww
chmod 755 /nwp/f /root/my-applications/bin/f
chmod 755 /nwp/t /root/my-applications/bin/t
chmod 755 /nwp/p /root/my-applications/bin/p
chmod 755 /nwp/rr /root/my-applications/bin/rr
chmod 755 /nwp/ch /nwp/p /nwp/ll /nwp/gl /nwp/chab /nwp/rl
#sed -i 's/<Include>\/root\/.jwmrc-tray<\/Include>/<Include>\/nwp\/root3\/9\/mtk<\/Include>/' /etc/xdg/templates/_root_.jwmrc
#sed -i 's/<RootMenu label="Menu" labeled="false" height="24" onroot="3">/<RootMenu label="Menu" labeled="false" height="24" onroot="3">\n<Include>\/nwp\/root3\/menu3<\/Include>\n<Include>\/nwp\/root3\/nwpmenujwm<\/Include>/' /etc/xdg/templates/_root_.jwmrc
/nwp/mbm
fixmenus
jwm -restart


#---------------------------
#!/bin/sh

# 390r -- version with more minimalistic 9 menus available but commented out. joop opens files for editing. three custom trays--you lose the stock bottom tray.
# mbm activates MochiMoppel's bookmark script, which will put your rox bookmarks on a jwm submenu
cp /nwp/ww /root/my-applications/bin/ww
cp /nwp/f /root/my-applications/bin/f
cp /nwp/t /root/my-applications/bin/t
cp /nwp/p /root/my-applications/bin/p
cp /nwp/rr /root/my-applications/bin/rr
chmod 755 /nwp/ww /root/my-applications/bin/ww
chmod 755 /nwp/f /root/my-applications/bin/f
chmod 755 /nwp/t /root/my-applications/bin/t
chmod 755 /nwp/p /root/my-applications/bin/p
chmod 755 /nwp/rr /root/my-applications/bin/rr
chmod 755 /nwp/ch /nwp/p /nwp/ll /nwp/gl /nwp/chab /nwp/rl
#sed -i 's/<Include>\/root\/.jwmrc-tray<\/Include>/<Include>\/nwp\/root3\/9\/mtk2<\/Include>/' /etc/xdg/templates/_root_.jwmrc
fixmenus
jwm -restart
/nwp/mbm
/nwp/joop


some new commands:
(/nwp/)cusjp --open all the jwmrc personal files (config quick switch is set for 11. my3 in the terminal swaps out what i'm using in Quirky Werewolf 7.4--it's all one config file and some of the functions that don't work in sixty four bit have been swapped for some that do. my30 through my39 are your customizable swap-ins, with my30 being the equivalent of mtk, 31 being its backup, 32 being mtk2, and 33 being the mtk3 version and 34 a backup copy. add an r to restore the previous configuration--i.e. if you're using my31, and you want to go back, enter my31r into the nwp launcher.
cusjc -- opens the corresponting _root_.jwmrc to go with the cusjp command--kept them separate because the former'll likely get called more frequently.
my30-my39 --call those custom jwm setups
my30r-my39r --replace the setup that got replaced when you entered the switch command (i.e. it's the reset switch, but you have to call the same version you called or the machine won't know where to find the files it's supposed to be using for the swap).


the config switch comments out the original desktops and bottom tray by default:
<!-- Personally configurable options for JWM: these override default settings and theme settings -->
<!-- edit the files in nwp/root3/9 and nwp/root3/[root#menu] as these are what the quick config switch calls -->
<JWM>

<!-- <Include>/root/.jwmrc-tray</Include> -->
<!-- Number of virtual desktops
<Desktops width="3" height="1"/>
-->


included with this batch but not activated is the cauliflower machue icon series for the vtg (or whatever else you'd like to use it for, if anything). i was going to use various pups (barry's quirky and mini dog icons) for the numbered menu buttons, and i still may--i could use them reversed or rotated or with the colors inverted--i've gotten used to only needing the five and i kind of like the stock desktop icon. something should have a puppy on it. guess i make that or something similar an option on the next update, though you could just add them or any other image yourself with image="name.extension" added to the <TrayButton label="9">root:#</TrayButton> bit in those tray files included by the mtk files, so long as the picture, like mini-dog.xpm or the machue series, are part of the image path. you could either enter the full location of the image or drop or link your image to /nwp/icons or /nwp/root3/icons for your own choices. this is what the version with an image instead of the button text looks like (from /nwp/root3/9/3.jwmrc-tray):
<TrayButton image="c.machue-207.jpg">exec:xdotool key ctrl+9 ctrl+8 Return F2 ctrl+7</TrayButton>
here's the original:
<TrayButton label="vtg">exec:xdotool key ctrl+9 ctrl+8 Return F2 ctrl+7</TrayButton>
here's what the line should look like if you want both an image and an icon:
<TrayButton label="vtg" image="cmachue207.jpg">exec:xdotool key ctrl+9 ctrl+8 Return F2 ctrl+7</TrayButton>

this is the basic format of the call and reverse scripts:

call:
#!/bin/sh
#my31
cp -f /etc/xdg/templates/_root_.jwmrc /nwp/root3/root31menu/oldjc
cp -f /root/.jwm/jwmrc-personal /nwp/root3/root31menu/oldjp
cp -f /nwp/root3/root31menu/_root_.jwmrc /etc/xdg/templates/_root_.jwmrc
cp -f /nwp/root3/root31menu/jwmrc-personal31 /root/.jwm/jwmrc-personal
fixmenus
jwm -restart

reverse:
#!/bin/sh
#my31r
cp -f /nwp/root3/root31menu/oldjp /root/.jwm/jwmrc-personal
cp -f /nwp/root3/root31menu/oldjc /etc/xdg/templates/_root_.jwmrc
fixmenus
jwm -restart


p. dogfellow, 12/20/15


the new slacko64 is very scripty and assumes changes to the jwm config files are incorrect and need to be undone, which got me to update the config switch, which has now more or less become a part of the installation process. my30 in the launcher or /nwp/my30 in terminal (or 31-34 until you fill up the rest with your own configurations--difference as it stands is which mtk (menus, trays, keys) file gets included) will activate the menus, trays, and keys after the other part of the install script is run.



next version will automate the choice for newer jwms, but for the newest slacko (and presumably the jwm pups from here forward), you'll need to change the syntax of the hidden trays from autohide="true" to autohide="top[bottom, left, right]".
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Sat 23 Jan 2016, 19:15    Post subject: bugfix for the last nwp pack i offered
Subject description: fixes 99 scripts
 

Code:
grep -lr --exclude-dir="/nwp/1000" -e "\#\! \/bin" /nwp/| xargs sed -i "s/\#\! \/bin/\#\!\/bin/g"



larger update in the works, but that's the most important bit of it, i think.

more here:

http://www.murga-linux.com/puppy/viewtopic.php?p=883569#883569

http://www.murga-linux.com/puppy/viewtopic.php?p=883572#883572
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Wed 27 Jan 2016, 02:00    Post subject: finally got around to improving that copy function...
Subject description: post is so buried i can't find the promise...
 

i made the improvement into a general pup thing, then added back the nwp version (started as yet another update script, but became some sort of leafpad as xpad improvement project--need to lighten the load, plus it's working well (so, here.)). use the bottom version, but apart from "you can also launch it with the vtg or the pwn/puup launcher," the info is basically the same as what's contained in the post from here, but you'd be without nwp activation (vtg would still work, but it's not a universal puppy thing).


Puppus Dogfellow wrote:
The following script will allow you to easily make multiple copies of files or directories and edit their count, and to some degree, the wording of the copies (presets are for sets of three and five starting as file2X.1--the dummy extension is so you can easily swap in actual extensions or delete them (easier to delete from the template than add the extension after the fact). rox's built in bulk rename function (access with a right click) will allow text replacement, positional addition, and selective deletion, but you can further fine tune the final names with SFR's Multi-Rename or whatever bulk renamer comes with your pup (usually gfnrename or prename)).
Code:

#!/bin/sh
echo $'
#!/bin/sh

echo $\'

#!/bin/sh


for f in "$@"{2..6}.X ; do cp -fRu "$@" $f ; done
#replace the .X with an extension or delete it.
#eg: {x..y[..incr]}{AA..ZZ..5}{x..a} {x..a..-2}

\' > ./Make_Copies


echo $\'
#!/bin/sh
 leafpad ./Make_Copies
\' > ./Make_Copies--edit_range

chmod 755 ./Make_Copies--edit_range ./Make_Copies

' > /root/my-applications/bin/5ce

chmod 755 /root/my-applications/bin/5ce


echo $'
[Desktop Entry]
Encoding=UTF-8
Name=
Icon=/root/puppy-reference/mini-icons/mini-pencil.xpm
Comment=make multiple copies of a file by drag and drop
Exec=/root/my-applications/bin/5ce
Terminal=false
Type=Application
GenericName=
Version=1.0
Categories=Utility
' > /root/.config/rox.sourceforge.net/Templates/5ce
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=
Icon=/root/puppy-reference/mini-icons/mini-penguin.xpm
Comment=make multiple copies of a file by drag and drop
Exec=/root/my-applications/bin/5c
Terminal=false
Type=Application
GenericName=
Version=1.0
Categories=Utility
' > /root/.config/rox.sourceforge.net/SendTo/5c
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=
Icon=/root/puppy-reference/mini-icons/mini-penguin.xpm
Comment=make multiple copies of a file by drag and drop
Exec=/root/my-applications/bin/3c
Terminal=false
Type=Application
GenericName=
Version=1.0
Categories=Utility
' > /root/.config/rox.sourceforge.net/SendTo/3c

echo $'
#!/bin/sh
for f in "$@"{2..6}.X ; do cp -fRu "$@" $f ; done
#replace the .X with an extension or delete it.
#eg: {x..y[..incr]}{AA..ZZ..5}{x..a} {x..a..-2}
' > /root/my-applications/bin/5c

echo $'
#!/bin/sh
for f in "$@"{2..4}.X ; do cp -fRu "$@" $f ; done
#replace the .X with an extension or delete it.
#eg: {x..y[..incr]}{AA..ZZ..5}{x..a} {x..a..-2}
' > /root/my-applications/bin/3c

chmod 755 /root/my-applications/bin/3c /root/my-applications/bin/5c


The script places three desktop files in two folders used by rox for right click functions. the one that's accessible in the New menu will create two files in whatever folder it's clicked or activated. one is Make_Copies--edit_range, which opens the drag and drop file (Make_Copies) for you to edit. they're disposable and can be renamed and modified for portable use. the other two are in the Open With menu, which allows them to function as right click utilities--right click an item (file of folder--it updates and overwrites recursively so make sure you don't have identically oddly named files hanging about when you activate it if you want to keep older versions) and pick either 3 or 5c, both of which you can access for editing (or copy and alter to add other presets) by right click > Open With... > Customise. 5c (or 3c) /path/to/file will make multiple copies of the file according to the presets. entering 5ce (5c, edit) into a terminal will create the scripts Make_Copies and Make_Copies--edit_range in your current directory. "edit range" is set to open the other document in leafpad--you can adjust the script and watch it create the files, altering as necessary. if you edit the desktop files in geany, you can right click open (or shift plus control plus o) the target (which isn't as convenient as 5ce).

it's working well. wish i needed to copy more stuff.

Laughing


______________________________
nwp version:

Code:
#!/bin/sh
echo $'
#!/bin/sh

echo $\'

#!/bin/sh


for f in "$@"{2..6}.X ; do cp -fRu "$@" $f ; done
#replace the .X with an extension or delete it.
#eg: {x..y[..incr]}{AA..ZZ..5}{x..a} {x..a..-2}

\' > ./Make_Copies


echo $\'
#!/bin/sh
 leafpad ./Make_Copies
\' > ./Make_Copies--edit_range

chmod 755 ./Make_Copies--edit_range ./Make_Copies

' > /root/my-applications/bin/5ce

chmod 755 /root/my-applications/bin/5ce

echo $'
#!/bin/sh

echo $\'

#!/bin/sh


for f in "$@"{2..6}.X ; do cp -fRu "$@" $f ; done
#replace the .X with an extension or delete it.
#eg: {x..y[..incr]}{AA..ZZ..5}{x..a} {x..a..-2}

\' > ./Make_Copies


echo $\'
#!/bin/sh
 leafpad ./Make_Copies
\' > ./Make_Copies--edit_range

chmod 755 ./Make_Copies--edit_range ./Make_Copies

' > /nwp/5ce

chmod 755 /nwp/5ce

echo $'
[Desktop Entry]
Encoding=UTF-8
Name=
Icon=/root/puppy-reference/mini-icons/mini-pencil.xpm
Comment=make multiple copies of a file by drag and drop
Exec=/root/my-applications/bin/5ce
Terminal=false
Type=Application
GenericName=
Version=1.0
Categories=Utility
' > /root/.config/rox.sourceforge.net/Templates/5ce
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=
Icon=/root/puppy-reference/mini-icons/mini-penguin.xpm
Comment=make multiple copies of a file by drag and drop
Exec=/root/my-applications/bin/5c
Terminal=false
Type=Application
GenericName=
Version=1.0
Categories=Utility
' > /root/.config/rox.sourceforge.net/SendTo/5c
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=
Icon=/root/puppy-reference/mini-icons/mini-penguin.xpm
Comment=make multiple copies of a file by drag and drop
Exec=/root/my-applications/bin/3c
Terminal=false
Type=Application
GenericName=
Version=1.0
Categories=Utility
' > /root/.config/rox.sourceforge.net/SendTo/3c

echo $'
#!/bin/sh
for f in "$@"{2..6}.X ; do cp -fRu "$@" $f ; done
#replace the .X with an extension or delete it.
#eg: {x..y[..incr]}{AA..ZZ..5}{x..a} {x..a..-2}
' > /root/my-applications/bin/5c

echo $'
#!/bin/sh
for f in "$@"{2..4}.X ; do cp -fRu "$@" $f ; done
#replace the .X with an extension or delete it.
#eg: {x..y[..incr]}{AA..ZZ..5}{x..a} {x..a..-2}
' > /root/my-applications/bin/3c

chmod 755 /root/my-applications/bin/3c /root/my-applications/bin/5c

echo $'
#!/bin/sh
for f in "$@"{2..6}.X ; do cp -fRu "$@" $f ; done
#replace the .X with an extension or delete it.
#eg: {x..y[..incr]}{AA..ZZ..5}{x..a} {x..a..-2}
' > /nwp/5c

echo $'
#!/bin/sh
for f in "$@"{2..4}.X ; do cp -fRu "$@" $f ; done
#replace the .X with an extension or delete it.
#eg: {x..y[..incr]}{AA..ZZ..5}{x..a} {x..a..-2}
' > /nwp/3c

chmod 755 /nwp/3c /nwp/5c

#!/bin/sh
echo $'
#!/bin/sh

echo $\'

#!/bin/sh


for f in "$@"{2..6}.X ; do cp -fRu "$@" $f ; done
#replace the .X with an extension or delete it.
#eg: {x..y[..incr]}{AA..ZZ..5}{x..a} {x..a..-2}

\' > ./Make_Copies


echo $\'
#!/bin/sh
 leafpad ./Make_Copies
\' > ./Make_Copies--edit_range

chmod 755 ./Make_Copies--edit_range ./Make_Copies

' > /nwp/5ce

chmod 755 /nwp/5ce



oops, wrong thread.

Embarassed

http://murga-linux.com/puppy/viewtopic.php?p=884166#884166 is where i meant to place it. kind of on topic, i suppose (nwp launcher shortcut is set through JWM).

------

anyway, here's the latest update of the nwp--it includes the copy function from this mistaken post, a launcher for 669 virtual keys, somewhat improved icons (they largely weren't there before), and a leafpad as note-taker tweak. it's also a bugfix release (doubled colons in the root1 menu, spaces in the shebangs in some of the scripts).

info and link:
http://www.murga-linux.com/puppy/viewtopic.php?p=885043#885043
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Sat 14 May 2016, 02:19    Post subject: updated nwp: programs' commands on jwm menus, tweaked menus
Subject description: install method for newest slacko included in notes
 

nwp-1.4.tar.xz

new support folder

three clicks or so gives you the nine menus, reversal and uninstall methods provided. new window buttons due to a semi-bug in Xenialpup--this is now a feature (swap in any images you like in place of the buttons that are there).

also includes the 1060 virtual key keyboard and the 669 key version (separate launchers, though the keys overlap (largely irrelevant unless mapped to global functions--programs don't care what you name the keys)).

anyway, on a buggy installation (really running great apart from the random freezes so glad to have this in and done before the next one) so screen shots and the how-to for the newest Slacko (can't use nwp-jwm as is though there are notes in the support folder and the download's installation folder) to come.

larger (2.3mb) than previous versions because it contains some recommended programs and an enormous amount of icons.

download includes 5 install versions for both old and new jwm syntax and copies of the files i was able to mod on my Slacko64 install. there are four blanks (actually redundancies) for future installations--these are for your versions of what the third step in the configuration folder is transferring (tweaked jwmrc-personal and _root_.jwmrc files).

________






edit: added a couple of screenies. top is from Slacko64, bottom is from Xenialpup. installation folder and download/install wrapper shown in second pic, which also shows one of the sets of new root menu icons and the top and side trays (some installation options rid you of these). Slacko gif shows program menus on the jwm menu and aemenu popup (called from a jwm shortcut--shift plus spacebar).
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Thu 19 May 2016, 21:22    Post subject: NWP_1.5 adds toggleable trays, expanded keyboard and menu
Subject description: options, 30 or so quick switches (some are unmenued clicks...)...
 

nwp-1.5.tar.xz

screeny of aei (aei in the keyboard plus spacebar launcher) install/port/config menu (can't use the jwm version to swap to somewhere functional if one of your configs (temporarily) breaks it):



screeny of earlier jwm version (root one menu and clickable install versions shown):
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Mon 23 May 2016, 00:46    Post subject: some excerpts from nwp 1.6 (swappable 10 menu sets (3),
Subject description: keyboard sets (6), keycentric sets (4), trays (three sets of four)...
 

nwp-1.6.tar.xz

here's the new includes file included in the update:
Quote:

<JWM>
<Menu label="menu maker" icon="" height="16">
<Program label="aemenu launcher template" icon="">/nwp/ael</Program>
<Program label="aemenu--given program" icon="">/nwp/aeae</Program>
<Program label="aemenu--given title" icon="">/nwp/aeae2</Program>
<Program label="aemenu template" icon="">/nwp/aeaem</Program>
<Program label="jwm --given program" icon="">/nwp/jwmkr</Program>
<Program label="jwm --given label" icon="">/nwp/jwmmkr</Program>
<Program label="jwm menu template" icon="">/nwp/jwmm</Program>
<Program label="jwm includes template" icon="">/nwp/jwmi</Program>
<Program label="grab exec commands --leafpad" icon="">/nwp/e4ml</Program>
<Program label="grab exec commands --geany" icon="">/nwp/e4m</Program>
</Menu>
<!--<Include>/nwp/root3/shutdown2</Include>-->
<!--<Include>/nwp/root3/mmkr2</Include>-->
<!--<Include>/nwp/root3/cuskeyconfig</Include>-->

<Menu label="Select Custom Keyboard Configuration" icon="" height="16">
<Program label="keycentric configs:" icon=""></Program>
<Program label="keyboard-1 (my1)" icon="">/nwp/my1</Program>
<Program label="keyboard-2 (my2)" icon="">/nwp/my2</Program>
<Program label="keyboard-3 (my3)" icon="">/nwp/my3</Program>
<Program label="keyboard-4 (my4)" icon="">/nwp/my4</Program>

<Program label="reverse keycentric configs:" icon=""></Program>
<Program label="reverse my1 (my1)" icon="">/nwp/my1r</Program>
<Program label="reverse my2 (my2r)" icon="">/nwp/my2r</Program>
<Program label="reverse my3 (my3r)" icon="">/nwp/my3r</Program>
<Program label="reverse my4 (my4r)" icon="">/nwp/my4r</Program>
<Program label="edit quickswitches (40 series and KB)" icon="">/nwp/edit4i</Program>


<Menu label="edit the 6 key configs:" icon="" height="16">
<Program label="edit keys: geany" icon="">geany /nwp/root3/9menusblanks/keys0 /nwp/root3/9menusblanks/keys1 /nwp/root3/9/keys0 /nwp/root3/9/keys1 /nwp/root3/10/keys0 /nwp/root3/10/keys1</Program>
<Program label="edit keys: geany -i" icon="">geany -i /nwp/root3/9menusblanks/keys0 /nwp/root3/9menusblanks/keys1 /nwp/root3/9/keys0 /nwp/root3/9/keys1 /nwp/root3/10/keys0 /nwp/root3/10/keys1</Program>


<Program label="edit keys: leafpad" icon=""></Program>
<Program label="edit keys 1" icon="">leafpad /nwp/root3/9/keys0</Program>
<Program label="edit keys 2" icon="">leafpad /nwp/root3/10/keys0</Program>
<Program label="edit keys 3" icon="">leafpad /nwp/root3/9menusblanks/keys0</Program>
<Program label="edit keys 4" icon="">leafpad /nwp/root3/9/keys1</Program>
<Program label="edit keys 5" icon="">leafpad /nwp/root3/10/keys</Program>
<Program label="edit keys 6" icon="">leafpad /nwp/root3/9menusblanks/keys1</Program>
</Menu>



<!--
<Program label="1. Release Current:"></Program>
<Program label="my(1-4) --KB1 --off" icon="">exec:/nwp/kb1off</Program>
<Program label="my(1-4) --KB2 --off" icon="">exec:/nwp/kb2off</Program>
<Program label="my(1-4) --KB3 --off" icon="">exec:/nwp/kb3off</Program>
<Program label="my(1-4) --KB4 --off" icon="">exec:/nwp/kb4off</Program>
<Program label="my(1-4) --KB5 --off" icon="">exec:/nwp/kb5off</Program>
<Program label="my(1-4) --KB6 --off" icon="">exec:/nwp/kb6off</Program>
<Program label="Choose New Config:">></Program>
(moved to the on code--each on swaps all others (including itself) off first)--nts--use for menu on off template. make main
configs tray-centric. use reload for menu quickswitches.)
-->
<!--<Program label="Choose key Configuration:"></Program>
<Program label="my(1-4) --KB1 --on" icon="">exec:/nwp/kb1on</Program>
<Program label="my(1-4) --KB2 --on" icon="">exec:/nwp/kb2on</Program>
<Program label="my(1-4) --KB3 --on" icon="">exec:/nwp/kb3on</Program>

<Program label="my(1-4) --KB4 --on" icon="">exec:/nwp/kb4on</Program>
<Program label="my(1-4) --KB5 --on" icon="">exec:/nwp/kb5on</Program>
<Program label="my(1-4) --KB6 --on" icon="">exec:/nwp/kb6on</Program>-->
<!--
<Program label="3.SEND (jwm -restart)" icon="">jwm -restart</Program>
restart is now part of the switch and on unnecessary, but i don't mind the room the comments and examples and even errors take up (if there's something to be gained and they do no harm. alternate sed-directly version commented out at end of file (sometimes it saves you effort, sometimes the shorthand based on the nwp/pwn shortcut leads to faster editing/menu-making.)
-->

<Program label="Choose Alternate Key Configuration (my1-4 series only):"></Program>
<Program label="(the 4 can swap 6)" icon=""></Program>
<Program label="KB1" icon="">exec:/nwp/kb1on</Program>
<Program label="KB2" icon="">exec:/nwp/kb2on</Program>
<Program label="KB3" icon="">exec:/nwp/kb3on</Program>

<Program label="KB4" icon="">exec:/nwp/kb4on</Program>
<Program label="KB5" icon="">exec:/nwp/kb5on</Program>
<Program label="KB6" icon="">exec:/nwp/kb6on</Program>

<!--<Include>/nwp/root3/9menusblanks/keys0</Include>-->
<!--<Include>/nwp/root3/9menusblanks/keys1</Include>-->
<!--<Include>/nwp/root3/9/keys0</Include>-->
<!--<Include>/nwp/root3/9/keys1</Include> -->
<!--<Include>/nwp/root3/10/keys0</Include>-->
<!--<Include>/nwp/root3/10/keys1</Include>-->
</Menu>

<Menu label="Swap Menu Sets" icon="" height="16">
<Program label="edit menu set 1" icon="">/nwp/ems1</Program>
<Program label="edit menu set 2" icon="">/nwp/ems2</Program>
<Program label="edit menu set 3" icon="">/nwp/ems3</Program>
<Program label="activate menu set 1" icon="">/nwp/ams1</Program>
<Program label="activate menu set 2" icon="">/nwp/ams2</Program>
<Program label="activate menu set 3" icon="">/nwp/ams3</Program>
<Program label="edit menu set 1i" icon="">/nwp/ems1i</Program>
<Program label="edit menu set 2i" icon="">/nwp/ems2i</Program>
<Program label="edit menu set 3i" icon="">/nwp/ems3i</Program>
</Menu>

<Menu label="edit configs and helpers" icon="" height="16">
<Program label="edit/open configuration files --jwm" icon="">/nwp/gea3i</Program>
<Program label="edit my40 series config switches" icon="">/nwp/edit4i</Program>
<Program label="edit quickswitches (30 series)" icon="">/nwp/edit3i</Program>
<Program label="edit main jwm configs" icon="">/nwp/joopi</Program>
<Program label="edit main jwm system configs" icon="">/nwp/jpe</Program>
<Program label="edit panels incoming" icon="">/nwp/edpanc</Program>
<Program label="edit panels current" icon="">/nwp/edpan</Program>
<Program label="edit pinboards incoming" icon="">/nwp/edpinc</Program>
<Program label="edit panels current" icon="">/nwp/edpin</Program>
<Program label="edit panels incoming--new instance" icon="">/nwp/edpanic</Program>
<Program label="edit panels current--new instance" icon="">/nwp/edpani</Program>
<Program label="edit pinboards incoming--new instance" icon="">/nwp/edpinic</Program>
<Program label="edit panels current--new instance" icon="">/nwp/edpini</Program>
<Program label="edit word processing templates" icon="">/nwp/geak</Program>
<Program label="edit rox shortcuts" icon="">/nwp/roks</Program>
<Program label="edit autotext shortcuts" icon="">/nwp/ate</Program>
<Program label="edit this menu--geany" icon="">geany jwmim</Program>
<Program label="fixmenus; jwm -restart" icon="">/nwp/fixu</Program>
<Program label="swap to tray syntax for older jwm setups" icon="">/nwp/jio</Program>
<Program label="swap to tray syntax for newer jwm setups" icon="">/nwp/jin</Program>
<Program label="edit this menu--leafpad" icon="">leafpad /nwp/jwmim</Program>
<Program label="edit my40 series config switches" icon="">/nwp/edit4i</Program>
<Program label="edit my30 series config switches" icon="">/nwp/edit3i</Program>
</Menu>



<Menu label="tray toggles" height="16">
<Program label="vertical tray 1 off" icon="">/nwp/vertroff</Program>
<Program label="vertical tray 2 off" icon="">/nwp/vertr2off</Program>
<Program label="bottom right off" icon="">/nwp/bottomrightoff</Program>
<Program label="bottom left off" icon="">/nwp/bottomleftoff</Program>
<Program label="top left off" icon="">/nwp/topleftoff</Program>
<Program label="top right off" icon="">/nwp/toprightoff</Program>
<Program label="vertical left2 off" icon="">/nwp/vertleft2off</Program>
<Program label="vertical left 1 off" icon="">/nwp/vertleftoff</Program>
<Program label="move over the stock tray a pixel (better mouse menu access)" icon="">/nwp/xover1</Program>
<Program label="undo the pixel move" icon="">/nwp/undoxover1</Program>
<Menu label="edit trays" height="16">
<Program label="edit left v tray 1" icon="">geany /nwp/root3/9/vtray1</Program>
<Program label="edit left v tray 2" icon="">geany /nwp/root3/9/vtray3</Program>
<Program label="edit left v tray 3" icon="">geany /nwp/root3/9menusblanks/vtray1</Program>
<Program label="edit left v tray 4" icon="">geany /nwp/root3/9menusblanks/vtray3</Program>
<Program label="edit left v tray 5" icon="">geany /nwp/root3/10/vtray1</Program>
<Program label="edit left v tray 6" icon="">geany /nwp/root3/10/vtray3</Program>
<Program label="edit right v tray 1" icon="">geany /nwp/root3/9/vtray2</Program>
<Program label="edit right v tray 2" icon="">geany /nwp/root3/9/vtray4</Program>
<Program label="edit right v tray 3" icon="">geany /nwp/root3/9menusblanks/vtray2</Program>
<Program label="edit right v tray 4" icon="">geany /nwp/root3/9menusblanks/vtray4</Program>
<Program label="edit right v tray 5" icon="">geany /nwp/root3/10/vtray2</Program>
<Program label="edit right v tray 6" icon="">geany /nwp/root3/10/vtray4</Program>
<Program label="edit top tray 1" icon="">geany /nwp/root3/9/topright</Program>
<Program label="edit top tray 2" icon="">geany /nwp/root3/9/topright</Program>
<Program label="edit top tray 3" icon="">geany /nwp/root3/9menusblanks/topright</Program>
<Program label="edit 2nd top tray 1" icon="">geany /nwp/root3/9/top2</Program>
<Program label="edit 2nd top tray 2" icon="">geany /nwp/root3/9/top2</Program>
<Program label="edit 2nd top tray 3" icon="">geany /nwp/root3/9menusblanks/top2</Program>
<Program label="edit left bottom tray 1" icon="">geany /nwp/root3/9/3.jwmrc-tray</Program>
<Program label="edit left bottom tray 2" icon="">geany /nwp/root3/9/3.jwmrc-tray</Program>
<Program label="edit left bottom tray 3" icon="">geany /nwp/root3/9menusblanks/3.jwmrc-tray</Program>
<Program label="edit 2nd bottom tray 1" icon="">geany /nwp/root3/9/2.jwmrc-tray</Program>
<Program label="edit 2nd bottom tray 2" icon="">geany /nwp/root3/9/2.jwmrc-tra</Program>
<Program label="edit 2nd bottom tray 3" icon="">geany /nwp/root3/9menusblanks/2.jwmrc-tra</Program>
</Menu>
<Program label="toggle off stock tray" icon="">/nwp/puptrayoff</Program>
<Program label="top left/main tray on" icon="">/nwp/toplefton</Program>
<Program label="toggle on stock tray" icon="">/nwp/puptrayon</Program>
<Program label="right vertical tray 1 on" icon="">/nwp/vertron</Program>
<Program label="left vertical tray one on" icon="">/nwp/vertlefton</Program>
<Program label="bottom left tray on" icon="">/nwp/bottomlefton</Program>
<Program label="vertical right tray 2 on" icon="">/nwp/vertr2on</Program>
<Program label="toggle on vertical left tray 2" icon="">/nwp/vertleft2on</Program>
<Program label="toggle on top tray 2" icon="">/nwp/toprighton</Program>
<Program label="toggle on bottom right tray" icon="">/nwp/bottomrighton</Program>
<Program label="SEND" icon="">fixmenus; jwm -restart</Program>
</Menu>

<Menu label="install/configure/store/port" icon="" height="16">
<Program label="edit the jwm version of this menu" icon="">geany /nwp/jwmim</Program>
<Program label="edit the ae version of this menu" icon="">geany /nwp/aeim</Program>
<Program label="edit 30 series" icon="">/nwp/edit3i</Program>
<Program label="edit 40 series" icon="">/nwp/edit4i</Program>
<Program label="back up current/original configuration files" icon="">/nwp/bk</Program>
<Program label="restore original/previous configuration files" icon="">/nwp/rbk</Program>
<Program label="port configuration files from /nwp/c" icon="">/nwp/port</Program>
<Program label="store configuration files in /nwp/c" icon="">/nwp/store</Program>
<Program label="edit recs, port, store" icon="">/nwp/editport</Program>
</Menu>


<Menu label="restore/reverse my30-my49" icon="" height="16">
<Program label="fixmenus; jwm -restart" icon="">/nwp/fixu</Program>
<Program label="reverse (my30r)" icon="">/nwp/my30r</Program>
<Program label="reverse (my31r)" icon="">/nwp/my31r</Program>
<Program label="reverse (my32r)" icon="">/nwp/my32r</Program>
<Program label="reverse (my33r)" icon="">/nwp/my33r</Program>
<Program label="reverse (my34r)" icon="">/nwp/my34r</Program>
<Program label="reverse (my35r)" icon="">/nwp/my35r</Program>
<Program label="reverse (my36r)" icon="">/nwp/my36r</Program>
<Program label="reverse (my37r)" icon="">/nwp/my37r</Program>
<Program label="reverse (my38r)" icon="">/nwp/my38r</Program>
<Program label="reverse (my39r)" icon="">/nwp/my39r</Program>
<Program label="reverse (my40r)" icon="">/nwp/my40r</Program>
<Program label="reverse (my41r)" icon="">/nwp/my41r</Program>
<Program label="reverse (my42r)" icon="">/nwp/my42r</Program>
<Program label="reverse (my43r)" icon="">/nwp/my43r</Program>
<Program label="reverse (my44r)" icon="">/nwp/my44r</Program>
<Program label="reverse (my45r)" icon="">/nwp/my45r</Program>
<Program label="reverse (my46r)" icon="">/nwp/my46r</Program>
<Program label="reverse (my47r)" icon="">/nwp/my47r</Program>
<Program label="reverse (my48r)" icon="">/nwp/my48r</Program>
<Program label="reverse (my49r)" icon="">/nwp/my49r</Program>
<Program label="reverse my1" icon="">/nwp/my1r</Program>
<Program label="reverse my2" icon="">/nwp/my2r</Program>
<Program label="reverse my3" icon="">/nwp/my3r</Program>
<Program label="reverse my4" icon="">/nwp/my4r</Program>
</Menu>




<Menu label="quick switch (3)" icon="" height="16">
<Program label="(nwp/pwn code in parentheses) "</Program>
<Program label="jwm quickswitch 1 (my30)" icon="">/nwp/my30</Program>
<Program label="jwm quickswitch 2 (my31)" icon="">/nwp/my31</Program>
<Program label="jwm quickswitch 3 (my32)" icon="">/nwp/my32</Program>
<Program label="jwm quickswitch 4 (my33)" icon="">/nwp/my33</Program>
<Program label="jwm quickswitch 5 (my34)" icon="">/nwp/my34</Program>
<Program label="jwm quickswitch 6 (my35)" icon="">/nwp/my35</Program>
<Program label="jwm quickswitch 7 (my36)" icon="">/nwp/my36</Program>
<Program label="jwm quickswitch 8 (my37)" icon="">/nwp/my37</Program>
<Program label="jwm quickswitch 9 (my38)" icon="">/nwp/my38</Program>
<Program label="jwm quickswitch 10 (my39)" icon="">/nwp/my39</Program>
<Program label="jwm quickswitch k1 (my1)" icon="">/nwp/my1</Program>
<Program label="jwm quickswitch k2 (my2)" icon="">/nwp/my2</Program>
<Program label="jwm quickswitch k3 (my3)" icon="">/nwp/my3</Program>
<Program label="jwm quickswitch k4 (my4)" icon="">/nwp/my4</Program>
<Program label="edit quickswitches (30 series and KB)" icon="">/nwp/edit3i</Program>
</Menu>
<Menu label="quick switch (4)" icon="" height="16">

<Program label="restore original/fixmenus; jwm -restart" icon="">/nwp/fixu</Program>
<Program label="jwm quickswitch 1 (my40)" icon="">/nwp/my40</Program>
<Program label="jwm quickswitch 2 (my41)" icon="">/nwp/my41</Program>
<Program label="jwm quickswitch 3 (my42)" icon="">/nwp/my42</Program>
<Program label="jwm quickswitch 4 (my43)" icon="">/nwp/my43</Program>
<Program label="jwm quickswitch 5 (my44)" icon="">/nwp/my44</Program>
<Program label="jwm quickswitch 6 (my45)" icon="">/nwp/my45</Program>
<Program label="jwm quickswitch 7 (my46)" icon="">/nwp/my46</Program>
<Program label="jwm quickswitch 8 (my47)" icon="">/nwp/my47</Program>
<Program label="jwm quickswitch 9 (my48)" icon="">/nwp/my48</Program>
<Program label="jwm quickswitch 10 (my49)" icon="">/nwp/my49</Program>
<Program label="edit quickswitches (40 series and KB)" icon="">/nwp/edit4i</Program>
</Menu>

<Menu label="shutdown2" icon="" height="16">
<Program label="fixmenus" icon="mini-windows.xpm">fixmenus</Program>
<Program label="Reboot computer" icon="mini-turn.xpm">exec wmreboot</Program>
<Program label="Power-off computer" icon="mini-stop.xpm">exec wmpoweroff</Program>
<Program label="Restart X server" icon="mini-x.xpm">restartwm</Program>
<Program label="jwm -restart" icon="mini-windows.xpm">jwm -restart</Program>
<Program label="fixmenus; jwm -restart" icon="mini-windows.xpm">/nwp/fixu</Program>
<Program label="jwm -reload" icon="mini-windows.xpm">jwm -reload</Program>
<Program label="winswitcher" icon="">/nwp/ww</Program>
<Program label="recents" icon="">/nwp/sdr</Program>
<Program label="rox recents" icon="">/nwp/rr</Program>
<Program label="Exit to prompt" icon="prompt16.xpm">exec wmexit</Program>
</Menu>

<!--
edit: the comments regarding the menu making were here. they should have been invisible to the machine, but jwm -p complains of errors so i've it to a separate file
-->
</JWM>


converting from jwm menu to aemenu is easy if there are no icons in the jwm version--it's only three substitutions for the menus and three for the programs:

1. <Program label=" becomes cmd "
2. " icon=""> becomes " "
3. </Program> becomes "

for the menus, </Menu> becomes end, <Menu label=" becomes menu ", icon="" height="16"> becomes ".

the reverse is equally simple. the menu maker will give you the template, but i actually just use the leafpad launcher (ll in the main launcher) and enter 1 to get the ae single monitor menu launcher. i then make a copy of that based on what i want to call the new menu (this one is "maekr"), give a similar name to the menu it will launch, set the permissions for the former with ch in the main launcher followed by the call code (name) of the script i just made. (laucher scripts are one liners. the menus can go on and on...). call the aemenus from the keys, launcher, terminal, or drag to a desktop and give a shortcut from one of the icon folders (the one labeled ae may have something useful, but it may make more sense for you to make custom versions with the included txt2xpm scripts (thanks, technosaurus).

not going to risk an overly long post zapping itself out, so i'll post the aemenu in the next slot--it's got the sed stuff commented out, but like jwm, it can call the code directly--just use the quotation marks if there are spaces in your code (default highlight and select code for ae menu making assumes spaces in both the name and command you're associating with it (thanks yet again to miriam--that one too is based on ht-b (it also formed the basis for about a third of the word processing codes).
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Mon 23 May 2016, 00:49    Post subject: the ae version of the above and the version
Subject description: jwmkr first spit out.
 

Code:
#<JWM>
menu "menu maker"
cmd "aemenu launcher template" "/nwp/ael"
cmd "aemenu--given program" "/nwp/aeae"
cmd "aemenu--given title" "/nwp/aeae2"
cmd "aemenu template" "/nwp/aeaem"
cmd "jwm --given program" "/nwp/jwmkr"
cmd "jwm --given label" "/nwp/jwmmkr"
cmd "jwm  menu template" "/nwp/jwmm"
cmd "jwm includes template" "/nwp/jwmi"
cmd "grab exec commands --leafpad" "/nwp/e4ml"
cmd "grab exec commands --geany" "/nwp/e4m"
end
#<!--<Include>/nwp/root3/shutdown2</Include>-->
#<!--<Include>/nwp/root3/mmkr2</Include>-->
#<!--<Include>/nwp/root3/cuskeyconfig</Include>-->

menu "Select Custom Keyboard Configuration"
cmd "keycentric configs:" ""
cmd "keyboard-1 (my1)" "/nwp/my1"
cmd "keyboard-2 (my2)" "/nwp/my2"
cmd "keyboard-3 (my3)" "/nwp/my3"
cmd "keyboard-4 (my4)" "/nwp/my4"

cmd "reverse keycentric configs:" ""
cmd "reverse my1 (my1)" "/nwp/my1r"
cmd "reverse my2 (my2r)" "/nwp/my2r"
cmd "reverse my3 (my3r)" "/nwp/my3r"
cmd "reverse my4 (my4r)" "/nwp/my4r"
cmd "edit quickswitches (40 series and KB)" "/nwp/edit4i"


menu "edit the 6 key configs:"
cmd "edit keys: geany" "geany /nwp/root3/9menusblanks/keys0 /nwp/root3/9menusblanks/keys1 /nwp/root3/9/keys0 /nwp/root3/9/keys1 /nwp/root3/10/keys0 /nwp/root3/10/keys1"
cmd "edit keys: geany -i" "geany -i /nwp/root3/9menusblanks/keys0 /nwp/root3/9menusblanks/keys1 /nwp/root3/9/keys0 /nwp/root3/9/keys1 /nwp/root3/10/keys0 /nwp/root3/10/keys1"


cmd "edit keys: leafpad" ""
cmd "edit keys 1" "leafpad /nwp/root3/9/keys0"
cmd "edit keys 2" "leafpad /nwp/root3/10/keys0"
cmd "edit keys 3" "leafpad /nwp/root3/9menusblanks/keys0"
cmd "edit keys 4" "leafpad /nwp/root3/9/keys1"
cmd "edit keys 5" "leafpad /nwp/root3/10/keys"
cmd "edit keys 6" "leafpad /nwp/root3/9menusblanks/keys1"
end



 <!--
cmd "1. Release Current:">"
cmd "my(1-4) --KB1 --off" "exec:/nwp/kb1off"
cmd "my(1-4) --KB2 --off" "exec:/nwp/kb2off"
cmd "my(1-4) --KB3 --off" "exec:/nwp/kb3off"
cmd "my(1-4) --KB4 --off" "exec:/nwp/kb4off"
cmd "my(1-4) --KB5 --off" "exec:/nwp/kb5off"
cmd "my(1-4) --KB6 --off" "exec:/nwp/kb6off"
cmd "Choose New Config:">>"
#(moved to the on code--each on swaps all others (including itself) off first)--nts--use for menu on off template. make main
#configs tray-centric. use reload for menu quickswitches.)
#-->
<!--cmd "Choose key Configuration:">"
cmd "my(1-4) --KB1 --on" "exec:/nwp/kb1on"
cmd "my(1-4) --KB2 --on" "exec:/nwp/kb2on"
cmd "my(1-4) --KB3 --on" "exec:/nwp/kb3on"

cmd "my(1-4) --KB4 --on" "exec:/nwp/kb4on"
cmd "my(1-4) --KB5 --on" "exec:/nwp/kb5on"
cmd "my(1-4) --KB6 --on" "exec:/nwp/kb6on"-->
#<!--
#cmd "3.SEND (jwm -restart)" "jwm -restart"
#restart is now part of the switch and on unnecessary, but i don't mind the room the comments and examples and even errors take up (if #there's something to be gained and they do no harm. alternate sed-directly version commented out at end of file (sometimes it saves you #effort, sometimes the shorthand based on the nwp/pwn shortcut leads to faster editing/menu-making.)
#-->

cmd "Choose Alternate Key Configuration (my1-4 series only):">"
cmd "(the 4 can swap 6)" ""
cmd "KB1" "exec:/nwp/kb1on"
cmd "KB2" "exec:/nwp/kb2on"
cmd "KB3" "exec:/nwp/kb3on"
cmd "KB4" "exec:/nwp/kb4on"
cmd "KB5" "exec:/nwp/kb5on"
cmd "KB6" "exec:/nwp/kb6on"

#<!--<Include>/nwp/root3/9menusblanks/keys0</Include>-->
#<!--<Include>/nwp/root3/9menusblanks/keys1</Include>-->
#<!--<Include>/nwp/root3/9/keys0</Include>-->
#<!--<Include>/nwp/root3/9/keys1</Include> -->
#<!--<Include>/nwp/root3/10/keys0</Include>-->
#<!--<Include>/nwp/root3/10/keys1</Include>-->
end

menu "Swap Menu Sets"
cmd "edit menu set 1" "/nwp/ems1"
cmd "edit menu set 2" "/nwp/ems2"
cmd "edit menu set 3" "/nwp/ems3"
cmd "activate menu set 1" "/nwp/ams1"
cmd "activate menu set 2" "/nwp/ams2"
cmd "activate menu set 3" "/nwp/ams3"
cmd "edit menu set 1i" "/nwp/ems1i"
cmd "edit menu set 2i" "/nwp/ems2i"
cmd "edit menu set 3i" "/nwp/ems3i"
end

menu "edit configs and helpers"
cmd "edit/open configuration files --jwm" "/nwp/gea3i"
cmd "edit my40 series config switches" "/nwp/edit4i"
cmd "edit quickswitches (30 series)" "/nwp/edit3i"
cmd "edit main jwm configs" "/nwp/joopi"
cmd "edit main jwm system configs" "/nwp/jpe"
cmd "edit panels incoming" "/nwp/edpanc"
cmd "edit panels current" "/nwp/edpan"
cmd "edit pinboards incoming" "/nwp/edpinc"
cmd "edit panels current" "/nwp/edpin"
cmd "edit panels incoming--new instance" "/nwp/edpanic"
cmd "edit panels current--new instance" "/nwp/edpani"
cmd "edit pinboards incoming--new instance" "/nwp/edpinic"
cmd "edit panels current--new instance" "/nwp/edpini"
cmd "edit word processing templates" "/nwp/geak"
cmd "edit rox shortcuts" "/nwp/roks"
cmd "edit autotext shortcuts" "/nwp/ate"
cmd "edit this menu--geany" "geany jwmim"
cmd "fixmenus; jwm -restart" "/nwp/fixu"
cmd "swap to tray syntax for older jwm setups" "/nwp/jio"
cmd "swap to tray syntax for newer jwm setups" "/nwp/jin"
cmd "edit this menu--leafpad" "leafpad /nwp/jwmim"
cmd "edit my40 series config switches" "/nwp/edit4i"
cmd "edit my30 series config switches" "/nwp/edit3i"
end



menu "tray toggles"
cmd "vertical tray 1 off" "/nwp/vertroff"
cmd "vertical tray 2 off" "/nwp/vertr2off"
cmd "bottom right off" "/nwp/bottomrightoff"
cmd "bottom left off" "/nwp/bottomleftoff"
cmd "top left off" "/nwp/topleftoff"
cmd "top right off" "/nwp/toprightoff"
cmd "vertical left2 off" "/nwp/vertleft2off"
cmd "vertical left 1 off" "/nwp/vertleftoff"
cmd "move over the stock tray a pixel (better mouse menu access)" "/nwp/xover1"
cmd "undo the pixel move" "/nwp/undoxover1"
cmd "toggle off stock tray" "/nwp/puptrayoff"
menu "edit trays"
cmd "edit left v tray 1" "geany /nwp/root3/9/vtray1"
cmd "edit left v tray 2" "geany /nwp/root3/9/vtray3"
cmd "edit left v tray 3" "geany /nwp/root3/9menusblanks/vtray1"
cmd "edit left v tray 4" "geany /nwp/root3/9menusblanks/vtray3"
cmd "edit left v tray 5" "geany /nwp/root3/10/vtray1"
cmd "edit left v tray 6" "geany /nwp/root3/10/vtray3"
cmd "edit right v tray 1" "geany /nwp/root3/9/vtray2"
cmd "edit right v tray 2" "geany /nwp/root3/9/vtray4"
cmd "edit right v tray 3" "geany /nwp/root3/9menusblanks/vtray2"
cmd "edit right v tray 4" "geany /nwp/root3/9menusblanks/vtray4"
cmd "edit right v tray 5" "geany /nwp/root3/10/vtray2"
cmd "edit right v tray 6" "geany /nwp/root3/10/vtray4"
cmd "edit top tray 1" "geany /nwp/root3/9/topright"
cmd "edit top tray 2" "geany /nwp/root3/9/topright"
cmd "edit top tray 3" "geany /nwp/root3/9menusblanks/topright"
cmd "edit 2nd top tray 1" "geany /nwp/root3/9/top2"
cmd "edit 2nd top tray 2" "geany /nwp/root3/9/top2"
cmd "edit 2nd top tray 3" "geany /nwp/root3/9menusblanks/top2"
cmd "edit left bottom tray 1" "geany /nwp/root3/9/3.jwmrc-tray"
cmd "edit left bottom tray 2" "geany /nwp/root3/9/3.jwmrc-tray"
cmd "edit left bottom tray 3" "geany /nwp/root3/9menusblanks/3.jwmrc-tray"
cmd "edit 2nd bottom tray 1" "geany /nwp/root3/9/2.jwmrc-tray"
cmd "edit 2nd bottom tray 2" "geany /nwp/root3/9/2.jwmrc-tra"
cmd "edit 2nd bottom tray 3" "geany /nwp/root3/9menusblanks/2.jwmrc-tra"
end
cmd "top left/main tray on" "/nwp/toplefton"
cmd "toggle on stock tray" "/nwp/puptrayon"
cmd "right vertical tray 1 on" "/nwp/vertron"
cmd "left vertical tray one on" "/nwp/vertlefton"
cmd "bottom left tray on" "/nwp/bottomlefton"
cmd "vertical right tray 2 on" "/nwp/vertr2on"
cmd "toggle on vertical left tray 2" "/nwp/vertleft2on"
cmd "toggle on top tray 2" "/nwp/toprighton"
cmd "toggle on bottom right tray" "/nwp/bottomrighton"
cmd "SEND" "fixmenus; jwm -restart"
end

menu "install/configure/store/port"
cmd "edit the jwm version of this menu" "geany /nwp/jwmim"
cmd "edit this menu" "geany /nwp/aeim"
cmd "edit 30 series" "/nwp/edit3i"
cmd "edit 40 series" "/nwp/edit4i"
cmd "back up current/original configuration files" "/nwp/bk"
cmd "restore original/previous configuration files" "/nwp/rbk"
cmd "port configuration files from /nwp/c" "/nwp/port"
cmd "store configuration files in /nwp/c" "/nwp/store"
cmd "edit recs, port, store" "/nwp/editport"
end


menu "restore/reverse my30-my49"
cmd "jwm -restart" "/nwp/fixu"
cmd "reverse  (my30r)" "/nwp/my30r"
cmd "reverse  (my31r)" "/nwp/my31r"
cmd "reverse  (my32r)" "/nwp/my32r"
cmd "reverse  (my33r)" "/nwp/my33r"
cmd "reverse  (my34r)" "/nwp/my34r"
cmd "reverse  (my35r)" "/nwp/my35r"
cmd "reverse  (my36r)" "/nwp/my36r"
cmd "reverse  (my37r)" "/nwp/my37r"
cmd "reverse  (my38r)" "/nwp/my38r"
cmd "reverse  (my39r)" "/nwp/my39r"
cmd "reverse  (my40r)" "/nwp/my40r"
cmd "reverse  (my41r)" "/nwp/my41r"
cmd "reverse  (my42r)" "/nwp/my42r"
cmd "reverse  (my43r)" "/nwp/my43r"
cmd "reverse  (my44r)" "/nwp/my44r"
cmd "reverse  (my45r)" "/nwp/my45r"
cmd "reverse  (my46r)" "/nwp/my46r"
cmd "reverse  (my47r)" "/nwp/my47r"
cmd "reverse  (my48r)" "/nwp/my48r"
cmd "reverse  (my49r)" "/nwp/my49r"
cmd "reverse my1" "/nwp/my1r"
cmd "reverse my2" "/nwp/my2r"
cmd "reverse my3" "/nwp/my3r"
cmd "reverse my4" "/nwp/my4r"
end




menu "quick switch (3)"
cmd "(nwp/pwn code in parentheses) ""
cmd "jwm quickswitch 1 (my30)" "/nwp/my30"
cmd "jwm quickswitch  2 (my31)" "/nwp/my31"
cmd "jwm quickswitch  3 (my32)" "/nwp/my32"
cmd "jwm quickswitch  4 (my33)" "/nwp/my33"
cmd "jwm quickswitch  5 (my34)" "/nwp/my34"
cmd "jwm quickswitch  6 (my35)" "/nwp/my35"
cmd "jwm quickswitch  7 (my36)" "/nwp/my36"
cmd "jwm quickswitch  8 (my37)" "/nwp/my37"
cmd "jwm quickswitch  9 (my38)" "/nwp/my38"
cmd "jwm quickswitch  10 (my39)" "/nwp/my39"
cmd "jwm quickswitch  k1 (my1)" "/nwp/my1"
cmd "jwm quickswitch  k2 (my2)" "/nwp/my2"
cmd "jwm quickswitch  k3 (my3)" "/nwp/my3"
cmd "jwm quickswitch  k4 (my4)" "/nwp/my4"
cmd "edit quickswitches (30 series and KB)" "/nwp/edit3i"
end
menu "quick switch (4)"

cmd "restore original/fixmenus; jwm -restart" "/nwp/fixu"
cmd "jwm quickswitch 1 (my40)" "/nwp/my40"
cmd "jwm quickswitch  2 (my41)" "/nwp/my41"
cmd "jwm quickswitch  3 (my42)" "/nwp/my42"
cmd "jwm quickswitch  4 (my43)" "/nwp/my43"
cmd "jwm quickswitch  5 (my44)" "/nwp/my44"
cmd "jwm quickswitch  6 (my45)" "/nwp/my45"
cmd "jwm quickswitch  7 (my46)" "/nwp/my46"
cmd "jwm quickswitch  8 (my47)" "/nwp/my47"
cmd "jwm quickswitch  9 (my48)" "/nwp/my48"
cmd "jwm quickswitch  10 (my49)" "/nwp/my49"
cmd "edit quickswitches (40 series and KB)" "/nwp/edit4i"
end




menu "shutdown2"
cmd "fixmenus" icon="mini-windows.xpm">fixmenus"
cmd "Reboot computer" icon="mini-turn.xpm">exec wmreboot"
cmd "Power-off computer" icon="mini-stop.xpm">exec wmpoweroff"
cmd "Restart X server" icon="mini-x.xpm">restartwm"
cmd "jwm -restart" icon="mini-windows.xpm">jwm -restart"
cmd "fixmenus; jwm -restart" icon="mini-windows.xpm">/nwp/fixu"
cmd "jwm -reload" icon="mini-windows.xpm">jwm -reload"
cmd "winswitcher" "/nwp/ww"
cmd "recents" "/nwp/sdr"
cmd "rox recents" "/nwp/rr"
cmd "Exit to prompt" icon="prompt16.xpm">exec wmexit"
end

#<!--
#edit: the comments regarding the menu making were here. they should have been invisible to the machine, but jwm -p complains of errors #so i've it to a separate file
#-->
#</JWM>
#
#this comment is on the menu maker menu because the menu maker was used to make it. i copied the code from another file and changed what i needed, placing each command that i wanted to execute on a separate line. then i highlighted the whole thing, went into the submenu (now expanded and on the root4 and 5 (up and down scroll) menus) for menu making, chose "jwm given program," added the jwm tags, and made the new includes menu(s--it keep morphing. most forms were an expanded shutdown or too focused on the keys).
#
#to have more options, make a copy of /nwp/root3/9 (10, 9menusblanks), rename the original, swap in the new, hit fixmenus and jwm restart (or just reload if only the menus change. you could do the same for the key and tray sets).
#
#
#<!--<Program label="1. Release Current:"></Program>-->
#<!--<Program label="my(1-4) --KB1 --off" icon="">exec:sed -i '/<Include>\/nwp\/root3\/10\/keys1<\/Include>/ s//<!--<Include>\/nwp\/root3\/10\/keys1<\/Include>-->/g' /root/.jwm/jwmrc-personal</Program>-->
#<!--<Program label="my(1-4) --KB2 --off" icon="">exec:sed -i '/<Include>\/nwp\/root3\/9\/keys1<\/Include>/ s//<!--<Include>\/nwp\/root3\/9\/keys1<\/Include>-->/g' /root/.jwm/jwmrc-personal</Program>-->
#<!--<Program label="my(1-4) --KB3 --off" icon="">exec:sed -i '/<Include>\/nwp\/root3\/9menusblanks\/keys1<\/Include>/ s//<!--<Include>\/nwp\/root3\/9menusblanks\/keys1<\/Include>-->/g' /root/.jwm/jwmrc-personal</Program>-->
#
#<!--<Program label="my(1-4) --KB4 --off" icon="">exec:sed -i '/<Include>\/nwp\/root3\/10\/keys0<\/Include>/ s//<!--<Include>\/nwp\/root3\/10\/keys0<\/Include>-->/g' /root/.jwm/jwmrc-personal</Program>-->
#<!--<Program label="my(1-4) --KB5 --off" icon="">exec:sed -i '/<Include>\/nwp\/root3\/9\/keys0<\/Include>/ s//<!--<Include>\/nwp\/root3\/9\/keys0<\/Include>-->/g' /root/.jwm/jwmrc-personal</Program>-->
#<!--<Program label="my(1-4) --KB6 --off" icon="">exec:sed -i '/<Include>\/nwp\/root3\/9menusblanks\/keys0<\/Include>/ s//<!--<Include>\/nwp\/root3\/9menusblanks\/keys0<\/Include>-->/g' /root/.jwm/jwmrc-personal</Program>-->
#<!--<Program label="Choose New Config:"></Program>-->
#
#<!--<Program label="2. Swap In Choice:"></Program>-->
#<!--<Program label="my(1-4) --KB1 --on" icon="">exec:sed -i '/<!--<Include>\/nwp\/root3\/9\/keys0<\/Include>-->/ s//<Include>\/nwp\/root3\/9\/keys0<\/Include>/g' /root/.jwm/jwmrc-personal</Program>-->
#<!--<Program label="my(1-4) --KB2 --on" icon="">exec:sed -i '/<!--<Include>\/nwp\/root3\/10\/keys0<\/Include>-->/ s//<Include>\/nwp\/root3\/10\/keys0<\/Include>/g' /root/.jwm/jwmrc-personal</Program>-->
#<!--<Program label="my(1-4) --KB3 --on" icon="">exec:sed -i '/<!--<Include>\/nwp\/root3\/9menusblanks\/keys0<\/Include>-->/ s//<Include>\/nwp\/root3\/9menusblanks\/keys0<\/Include>/g' /root/.jwm/jwmrc-personal</Program>-->
#
#<!--<Program label="my(1-4) --KB4 --on" icon="">exec:sed -i '/<!--<Include>\/nwp\/root3\/9\/keys1<\/Include>-->/ s//<Include>\/nwp\/root3\/9\/keys1<\/Include>/g' /root/.jwm/jwmrc-personal</Program>-->
#<!--<Program label="my(1-4) --KB5 --on" icon="">exec:sed -i '/<!--<Include>\/nwp\/root3\/10\/keys1<\/Include>-->/ s//<Include>\/nwp\/root3\/10\/keys1<\/Include>/g' /root/.jwm/jwmrc-personal</Program>-->
#<!--<Program label="my(1-4) --KB6 --on" icon="">exec:sed -i '/<!--<Include>\/nwp\/root3\/9menusblanks\/keys1<\/Include>-->/ s//<Include>\/nwp\/root3\/9menusblanks\/keys1<\/Include>/g' /root/.jwm/jwmrc-personal</Program>-->
#<!--<Program label="3.SEND (jwm -restart)" icon="">exec:jwm -restart</Program>-->
#<!--<Include>/nwp/root3/9menusblanks/keys0</Include>-->
#<!--<Include>/nwp/root3/9menusblanks/keys1</Include>-->
#<!--<Include>/nwp/root3/9/keys0</Include>-->
#<!--<Include>/nwp/root3/9/keys1</Include> -->
#<!--<Include>/nwp/root3/10/keys0</Include>-->
#<!--<Include>/nwp/root3/10/keys1</Include>-->

#<JWM>
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Mon 23 May 2016, 00:58    Post subject: i mentioned the keycentric configurations as if they all
Subject description: weren't a little overboard in that regard...
 

here's the basic jwmrc-personal i'm using:
Code:


<!-- Personally configurable options for JWM: these override default settings and theme settings -->

<JWM>
<IconPath>/nwp/icons/</IconPath>
<IconPath>/nwp/root3/icons/</IconPath>
<!--   <Group>
<Name>urxvt</Name>
<Option>noborder</Option>
<Option>notitle</Option>
<Option>sticky</Option>
</Group>-->

<IconPath>/nwp/icons</IconPath>
<IconPath>/nwp/root3/icons</IconPath>
<Include>/nwp/root3/9/vtray1</Include>
<!--   <Include>/nwp/root3/9/2.jwmrc-tray</Include>-->
<Include>/nwp/root3/9/3.jwmrc-tray</Include>
<Include>/root/places_submenu</Include>
<Include>/nwp/root3/9/topright</Include>
<!--<Include>/nwp/root3/9/vtray1</Include>-->
<!--<Include>/nwp/root3/9/vtrayr</Include>-->
<!-- <Include>/nwp/root3/9/vtray2</Include>-->
<!--<Include>/root/topmid</Include>-->
<!--<Include>/root/topleft</Include>-->

<!--   <Include>/root/.jwmrc-tray</Include>-->

<Include>/nwp/root3/9/root0menu</Include>
<Include>/nwp/root3/9/root1menu</Include>
<Include>/nwp/root3/9/root2menu</Include>
<Include>/nwp/root3/9/root4menu</Include>
<Include>/nwp/root3/9/root5menu</Include>
<Include>/nwp/root3/9/root6menu</Include>
<Include>/nwp/root3/9/root7menu</Include>
<Include>/nwp/root3/9/root8menu</Include>
<Include>/nwp/root3/9/root9menu</Include>

<!-- <TrayButton label="1">root:1</TrayButton> -->
<!-- <TrayButton label="2">root:2</TrayButton> -->
<!-- <TrayButton label="4">root:4</TrayButton> -->
<!-- <TrayButton label="5">root:5</TrayButton> -->
<!-- <TrayButton label="6">root:6</TrayButton> -->
<!-- <TrayButton label="7">root:7</TrayButton> -->
<!-- <TrayButton label="8">root:8</TrayButton> -->
<!-- <TrayButton label="9">root:9</TrayButton> -->
<!-- <TrayButton label="0">root:0</TrayButton> -->


<!-- Number of virtual desktops -->
<Desktops width="8" height="3"/>

<!-- Double click speed (in milliseconds) -->
<DoubleClickSpeed>400</DoubleClickSpeed>

<!-- Double click delta (in pixels) -->
<DoubleClickDelta>3</DoubleClickDelta>

<!-- The focus model (sloppy or click) -->
<FocusModel>click</FocusModel>

<!-- The snap mode (none, screen, or border) -->
<SnapMode distance="10">none</SnapMode>

<!-- The move mode (outline or opaque) -->
<MoveMode coordinates="off" delay="700">outline</MoveMode>

<!-- The resize mode (outline or opaque) -->
<ResizeMode coordinates="off" >outline</ResizeMode>

<WindowStyle>
  <Height>18</Height>
  </WindowStyle>
<!-- Key bindings -->

<Key mask="A" key="z">exec:xdotool key alt+1 Return</Key>
<Key mask="A" key="g">exec:/nwp/vtg5</Key>
<Key mask="AS" key="g">exec:/nwp/g</Key>
<Key key="Up">up</Key>
<Key key="Down">down</Key>
<Key key="Right">right</Key>
<Key key="Left">left</Key>
<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>
<Key key="Return">select</Key>
<Key key="Escape">escape</Key>
<Key key="F12">root:3</Key>

<Key mask="C" key="Tab">prev</Key>
<Key mask="A" key="Tab">next</Key>
<Key mask="A" key="F4">close</Key>

<Key mask="A" key="F1">root:3</Key>
<Key mask="A" key="F2">window</Key>
<Key mask="A" key="F3">exec/nwp/n</Key>

<Key mask="S" key="F2">exec:/nwp/ww</Key>
<Key mask="S" key="F1">exec:/nwp/v</Key>
<Key mask="S" key="F3">exec:/nwp/g</Key>

<Key mask="S" key="F4">exec:/nwp/sd</Key>
<Key mask="C" key="F12">exec:/nwp/n2</Key
<Key mask="C" key="F11">exec:/nwp/n1</Key>
<Key mask="C" key="F10">exec:/nwp/q10</Key>
<Key mask="C" key="F9">exec:/nwp/q9</Key
<Key mask="C" key="F8">exec:/nwp/q8</Key>
<Key mask="C" key="F7">exec:/nwp/q7</Key>
<Key mask="C" key="F6">exec:/nwp/q6</Key
<Key mask="C" key="F5">exec:/nwp/q5</Key>
<Key mask="C" key="F4">exec:/nwp/q4</Key>
<Key mask="C" key="F3">exec:/nwp/q3</Key
<Key mask="C" key="F2">exec:/nwp/q2</Key>
<Key mask="C" key="F1">exec:/nwp/q1</Key>



<Key mask="A" key="Escape">fullscreen</Key>
<Key mask="C" key="Escape">showdesktop</Key>
<Key mask="S" key="Escape">window</Key>
<Key mask="AC" key="Escape">move</Key>
<Key mask="AS" key="Escape">minimize</Key>
<Key mask="CS" key="Escape">maximize</Key>
<Key mask="SAC" key="Escape">resize</Key>



<Key keycode="160">exec:amixer sset Master toggle</Key>
<Key keycode="176">exec:amixer sset Master 1+,1+</Key>
<Key keycode="174">exec:amixer sset Master 1-,1-</Key>
<Key keycode="178">exec:defaultbrowser</Key>
<Key keycode="236">exec:defaultbrowser</Key>
<Key keycode="111">exec:defaultscreenshot</Key>



<Key mask="A" key="Up">exec:/nwp/supup</Key>
<Key mask="A" key="Down">exec:/nwp/supdown</Key>
<Key mask="A" key="Right">exec:/nwp/supright</Key>
<Key mask="A" key="Left">exec:/nwp/supleft</Key>







<Key mask="AC" key="Up">maximize</Key>
<Key mask="AC" key="Down">minimize</Key>
<Key mask="AC" key="Right">resize</Key>
<Key mask="AC" key="Left">move</Key>

<Key mask="AS" key="Up">fullscreen</Key>
<Key mask="AS" key="Down">showdesktop</Key>
<Key mask="AS" key="Right">next</Key>
<Key mask="AS" key="Left">prev</Key>


<Key mask="SAC" key="Up">exec:/nwp/2</Key>
<Key mask="SAC" key="Down">exec:/nwp/n</Key>
<Key mask="SAC" key="Right">exec:/nwp/g</Key>
<Key mask="SAC" key="Left">exec:/nwp/s</Key>


<Key mask="A" key="1">root:1</Key>
<Key mask="A" key="2">root:2</Key>
<Key mask="A" key="3">root:3</Key>
<Key mask="A" key="4">root:4</Key>
<Key mask="A" key="5">root:5</Key>
<Key mask="A" key="6">root:6</Key>
<Key mask="A" key="7">root:7</Key>
<Key mask="A" key="8">root:8</Key>
<Key mask="A" key="9">root:9</Key>
<Key mask="A" key="0">root:0</Key>

<Key mask="AC" key="1">exec:/nwp/a1</Key>
<Key mask="AC" key="2">exec:/nwp/a2</Key>
<Key mask="AC" key="3">exec:/nwp/a3</Key>
<Key mask="AC" key="4">exec:/nwp/a4</Key>
<Key mask="AC" key="5">exec:/nwp/a5</Key>
<Key mask="AC" key="6">exec:/nwp/a6</Key>
<Key mask="AC" key="7">exec:/nwp/a7</Key>
<Key mask="AC" key="8">exec:/nwp/a8</Key>
<Key mask="AC" key="9">exec:/nwp/a9</Key>
<Key mask="AC" key="0">exec:/nwp/a10</Key>

<Key mask="AS" key="1">exec:/nwp/b1</Key>
<Key mask="AS" key="2">exec:/nwp/b2</Key>
<Key mask="AS" key="3">exec:/nwp/b3</Key>
<Key mask="AS" key="4">exec:/nwp/b4</Key>
<Key mask="AS" key="5">exec:/nwp/b5</Key>
<Key mask="AS" key="6">exec:/nwp/b6</Key>
<Key mask="AS" key="7">exec:/nwp/b7</Key>
<Key mask="AS" key="8">exec:/nwp/b8</Key>
<Key mask="AS" key="9">exec:/nwp/b9</Key>
<Key mask="AS" key="0">exec:/nwp/b10</Key>

<!-- <Key mask="SC" key="2">exec:vgt</Key>  -->

<Key mask="SC" key="1">exec:/nwp/winswitcher</Key>

<Key mask="SC" key="2">exec:xdotool key ctrl+9 ctrl+8 Return ctrl+7</Key>

<Key mask="SC" key="3">exec:/nwp/3but</Key>
<Key mask="SC" key="4">window</Key>
<Key mask="SC" key="5">move</Key>
<Key mask="SC" key="6">resize</Key>
<Key mask="SC" key="7">minimize</Key>
<Key mask="SC" key="8">maximize</Key>
<Key mask="SC" key="9">prev</Key>
<Key mask="SC" key="0">next</Key>


<Key mask="SAC" key="1">ldesktop</Key>
<Key mask="SAC" key="2">rdesktop</Key>
<Key mask="SAC" key="3">udesktop</Key>
<Key mask="SAC" key="4">ddesktop</Key>
<Key mask="SAC" key="5">prevstacked</Key>
<Key mask="SAC" key="6">nextstacked</Key>
<Key mask="SAC" key="7">shade</Key>
<Key mask="SAC" key="8">showdesktop</Key>
<Key mask="SAC" key="9">fullscreen</Key>
<Key mask="SAC" key="0">exec:/nwp/k</Key>


/nwp/jwmim


<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>

<Key mask="AC" key="h">exec:/nwp/rungn</Key>
<Key mask="AC" key="j">exec:/nwp/rungo</Key>
<Key mask="AC" key="k">exec:/nwp/rungt</Key>
<Key mask="AC" key="l">exec:/nwp/lpx</Key>

<Key mask="A" key="h">exec:/nwp/k</Key>
<Key mask="A" key="j">exec:/nwp/rl</Key>
<Key mask="A" key="k">exec:/nwp/gl</Key>
<Key mask="A" key="l">exec:/nwp/ll</Key>

<Key mask="SA" key="h">exec:ccdi</Key>
<Key mask="SA" key="j">close</Key>
<Key mask="SA" key="k">exec:kill</Key>
<Key mask="SA" key="l">exec:cadi</Key>

<!--  mnemonic is "ask to kill"--these are shutdown scripts on the right side home row. shift plus control below are layer and stickiness.-->

<Key mask="SAC" key="h">move</Key>
<Key mask="SAC" key="j">resize</Key>
<Key mask="SAC" key="k">prevstacked</Key>
<Key mask="SAC" key="l">nextstacked</Key>
<!--  also on the arrow keys-->

<Key mask="SC" key="h">exec:laa</Key>
<Key mask="SC" key="j">exec:lma</Key>
<Key mask="SC" key="k">exec:lba</Key>
<Key mask="SC" key="l">exec:wmctrl -r :ACTIVE: -b add,sticky</Key>



<Key mask="A" key="space">exec:rox</Key>
<Key mask="C" key="space">exec:winswitcher</Key>
<Key mask="S" key="space">exec:/nwp/p</Key>
<Key mask="CA" key="space">exec:/nwp/rr</Key>
<Key mask="CS" key="space">exec:/nwp/cr</Key>
<Key mask="AS" key="space">exec:/nwp/n</Key>
<Key mask="CAS" key="space">exec:/nwp/pl</Key>
<!--

<ButtonClose>/usr/share/pixmaps/close.png</ButtonClose>
<ButtonMax>/usr/share/pixmaps/max.png</ButtonMax>
<ButtonMaxActive>/usr/share/pixmaps/maxact.png</ButtonMaxActive>
<ButtonMin>/usr/share/pixmaps/min.png</ButtonMin>
 -->
 
 <ButtonClose>/nwp/keys/icons/win-def/buttons/b1/2/close.png</ButtonClose>
<ButtonMax>/nwp/keys/icons/win-def/buttons/b1/2/max.png</ButtonMax>
<ButtonMaxActive>/nwp/keys/icons/win-def/buttons/b1/2/maxact.png</ButtonMaxActive>
<ButtonMin>/nwp/keys/icons/win-def/buttons/b1/2/min.png</ButtonMin>
 
   <Tray x="200" y="1">
      <Spacer width="1" height="1"/>
   </Tray>
#t



   <Tray x="1" y="200">
      <Spacer width="1" height="1"/>
   </Tray>
#l

   <Tray x="3432" y="200">
      <Spacer width="1" height="1"/>
   </Tray>
   #r

<Tray x="200" y="-27">
  <Spacer width="1" height="1"/>
</Tray>
#d

<Tray x="200" y="-1">
      <Spacer width="1" height="1"/>
   </Tray>
</JWM>



the keycentric version is able to swap the keys easily because it moves an expanded version of them to a separate file (which is duplicated as keys1 and then keys0 and keys1 were both copied into root/3/10 and root/3/9menusblanks, giving six key configs separate from how you otherwise set up my1-my4.

here is what's in those keys files:

(again, i think i'll make it the next post--lost too many around the five hundred line mark...or was it five thousand? i think i'm being needlessly cautious, but next post nonetheless. comments go into more detail there than here).
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Mon 23 May 2016, 01:01    Post subject: the keys0 and keys1 files that get swapped:  

Quote:
<JWM>
<!-- Key bindings -->

<!-- alt z is the vtg, alt g is the help files for the vtg and nwp, alt shift g is the grids pop up (aemenu set up to divide the screen into 100 pixel placement points)-->
<Key mask="A" key="z">exec:xdotool key alt+1 Down Return</Key>
<Key mask="A" key="g">exec:geany /nwp/vtg5</Key>
<Key mask="AS" key="g">exec:/nwp/g</Key>

<!-- alt shift g is grid menu (move windows around the screen by 100 pixel increments), alt g opens vtg help files in geany, alt plus z is the vtg-->

<Key key="Up">up</Key>
<Key key="Down">down</Key>
<Key key="Right">right</Key>
<Key key="Left">left</Key>
<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>
<Key key="Return">select</Key>
<Key key="Escape">escape</Key>

<Key mask="C" key="Tab">prev</Key>
<Key mask="A" key="Tab">next</Key>

<!-- a, b, q do the following:

q series is quarter sized up to five (which is configurable and centrally placed);
q6 and q7 set the active window to left and right halves of the screen respectively
q8 and q9 are top and bottom. q10 is full/maximized (as is mx).
q1 q2 q8
q5 q6 q7
q3 q4 q9


-3--------------------------- 6
1 2----------------------- 8 9
-4 ----------------------------7

b5=full screen left, b10=full screen right. b series is halves and wholes.


1 2--------------6 7
--5----------------10
3 4--------------8 9

a# series is quadrants...

one of the most up to date versions of the cheat sheet available (to cross reference codes)

http://www.murga-linux.com/puppy/viewtopic.php?p=860701#860701

-->

<Key mask="C" key="F12">exec:/nwp/n1</Key>
<Key mask="C" key="F11">exec:/nwp/n</Key>
<Key mask="C" key="F10">exec:/nwp/q10</Key>
<Key mask="C" key="F9">exec:/nwp/q9</Key
<Key mask="C" key="F8">exec:/nwp/q8</Key>
<Key mask="C" key="F7">exec:/nwp/q7</Key>
<Key mask="C" key="F6">exec:/nwp/q6</Key
<Key mask="C" key="F5">exec:/nwp/q5</Key>
<Key mask="C" key="F4">exec:/nwp/q4</Key>
<Key mask="C" key="F3">exec:/nwp/q3</Key
<Key mask="C" key="F2">exec:/nwp/q2</Key>
<Key mask="C" key="F1">exec:/nwp/q1</Key>

<Key mask="AC" key="F12">exec:/nwp/n2</Key
<Key mask="AC" key="F11">exec:/nwp/n3</Key>
<Key mask="AC" key="F10">exec:/nwp/a10</Key>
<Key mask="AC" key="F9">exec:/nwp/a9</Key
<Key mask="AC" key="F8">exec:/nwp/a8</Key>
<Key mask="AC" key="F7">exec:/nwp/a7</Key>
<Key mask="AC" key="F6">exec:/nwp/a6</Key
<Key mask="AC" key="F5">exec:/nwp/a5</Key>
<Key mask="AC" key="F4">exec:/nwp/a4</Key>
<Key mask="AC" key="F3">exec:/nwp/a3</Key
<Key mask="AC" key="F2">exec:/nwp/a2</Key>
<Key mask="AC" key="F1">exec:/nwp/a1</Key>

<Key mask="SC" key="F12">exec:/nwp/tem</Key
<Key mask="SC" key="F11">exec:/nwp/s</Key>
<Key mask="SC" key="F10">exec:/nwp/b10</Key>
<Key mask="SC" key="F9">exec:/nwp/b9</Key
<Key mask="SC" key="F8">exec:/nwp/b8</Key>
<Key mask="SC" key="F7">exec:/nwp/b7</Key>
<Key mask="SC" key="F6">exec:/nwp/b6</Key
<Key mask="SC" key="F5">exec:/nwp/b5</Key>
<Key mask="SC" key="F4">exec:/nwp/b4</Key>
<Key mask="SC" key="F3">exec:/nwp/b3</Key
<Key mask="SC" key="F2">exec:/nwp/b2</Key>
<Key mask="SC" key="F1">exec:/nwp/b1</Key>

<Key mask="S" key="F1">exec:/nwp/g</Key>
<Key mask="S" key="F2">exec:/nwp/wm</Key>
<Key mask="S" key="F3">exec:/nwp/o</Key>
<Key mask="S" key="F4">window</Key>
<Key mask="S" key="F5">move</Key>
<Key mask="S" key="F6">resize</Key>
<Key mask="S" key="F7">minimize</Key>
<Key mask="S" key="F8">maximize</Key>
<Key mask="S" key="F9">prev</Key>
<Key mask="S" key="F10">next</Key>
<Key mask="S" key="F11">exec:/nwp/ww</Key>
<Key mask="S" key="F12">exec:/nwp/w1</Key>

<Key mask="AS" key="F1">ldesktop</Key>
<Key mask="AS" key="F2">rdesktop</Key>
<Key mask="AS" key="F3">udesktop</Key>
<Key mask="AS" key="F4">ddesktop</Key>
<Key mask="AS" key="F5">prevstacked</Key>
<Key mask="AS" key="F6">nextstacked</Key>
<Key mask="AS" key="F7">shade</Key>
<Key mask="AS" key="F8">showdesktop</Key>
<Key mask="AS" key="F9">fullscreen</Key>
<Key mask="AS" key="F10">exec:/nwp/pxc</Key>
<Key mask="AS" key="F11">exec:/nwp/gxc</Key>
<Key mask="AS" key="F12">exec:/nwp/p</Key>

<!-- alt plus f1 and f4 are built-ins. -->


<Key mask="A" key="F1">root:3</Key>
<Key mask="A" key="F2">window</Key>
<Key mask="A" key="F3">/nwp/rr</Key>
<Key mask="A" key="F4">close</Key>
<Key mask="A" key="F5">/nwp/sd</Key>
<Key mask="A" key="F6">/nwp/sdr</Key>
<Key mask="A" key="F7">exec:/nwp/w</Key>
<Key mask="A" key="F8">exec:/nwp/h</Key>
<Key mask="A" key="F9">exec:/nwp/x</Key>
<Key mask="A" key="F10">exec:/nwp/y</Key>
<Key mask="A" key="F11">exec:/nwp/1</Key>
<Key mask="A" key="F12">exec:/nwp/2</Key>
<!--
in dual monitor setups, the q series could be replaced or modified to give ten additional preset position/dimension commands to active windows or replaced with select select versions of a(1-10) and b(1-10) (called by as(1-10) and bs(1-10)). single monitor setups can get 20 additional custom positionals by editing the a and b series below* (enter ll in the main launcher, then enter the launch code to edit in leafpad. use gl to do the same in geany. the function keys below are for the 24 desktops. windows key sends you to the first 12 desktops, alt+windows key the next 12, control instead of alt for the send to version for 1-12, shift and windows key for desktops 13-24. personally, i think it's easier to use d# and s# in the launcher, but it's here for you to use or modify/reassign. there's no included select version for the quadrants and halves for single monitor setups, but
geany q1 q2 q3 q4 q5 q6 q7 q8 q9 q10
will open them up for editing. swap the :ACTIVE: for :SELECT: and rename to qs# if you want them. (next version will likely include them and a few other tweaks to the jwmrc-personal file.

*the a and b series have now also been moved to the function keys (they're easier to edit (q5 aside as it's the same syntax) than the q series--you'll just be filling out four fields, x,y,w,h) and can be found above. (i'll merely comment out their former location--you could pick which set up you like better).

-->


<Key mask="4" key="F12">exec:/nwp/d12</Key>
<Key mask="4" key="F11">exec:/nwp/d11</Key>
<Key mask="4" key="F10">exec:/nwp/d10</Key>
<Key mask="4" key="F9">exec:/nwp/d9</Key>
<Key mask="4" key="F8">exec:/nwp/d8</Key>
<Key mask="4" key="F7">exec:/nwp/d7</Key>
<Key mask="4" key="F6">exec:/nwp/d6</Key>
<Key mask="4" key="F5">exec:/nwp/d5</Key>
<Key mask="4" key="F4">exec:/nwp/d4</Key>
<Key mask="4" key="F3">exec:/nwp/d3</Key>
<Key mask="4" key="F2">exec:/nwp/d2</Key>
<Key mask="4" key="F1">exec:/nwp/d1</Key>

<Key mask="4A" key="F12">exec:/nwp/d24</Key>
<Key mask="4A" key="F11">exec:/nwp/d23</Key>
<Key mask="4A" key="F10">exec:/nwp/d22</Key>
<Key mask="4A" key="F9">exec:/nwp/d21</Key>
<Key mask="4A" key="F8">exec:/nwp/d20</Key>
<Key mask="4A" key="F7">exec:/nwp/d19</Key>
<Key mask="4A" key="F6">exec:/nwp/d18</Key>
<Key mask="4A" key="F5">exec:/nwp/d17</Key>
<Key mask="4A" key="F4">exec:/nwp/d16</Key>
<Key mask="4A" key="F3">exec:/nwp/d15</Key>
<Key mask="4A" key="F2">exec:/nwp/d14</Key>
<Key mask="4A" key="F1">exec:/nwp/d13</Key>
<!-- go to desktops 1-24-->


<Key mask="4C" key="F12">exec:/nwp/s12</Key>
<Key mask="4C" key="F11">exec:/nwp/s11</Key>
<Key mask="4C" key="F10">exec:/nwp/s10</Key>
<Key mask="4C" key="F9">exec:/nwp/s9</Key>
<Key mask="4C" key="F8">exec:/nwp/s8</Key>
<Key mask="4C" key="F7">exec:/nwp/s7</Key>
<Key mask="4C" key="F6">exec:/nwp/s6</Key>
<Key mask="4C" key="F5">exec:/nwp/s5</Key>
<Key mask="4C" key="F4">exec:/nwp/s4</Key>
<Key mask="4C" key="F3">exec:/nwp/s3</Key>
<Key mask="4C" key="F2">exec:/nwp/s2</Key>
<Key mask="4C" key="F1">exec:/nwp/s1</Key>

<Key mask="4S" key="F12">exec:/nwp/s24</Key
<Key mask="4S" key="F11">exec:/nwp/s23</Key>
<Key mask="4S" key="F10">exec:/nwp/s22</Key>
<Key mask="4S" key="F9">exec:/nwp/s21</Key>
<Key mask="4S" key="F8">exec:/nwp/s20</Key>
<Key mask="4S" key="F7">exec:/nwp/s19</Key>
<Key mask="4S" key="F6">exec:/nwp/s18</Key>
<Key mask="4S" key="F5">exec:/nwp/s17</Key>
<Key mask="4S" key="F4">exec:/nwp/s16</Key>
<Key mask="4S" key="F3">exec:/nwp/s15</Key>
<Key mask="4S" key="F2">exec:/nwp/s14</Key>
<Key mask="4S" key="F1">exec:/nwp/s13</Key>

<!-- send to desktops 1-24-->

<!-- F12 is a built in. -->

<Key key="F12">root:3</Key>

<Key mask="A" key="Escape">fullscreen</Key>
<Key mask="C" key="Escape">showdesktop</Key>
<Key mask="S" key="Escape">window</Key>
<Key mask="AC" key="Escape">move</Key>
<Key mask="AS" key="Escape">minimize</Key>
<Key mask="CS" key="Escape">maximize</Key>
<Key mask="SAC" key="Escape">resize</Key>

<!-- editing the escape series necessitates editing other things. which reminds me, don't use the showdesktop entry on the menu--it doesn't work. use the keys or the buttons. press escape and hold if you hit the showdesktop on the menus (it needs to be removed)-->

<Key mask="A" key="space">exec:rox</Key>
<Key mask="C" key="space">exec:winswitcher</Key>
<Key mask="S" key="space">exec:/nwp/p</Key>
<Key mask="CA" key="space">exec:/nwp/rr</Key>
<Key mask="CS" key="space">exec:/nwp/cr</Key>
<Key mask="AS" key="space">exec:/nwp/t</Key>
<Key mask="CAS" key="space">exec:/nwp/rup</Key>

<!--
MochiMoppel's excellent winswitcher allows you to navigate windows better than than the tray does (more options, more keyboard friendly--it's ww in the launcher. rr is rox recents, cr is close all rox, rup is three up from the bottom on the rox bookmarks tab (ctrl plus b in a rox window), rox is activated by alt plus spacebar (ll launcher plus rr will allow you to set what folder is being opened when the recents is being called. you could do the same for rup and rb (rox bookmarks)).
-->

<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>

<Key mask="A" key="h">move</Key>
<Key mask="A" key="j">resize</Key>
<Key mask="A" key="k">prev</Key>
<Key mask="A" key="l">next</Key>


<Key mask="AC" key="h">/nwp/rungn</Key>
<Key mask="AC" key="j">/nwp/rungo</Key>
<Key mask="AC" key="k">/nwp/rungt</Key>
<Key mask="AC" key="l">/nwp/lpx</Key>


<Key mask="SA" key="h">exec:ccdi</Key>
<Key mask="SA" key="j">close</Key>
<Key mask="SA" key="k">exec:kill</Key>
<Key mask="SA" key="l">exec:cadi</Key>

<!-- mnemonic is "ask to kill"--these are shutdown scripts on the right side home row. alt plus shift plus. the alt controls above it are layer and stickiness.-->

<Key mask="SAC" key="h">move</Key>
<Key mask="SAC" key="j">resize</Key>
<Key mask="SAC" key="k">prevstacked</Key>
<Key mask="SAC" key="l">nextstacked</Key>


<Key mask="SC" key="h">exec:laa</Key>
<Key mask="SC" key="j">exec:lma</Key>
<Key mask="SC" key="k">exec:lba</Key>
<Key mask="SC" key="l">exec:wmctrl -r :ACTIVE: -b add,sticky</Key>


<!--
<Key mask="SC" key="h">exec:/nwp/x0</Key>
<Key mask="SC" key="j">exec:/nwp/x1200</Key>
<Key mask="SC" key="k">exec:/nwp/x2000</Key>
<Key mask="SC" key="l">exec:/nwp/x2500</Key>

<Key mask="SAC" key="h">exec:/nwp/y0</Key>
<Key mask="SAC" key="j">exec:/nwp/y200</Key>
<Key mask="SAC" key="k">exec:/nwp/y400</Key>
<Key mask="SAC" key="l">exec:/nwp/y800</Key>

these are fairly lame--random spots on the x and y axes -->

<!-- supleft et al scripts (grab and quickly move a window with the arrows) don't work in 64 bit slacko, 64 bit quirky april, or 64 bit werewolf, so there seems to be a problem with the 64 bit versions of xdotool and wmctrl. here's a blank version for you to fill in with whatever you choose (move the comment arrows to the above in 64 bit). note--no "exec:"--add if you're not using windows function.

<Key mask="A" key="Up"></Key>
<Key mask="A" key="Down"></Key>
<Key mask="A" key="Right"></Key>
<Key mask="A" key="Left"></Key>

-->

<Key mask="A" key="Up">exec:/nwp/supup</Key>
<Key mask="A" key="Down">exec:/nwp/supdown</Key>
<Key mask="A" key="Right">exec:/nwp/supright</Key>
<Key mask="A" key="Left">exec:/nwp/supleft</Key>

<Key mask="AC" key="Up">maximize</Key>
<Key mask="AC" key="Down">minimize</Key>
<Key mask="AC" key="Right">resize</Key>
<Key mask="AC" key="Left">move</Key>

<Key mask="AS" key="Up">fullscreen</Key>
<Key mask="AS" key="Down">showdesktop</Key>
<Key mask="AS" key="Right">next</Key>
<Key mask="AS" key="Left">prev</Key>


<Key mask="SAC" key="Up">exec:/nwp/2</Key>
<Key mask="SAC" key="Down">exec:/nwp/n</Key>
<Key mask="SAC" key="Right">exec:/nwp/g</Key>
<Key mask="SAC" key="Left">exec:/nwp/s</Key>

<!-- nearly everything is now duplicated on the function keys so you could generally pick one or the other/modify either. don't mess with escape or alt plus number though.-->

<Key mask="A" key="1">root:1</Key>
<Key mask="A" key="2">root:2</Key>
<Key mask="A" key="3">root:3</Key>
<Key mask="A" key="4">root:4</Key>
<Key mask="A" key="5">root:5</Key>
<Key mask="A" key="6">root:6</Key>
<Key mask="A" key="7">root:7</Key>
<Key mask="A" key="8">root:8</Key>
<Key mask="A" key="9">root:9</Key>
<Key mask="A" key="0">root:0</Key>

<Key mask="4" key="1">exec:/nwp/n1</Key>
<Key mask="4" key="2">exec:/nwp/n2</Key>
<Key mask="4" key="3">exec:/nwp/n3</Key>
<Key mask="4" key="4">exec:/nwp/n</Key>
<Key mask="4" key="5">exec:/nwp/tem</Key>
<Key mask="4" key="6">exec:/nwp/uh</Key>
<Key mask="4" key="7">exec:/nwp/ii</Key>
<Key mask="4" key="8">exec:/nwp/pbw</Key>
<Key mask="4" key="9">exec:/nwp/paw</Key>
<Key mask="4" key="0">exec:/nwp/elp</Key>

<!--
the above repeat below as commented out blanks. delete these (or move the arrow on line 14 to line 2) if you'd prefer to use your own. 4 is the windows key. held together with the number specified they execute the following functions (exec code (minus the /nwp/ part) is what gets entered into the launcher, which itself is most conveniently called with the built in spacebar plus shift shortcut):
win+1=main nwp menu
win+2=only the highlight and click to apply word processing codes (thanks again to miriam).
win+3=only the paste and place word processor codes
win+4=main nuup menu: nwp menu as 1 plus the uber utilities packs' functions.
win+5=ae tem menu--access template files or make word processing files out of text files. access a folder for drag and drop launching of batches of files (something that could also be done through the vtg or with launcher if the identical code is sent as a script (i.e. it has #!/bin/sh at the top and has been given the proper permission (e.g. with ch in the launcher followed by its name in the following launcher that pops up)) to the /nwp/ folder.)
win+6=underline -- highlight and activate (through code, key, or menu)
win+7=italics -- paste and paste version
win+8=page break in white, below
win+9=page break in white, above
win+0=help file pop up in leafpad

1 and 5 can be seen as start centers, though the vtg and the remaining blanks can likewise initiate the dual launchers (or any other program, for that matter)
-->
<!--

blank templates for an additional 132 shortcut keys. they all rely on the ten number keys. surround path and file name with <Include></Include> and place in /root/.jwmrc-personal. i.e.
<Include>/nwp/root3/9/keys2</Include>

then jwm -restart/then restart jwm.

uncomment a section below and fill in the program choices of a section to use it.


4 is the windows key; S, A, and C are shift, alt, and control. windows commands generally don't need the "exec:" and things off the PATH need their full paths after it.


the nwp menus (both ae and jwm) allow access to just about (there may've been a few oversights) every word processing command, but it's still menu access instead of button-immediacy, so to get that regular word processor feel back, you may want to have, for example, bold or underline only a key combo away.
copying the commented out group below and inserting the following (from the vtg cheat sheet that pops up when you hit alt plus g)


bh - adds bold tags around a selection of text in any text editor
uh - adds underline tags around a selection of text in any text editor
sth - add strikethrough tags around a selection of text in any editor or window that can receive text input
ih - add italics tags around a selection of text in any editor or window that can receive text input
bb - print out bold tags
cmt - print out comment (<!-- -->) tags
ii - print out italics tags
st - print out strikethrough tags
ul - print out underline tags
tem - open templates/duals menu

these are all in nwp, so they need the path (/nwp/) prepended to them so machine can find them. or you could just pick (and possibly copy to overwrite the versions without the "/nwp/"--just substitute out (through find and replace) the modifiers. substitute the keys to make similar levels of any other keys. well, here they are again, but with the proper path added to the call:

/nwp/bh # adds bold tags around a selection of text in any text editor
/nwp/uh # adds underline tags around a selection of text in any text editor
/nwp/sth # add strikethrough tags around a selection of text in any editor or window that can receive text input
/nwp/ih # add italics tags around a selection of text in any editor or window that can receive text input
/nwp/bb # print out bold tags
/nwp/cmt # print out comment (<!-- -->) tags
/nwp/ii # print out italics tags
/nwp/st # print out strikethrough tags
/nwp/ul # print out underline tags
/nwp/tem # open templates/duals menu

(i made them so they'd work in a fake pexec or gexec history pulldown as a launchable cheat sheet, but we just need the /path/file bit for the keys. if you don't have a template with the "exec:" bits already in place, do another substitution, /nwp replaced with exec:/nwp or something similar. then just pick the keys you've got your bold, italics, and whatever else you want (including batch launching and things normally deemed apart from word processing). so that's the basic idea behind the big batch of potential keyboard shortcuts.

-->

<!--
<Key mask="AC" key="1">exec:/nwp/</Key>
<Key mask="AC" key="2">exec:/nwp/</Key>
<Key mask="AC" key="3">exec:/nwp/</Key>
<Key mask="AC" key="4">exec:/nwp/</Key>
<Key mask="AC" key="5">exec:/nwp/</Key>
<Key mask="AC" key="6">exec:/nwp/</Key>
<Key mask="AC" key="7">exec:/nwp/</Key>
<Key mask="AC" key="8">exec:/nwp/</Key>
<Key mask="AC" key="9">exec:/nwp/</Key>
<Key mask="AC" key="0">exec:/nwp/</Key>
-->
<!--
<Key mask="AS" key="1">exec:</Key>
<Key mask="AS" key="2">exec:</Key>
<Key mask="AS" key="3">exec:</Key>
<Key mask="AS" key="4">exec:</Key>
<Key mask="AS" key="5">exec:</Key>
<Key mask="AS" key="6">exec:</Key>
<Key mask="AS" key="7">exec:</Key>
<Key mask="AS" key="8">exec:</Key>
<Key mask="AS" key="9">exec:</Key>
<Key mask="AS" key="0">exec:</Key>
-->
<!--
<Key mask="SC" key="1">exec:/nwp/</Key>
<Key mask="SC" key="2">exec:/nwp/</Key>
<Key mask="SC" key="3">exec:/nwp/</Key>
<Key mask="SC" key="4">exec:/nwp/</Key>
<Key mask="SC" key="5">exec:/nwp/</Key>
<Key mask="SC" key="6">exec:/nwp/</Key>
<Key mask="SC" key="7">exec:/nwp/</Key>
<Key mask="SC" key="8">exec:/nwp/</Key>
<Key mask="SC" key="9">exec:/nwp/</Key>
<Key mask="SC" key="0">exec:/nwp/</Key>
-->


<!--
<Key mask="SAC" key="1">exec:</Key>
<Key mask="SAC" key="2">exec:</Key>
<Key mask="SAC" key="3">exec:</Key>
<Key mask="SAC" key="4">exec:</Key>
<Key mask="SAC" key="5">exec:</Key>
<Key mask="SAC" key="6">exec:</Key>
<Key mask="SAC" key="7">exec:</Key>
<Key mask="SAC" key="8">exec:</Key>
<Key mask="SAC" key="9">exec:</Key>
<Key mask="SAC" key="0">exec:</Key>


<!--a couple of samples for the previous two key banks: -->

<!-- <Key mask="SC" key="2">exec:vgt</Key> -->

<Key mask="SC" key="1">exec:/nwp/winswitcher</Key>

<Key mask="SC" key="2">exec:xdotool key ctrl+9 ctrl+8 Return ctrl+7</Key>

<Key mask="SC" key="3">exec:/nwp/3but</Key>
<Key mask="SC" key="4">window</Key>
<Key mask="SC" key="5">move</Key>
<Key mask="SC" key="6">resize</Key>
<Key mask="SC" key="7">minimize</Key>
<Key mask="SC" key="8">maximize</Key>
<Key mask="SC" key="9">prev</Key>
<Key mask="SC" key="0">next</Key>


<Key mask="SAC" key="1">ldesktop</Key>
<Key mask="SAC" key="2">rdesktop</Key>
<Key mask="SAC" key="3">udesktop</Key>
<Key mask="SAC" key="4">ddesktop</Key>
<Key mask="SAC" key="5">prevstacked</Key>
<Key mask="SAC" key="6">nextstacked</Key>
<Key mask="SAC" key="7">shade</Key>
<Key mask="SAC" key="8">showdesktop</Key>
<Key mask="SAC" key="9">fullscreen</Key>
<Key mask="SAC" key="0">exec:/nwp/k</Key>

<!--a couple of samples for the previous two key bank (part of main jwmrc personal in other nwp configs (through quickswitch or otherwise)>

-->



<!--
<Key mask="4" key="1">exec:</Key>
<Key mask="4" key="2">exec:</Key>
<Key mask="4" key="3">exec:</Key>
<Key mask="4" key="4">exec:</Key>
<Key mask="4" key="5">exec:</Key>
<Key mask="4" key="6">exec:</Key>
<Key mask="4" key="7">exec:</Key>
<Key mask="4" key="8">exec:</Key>
<Key mask="4" key="9">exec:</Key>
<Key mask="4" key="0">exec:</Key>
-->
<!--
<Key mask="A4" key="1">exec:</Key>
<Key mask="A4" key="2">exec:</Key>
<Key mask="A4" key="3">exec:</Key>
<Key mask="A4" key="4">exec:</Key>
<Key mask="A4" key="5">exec:</Key>
<Key mask="A4" key="6">exec:</Key>
<Key mask="A4" key="7">exec:</Key>
<Key mask="A4" key="8">exec:</Key>
<Key mask="A4" key="9">exec:</Key>
<Key mask="A4" key="0">exec:</Key>
-->
<!--
<Key mask="C4" key="1">exec:</Key>
<Key mask="C4" key="2">exec:</Key>
<Key mask="C4" key="3">exec:</Key>
<Key mask="C4" key="4">exec:</Key>
<Key mask="C4" key="5">exec:</Key>
<Key mask="C4" key="6">exec:</Key>
<Key mask="C4" key="7">exec:</Key>
<Key mask="C4" key="8">exec:</Key>
<Key mask="C4" key="9">exec:</Key>
<Key mask="C4" key="0">exec:</Key>
-->
<!--
<Key mask="4S" key="1">exec:</Key>
<Key mask="4S" key="2">exec:</Key>
<Key mask="4S" key="3">exec:</Key>
<Key mask="4S" key="4">exec:</Key>
<Key mask="4S" key="5">exec:</Key>
<Key mask="4S" key="6">exec:</Key>
<Key mask="4S" key="7">exec:</Key>
<Key mask="4S" key="8">exec:</Key>
<Key mask="4S" key="9">exec:</Key>
<Key mask="4S" key="0">exec:</Key>
-->
<!--
<Key mask="AC4" key="1">exec:/nwp/</Key>
<Key mask="AC4" key="2">exec:/nwp/</Key>
<Key mask="AC4" key="3">exec:/nwp/</Key>
<Key mask="AC4" key="4">exec:/nwp/</Key>
<Key mask="AC4" key="5">exec:/nwp/</Key>
<Key mask="AC4" key="6">exec:/nwp/</Key>
<Key mask="AC4" key="7">exec:/nwp/</Key>
<Key mask="AC4" key="8">exec:/nwp/</Key>
<Key mask="AC4" key="9">exec:/nwp/</Key>
<Key mask="AC4" key="0">exec:/nwp/</Key>
-->
<!--
<Key mask="AS4" key="1">exec:</Key>
<Key mask="AS4" key="2">exec:</Key>
<Key mask="AS4" key="3">exec:</Key>
<Key mask="AS4" key="4">exec:</Key>
<Key mask="AS4" key="5">exec:</Key>
<Key mask="AS4" key="6">exec:</Key>
<Key mask="AS4" key="7">exec:</Key>
<Key mask="AS4" key="8">exec:</Key>
<Key mask="AS4" key="9">exec:</Key>
<Key mask="AS4" key="0">exec:</Key>
-->
<!--
<Key mask="SC4" key="1">exec:</Key>
<Key mask="SC4" key="2">exec:</Key>
<Key mask="SC4" key="3">exec:</Key>
<Key mask="SC4" key="4">exec:</Key>
<Key mask="SC4" key="5">exec:</Key>
<Key mask="SC4" key="6">exec:</Key>
<Key mask="SC4" key="7">exec:</Key>
<Key mask="SC4" key="8">exec:</Key>
<Key mask="SC4" key="9">exec:</Key>
<Key mask="SC4" key="0">exec:</Key>
-->

<!--
<Key mask="SAC4" key="1">exec:</Key>
<Key mask="SAC4" key="2">exec:</Key>
<Key mask="SAC4" key="3">exec:</Key>
<Key mask="SAC4" key="4">exec:</Key>
<Key mask="SAC4" key="5">exec:</Key>
<Key mask="SAC4" key="6">exec:</Key>
<Key mask="SAC4" key="7">exec:</Key>
<Key mask="SAC4" key="8">exec:</Key>
<Key mask="SAC4" key="9">exec:</Key>
<Key mask="SAC4" key="0">exec:</Key>
-->

<!--
<Key mask="4SAC" key="F12">exec:</Key>
<Key mask="4SAC" key="F11">exec:</Key>
<Key mask="4SAC" key="F10">exec:</Key>
<Key mask="4SAC" key="F9">exec:</Key>
<Key mask="4SAC" key="F8">exec:</Key>
<Key mask="4SAC" key="F7">exec:</Key>
<Key mask="4SAC" key="F6">exec:</Key>
<Key mask="4SAC" key="F5">exec:</Key>
<Key mask="4SAC" key="F4">exec:</Key>
<Key mask="4SAC" key="F3">exec:</Key>
<Key mask="4SAC" key="F2">exec:</Key>
<Key mask="4SAC" key="F1">exec:</Key>

(another set of function key blanks for you to customize)
-->
</JWM>



still in the works--change the tray set up so you can swap them in individually rather than by category.

if these aren't enough trays, keys, or menus, you could always rename a copy of root3 or one of the subfolders inside (9, 10, and 9menusblanks feed most of the calls for these things--you could make a copy of one of those) and swap between copies by renaming the off set to something that doesn't conflict and the current set to match whichever set or tray or file you're swapping in.
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Wed 25 May 2016, 02:42    Post subject: three versions. 16.1's a slight fix and tweak, 17 is light,
Subject description: ur's supposed to help with your next remaster.
 

from http://www.murga-linux.com/puppy/viewtopic.php?p=905394#905394
Puppus Dogfellow wrote:
(remaster project--51mb)nwp-1.7-ur.tar.xz
nwp-1.6.1.tar.xz (2.3mb)
nwp-1.7.tar.xz (1.5mb)


from "1.7 is without the recs folder,":

but it's expanded in 17ur, which aims to also be a convenient method of remastering a puppy and or taking your with you to a newer (or merely different) environment. tested in various ways in slacko (do not use or use the included workarounds), quirky, unicorn, precise, and xenial. 17-ur is the last in the series that will include so many optional pets (unless the thing is released as an insta-remaster or somesuch), or probably any pets beyond the dependencies. that large -ur folder in /nwp/c is the only difference between 1.7 and 1.7-ur. 1.6.1 fixes a omission--a few files were supposed to have been overwritten with newer copies and weren't, and allows MochiMoppel's WinSwitcher to work (comment in file was in wrong place--switch to fix manually in both nwp and app-bin). my4 and my3 are now set to tray sets other than those in /nwp/root3/9 (3 gets those in /9menusblanks and my4 gets the ones in /10.)

puppus dogfellow, may 25, 2016.

______

here's some info on 1.6:

http://www.murga-linux.com/puppy/viewtopic.php?p=905120#905120

(swappable keysets and other improvements).


install/remaster folder has four scripts--one for remastering xenial as p7, one for recreating p6 (really p6.2 or around there), and one for recreating the precise spins. the fourth is more heavily commented and was original made to do the whole remaster from the vtg, but it became copies and the other scripts i mentioned.

you could alter the install scripts to aid with a woofy remaster (other than focuswriter, everything in the large pet is already in this spins--that version is if you want to take this stuff (and your own customizations) with you to other installations.

_____

here's the "uncompressed_remaster-vtg" script:

Code:
#!/bin/sh
#you could launch and alter the script (add, comment out, change locations, etc) piecemeal and in real time through the vtg. you could also get sloppy with the comments since it need not be a functioning script--i suppose i could add the remove abiword code to this, or just have the remove-built-ins open for while the pets are installing: remove_builtin (code would be petget -(name of installed pet) for pets you install, not sure for built ins...
#uncomment last five lines to set as xenial unto p7 i.e. full nwp and most of the program that made p6 and the approximately series of precise spins for new jwm syntax.
petget ./xenial/antiword_0.37-8.pet
petget ./xenial/brother_mfc685cw-1.0.pet
petget ./xenial/catdoc-0.94.2-i486.pet
petget ./xenial/dillo-3.0.5-i486-wary5.pet
petget ./xenial/ExifTool-8.66.pet
petget ./xenial/findnrun-1.9.1.pet
petget ./xenial/geany-plugins-1.25-i686.pet
petget ./xenial/getflash-1.5-6.pet
petget ./xenial/get_java-1.0.pet
petget ./xenial/img2pdf_tahrpup-1.1.pet
petget ./xenial/install-recoll
petget ./xenial/javaif-20151214.pet
petget ./xenial/libc-ares2_1.10.0-2_i386.deb
petget ./xenial/libicu48_4.8.1.1-3ubuntu0.1_i386.deb
petget ./xenial/libQt3Support.so.4.pet
petget ./xenial/libxapian22_1.2.8-1.pet
petget ./xenial/megasync-xUbuntu_12.04_i386.deb
petget ./xenial/megatools-1.9.97.pet
petget ./xenial/mupdf-1.4.pet
petget ./xenial/mydbox-1.2_noarch.pet
petget ./xenial/pcmanfm-1.2.3.pet
petget ./xenial/peasypdf-3.4.pet
petget ./xenial/PuppyTerrier-02c_BIL.pet
petget ./xenial/qt4-4.3.2.pet
petget ./xenial/recoll-1.13.02.pet
petget ./xenial/Right-click-6.9.8.pet
petget ./xenial/sfs2pet-20121001.pet
petget ./xenial/SimplePythonHTTPServer-1.0.pet
petget ./xenial/slocate-3.1-i486-4.pet
petget ./xenial/spacefm_0.9.4-0_20141009_DOC.pet
petget ./xenial/spacefm_0.9.4-0_20141009.pet
petget ./xenial/unrtf_0.19.3-1.1.pet
petget ./xenial/xapian-core-1.0.18.pet
mkdir -p /usr/local/share/
ln -s /usr/share/spacefm /usr/local/share/spacefm
petget ./xenial/copy-fast-2.4.pet
#move the spacefm directory in /usr/share to /usr/local/share in order to be able to set preferences.
#rox /usr/share /usr/local/share
#thanks to ASRI (the pets) and cimarron (the fix).
#petget ./unicorn/focuswriter-1.5.5-i686.pet
#petget ./precise/bash-4.3.30-1.pet
#petget ./precise/dbus-1.8.12_i686.pet
#petget ./precise/python-2.7.pet
#petget ./precise/dillo-3.0.5-precise.pet
#petget ./precise/geany-1.25-i686.pet
#petget ./precise/geany_DOC-1.25-i686.pet
#petget ./precise/yad_0.33.1-slk56.pet
#late additions to the folder
#this is like woofy live in some respects
petget ./xenial/woofy-0.91.pet
petget ./xenial/youtube-dl
petget ./xenial/youtubedl-gui-0.1.pet

#add sleep commands if you want to slow things down and get involved--or try to. your machine may benefit from the breather--one of the things that gets honed (and/or personalized) with subsequent versions.

#/nwp/c/0install_deps_64
#/nwp/c/00install-recs-a #expanded and now this (though the original's still in that folder).
#/nwp/c/3--full nwp, older jwm

#do the rest of the install from here:
#cp -fRu ./nwp /
#/nwp/c/0install_deps_32
#/nwp/c/1--step1
#/nwp/c/2--step2
#/nwp/c/3--full nwp, newer jwm


(if you're going to do the install from that script i.e. in the vtg (rather than merely running it, which in its present form would require some commenting out so you'd have to open it in an editor regardless), you should move the move /update nwp line to the beginning so the script can stay out of its own way or because it's the most time consuming part.)

the other remaster scripts are similar. the folder for 64 bit quirky is empty, but this was successful on that although with fewer pets in common (which stand to reason but may not be true--i used the recoll package and quite a few 32 bit pets on it...anyway, i'm sticking with this old, small recoll as a fail safe--newer ones don't always install and truth be told, i'm happy with it as is.

here are install parts one and two (just like a regular install of the nwp, remastering with it would start with moving it, then adding the deps for it, etc. here's the etc):

step one script:

Code:
#!/bin/sh
#step1
#make backup of original jwm configs
mkdir -p /root/my-applications/userjwm
cp -fRu /root/.jwm/jwmrc-personal /root/my-applications/userjwm/oldjp
cp -fRu /etc/xdg/templates/_root_.jwmrc /root/my-applications/userjwm/oldjc
echo $'
cp -f /root/my-applications/bin/userjwm/oldjp /root/.jwm/jwmrc-personal
cp -f /root/my-applications/bin/userjwm/oldjc /etc/xdg/templates/_root_.jwmrc
fixmenus
jwm -restart
' >  /root/my-applications/bin/reverse_installj
echo $'
cp -fRu /root/.jwm/jwmrc-personal /root/my-applications/userjwm/oldjp
cp -fRu /etc/xdg/templates/_root_.jwmrc /root/my-applications/userjwm/oldjc
' >  /root/my-applications/bin/backupj
chmod 755 /root/my-applications/bin/reverse_installj
chmod 755 /root/my-applications/bin/backupj
cp -fRu /root/my-applications/bin/reverse_install /nwp/.reversej
chmod 755 /nwp/.reversej
#earlier version does the same thing but gives an additional backup in /nwp/c. you could use it to back up an off-nwp config (or just keep it as a duplicate).
mkdir -p /root/my-applications/userjwm
cp -fRu /root/.jwm/jwmrc-personal /root/my-applications/userjwm/oldjp
cp -fRu /etc/xdg/templates/_root_.jwmrc /root/my-applications/userjwm//oldjc
echo $'
cp -f /root/my-applications/userjwm/oldjp /root/.jwm/jwmrc-personal
cp -f/root/my-applications/userjwm/oldjc /etc/xdg/templates/_root_.jwmrc
fixmenus
jwm -restart
' >  /root/my-applications/bin/reverse_install-nwp1
chmod 755 /root/my-applications/bin/reverse_install-nwp1
mkdir -p /nwp/c/userjwm
cp -fRu /root/.jwm/jwmrc-personal /nwp/c/userjwm/oldjp
cp -fRu /etc/xdg/templates/_root_.jwmrc /nwp/c/userjwm/oldjc
echo $'
cp -f /nwp/c/userjwm/oldjp /root/.jwm/jwmrc-personal
cp -f/nwp/c/userjwm/oldjc /etc/xdg/templates/_root_.jwmrc
fixmenus
jwm -restart
' >  /nwp/c/userjwm/reverse_install
chmod 755 /nwp/c/userjwm/reverse_install-nwp1
#copy in some files (mostly to /root/my-applications/bin)
cp -fRu /nwp/5ce /root/my-applications/bin/5ce
cp -fRu /nwp/3c /root/my-applications/bin/3c
cp -fRu /nwp/5c /root/my-applications/bin/5c
chmod 755  /nwp/5ce /root/my-applications/bin/5ce
chmod 755  /nwp/3c /root/my-applications/bin/3c
chmod 755  /nwp/5c /root/my-applications/bin/5c
cp -fRu /nwp/mc/mcc /root/my-applications/bin/mcc
cp -fRu /nwp/tasnwp /root/my-applications/bin/tas
cp -fRu /nwp/ww /root/my-applications/bin/ww
cp -fRu /nwp/fnr /root/my-applications/bin/f
cp -fRu /nwp/t /root/my-applications/bin/t
cp -fRu /nwp/p /root/my-applications/bin/p
cp -fRu /nwp/rr /root/my-applications/bin/rr
cp -fRu /nwp/w11 /root/my-applications/bin/w11
cp -fRu /nwp/k /root/my-applications/bin/k
cp -fRu /nwp/caw /root/my-applications/bin/caw
chmod 755 /nwp/ww /root/my-applications/bin/w11
chmod 755 /nwp/ww /root/my-applications/bin/ww
chmod 755 /nwp/f /nwp/fnr /nwp/tasnwp /root/my-applications/bin/f
chmod 755 /nwp/t /root/my-applications/bin/t
chmod 755 /nwp/p /root/my-applications/bin/p
chmod 755 /nwp/rr /root/my-applications/bin/rr
chmod 755 /nwp/ch /nwp/p /nwp/ll /nwp/gl /nwp/chab /nwp/rl
chmod 755 /nwp/caw /root/my-applications/bin/caw
chmod 755 /nwp/tas /root/my-applications/bin/tas  /root/my-applications/bin/mcc
chmod 755 /nwp/mc/mcc/*
#move some apps i may potentially want to run at startup in a startup subfolder (toggle on and off by moving in and out of subfolder)
cp -fRu /nwp/c/rec/quar /root/Startup/quar
#change the paths in this file and step one to use this scripts for a woofy-style remaster.
#


step two script:
Code:
#!/bin/sh
cp -fRu /root/.config/rox.sourceforge.net/Templates /root/.config/rox.sourceforge.net/Templates-orig
#add templates, themes, bookmarks, panels, rox menus, etc by setting up the copy commands in this file.
cp -fRu /root/.config/rox.sourceforge.net/MIME-icons /root/.config/rox.sourceforge.net/MIME-icons2
cp -fRu /root/.gtkrc.mine /root/.gtkrc.mine-orig
cp -fRu /root/.config/rox.sourceforge.net/ROX-Filer/menus2 /root/.config/rox.sourceforge.net/ROX-Filer/menus2~
cp -fRu /nwp/c/2/menus2 /root/.config/rox.sourceforge.net/ROX-Filer/menus2
cp -fRu /nwp/c/p6-p7_install1/p7/jthemes/grprgrn2/* /root/.jwm/themes
mkdir -p /root/.icons/rox-toolbar/
cp -fRu /nwp/icons/1rx1 /root/.icons/rox-toolbar/1rx1
cp -fRu /nwp/c/2/0.gtkrc.mine /root/.gtkrc.mine
cp -fRu /nwp/keys/icons/MIME-icons/* /root/.config/rox.sourceforge.net/MIME-icons
cp -fRu /nwp/c/rec/1/Flat-grey-rounded /usr/share/themes/Flat-grey-rounded
cp -fRu /nwp/c/p6-p7_install1/p7/gthemes/gtkp61 /usr/share/themes/
cp -fRu /nwp/templates/* /root/.config/rox.sourceforge.net/Templates
/nwp/mbm #get bookmarks on menus (by MochiMoppel)
/nwp/roxicon #slightly modified iconswitcher script--it should allow you set letter key shortcuts (right click functions, largely) in rox.
cp -fRu /root/.config/geany/keybindings.conf /root/.config/geany/keybindings.conf-old
cp -fRu ./nwp/c/geany/keybindings.conf /root/.config/geany/keybindings.conf
#it may be advisable to close geany before running this (untested. should be the same as manual or gui editing the file, but untested).
#swap in your existing for the next time:
#~ cp -fRu /nwp/c/1/Bookmarks.xml /root/.config/rox.sourceforge.net/ROX-Filer/Bookmarks.xml
#~ cp -fRu /nwp/c/1/globicons /root/.config/rox.sourceforge.net/ROX-Filer/globicons
#~ cp -fRu /nwp/c/1/Groups.xml /root/.config/rox.sourceforge.net/ROX-Filer/Groups.xml
#~ cp -fRu /nwp/c/1/menus2 /root/.config/rox.sourceforge.net/ROX-Filer/menus2
#~ cp -fRu /nwp/c/1/Options /root/.config/rox.sourceforge.net/ROX-Filer/Options
#~ cp -fRu /nwp/c/1/panels /root/.config/rox.sourceforge.net/ROX-Filer/panels
#~ cp -fRu /nwp/c/1/pan_lef1t /root/.config/rox.sourceforge.net/ROX-Filer/pan_lef1t
#~ cp -fRu /nwp/c/1/pan_to1p /root/.config/rox.sourceforge.net/ROX-Filer/pan_to1p
remove_builtin
#allows you to do just that by giving you a popup with pull down menus. could be moved to the install-pets part of the uncompressed remaster.

#~ cp -fRu /root/.config/rox.sourceforge.net/ROX-Filer/Bookmarks.xml /nwp/c/1/Bookmarks.xml
#~ cp -fRu /root/.config/rox.sourceforge.net/ROX-Filer/globicons /nwp/c/1/globicons
#~ cp -fRu  /root/.config/rox.sourceforge.net/ROX-Filer/Groups.xml /nwp/c/1/Groups.xml
#~ cp -fRu  /root/.config/rox.sourceforge.net/ROX-Filer/menus2 /nwp/c/1/menus2
#~ cp -fRu /root/.config/rox.sourceforge.net/ROX-Filer/Options /nwp/c/1/Options
#~ cp -fRu  /root/.config/rox.sourceforge.net/ROX-Filer/panels /nwp/c/1/panels
#~ cp -fRu /root/.config/rox.sourceforge.net/ROX-Filer/pan_lef1t /nwp/c/1/pan_lef1t
#~ cp -fRu  /root/.config/rox.sourceforge.net/ROX-Filer/pan_to1p  /nwp/c/1/pan_to1p
#~ remove_builtin

#didn't copy over the libreoffice or geany config files (for some of the items on the geany jwm and aemenus to work you'll need to install some plugins--the keyconfig swap will take care of matching up the default geany submenu (up and down (four and five) mouse buttons, alt four and five, gg or ggv (alt version for use as a template to get other program's oft-used commands in some convenient places) in the launcher, but the code to bring over (store your custom copies in the directories the code makes or change both that and the store section) your main geany and libreoffice configs is:
#mkdir -p /nwp/c/lo/user
#mkdir -p /root/.config/libreoffice/4/user #(in case you do this before you actually install libreoffice on the new machine)
#cp -fR /nwp/c/lo/user /root/.config/libreoffice/4/user
#you would need to have copied yours over to that location first. similarly, with geany:
#mkdir -p /nwp/c/geany
#backup original geany:
#cp -f /root/.config/geany/geany.conf/root/.config/geany/geany.conf-old
#cp -f /nwp/c/geany/geany.conf /root/.config/geany/geany.conf


step three finalizes your nwp config choices and restarts jwm/fixes the menus to read the correct syntax (old or new).



nwp is the first thing i install on new installs so i figured it made sense to make it part of the installation process (version's a 50 mb download).

i suppose the trays should be able to be called individually like the keybanks. i'm thinking of a four part menu for select for 1.8--choose between the six left and six right vertical, choose between the four top and four bottom--two for toggling, two for editing.

Confused Wink
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Thu 26 May 2016, 17:47    Post subject:  

Quote:

i suppose the trays should be able to be called individually like the keybanks. i'm thinking of a four part menu for select for 1.8--choose between the six left and six right vertical, choose between the four top and four bottom--two for toggling, two for editing.

 


nwp-1.8.tar.xz

from "1.7 is without the recs folder":
Quote:

[...]

----


1.8 fixes reworks the tray toggles and the menus they rely on. my30-49 config switches now alternate between feeding from /nwp/...9, ...9menusblanks, and 10--you can switch between 12 vertical and 12 horizontal trays independently of your initial choice, but now they get associated with particular configurations at startup; swap between the three sets of 10 menus should work now--swapped in the correct jwmrc-personal files. cleaned up some code that may have effected the keyswitch from functioning properly (neatened it so it now looks like what i told sed to look for).

1.7 ur included peasy pdf--version's been upgraded to 3.6. new light entry on root one is for the ff experimental package (put together as an sfs by peepee--i converted it TheAsterisk!'s pet2sfs program--you can grab both in the browser section of pupli repo.

____

on the cobbling-together-a-word-processor side of things, notecase can do formatted text and be exported as html, which in turn your browser (nearly all of them) can then turn into a pdf.


____

the spins and pups using the older jwm should hit "trayfix-old" after transfering the updates from the incoming /nwp--you may need to hit it (or "fixmenus; jwm -restart") twice.

___

looks like the menu quick swap is going to need to be swapped back to jwm -restart (hit that (root one menu's the most convenient way, i think) if it didn't take the first time).

______

from http://www.murga-linux.com/puppy/viewtopic.php?p=905571#905571


made all the sed commands separate scripts for both the ae and jwm menus--mostly this is a bugfix release--the config swapping stuff's been expanded and tuned up a bit.

this is the new tray section of the config submenu (at present can be found in root1 under Shutdown+, and off the main of root4 and 5):
Code:


<Menu label="tray toggles" icon="" height="16">

<Program label="move over the stock tray a pixel (better mouse menu access)" icon="">/nwp/xover1</Program>
<Program label="undo the pixel move" icon="">/nwp/undoxover1</Program>
<Program label="toggle off stock tray" icon="">/nwp/puptrayoff</Program>
<Program label="toggle on stock tray" icon="">/nwp/puptrayon</Program>
<Program label="SEND" icon="">fixmenus; jwm -restart</Program>


<Menu label="edit top and bottom trays" icon="" height="16">
<Program label="edit bottom tray 1" icon="">geany /nwp/root3/9/3.jwmrc-tray</Program>
<Program label="edit bottom tray 2" icon="">geany /nwp/root3/9/2.jwmrc-tray</Program>
<Program label="edit top tray 1" icon="">geany /nwp/root3/9/topright</Program>
<Program label="edit top tray 2" icon="">geany /nwp/root3/9/top2</Program>
<Program label="edit top tray 3" icon="">geany /nwp/root3/9menusblanks/topright</Program>
<Program label="edit top tray 4" icon="">geany /nwp/root3/9menusblanks/top2</Program>
<Program label="edit top tray 5" icon="">geany /nwp/root3/10/topright</Program>
<Program label="edit top tray 6" icon="">geany /nwp/root3/10/top2</Program>
<Program label="edit bottom tray 3" icon="">geany /nwp/root3/9menusblanks/2.jwmrc-tray</Program>
<Program label="edit bottom tray 4" icon="">geany /nwp/root3/9menusblanks/3.jwmrc-tray</Program>
<Program label="edit bottom tray 5" icon="">geany /nwp/root3/10/3.jwmrc-tray</Program>
<Program label="edit bottom tray 6" icon="">geany /nwp/root3/10/2.jwmrc-tray</Program>
</Menu>


<Menu label="edit vertical trays (odd #s are set to left by default)" icon="" height="16">
<Program label="edit vtray 1" icon="">geany /nwp/root3/9/vtray1</Program>
<Program label="edit vtray 2" icon="">geany /nwp/root3/9/vtray2</Program>
<Program label="edit vtray 3" icon="">geany /nwp/root3/9/vtray3</Program>
<Program label="edit vtray 4" icon="">geany /nwp/root3/9/vtray4</Program>
<Program label="edit vtray 5" icon="">geany /nwp/root3/9menusblanks/vtray1</Program>
<Program label="edit vtray 6" icon="">geany /nwp/root3/9menusblanks/vtray2</Program>
<Program label="edit vtray 7" icon="">geany /nwp/root3/9menusblanks/vtray3</Program>
<Program label="edit vtray 8" icon="">geany /nwp/root3/9menusblanks/vtray4</Program>
<Program label="edit vtray 9" icon="">geany /nwp/root3/10/vtray1</Program>
<Program label="edit vtray 10" icon="">geany /nwp/root3/10/vtray2</Program>
<Program label="edit vtray 11" icon="">geany /nwp/root3/10/vtray3</Program>
<Program label="edit vtray 12" icon="">geany /nwp/root3/10/vtray4</Program>
</Menu>

<Menu label="edit top and bottom trays --leafpad" icon="" height="16">
<Program label="edit bottom tray 1" icon="">leafpad /nwp/root3/9/3.jwmrc-tray</Program>
<Program label="edit bottom tray 2" icon="">leafpad /nwp/root3/9/2.jwmrc-tray</Program>
<Program label="edit top tray 1" icon="">leafpad /nwp/root3/9/topright</Program>
<Program label="edit top tray 2" icon="">leafpad /nwp/root3/9/top2</Program>
<Program label="edit top tray 3" icon="">leafpad /nwp/root3/9menusblanks/topright</Program>
<Program label="edit top tray 4" icon="">leafpad /nwp/root3/9menusblanks/top2</Program>
<Program label="edit top tray 5" icon="">leafpad /nwp/root3/10/topright</Program>
<Program label="edit top tray 6" icon="">leafpad /nwp/root3/10/top2</Program>
<Program label="edit bottom tray 3" icon="">leafpad /nwp/root3/9menusblanks/2.jwmrc-tray</Program>
<Program label="edit bottom tray 4" icon="">leafpad /nwp/root3/9menusblanks/3.jwmrc-tray</Program>
<Program label="edit bottom tray 5" icon="">leafpad /nwp/root3/10/3.jwmrc-tray</Program>
<Program label="edit bottom tray 6" icon="">leafpad /nwp/root3/10/2.jwmrc-tray</Program>
</Menu>


<Program label="SEND" icon="">fixmenus; jwm -restart</Program>

<Menu label="deactivate vertical trays (odd #s are set to left by default)" icon="" height="16">
<Program label="deactivate vertical tray12" icon="">/nwp/dvtray12</Program>
<Program label="deactivate vertical tray11" icon="">/nwp/dvtray11</Program>
<Program label="deactivate vertical tray10" icon="">/nwp/dvtray10</Program>
<Program label="deactivate vertical tray9" icon="">/nwp/dvtray9</Program>
<Program label="deactivate vertical tray8" icon="">/nwp/dvtray8</Program>
<Program label="deactivate vertical tray7" icon="">/nwp/dvtray7</Program>
<Program label="deactivate vertical tray6" icon="">/nwp/dvtray6</Program>
<Program label="deactivate vertical tray5" icon="">/nwp/dvtray5</Program>
<Program label="deactivate vertical tray4" icon="">/nwp/dvtray4</Program>
<Program label="deactivate vertical tray3" icon="">/nwp/dvtray3</Program>
<Program label="deactivate vertical tray2" icon="">/nwp/dvtray2</Program>
<Program label="deactivate vertical tray1" icon="">/nwp/dvtray1</Program>
</Menu>

<Menu label="deactivate top and bottom trays" icon="" height="16">
<Program label="deactivate top tray6" icon="">/nwp/dtop6</Program>
<Program label="deactivate top tray5" icon="">/nwp/dtop5</Program>
<Program label="deactivate top tray4" icon="">/nwp/dtop4</Program>
<Program label="deactivate top tray3" icon="">/nwp/dtop3</Program>
<Program label="deactivate top tray2" icon="">/nwp/dtop2</Program>
<Program label="deactivate top tray1" icon="">/nwp/dtop1</Program>
<Program label="deactivate bottom tray6" icon="">/nwp/dbot6</Program>
<Program label="deactivate bottom tray5" icon="">/nwp/dbot5</Program>
<Program label="deactivate bottom tray4" icon="">/nwp/dbot4</Program>
<Program label="deactivate bottom tray3" icon="">/nwp/dbot3</Program>
<Program label="deactivate bottom tray2" icon="">/nwp/dbot2</Program>
<Program label="deactivate bottom tray1" icon="">/nwp/dbot1</Program>
</Menu>
<Program label="SEND" icon="">fixmenus; jwm -restart</Program>

<Menu label="activate top and bottom trays" icon="" height="16">
<Program label="activate top tray6" icon="">/nwp/atop6</Program>
<Program label="activate top tray5" icon="">/nwp/atop5</Program>
<Program label="activate top tray4" icon="">/nwp/atop4</Program>
<Program label="activate top tray3" icon="">/nwp/atop3</Program>
<Program label="activate top tray2" icon="">/nwp/atop2</Program>
<Program label="activate top tray1" icon="">/nwp/atop1</Program>
<Program label="activate bottom tray6" icon="">/nwp/abot6</Program>
<Program label="activate bottom tray5" icon="">/nwp/abot5</Program>
<Program label="activate bottom tray4" icon="">/nwp/abot4</Program>
<Program label="activate bottom tray3" icon="">/nwp/abot3</Program>
<Program label="activate bottom tray2" icon="">/nwp/abot2</Program>
<Program label="activate bottom tray1" icon="">/nwp/abot1</Program>
</Menu>

<Menu label="activate vertical trays (odd #s are set to left by default)" icon="" height="16">
<Program label="activate vertical tray12" icon="">/nwp/avtray12</Program>
<Program label="activate vertical tray11" icon="">/nwp/avtray11</Program>
<Program label="activate vertical tray10" icon="">/nwp/avtray10</Program>
<Program label="activate vertical tray9" icon="">/nwp/avtray9</Program>
<Program label="activate vertical tray8" icon="">/nwp/avtray8</Program>
<Program label="activate vertical tray7" icon="">/nwp/avtray7</Program>
<Program label="activate vertical tray6" icon="">/nwp/avtray6</Program>
<Program label="activate vertical tray5" icon="">/nwp/avtray5</Program>
<Program label="activate vertical tray4" icon="">/nwp/avtray4</Program>
<Program label="activate vertical tray3" icon="">/nwp/avtray3</Program>
<Program label="activate vertical tray2" icon="">/nwp/avtray2</Program>
<Program label="activate vertical tray1" icon="">/nwp/avtray1</Program>
</Menu>
</Menu>
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Wed 01 Jun 2016, 21:42    Post subject: Jaewm! (wrong permissions on over 50 scripts last time
Subject description: because at a distance of 4 feet, my eyes can no longer tell black from green)
 

also, it's a name for an almost harmonius blend of jwm, aemenu, the nwp folder, the pexec based launcher, the scripts from others it happily hosts, --here's an update to 1.9:

from http://www.murga-linux.com/puppy/viewtopic.php?p=906269#906269

Quote:

updated to 1.9. more configuration options, instant access
to the quick switches, updated shortcuts list

made some improvements to the configuration options (especially if you like the idea of nine menus but want to leave the interface pretty much as is) and updated the quick links. next update gets better documentation and maybe released as a desktop environment.

files in the main c (configuration, installation, store your stuff to be ported) folder:
nwp/c/0install_deps_32
nwp/c/0install_deps_64
nwp/c/00install-recs-a #at present does nothing
nwp/c/1--step1
nwp/c/2--step2
nwp/c/3--full nwp
nwp/c/3-no bottom tray
nwp/c/3--no left or bottom trays
nwp/c/3--no left or top tray
nwp/c/3--no left, pup bot
nwp/c/3-no left tray
nwp/c/3--no top, puppy bottom tray
nwp/c/3--no top tray
nwp/c/3--pup plus nwp top and left
nwp/c/3--trad pup bot
nwp/c/4--trayfix-finish-new
nwp/c/4--trayfix-finish-old
nwp/c/4--trayfix-finish-old--movex1
nwp/c/4--trayfix--new--movex1
nwp/c/reverse jwm config swap (reverse step 3)
nwp/c/reverse step2
nwp/c/reverse_step1
nwp/c/uninstall_deps_32
nwp/c/uninstall_deps_64

files in the quick start folder (no jwm involvement though you could do that later through the mae menu):
0install_deps_32
0install_deps_64
0symlink-nwp
aef
aen
gg
mae
main launcher and some menus(txt)
p (main launcher--give it a keyboard shortcut)

____________

here's the updated list:
(from: http://www.murga-linux.com/puppy/viewtopic.php?p=906267#906267 )


Quote:

The ever-evolving list of launcher shortcuts (nwp installation sets the shortcut for the launcher itself as spacebar plus shift, but if you don't have jwm, you'll have to do it manually through whatever method you find convenient. The shortcut is used heavily if at all, i guess, and so my recommendation tries to make it fluid, simple, and quick). An almost complete (as of June 2016) list of shortcuts (interrupted by a list of fixes in the upcoming 1.9.1: geany and geany new instance were backwards on the root one menu; the mae aemenu (installation, port-store-backup, menumaker, shutdown+, and jwm config options submenus, etc) was never added to the nwp folder itself--the mae shortcut won't work until it's copied over (though you can activate it from the installation/download folder); trayfix old and new have been given more prominent placement on mae and its jwm equivalent; megasync's a builtin; ocr thanks to rcrsn51; …[one of the two upgrades in the works is in lieu of two isos. it upgrades p6.0 to what would have been p6.1 and makes ~572.15 out of -.14; other upgrade has no add-in pets. set for old syntax this time. fresh installs are generally quicker than upgrades so rename your old nwp if you're upgrading. once the folder turns to anubis (about 15 seconds on my slower machine) you can call from nwp rather than the install folder and/or complete the installation. pets run fixmenus and jwm -restart automatically so the update pack is just a click and a bunch of okaying (alt plus o or more clicking).....]):

bb -- spit out bold tags
bb2 -- span tags for bold fonts or other, non default font choices (bold tags don't appear to work though the nwp's underlining and italics tags show the expected results). default is for monospace, same as po1, po2, po4 (the latter two are templates, po1 is an xdotool "spit this code" script/a backup of the main (monospace) template).
book -- older version of one of the tocs/tics--customize if you like
bpo -- open the default template files in a browser so you can see the line spacing, highlighting, etc. use gpo to edit what the command calls and what browser gets opened
bq -- block quote tags
f - findnrun
gpo -- open the browser, leafpad, and geany configuration files for the nwp word processor plus the default default templates in geany.# geany /nwp/po1 /nwp/po2 /nwp/po3 /nwp/po4 /nwp/po5 /nwp/po6 /nwp/gpo /nwp/lpo /nwp/bpo /nwp/bb2
h1-h6 -- print out tags for headings 1-6
her -- open the hr template in geany
herl -- open the hr template in leafpad
hero -- open the hr template in geany
hr -- print out hr tags
hr0 -- open the hr template in geany
hr0l -- open the hr template in leafpad
hr1 -- spit out hr doc template
hrl -- <hr> tag, 35%, grey left side
hrr -- <hr> tag, 10%, grey right side
hrt -- template for autopage breaks with hr tag. called by other scripts.
ii -- italics tags
link -- external form of the toc tags
lp -- launch leafpad
lpo -- leafpad /nwp/po2| leafpad /nwp/po4 /nwp/po5| leafpad /nwp/po6| leafpad /nwp/lpo (open the wp template files in leafpad; open the file that determines what leafpad opens
mono -- open monospace template with geany
mono1 -- spit out monospace doc template
monol -- open monospace template with leafpad
monot -- monospace template
np02 -- pu(/)up launcher (configured to begin with a highlighted /nwp/)
p -- pu(/)up launcher configured to start at the end of /nwp/
pb -- <par style="page-break-after: always"></par>
pba -- <par style="page-break-before: always"></par> (a=above)
po -- open po2
po1 -- print out an improved version of the preotry template
po2 -- (template--po1 without the mini-wait--use Clone (under Documents menu) or SaveAs to preserve the file)
po3 -- geany /nwp/po4 /nwp/po5 /nwp/po6 /nwp/po2
po4 -- template as 14 pt monospace
po5 -- template as 14 pt sans
po6 -- template as 14 pt serif
pr -- print out paragraph tags
prc -- print out paragraph centered tags
prj -- print out paragraph justified tags
prl -- print out paragraph left tags
prr -- print out paragraph right tags
q -- cite tags
san1 -- spit out sans serif doc template
sans -- open sans template with geany
sansl -- open sans template with leafpad
sanst -- sans serif doc template
ser1 -- spit out serif doc template
serf -- open serf template with geany
serfl -- open serf template with leafpad
sert -- serif doc template
sub -- subscript tags
sup -- superscript tags
t -- launch terminal of your choice (delete/comment sakura and uncomment or add your choice)
toc and tic paste bookmark/hyperlink codes. good for tables of contents, master documents, etc. on the editing side, you can make bookmarks in geany with ctrl+m, which will also toggle it off. ctrl plus comma is previous bookmark, control plus period is next bookmark. the plugin for numbered bookmarks makes a list on the side panel (unless that's default and i can't just can't figure out how to work/access the plug in version):
tic -- tic same page template and anchor --new tab
tic1 -- external page or same or external file, no anchor -- same tab
tic2 -- external page or same or external file with anchor -- same tab
toc -- toc same page template and anchor, same tab (general bookmarks). look up your text editor's method for bookmarking for the edit text (also non formatted) view.
toc1 -- external page or same or external file, no anchor -- new tab
toc2 -- external page or same or external file with anchor -- new tab
to open files in geany at specific location, append :line#:column# to the file, i.e. geany /nwp/docs/file1:50:14
ul -- underline
v -- activate vtg
xp -- launch xpad/new xpad
terminal nwp/pwn/pax shortcuts:
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 (this and rr may need to be adjusted depending on how your rox filer is set up)
pcp --access pup control
fnr --find and run (same as f--fnr is it's traditional short.)
hlx -- htop in an urvxt window and lx task ...
ppm is a built in for package manager (will work in nwp launcher or terminal)
x#-- move to # on x-axis (increments of 5)
y# --move to # on y-axis (increments of 5)
h# --height (increments of 5)
w# --width (increments of 5)
rs --resize
t --terminal (set for my-applications/bin, so launchable from terminal or np/nwp/pxc launcher)
f --findandrun (also set for my-apps/bin)
np --nwpus launcher2 (no sweep right--prehighlighted entry)
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
ww -- winswitcher (also ctrl plus spacebar).
galc -- galculator
nc-- notecase
gd -- goldendict
jv -- make java sfs and take you there (thanks, uten. (still there but superseded by rerwin's packages (two installed if you use the -ur version of the nwp))).
##5c -- now the command to make 5 copies of a file by command line.
5ce -- generate drag and drop file in your current working directory and another set to make editing it easier (set for 5 copies with the bulk-renameable extension X(followed by the number of copies). this is an improvement, i think, but you may prefer
mcc -- Make_Concurrent_Copies, which open a directory set for sets of three and five for a fairly wide variety of file types
##5cd -- [obs.]
7c -- print out the command for changing permissions of a script to executable (kind of lazy--chmod 755 isn't that involved...).(sorta made obsolete by the ch launchers (still arguably useful for vtg use)).
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
mn -- minimize
mx -- maximize window
o -- old windows manipulation menu
s -- new version of supplemental menus
n -- the original nwpus menu
n1 -- 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 n3
n2 -- just the highlight and click to apply word processing/html code section
n3 -- the paste and place section of the main (word processing) menu.
slac -- search all databases
sloc -- search selected database with option to print results #sometimes problematic
sluc --update all slocate databases/create databases (thanks to musher0 for the slocate wrapper and the three scripts i've renamed here)
ww - winswitcher
sv -- make a folder a server. open a terminal and sv in the pax launcher (nwp launcher, etc) will print out "python -m SimpleHTTPServerWithUpload"--open a browser in the client computer and input the ipnet address (run ifconfig in a terminal) with :8000 appended to it (i.e. http://192.168.1.66:8000). this will allow you to upload and download files to the directory you ran the sv command (i.e. shift+spacebar (which pops up the modified pexec launcher showing /nwp/ in the entry box) then sv then enter) in.
by rcrsn51. thread here: http://www.murga-linux.com/puppy/viewtopic.php?p=415132#415132 (unnecessary now that it has a gui)
fw -- toggle firewall on off (actually give a pop up that provides the function. requires the pet by tronkel you can find at
http://murga-linux.com/puppy/viewtopic.php?t=65205&sid=20489912102587646aa7949ea478cf1f). rcrsn51's SimpleHTTPServerWithUpload won't run with the firewall in place and this is a convenient way to temporarily disable it.
-3--------------------------- 6
1 2----------------------- 8 9
-4 ----------------------------7
b5=full screen left, b10=full screen right. b series is halves and wholes.
1 2--------------6 7
--5----------------10
3 4--------------8 9
a# series is quadrants...
sk - sakura (also t in nwp/pwn/pax or any terminal for most of them (some may be set to urxvt or rxvt--they all have sakura though)
rn - gfnrename (batchrenamer)
hlx - htop (through urxvt) and lxtask
bh - adds bold tags around a selection of text in any text editor
uh - adds underline tags around a selection of text in any text editor
sth - add strikethrough tags around a selection of text in any editor or window that can receive text input
ih - add italics tags around a selection of text in any editor or window that can receive text input
bb - print out bold tags
cmt - print out comment (<!-- -->) tags
ii - print out italics tags
st - print out strikethrough tags
ul - print out underline tags
#wm -- go to one of the giant menu submenu menus (presently set for root 0 menu--requires jwm and the root3 folder in /nwp)--[Obs.]
some changes to the templates...
a much better way to launch and batch launch files (you'll get a a dual view without having to to click the file more than once. for print preview of the pdf form of this essentially txt/html word processing document (though you can embed and link what you like , it seems), you'll need to access to your choice of browser/htmlviewer's print preview button. to change the headers and footers, you'll need to use your browser's print > options menu.
-------------
dual launchers (text editor and browser) for the Nooby Word Processor/nwp:
ggc -- geany, chrome
gigc -- geany new instance, chrome
gio -- geany new instance, opera
lgc -- leafpad, chromium
gif -- geany new instance, firefox
def -- default text editor, default browser
gf -- geany, firefox
tef -- default text editor, firefox
lff -- leafpad, firefox
gb -- geany, default browser
gib -- geany new instance, default browser
leb -- leafpad, default browser
leafy -- leafpad, seamonkey
dlll -- leafpad, dillo
ged -- geany, dillo
ges -- geany, seamonkey
lop -- leafpad, opera
gep -- geany, palemoon
gc -- geany, chromium
gip -- geany new instance, palemoon
gic -- geany new instance, chromium
lep -- leafpad, palemoon
gid -- geany new instance, dillo
lec -- leafpad, chromium
gis -- geany new instance, seamonkey
more shortcuts now available to the Nooby Uber Utility Pack
sda[1-6]-sdd[1-6] -- open those partitions
the following will open in rox if entered in the pw,n launcher: mnt, home, mdoc (opens root/my-documents), apps (opens usr/share/applications), jwm (/root/.jwm), bin, jxdg(etc/xdg/templates), conf (/root/.configure), mybin (/root/my-applications/bin), etc, tmp, and pack (/nwp).
at, at[1-10] are autotext scripts. atx is the template, ate will open the 11 in geany for you to edit/rename. single monitor setups now have similar nwp shortcuts as doubles:
q series is quarter sized up to five (which is configurable and centrally placed);
q6 and q7 set the active window to left and right halves of the screen respectively
q8 and q9 are top and bottom. q10 is full/maximized (as is mx).
Code:
q1 q2 q8
q5 q6 q7
q3 q4 q9
some deps, recs, and links:
pcp requires puppy control panel:http://www.murga-linux.com/puppy/viewtopic.php?t=61961
tas requires take a shot: http://murga-linux.com/puppy/viewtopic.php?t=84528
f requires find and run: http://www.murga-linux.com/puppy/viewtopic.php?p=835582835582
xpc and xpb require xpad
[tas and find and run are now built ins-for original tas icon install the pet. some alternate icons in nwp/icons, nwp/keys, and nwp/root3/icons]
some other included shortcuts:
xpc -- xpad clear
xpb -- xpad back up
[these have been neglected because i mostly use "lpx" in place of xpad and sync the notes folder to my dropbox account--been meaning to switch copy out for rsync (but i still haven't read up on rsync beyond tales of its superiority]
cnt -- spit out the code in those echo sections from the script above that allows you to create files with predetermined content (cnt--content)
c- -- a comment line that looks like this: #------------------
tas -- SFR's take a shot
pcp -- radky's puppy control panel
ww -- MochiMoppel's WinSwitcher
v -- vtg
---------
(another batch from recent update:)
roks -- open k1-10 in geany for editing (they're rox bookmark files, but will open regular files with default handler in addition to directories with rox)
geak - open all the word processor templates in geany
duals -- open a folder containing a group of dual launchers (text editors and browsers) for use with the nooby word processor
paw -- page break above, white text
pbw -- page break below, white text
l- open launcher customized for leafpad
r- open launcher customized for rox
g- open launcher customized for geany
---------
another batch from recent update:
rad -- rox, starting level is /root/my-documents
rab -- rox, starting level is /root/my-applications/bin
gad -- geany, starting level is /root/my-documents
gab -- geany, starting level is /root/my-applications/bin
lad -- leafpad, starting level is /root/my-documents
lab -- leafpad, starting level is /root/my-applications/bin
chab -- chmod 755 (allow script to run) prefix, starting level is /root/my-applications/bin
atdesk --make a desktop template
jp -- open jwmrc-personal with geany
(a new gynysys based on the move of many files out of root and root/my-applications/bin and into /nwp. will open a duplicate for you to modify)
hi - hard info
mr - sfr's multi rename
ppm --so you can call the ppm from the nwp launcher without having to go to findnrun or a terminal or backspace or ctrl-a over the text (/nwp/)
v - the vtg (also working well in quirky)
m - pmount and partview
veg - same a alt+g -- vgt, nwp and puup help
gi - new instance of geany
cursor at right versions of launcher
p -- main nwp launcher
ch - permissions launcher
gl - geany launcher (also -g)
ll - leafpad launcher (also -l)
rl - rox launcher (also -r)
highlighted entry versions:
r- rox launcher
g- geany launcher
ch- change permissions launcher
l- leafpad launcher
f1-f36 --type those function keys
(one of my machines is without) Crying or Very sad(though 1600 virtual key keypad(s) make up for it--not every program will accept all it has to offer, but you can try F36 plus up to four modifiers (k launcher, acswf36 (alt, control, shift, windows key--that's the pattern. from one to four modifiers in alphabetical order for alphanumeric characters and function keys to F36--rename the call codes whatever you like. single digit codes all unused though i've been finding sometimes too cryptic's not much of a help (but the k2 launcher gives you 600 by number--iirc, just the function and numbers starting with the former with four modifiers? (i prefer the other version, but the easiest way to set keycuts for programs may be through a menu you generate for the purpose))))).
elp - help opened up in leafpad (mostly paste and paste cheats until you modify them)
tem - ae templates menu
*********************
AEMENU KEYCUTS:
what it is -- what to enter into the p,wn launcher:
nwp and submenus -- n
word processor without supplemental menus -- n1
paste and place formatting codes only -- n2
highlight and select formatting codes only -- n3
supplemental -- s
single monitors -- 1
double monitors -- 2
aef -- aemenu containing (nearly?) all the aemenus
pw,n launchers for nwp -- pwns
grids (x and y by 100 pixel increments) -- g
extra windows manipulation menu -- o
points on axis y -- y
points on axis x -- x
width by fives -- w
height by fives -- h
templates and dual launchers -- tem
aemenu dual launchers -- dual
aemenu window size and placement -- w1
(new one, "elp," pops up a leafpad document with what's between the asterisk trains. modify to taste)
*********************


new additions:

gg and the key launchers [documentation pending]

http://www.murga-linux.com/puppy/viewtopic.php?p=895274#895274
main key launcher -- k
key launcher for 669 version -- k2 (as separate launcher)
key launcher without sweep right-- k-
key launcher, change permissions of mini script (key, key sequence, etc)-- kch
open key folder -- kir
key launcher, mod keys in geany -- kg
key launcher, mod keys in geany, new instance -- kgi
key launcher, mod keys (rename, save as, repeat, etc) in leafpad -- kl
key launcher, return to main launcher -- p
gg -- aemenu popup for custom geany items (vtg, keys, menu entries--use as a template to put other programs' shortcuts in easier reach and/or a custom arrangement.
pwns -- aemenu of all the launchers
aef -- all the aemenus as an aemenu popup


_______

vtg5 opens up an expanded version of "elp" in geany.


***

mae -- configuration menu (ae menu also containing port, store, install scripts for use with NWPDE i.e. the insta-configure setup in /nwp/c)
ams1-3 -- toggle in the three alternate menu sets (for new installs, as of version 1.9 you needn't use any of the my series quickswitches to use this or the other toggle functions (with the exception of the six keyboard configuration switches (kb1on-kb6on---also on the ae and jwm menus in less cryptic form (jwm version of the mae menu you find starting in 1.9 is on the root four and five (up and down, alt+four and +five) menus and the shutdown+ menu on the left click (root1, alt+1) menu.)
my1-4 -- keyboard centric configuration toggle
my1r-my42 -- reverse those configurations. pattern is the same for the my30-my49 quickswitches.
avtray and dvtray 1 and the rest of the menu and tray swapping commands were originally for the menus and so may not be worded/shortened for nwp launcher use, but looking at the rest of that menu making menu (what mae originally was, although first called maekr (still there as a copy you can mod) and aei (also still there--you can mod that for your five custom jobbies in nwp/root3. they in turn can be your default swap-ins when and if you decide you take your current/future-current setup with you.
when i make 1.9 official (it's in the repo but i haven't announced in a murga-linux thread) i'll likely first clean away all from the following that isn't a launch code, but you can always check out what code launches a menu item using the same method as for editing. unfortunately for ae menus, it's usually a two step ll since the first one will only show you the name of the file it's reading--this second one is the one you need to actually look at. for menu making items, tray items, etc, for now see here (or ll > maek in the launcher, maek being the file mae reads): http://www.murga-linux.com/puppy/viewtopic.php?p=905121#905121


ilkon -- open up desktop template, leafpad
igkon -- open up desktop template, geany

from the notes file in the recs section:

Kind of related to the following idea of nwp as remaster-tool, you could use it as a sort of bootleg zero-install method. For example, i have a number of programs and scripts (01micko's get_libre office utility, MochiMoppel's SpeedDials and Winswitcher (ww), SFR and Step's FindnRun(f), etc) that aren't installed, but get called as if they are through the launcher that pretends the nwp is part of the executables' path/PATH. You can do it with scripts by renaming them and moving them into the nwp (get_libreoffice becomes getlibre in the launcher, speed dials is sd or sdr, if you just want the recents to pop up), and many pets are amenable to the same with one or two extra steps (uncompress the folder, find the script that the pet is a wrapper for, then move it and/or rename it). Of course, some things are just easier left as pets (but you may know how to make a jwm theme but not know how to make a pet of it--easier just to copy it over to its correct location perhaps).

bonus on the bootleg0: the which command will give you the location of the scripts powering most pets you and other developers have installed (it doesn't distinguish between builtins and addins). you could then just up arrow that in the terminal, prepend with "geany" or "leafpad" and a space, hit enter, then save the thing that pops up as a nwp/pwn shortcut (i.e. give it a short, easy to remember (and associate with its intended function) name and save it in the /nwp folder so the shift plus spacebar launcher can launch it. rename the keys in a similar (though easier) way: kl (or kg) in the main launcher followed by the keycode/key call--then rename the script or a copy of it).

here's that menu with a little substitution so it more resembles the rest of the list on these pages (less codey and saves you a click):

menu "menu maker
aemenu launcher template -- ael
aemenu--given program -- aeae
aemenu--given title -- aeae2
aemenu template -- aeaem
jwm --given program -- jwmkr
jwm --given label -- jwmmkr
jwm menu template -- jwmm
jwm includes template -- jwmi
[these follow the same pattern as the highlight and click to apply formatting codes in the n,n1, and n2 ae menus]
grab exec commands --leafpad -- e4ml
grab exec commands --geany -- e4m
end

menu "Select Custom Keyboard Configuration
keycentric configs:" "
keyboard-1 (my1) -- my1
keyboard-2 (my2) -- my2
keyboard-3 (my3) -- my3
keyboard-4 (my4) -- my4

reverse keycentric configs:" "
reverse my1 (my1) -- my1r
reverse my2 (my2r) -- my2r
reverse my3 (my3r) -- my3r
reverse my4 (my4r) -- my4r
edit quickswitches (40 series and KB) -- edit4i



these could be made into two separate scripts for launcher (rather than menu/launcher-to-menu) activation:

menu "edit the 6 key configs:
edit keys: geany" "geany /nwp/root3/9menusblanks/keys0 /nwp/root3/9menusblanks/keys1 /nwp/root3/9/keys0 /nwp/root3/9/keys1 /nwp/root3/10/keys0 /nwp/root3/10/keys1
edit keys: geany -i" "geany -i /nwp/root3/9menusblanks/keys0 /nwp/root3/9menusblanks/keys1 /nwp/root3/9/keys0 /nwp/root3/9/keys1 /nwp/root3/10/keys0 /nwp/root3/10/keys1

[geany -i means a new instance (window)--it's easier to copy and paste between menu sets that way. another, somewhat related tip: if you drag file contents to a tab it will open--together with select to copy and middle click to paste, menu making is more like finger painting than coding (not that i really know how to do the latter). three sets of nine seemed like too many slots for individual leafpad entries (just use rl > root3 and open the files individual if that's what you want), and scrolling from the first to (a version of?) the thirtieth seemed like a stretch without the new window, but you could also open the lot in the same/current geany.]

Choose Alternate Key Configuration (my1-4 series only):"
(the 4 can swap 6)" "
KB1 -- kb1on
KB2 -- kb2on
KB3 -- kb3on
(these are the swap on keyboard configs mentioned earlier)
KB4 -- kb4on
KB5 -- kb5on
KB6 -- kb6on


menu "Swap Menu Sets
edit menu set 1 -- ems1
edit menu set 2 -- ems2
edit menu set 3 -- ems3
activate menu set 1 -- ams1
activate menu set 2 -- ams2
activate menu set 3 -- ams3
edit menu set 1i -- ems1i
edit menu set 2i -- ems2i
edit menu set 3i -- ems3i
(edit items from this menu is what i had in mind with the earlier comment regarding geany and the keyboard configs)

menu "edit configs and helpers
edit/open configuration files --jwm -- gea3i
edit my40 series config switches -- edit4i
edit quickswitches (30 series) -- edit3i
edit main jwm configs -- joopi
edit main jwm system configs -- jpe
edit panels incoming -- edpanc
edit panels current -- edpan
edit pinboards incoming -- edpinc
edit panels current -- edpin
edit panels incoming--new instance -- edpanic
edit panels current--new instance -- edpani
edit pinboards incoming--new instance -- edpinic
edit panels current--new instance -- edpini
edit word processing templates -- geak
edit rox shortcuts -- roks
edit autotext shortcuts -- ate
edit this menu--geany" "geany jwmim
fixmenus; jwm -restart -- fixu
swap to tray syntax for older jwm setups -- jio
swap to tray syntax for newer jwm setups -- jin
edit this menu--leafpad" "leafpad /nwp/jwmim
edit my40 series config switches -- edit4i
edit my30 series config switches -- edit3i
end


menu "tray toggles

move over the stock tray a pixel (better mouse menu access) -- xover1
undo the pixel move -- undoxover1
toggle off stock tray -- puptrayoff
toggle on stock tray -- puptrayon
SEND" "fixmenus; jwm -restart ---this one exists as "fixu"


menu "deactivate vertical trays (odd #s are set to left by default)
deactivate vertical tray12 -- dvtray12
deactivate vertical tray11 -- dvtray11
deactivate vertical tray10 -- dvtray10
deactivate vertical tray9 -- dvtray9
deactivate vertical tray8 -- dvtray8
deactivate vertical tray7 -- dvtray7
deactivate vertical tray6 -- dvtray6
deactivate vertical tray5 -- dvtray5
deactivate vertical tray4 -- dvtray4
deactivate vertical tray3 -- dvtray3
deactivate vertical tray2 -- dvtray2
deactivate vertical tray1 -- dvtray1
end

menu "deactivate top and bottom trays
deactivate top tray6 -- dtop6
deactivate top tray5 -- dtop5
deactivate top tray4 -- dtop4
deactivate top tray3 -- dtop3
deactivate top tray2 -- dtop2
deactivate top tray1 -- dtop1
deactivate bottom tray6 -- dbot6
deactivate bottom tray5 -- dbot5
deactivate bottom tray4 -- dbot4
deactivate bottom tray3 -- dbot3
deactivate bottom tray2 -- dbot2
deactivate bottom tray1 -- dbot1


menu "activate top and bottom trays
activate top tray6 -- atop6
activate top tray5 -- atop5
activate top tray4 -- atop4
activate top tray3 -- atop3
activate top tray2 -- atop2
activate top tray1 -- atop1
activate bottom tray6 -- abot6
activate bottom tray5 -- abot5
activate bottom tray4 -- abot4
activate bottom tray3 -- abot3
activate bottom tray2 -- abot2
activate bottom tray1 -- abot1
end

menu "activate vertical trays (odd #s are set to left by default)
activate vertical tray12 -- avtray12
activate vertical tray11 -- avtray11
activate vertical tray10 -- avtray10
activate vertical tray9 -- avtray9
activate vertical tray8 -- avtray8
activate vertical tray7 -- avtray7
activate vertical tray6 -- avtray6
activate vertical tray5 -- avtray5
activate vertical tray4 -- avtray4
activate vertical tray3 -- avtray3
activate vertical tray2 -- avtray2
activate vertical tray1 -- avtray1
end
end



Install/configure/store/port (entries with > need two commands):
edit the jwm version of this menu -- [gl (or ll)] > jwmim
edit the ae version of this menu -- [gl (or ll)] > aeim
edit 30 series -- edit3i
edit 40 series -- edit4i
back up current/original configuration files -- bk
restore original/previous configuration files -- rbk
port configuration files from /nwp/c -- port
store configuration files in /nwp/c -- store
edit recs, port, store -- editport
end

[my30-49, my30r-my49r were here]

edit quickswitches (30 series and KB) -- edit3i
fixmenus; jwm -restart -- fixu
edit quickswitches (40 series and KB) -- edit4i

menu "shutdown2
menu "window button issue
no buttons (possible bugfix) -- nobut
standard -- standbut
line buttons -- linebut
square buttons -- sqbut

winswitcher -- ww
recents -- sdr
rox recents -- rr



_____________

wiz -- run the wizard wizard
pcp -- (same as wiz but with pupcontrol commented out. ll > pcp > switch position of pound sign if you've installed pup control (panel? popup? not sure where i got that last p from. name change with version 2.8?) and want a separate launcher cut for it)

lpx -- ae menu that uses (mostly) leafpad as a notetaker

t2x -- print out text2xpm code template
t2x2 -- same as above plus template for a .desktop file (presumably to match up a program with the icon you just made)
jin -- trayfix-new
jio -- trayfix-old
aekill (or killae)--solve an issue reported by musher0 (who introduced me to aemenu and how to use its syntax--thanks, musher). apparently too many launched in succession can cause it to hang or not close menus it otherwise should have--this will allow it to continue as normal (once i remember seeing lxtask showing some hanging menus, but the few didn't affect much. this was on a random check of what was going on with the system (i get a kick out of htop and lxtask). another time it did, or i think it did--there were quite a few and i think i noticed some sluggishness and checked for an actual reason. or at least that's the reason there's now an aekill/killae.




it's worded as if for a fresh install--these spins are centered around the thing, but if you want to take these functions with you, that part of it is being developed here.


edit: here's 1.9.1: http://www.murga-linux.com/puppy/viewtopic.php?p=906421#906421
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Thu 30 Jun 2016, 08:44    Post subject: an update to nwp 192, which i forgot to link and so this is
Subject description: the thread that gets the big post version of this thing.
 

Puppus Dogfellow wrote:
Puppus Dogfellow wrote:
from installation of p5(jaewm)/u6(jaewm)/x7/nwp32/nwp-64

Quote:

jaewms are updates to ~572.14 (making it p5--next version is 5p) and p6 (making it 6p--next version will be 6u (lamely sticking to p5/6 simply because of the following wallpaper):




eventually x7 will become 7x as a spin of xenialpup, but both the sfs and pet should work okay in all 5-8 series pups using jwm and rox except the newest slackos, which have been updated twice since 6.3.0 and possibly prove this assertion wrong. anyway, the pet doesn't affect jwm unless you activate it, which can be done in a number of ways, the easiest being entering /nwp/my1 (keycentric base config) or /nwp/my30 (regular default) into a terminal. you can see the jaewm documentation in /nwp/c/installation-retro for more on how they differ. the same folder also has clickable installation options--you can preconfigure which trays show rather than use mae (entered in the shift plus spacebar launcher) or the root4 menu (alt plus 4 and 5, scroll up and down) to do it after the initial set of jwm config changes are in place. being updates, the jaewms don't install the dependencies (aemenu, xdotool, wmctrl)--the spins have it already, plus they've got the pets for transfer to either 64 or 32 bit in nwp/c. if you don't want to see the pet installed already error message, you can use that version to update an existing nwp installation. nwp32/64 contain just the dependencies and the nwp itself. installation is the same as with x7--either go to /nwp/c and pick and choose or enter /nwp/my1(-my4) or /nwp/my30(-my49) into a terminal and wait for fixmenus and jwm -restart to run after the backup and swap are made.




p5-jaewm.pet
p5-jaewm.sfs
u6-jaewm.pet
u6-jaewm.sfs
x7.sfs
x7.pet
nwp-64.pet
nwp32.pet
nwp-64.sfs
nwp32.sfs

x7:


aemenu-1.2.12.pet
antiword_0.37-8.pet
brother_mfc685cw-1.0.pet
CamPhoneTab_Hotplug-1.0.pet
catdoc-0.94.2-i486.pet
copy-fast-2.4.pet
Desktop-Global-Theme-Profile-1.7.2.pet
desktopiconarrangement-1.8.2.pet
desktoplaunchericonmaker-1.0.pet
dillo-3.0.5-i486-wary5.pet
duplipets-1.2.pet
easylauncher-2.0.pet
easypackage-0.1.pet
ExifTool-8.66.pet
findnrun-1.9.1.pet
fixup_util-linux-0.1.pet
flashplayer11-11.2.202.626.pet
geany-plugins-1.25-i686.pet
getflash-1.5-6.pet
get_java-1.0.pet
get_libreoffice-0.40.pet
gnewpet-6.5.pet
GTK_Theme_Maker-2.1.pet
img2pdf_tahrpup-1.1.pet
isomaster-1.3.7-i486.pet
javaif-20151214.pet
jwmthememaker-2.2.pet
libQt3Support.so.4.pet
libxapian22_1.2.8-1.pet
megatools-1.9.97.pet
multirename-1.7.pet
mupdf-1.4.pet
mydbox-1.2_noarch.pet
packit-1.14.pet
pArchive-2.1.pet
partview-2016.pet
pcmanfm-1.2.3.pet
peasyglue-1.9.pet
peasypdf-3.6.pet
peasyscale-1.9.pet
peasyscan-2.9.pet
peasyscan_pdf_plugin-1.3.pet
peekapet-1.3.pet
Pet_Maker-2.3.pet
pets2sfsgui-1.4.pet
pGtk-theme-refresh-1.1.pet
pic2txt-1.3.pet
picframemaker-2.0.pet
PupClockset-2.4.2.pet
PupControl-2.8.pet
PuppyTerrier-02c_BIL.pet
qt4-4.3.2.pet
quickpet_precise-2.pet
recoll-1.13.02.pet
Right-click-6.9.8.pet
roxterm_1.22.2-1.pet
sakura-2.3.8.pet
sfs2pet-20121001.pet
sfs-compatibility-01.pet
sfsinstaller-1.3.pet
sfs_version_converter-1.4-1.pet
SimplePythonHTTPServer-1.0.pet
simpson-1.3.pet
slocate-3.1-i486-4.pet
spacefm_0.9.4-0_20141009_DOC.pet
spacefm_0.9.4-0_20141009.pet
storymaker-1.4.pet
tesseract-3.00-i486.pet
tesseract_eng-3.00.pet
treesize-0.54.1.pet
uextract-3.23.pet
UnPet-0.6.pet
unrtf_0.19.3-1.1.pet
util-linux-2.21.2-i686_xen701.pet
verysmallfileeditor-1.0.pet
wmctrl-1.07-6_i386.pet
woofy-0.91.pet
xapian-core-1.0.18.pet
xdotool-2.20110530.1-3.pet
Xournal_Puppy-0.4.8.pet
youtubedl-gui-0.1.pet


u6:

CamPhoneTab_Hotplug-1.0.pet
Desktop-Global-Theme-Profile-1.7.2.pet
desktopiconarrangement-1.8.2.pet
desktoplaunchericonmaker-1.0.pet
dillo-3.0.5-precise.pet
duplipets-1.2.pet
easylauncher-2.0.pet
easypackage-0.1.pet
flashplayer11-11.2.202.626.pet
focuswriter-1.5.5-i686.pet
geany-1.25-i686.pet
geany_DOC-1.25-i686.pet
gnewpet-6.5.pet
GTK_Theme_Maker-2.1.pet
img2pdf_tahrpup-1.1.pet
isomaster-1.3.7-i486.pet
jwmthememaker-2.2.pet
multirename-1.7.pet
mupdf-1.4.pet
openssl-1.0.2g-w5-i486.pet
packit-1.14.pet
pArchive-2.1.pet
partview-2016.pet
pcmanfm-1.2.3.pet
peasyglue-1.9.pet
peasypdf-3.6.pet
peasyscale-1.9.pet
peasyscan-2.9.pet
peasyscan_pdf_plugin-1.3.pet
peekapet-1.3.pet
Pet_Maker-2.3.pet
pets2sfsgui-1.4.pet
pGtk-theme-refresh-1.1.pet
pic2txt-1.3.pet
picframemaker-2.0.pet
PupClockset-2.4.2.pet
PupControl-2.8.pet
python-2.7.pet
quickpet_precise-2.pet
roxterm_1.22.2-1.pet
sakura-2.3.8.pet
sfs-compatibility-01.pet
sfsinstaller-1.3.pet
sfs_version_converter-1.4-1.pet
simpson-1.3.pet
storymaker-1.4.pet
tesseract-3.00-i486.pet
tesseract_eng-3.00.pet
tree-1.6.0-i486-1.txz
treesize-0.54.1.pet
uextract-3.23.pet
UnPet-0.6.pet
urxvt-9.21_man.pet
urxvt-9.21_PrecisePup-5.4.3.pet
UrxvtControl-1.1.pet
Xournal_Puppy-0.4.8.pet
yad_0.33.1-slk56.pet
youtubedl-gui-0.1.pet


p5:

CamPhoneTab_Hotplug-1.0.pet
Desktop-Global-Theme-Profile-1.7.2.pet
desktopiconarrangement-1.8.2.pet
desktoplaunchericonmaker-1.0.pet
dillo-3.0.5-precise.pet
duplipets-1.2.pet
easylauncher-2.0.pet
easypackage-0.1.pet
flashplayer11-11.2.202.626.pet
focuswriter-1.5.5-i686.pet
geany-1.25-i686.pet
geany_DOC-1.25-i686.pet
gnewpet-6.5.pet
GTK_Theme_Maker-2.1.pet
img2pdf_tahrpup-1.1.pet
isomaster-1.3.7-i486.pet
jwmthememaker-2.2.pet
multirename-1.7.pet
mupdf-1.4.pet
openssl-1.0.2g-w5-i486.pet
packit-1.14.pet
pArchive-2.1.pet
partview-2016.pet
pcmanfm-1.2.3.pet
peasyglue-1.9.pet
peasypdf-3.6.pet
peasyscale-1.9.pet
peasyscan-2.9.pet
peasyscan_pdf_plugin-1.3.pet
peekapet-1.3.pet
Pet_Maker-2.3.pet
pets2sfsgui-1.4.pet
pGtk-theme-refresh-1.1.pet
pic2txt-1.3.pet
picframemaker-2.0.pet
PupClockset-2.4.2.pet
PupControl-2.8.pet
python-2.7.pet
quickpet_precise-2.pet
roxterm_1.22.2-1.pet
sakura-2.3.8.pet
sfs-compatibility-01.pet
sfsinstaller-1.3.pet
sfs_version_converter-1.4-1.pet
simpson-1.3.pet
storymaker-1.4.pet
tesseract-3.00-i486.pet
tesseract_eng-3.00.pet
tree-1.6.0-i486-1.txz
treesize-0.54.1.pet
uextract-3.23.pet
UnPet-0.6.pet
urxvt-9.21_man.pet
urxvt-9.21_PrecisePup-5.4.3.pet
UrxvtControl-1.1.pet
Xournal_Puppy-0.4.8.pet
yad_0.33.1-slk56.pet
youtubedl-gui-0.1.pet

common but unlisted:

treesize, megasync, dropbox,

_________

to enable the custom geany menu (ae menu gg in the launcher, root 2,9,0 menus) on your system, enter /nwp/c/geanytweak into a terminal or go to /nwp/c/ and click the geanytweak script.


i recommend the pets in general, the SFSes for testing.


p.dogfellow, 6/30/16


______

more dopiness:





_____________

known bugs: xenial won't let go of the blue active window title bars and xcalc crashes it (so don't use it unless you want to shut down). there's supposedly a fix (see xenial folder in puppy isos) for the broken mounted drive icons, but i haven't tried it yet--so already a pet or two i've left out and the upgrade path for x7 presents itself. the rox tweaks (letter shortcuts, etc) and jwm/gtk theme upgrades (to "official pux specs"...) don't have a nwp shortcut as yet--go to nwp/c to click the activation scripts (in the process of being phased out).


/nwp/mae in a terminal will also get you the installation menu after the pet or sfs is installed.



---------------
documentation updates:

Jaewm!-.1.ncd
launcher shortcuts
nwp keyboard shortcuts (jwm)

approximatic for most 32 bit pups:

x7 sfs
x7 pet
upgrade p6 to 6p:
u6 sfs
u6 pet
upgrade ~572.14 to p5:
p5 sfs
p5 pet
(sfs was mostly used to make the pet--it won't overwrite/update on an existing install in either the precise or the unicorn spin (or most any other existing installation of the jaewmie).

no helper pets, just the nwp folder, aemenu, xdotool, the pexec based launchers, and wmctrl:

nwp64 pet
nwp 64 sfs
nwp32 pet
nwp32 sfs


update fixes some documentation and (this time-- accidentally left it out of the earlier one/the one four in the vtg thread...) has the geany and geany plug-in update for ~...14.

Corvus' geany 125 pet and plugins separate from the p5 and x7 packages.

pets will update existing setups, the sfs won't unless you remove or rename your old nwp (you may want to rename it before the pet installation since merging of the contents may overwrite any customizing you've done).


from http://www.murga-linux.com/puppy/viewtopic.php?p=910183#910183, which also has onsite documentation for the included keyboard shortcuts.


____

big post as in less clicking cos it contains--i need some sleep. 'fore i go, here are the two versions of the included default keycuts:
Quote:

built in keyboard shortcuts (default version. many call nwp/pwn scripts or aemenus. see the pwn launcher shortcut list above or forthcoming keycentric version (better comments) to decode. a, b, and q are positionals/window-resizers, and alt+# no longer takes you to a specific desktop (d# does, the function keys (keycentric only) do, but all 24 are accessible from each of the ten menus (desktops slot)...another help file built from a menu by substituting in geany...(pardon its being a bit backwards).


modifier(s)=Alt KEY=z -- xdotool key alt+1 Return
modifier(s)=Alt KEY=g -- /nwp/vtg5
modifier(s)=Alt+Shift KEY=g -- /nwp/g
key=Up -- up
key=Down -- down
key=Right -- right
key=Left -- left
key=h -- left
key=j -- down
key=k -- up
key=l -- right
key=Return -- select
key=Escape -- escape
key=F12 -- root:3

modifier(s)=Control KEY=Tab -- prev
modifier(s)=Alt KEY=Tab -- next
modifier(s)=Alt KEY=F4 -- close

modifier(s)=Alt KEY=F1 -- root:3
modifier(s)=Alt KEY=F2 -- window
modifier(s)=Alt KEY=F3 -- exec/nwp/n

modifier(s)=Shift KEY=F2 -- /nwp/ww
modifier(s)=Shift KEY=F1 -- /nwp/v
modifier(s)=Shift KEY=F3 -- /nwp/g

modifier(s)=Shift KEY=F4 -- /nwp/sd
modifier(s)=Control KEY=F12 -- /nwp/n2</Key
modifier(s)=Control KEY=F11 -- /nwp/n1
modifier(s)=Control KEY=F10 -- /nwp/q10
modifier(s)=Control KEY=F9 -- /nwp/q9</Key
modifier(s)=Control KEY=F8 -- /nwp/q8
modifier(s)=Control KEY=F7 -- /nwp/q7
modifier(s)=Control KEY=F6 -- /nwp/q6</Key
modifier(s)=Control KEY=F5 -- /nwp/q5
modifier(s)=Control KEY=F4 -- /nwp/q4
modifier(s)=Control KEY=F3 -- /nwp/q3</Key
modifier(s)=Control KEY=F2 -- /nwp/q2
modifier(s)=Control KEY=F1 -- /nwp/q1



modifier(s)=Alt KEY=Escape -- fullscreen
modifier(s)=Control KEY=Escape -- showdesktop
modifier(s)=Shift KEY=Escape -- window
modifier(s)=Alt+Control KEY=Escape -- move
modifier(s)=Alt+Shift KEY=Escape -- minimize
modifier(s)=ControlS KEY=Escape -- maximize
modifier(s)=Shift+Alt+Control KEY=Escape -- resize



keycode=160 -- amixer sset Master toggle
keycode=176 -- amixer sset Master 1+,1+
keycode=174 -- amixer sset Master 1-,1-
keycode=178 -- defaultbrowser
keycode=236 -- defaultbrowser
keycode=111 -- defaultscreenshot



modifier(s)=Alt KEY=Up -- /nwp/supup
modifier(s)=Alt KEY=Down -- /nwp/supdown
modifier(s)=Alt KEY=Right -- /nwp/supright
modifier(s)=Alt KEY=Left -- /nwp/supleft


modifier(s)=Alt+Control KEY=Up -- maximize
modifier(s)=Alt+Control KEY=Down -- minimize
modifier(s)=Alt+Control KEY=Right -- resize
modifier(s)=Alt+Control KEY=Left -- move

modifier(s)=Alt+Shift KEY=Up -- fullscreen
modifier(s)=Alt+Shift KEY=Down -- showdesktop
modifier(s)=Alt+Shift KEY=Right -- next
modifier(s)=Alt+Shift KEY=Left -- prev


modifier(s)=Shift+Alt+Control KEY=Up -- /nwp/2
modifier(s)=Shift+Alt+Control KEY=Down -- /nwp/n
modifier(s)=Shift+Alt+Control KEY=Right -- /nwp/g
modifier(s)=Shift+Alt+Control KEY=Left -- /nwp/s


modifier(s)=Alt KEY=1 -- root:1
modifier(s)=Alt KEY=2 -- root:2
modifier(s)=Alt KEY=3 -- root:3
modifier(s)=Alt KEY=4 -- root:4
modifier(s)=Alt KEY=5 -- root:5
modifier(s)=Alt KEY=6 -- root:6
modifier(s)=Alt KEY=7 -- root:7
modifier(s)=Alt KEY=8 -- root:8
modifier(s)=Alt KEY=9 -- root:9
modifier(s)=Alt KEY=0 -- root:0

modifier(s)=Alt+Control KEY=1 -- /nwp/a1
modifier(s)=Alt+Control KEY=2 -- /nwp/a2
modifier(s)=Alt+Control KEY=3 -- /nwp/a3
modifier(s)=Alt+Control KEY=4 -- /nwp/a4
modifier(s)=Alt+Control KEY=5 -- /nwp/a5
modifier(s)=Alt+Control KEY=6 -- /nwp/a6
modifier(s)=Alt+Control KEY=7 -- /nwp/a7
modifier(s)=Alt+Control KEY=8 -- /nwp/a8
modifier(s)=Alt+Control KEY=9 -- /nwp/a9
modifier(s)=Alt+Control KEY=0 -- /nwp/a10

modifier(s)=Alt+Shift KEY=1 -- /nwp/b1
modifier(s)=Alt+Shift KEY=2 -- /nwp/b2
modifier(s)=Alt+Shift KEY=3 -- /nwp/b3
modifier(s)=Alt+Shift KEY=4 -- /nwp/b4
modifier(s)=Alt+Shift KEY=5 -- /nwp/b5
modifier(s)=Alt+Shift KEY=6 -- /nwp/b6
modifier(s)=Alt+Shift KEY=7 -- /nwp/b7
modifier(s)=Alt+Shift KEY=8 -- /nwp/b8
modifier(s)=Alt+Shift KEY=9 -- /nwp/b9
modifier(s)=Alt+Shift KEY=0 -- /nwp/b10

<!-- modifier(s)=Shift+Control KEY=2 -- vgt -->

modifier(s)=Shift+Control KEY=1 -- /nwp/winswitcher

modifier(s)=Shift+Control KEY=2 -- xdotool key ctrl+9 ctrl+8 Return ctrl+7

modifier(s)=Shift+Control KEY=3 -- /nwp/3but
modifier(s)=Shift+Control KEY=4 -- window
modifier(s)=Shift+Control KEY=5 -- move
modifier(s)=Shift+Control KEY=6 -- resize
modifier(s)=Shift+Control KEY=7 -- minimize
modifier(s)=Shift+Control KEY=8 -- maximize
modifier(s)=Shift+Control KEY=9 -- prev
modifier(s)=Shift+Control KEY=0 -- next


modifier(s)=Shift+Alt+Control KEY=1 -- ldesktop
modifier(s)=Shift+Alt+Control KEY=2 -- rdesktop
modifier(s)=Shift+Alt+Control KEY=3 -- udesktop
modifier(s)=Shift+Alt+Control KEY=4 -- ddesktop
modifier(s)=Shift+Alt+Control KEY=5 -- prevstacked
modifier(s)=Shift+Alt+Control KEY=6 -- nextstacked
modifier(s)=Shift+Alt+Control KEY=7 -- shade
modifier(s)=Shift+Alt+Control KEY=8 -- showdesktop
modifier(s)=Shift+Alt+Control KEY=9 -- fullscreen
modifier(s)=Shift+Alt+Control KEY=0 -- /nwp/k



key=h -- left
key=j -- down
key=k -- up
key=l -- right

modifier(s)=Alt+Control KEY=h -- /nwp/rungn
modifier(s)=Alt+Control KEY=j -- /nwp/rungo
modifier(s)=Alt+Control KEY=k -- /nwp/rungt
modifier(s)=Alt+Control KEY=l -- /nwp/lpx

modifier(s)=Alt KEY=h -- /nwp/k
modifier(s)=Alt KEY=j -- /nwp/rl
modifier(s)=Alt KEY=k -- /nwp/gl
modifier(s)=Alt KEY=l -- /nwp/ll

(these are the virtual keypad, rox, geany, and leafpad launchers)

modifier(s)=Shift+Alt KEY=h -- ccdi
modifier(s)=Shift+Alt KEY=j -- close
modifier(s)=Shift+Alt KEY=k -- kill
modifier(s)=Shift+Alt KEY=l -- cadi

<!-- mnemonic is "ask to kill"--these are shutdown scripts on the right side home row. shift plus control below are layer and stickiness.-->

modifier(s)=Shift+Alt+Control KEY=h -- move
modifier(s)=Shift+Alt+Control KEY=j -- resize
modifier(s)=Shift+Alt+Control KEY=k -- prevstacked
modifier(s)=Shift+Alt+Control KEY=l -- nextstacked
<!-- also on the arrow keys-->
<!-- layer above, middle, below:-->
modifier(s)=Shift+Control KEY=h -- laa
modifier(s)=Shift+Control KEY=j -- lma
modifier(s)=Shift+Control KEY=k -- lba
modifier(s)=Shift+Control KEY=l -- wmctrl -r :ACTIVE: -b add,sticky



modifier(s)=Alt KEY=space -- rox
modifier(s)=Control KEY=space -- /nwp/winswitcher
modifier(s)=Shift KEY=space -- /nwp/p
(^main launcher^)

modifier(s)=Control+Alt KEY=space -- /nwp/rr
(^rox recents--will likely need adjusting depending on the spin/your menu2 file^)
modifier(s)=Control+Space KEY=space -- /nwp/cr
modifier(s)=Alt+Shift KEY=space -- /nwp/n
modifier(s)=Control+Alt+Shift KEY=space -- /nwp/(blank)


-----------------------------------------
Quote:

-----------------------------------------

hopefully this is a little more readable a reference than the file from which it's taken:


keyboard shortcuts --keycentric version:

<!-- Key bindings -->

<!-- alt z is the vtg, alt g is the help files for the vtg and nwp, alt shift g is the grids pop up (aemenu set up to divide the screen into 100 pixel placement points)-->
Alt+ KEY=z -- exec:xdotool key alt+1 Down Return
Alt+ KEY=g -- exec:geany /nwp/vtg5
Alt+Shift+ KEY=g -- exec:/nwp/g

<!-- alt shift g is grid menu (move windows around the screen by 100 pixel increments), alt g opens vtg help files in geany, alt plus z is the vtg-->

KEY=Up -- up
KEY=Down -- down
KEY=Right -- right
KEY=Left -- left
KEY=h -- left
KEY=j -- down
KEY=k -- up
KEY=l -- right
KEY=Return -- select
KEY=Escape -- escape

Ctrl+ KEY=Tab -- prev
Alt+ KEY=Tab -- next

<!-- a, b, q do the following:



q series is quarter sized up to five (which is configurable and centrally placed);
q6 and q7 set the active window to left and right halves of the screen respectively
q8 and q9 are top and bottom. q10 is full/maximized (as is mx).
q1 q2 q8
q5 q6 q7
q3 q4 q9


-3--------------------------- 6
1 2----------------------- 8 9
-4 ----------------------------7

b5=full screen left, b10=full screen right. b series is halves and wholes.


1 2--------------6 7
--5----------------10
3 4--------------8 9

a# series is quadrants...

one of the most up to date versions of the cheat sheet available (to cross reference codes)

http://www.murga-linux.com/puppy/viewtopic.php?p=860701#860701

-->


Ctrl+ KEY=F12 -- exec:/nwp/n1
Ctrl+ KEY=F11 -- exec:/nwp/n
Ctrl+ KEY=F10 -- exec:/nwp/q10
Ctrl+ KEY=F9 -- exec:/nwp/q9</Key
Ctrl+ KEY=F8 -- exec:/nwp/q8
Ctrl+ KEY=F7 -- exec:/nwp/q7
Ctrl+ KEY=F6 -- exec:/nwp/q6</Key
Ctrl+ KEY=F5 -- exec:/nwp/q5
Ctrl+ KEY=F4 -- exec:/nwp/q4
Ctrl+ KEY=F3 -- exec:/nwp/q3</Key
Ctrl+ KEY=F2 -- exec:/nwp/q2
Ctrl+ KEY=F1 -- exec:/nwp/q1

Alt+Ctrl+ KEY=F12 -- exec:/nwp/n2</Key
Alt+Ctrl+ KEY=F11 -- exec:/nwp/n3
Alt+Ctrl+ KEY=F10 -- exec:/nwp/a10
Alt+Ctrl+ KEY=F9 -- exec:/nwp/a9</Key
Alt+Ctrl+ KEY=F8 -- exec:/nwp/a8
Alt+Ctrl+ KEY=F7 -- exec:/nwp/a7
Alt+Ctrl+ KEY=F6 -- exec:/nwp/a6</Key
Alt+Ctrl+ KEY=F5 -- exec:/nwp/a5
Alt+Ctrl+ KEY=F4 -- exec:/nwp/a4
Alt+Ctrl+ KEY=F3 -- exec:/nwp/a3</Key
Alt+Ctrl+ KEY=F2 -- exec:/nwp/a2
Alt+Ctrl+ KEY=F1 -- exec:/nwp/a1

Ctrl+Shift+ KEY=F12 -- exec:/nwp/tem</Key
Ctrl+Shift+ KEY=F11 -- exec:/nwp/s
Ctrl+Shift+ KEY=F10 -- exec:/nwp/b10
Ctrl+Shift+ KEY=F9 -- exec:/nwp/b9</Key
Ctrl+Shift+ KEY=F8 -- exec:/nwp/b8
Ctrl+Shift+ KEY=F7 -- exec:/nwp/b7
Ctrl+Shift+ KEY=F6 -- exec:/nwp/b6</Key
Ctrl+Shift+ KEY=F5 -- exec:/nwp/b5
Ctrl+Shift+ KEY=F4 -- exec:/nwp/b4
Ctrl+Shift+ KEY=F3 -- exec:/nwp/b3</Key
Ctrl+Shift+ KEY=F2 -- exec:/nwp/b2
Ctrl+Shift+ KEY=F1 -- exec:/nwp/b1

Shift+ KEY=F1 -- exec:/nwp/g
Shift+ KEY=F2 -- exec:/nwp/wm
Shift+ KEY=F3 -- exec:/nwp/o
Shift+ KEY=F4 -- window
Shift+ KEY=F5 -- move
Shift+ KEY=F6 -- resize
Shift+ KEY=F7 -- minimize
Shift+ KEY=F8 -- maximize
Shift+ KEY=F9 -- prev
Shift+ KEY=F10 -- next
Shift+ KEY=F11 -- exec:/nwp/ww
Shift+ KEY=F12 -- exec:/nwp/w1

Alt+Shift+ KEY=F1 -- ldesktop
Alt+Shift+ KEY=F2 -- rdesktop
Alt+Shift+ KEY=F3 -- udesktop
Alt+Shift+ KEY=F4 -- ddesktop
Alt+Shift+ KEY=F5 -- prevstacked
Alt+Shift+ KEY=F6 -- nextstacked
Alt+Shift+ KEY=F7 -- shade
Alt+Shift+ KEY=F8 -- showdesktop
Alt+Shift+ KEY=F9 -- fullscreen
Alt+Shift+ KEY=F10 -- exec:/nwp/pxc
Alt+Shift+ KEY=F11 -- exec:/nwp/gxc
Alt+Shift+ KEY=F12 -- exec:/nwp/p

<!-- alt plus f1 and f4 are built-ins. -->


Alt+ KEY=F1 -- root:3
Alt+ KEY=F2 -- window
Alt+ KEY=F3 -- /nwp/rr
Alt+ KEY=F4 -- close
Alt+ KEY=F5 -- /nwp/sd
Alt+ KEY=F6 -- /nwp/sdr
Alt+ KEY=F7 -- exec:/nwp/w
Alt+ KEY=F8 -- exec:/nwp/h
Alt+ KEY=F9 -- exec:/nwp/x
Alt+ KEY=F10 -- exec:/nwp/y
Alt+ KEY=F11 -- exec:/nwp/1
Alt+ KEY=F12 -- exec:/nwp/2
<!--
in dual monitor setups, the q series could be replaced or modified to give ten additional preset position/dimension commands to active windows or replaced with select select versions of a(1-10) and b(1-10) (called by as(1-10) and bs(1-10)). single monitor setups can get 20 additional custom positionals by editing the a and b series below* (enter ll in the main launcher, then enter the launch code to edit in leafpad. use gl to do the same in geany. the function keys below are for the 24 desktops. windows key sends you to the first 12 desktops, alt+windows key the next 12, control instead of alt for the send to version for 1-12, shift and windows key for desktops 13-24. personally, i think it's easier to use d# and s# in the launcher, but it's here for you to use or modify/reassign. there's no included select version for the quadrants and halves for single monitor setups, but
geany q1 q2 q3 q4 q5 q6 q7 q8 q9 q10
will open them up for editing. swap the :ACTIVE: for :SELECT: and rename to qs# if you want them. (next version will likely include them and a few other tweaks to the jwmrc-personal file.

*the a and b series have now also been moved to the function keys (they're easier to edit (q5 aside as it's the same syntax) than the q series--you'll just be filling out four fields, x,y,w,h) and can be found above. (i'll merely comment out their former location--you could pick which set up you like better).

-->


Winkey+ KEY=F12 -- exec:/nwp/d12
Winkey+ KEY=F11 -- exec:/nwp/d11
Winkey+ KEY=F10 -- exec:/nwp/d10
Winkey+ KEY=F9 -- exec:/nwp/d9
Winkey+ KEY=F8 -- exec:/nwp/d8
Winkey+ KEY=F7 -- exec:/nwp/d7
Winkey+ KEY=F6 -- exec:/nwp/d6
Winkey+ KEY=F5 -- exec:/nwp/d5
Winkey+ KEY=F4 -- exec:/nwp/d4
Winkey+ KEY=F3 -- exec:/nwp/d3
Winkey+ KEY=F2 -- exec:/nwp/d2
Winkey+ KEY=F1 -- exec:/nwp/d1


Winkey+Alt+ KEY=F12 -- exec:/nwp/d24
Winkey+Alt+ KEY=F11 -- exec:/nwp/d23
Winkey+Alt+ KEY=F10 -- exec:/nwp/d22
Winkey+Alt+ KEY=F9 -- exec:/nwp/d21
Winkey+Alt+ KEY=F8 -- exec:/nwp/d20
Winkey+Alt+ KEY=F7 -- exec:/nwp/d19
Winkey+Alt+ KEY=F6 -- exec:/nwp/d18
Winkey+Alt+ KEY=F5 -- exec:/nwp/d17
Winkey+Alt+ KEY=F4 -- exec:/nwp/d16
Winkey+Alt+ KEY=F3 -- exec:/nwp/d15
Winkey+Alt+ KEY=F2 -- exec:/nwp/d14
Winkey+Alt+ KEY=F1 -- exec:/nwp/d13
<!-- go to desktops 1-24-->


Ctrl+Winkey+ KEY=F12 -- exec:/nwp/s12
Ctrl+Winkey+ KEY=F11 -- exec:/nwp/s11
Ctrl+Winkey+ KEY=F10 -- exec:/nwp/s10
Ctrl+Winkey+ KEY=F9 -- exec:/nwp/s9
Ctrl+Winkey+ KEY=F8 -- exec:/nwp/s8
Ctrl+Winkey+ KEY=F7 -- exec:/nwp/s7
Ctrl+Winkey+ KEY=F6 -- exec:/nwp/s6
Ctrl+Winkey+ KEY=F5 -- exec:/nwp/s5
Ctrl+Winkey+ KEY=F4 -- exec:/nwp/s4
Ctrl+Winkey+ KEY=F3 -- exec:/nwp/s3
Ctrl+Winkey+ KEY=F2 -- exec:/nwp/s2
Ctrl+Winkey+ KEY=F1 -- exec:/nwp/s1



Shift+Winkey+ KEY=F12 -- exec:/nwp/s24</Key
Shift+Winkey+ KEY=F11 -- exec:/nwp/s23
Shift+Winkey+ KEY=F10 -- exec:/nwp/s22
Shift+Winkey+ KEY=F9 -- exec:/nwp/s21
Shift+Winkey+ KEY=F8 -- exec:/nwp/s20
Shift+Winkey+ KEY=F7 -- exec:/nwp/s19
Shift+Winkey+ KEY=F6 -- exec:/nwp/s18
Shift+Winkey+ KEY=F5 -- exec:/nwp/s17
Shift+Winkey+ KEY=F4 -- exec:/nwp/s16
Shift+Winkey+ KEY=F3 -- exec:/nwp/s15
Shift+Winkey+ KEY=F2 -- exec:/nwp/s14
Shift+Winkey+ KEY=F1 -- exec:/nwp/s13

<!-- send to desktops 1-24-->

<!-- F12 is a built in. -->

KEY=F12 -- root:3


Alt+ KEY=Escape -- fullscreen
Ctrl+ KEY=Escape -- showdesktop
Shift+ KEY=Escape -- window
Alt+Ctrl+ KEY=Escape -- move
Alt+Shift+ KEY=Escape -- minimize
Ctrl+Shift+ KEY=Escape -- maximize
Alt+Ctrl+Shift+ KEY=Escape -- resize

<!-- editing the escape series necessitates editing other things. which reminds me, don't use the showdesktop entry on the menu--it doesn't work. use the keys or the buttons. press escape and hold if you hit the showdesktop on the menus (it needs to be removed)-->

Alt+ KEY=space -- exec:rox
Ctrl+ KEY=space -- exec:winswitcher
Shiftt+ KEY=space -- exec:/nwp/p
Ctrl+Alt+ KEY=space -- exec:/nwp/rr
Ctrl+Shift+ KEY=space -- exec:/nwp/cr
Alt+Shift+ KEY=space -- exec:/nwp/t
Alt+Ctrl+Shift+ KEY=space -- exec:/nwp/rup


<!--
MochiMoppel's excellent winswitcher allows you to navigate windows better than than the tray does (more options, more keyboard friendly--it's ww in the launcher. rr is rox recents, cr is close all rox, rup is three up from the bottom on the rox bookmarks tab (ctrl plus b in a rox window), rox is activated by alt plus spacebar (ll launcher plus rr will allow you to set what folder is being opened when the recents is being called. you could do the same for rup and rb (rox bookmarks)).
-->

KEY=h -- left
KEY=j -- down
KEY=k -- up
KEY=l -- right

Alt+ KEY=h -- move
Alt+ KEY=j -- resize
Alt+ KEY=k -- prev
Alt+ KEY=l -- next


Alt+Ctrl+ KEY=h -- /nwp/rungn
Alt+Ctrl+ KEY=j -- /nwp/rungo
Alt+Ctrl+ KEY=k -- /nwp/rungt
Alt+Ctrl+ KEY=l -- /nwp/lpx


<Key mask="SA" KEY=h -- exec:ccdi
<Key mask="SA" KEY=j -- close
<Key mask="SA" KEY=k -- exec:kill
<Key mask="SA" KEY=l -- exec:cadi

<!-- mnemonic is "ask to kill"--these are shutdown scripts on the right side home row. alt plus shift plus. the alt controls above it are layer and stickiness.-->

Alt+Ctrl+Shift+ KEY=h -- move
Alt+Ctrl+Shift+ KEY=j -- resize
Alt+Ctrl+Shift+ KEY=k -- prevstacked
Alt+Ctrl+Shift+ KEY=l -- nextstacked


Ctrl+Shift+ KEY=h -- exec:laa
Ctrl+Shift+ KEY=j -- exec:lma
Ctrl+Shift+ KEY=k -- exec:lba
Ctrl+Shift+ KEY=l -- exec:wmctrl -r :ACTIVE: -b add,sticky




<!--
Ctrl+Shift+ KEY=h -- exec:/nwp/x0
Ctrl+Shift+ KEY=j -- exec:/nwp/x1200
Ctrl+Shift+ KEY=k -- exec:/nwp/x2000
Ctrl+Shift+ KEY=l -- exec:/nwp/x2500

Alt+Ctrl+Shift+ KEY=h -- exec:/nwp/y0
Alt+Ctrl+Shift+ KEY=j -- exec:/nwp/y200
Alt+Ctrl+Shift+ KEY=k -- exec:/nwp/y400
Alt+Ctrl+Shift+ KEY=l -- exec:/nwp/y800


these are fairly lame--random spots on the x and y axes -->


<!-- supleft et al scripts (grab and quickly move a window with the arrows) don't work in 64 bit slacko, 64 bit quirky april, or 64 bit werewolf, so there seems to be a problem with the 64 bit versions of xdotool and wmctrl. here's a blank version for you to fill in with whatever you choose (move the comment arrows to the above in 64 bit). note--no "exec:"--add if you're not using windows function.

Alt+ KEY=Up --
Alt+ KEY=Down --
Alt+ KEY=Right --
Alt+ KEY=Left --

-->

Alt+ KEY=Up -- exec:/nwp/supup
Alt+ KEY=Down -- exec:/nwp/supdown
Alt+ KEY=Right -- exec:/nwp/supright
Alt+ KEY=Left -- exec:/nwp/supleft

Alt+Ctrl+ KEY=Up -- maximize
Alt+Ctrl+ KEY=Down -- minimize
Alt+Ctrl+ KEY=Right -- resize
Alt+Ctrl+ KEY=Left -- move

Alt+Shift+ KEY=Up -- fullscreen
Alt+Shift+ KEY=Down -- showdesktop
Alt+Shift+ KEY=Right -- next
Alt+Shift+ KEY=Left -- prev


Alt+Ctrl+Shift+ KEY=Up -- exec:/nwp/2
Alt+Ctrl+Shift+ KEY=Down -- exec:/nwp/n
Alt+Ctrl+Shift+ KEY=Right -- exec:/nwp/g
Alt+Ctrl+Shift+ KEY=Left -- exec:/nwp/s

<!-- nearly everything is now duplicated on the function keys so you could generally pick one or the other/modify either. don't mess with escape or alt plus number though.-->

Alt+ KEY=1 -- root:1
Alt+ KEY=2 -- root:2
Alt+ KEY=3 -- root:3
Alt+ KEY=4 -- root:4
Alt+ KEY=5 -- root:5
Alt+ KEY=6 -- root:6
Alt+ KEY=7 -- root:7
Alt+ KEY=8 -- root:8
Alt+ KEY=9 -- root:9
Alt+ KEY=0 -- root:0

Winkey+ KEY=1 -- exec:/nwp/n1
Winkey+ KEY=2 -- exec:/nwp/n2
Winkey+ KEY=3 -- exec:/nwp/n3
Winkey+ KEY=4 -- exec:/nwp/n
Winkey+ KEY=5 -- exec:/nwp/tem
Winkey+ KEY=6 -- exec:/nwp/uh
Winkey+ KEY=7 -- exec:/nwp/ii
Winkey+ KEY=8 -- exec:/nwp/pbw
Winkey+ KEY=9 -- exec:/nwp/paw
Winkey+ KEY=0 -- exec:/nwp/elp

<!--
the above repeat below as commented out blanks. delete these (or move the arrow on line 14 to line 2) if you'd prefer to use your own. 4 is the windows key. held together with the number specified they execute the following functions (exec code (minus the /nwp/ part) is what gets entered into the launcher, which itself is most conveniently called with the built in spacebar plus shift shortcut):
win+1=main nwp menu
win+2=only the highlight and click to apply word processing codes (thanks again to miriam).
win+3=only the paste and place word processor codes
win+4=main nuup menu: nwp menu as 1 plus the uber utilities packs' functions.
win+5=ae tem menu--access template files or make word processing files out of text files. access a folder for drag and drop launching of batches of files (something that could also be done through the vtg or with launcher if the identical code is sent as a script (i.e. it has #!/bin/sh at the top and has been given the proper permission (e.g. with ch in the launcher followed by its name in the following launcher that pops up)) to the /nwp/ folder.)
win+6=underline -- highlight and activate (through code, key, or menu)
win+7=italics -- paste and paste version
win+8=page break in white, below
win+9=page break in white, above
win+0=help file pop up in leafpad

1 and 5 can be seen as start centers, though the vtg and the remaining blanks can likewise initiate the dual launchers (or any other program, for that matter)
-->
<!--

blank templates for an additional 132 shortcut keys. they all rely on the ten number keys. surround path and file name with <Include></Include> and place in /root/.jwmrc-personal. i.e.
<Include>/nwp/root3/9/keys2</Include>

then jwm -restart/then restart jwm.

uncomment a section below and fill in the program choices of a section to use it.


4 is the windows key; S, A, and C are shift, alt, and control. windows commands generally don't need the "exec:" and things off the PATH need their full paths after it.


the nwp menus (both ae and jwm) allow access to just about (there may've been a few oversights) every word processing command, but it's still menu access instead of button-immediacy, so to get that regular word processor feel back, you may want to have, for example, bold or underline only a key combo away.
copying the commented out group below and inserting the following (from the vtg cheat sheet that pops up when you hit alt plus g)


bh - adds bold tags around a selection of text in any text editor
uh - adds underline tags around a selection of text in any text editor
sth - add strikethrough tags around a selection of text in any editor or window that can receive text input
ih - add italics tags around a selection of text in any editor or window that can receive text input
bb - print out bold tags
cmt - print out comment (<!-- -->) tags
ii - print out italics tags
st - print out strikethrough tags
ul - print out underline tags
tem - open templates/duals menu

these are all in nwp, so they need the path (/nwp/) prepended to them so machine can find them. or you could just pick (and possibly copy to overwrite the versions without the "/nwp/"--just substitute out (through find and replace) the modifiers. substitute the keys to make similar levels of any other keys. well, here they are again, but with the proper path added to the call:


/nwp/bh # adds bold tags around a selection of text in any text editor
/nwp/uh # adds underline tags around a selection of text in any text editor
/nwp/sth # add strikethrough tags around a selection of text in any editor or window that can receive text input
/nwp/ih # add italics tags around a selection of text in any editor or window that can receive text input
/nwp/bb # print out bold tags
/nwp/cmt # print out comment (<!-- -->) tags
/nwp/ii # print out italics tags
/nwp/st # print out strikethrough tags
/nwp/ul # print out underline tags
/nwp/tem # open templates/duals menu

(i made them so they'd work in a fake pexec or gexec history pulldown as a launchable cheat sheet, but we just need the /path/file bit for the keys. if you don't have a template with the "exec:" bits already in place, do another substitution, /nwp replaced with exec:/nwp or something similar. then just pick the keys you've got your bold, italics, and whatever else you want (including batch launching and things normally deemed apart from word processing). so that's the basic idea behind the big batch of potential keyboard shortcuts.

-->

<!--
Alt+Ctrl+ KEY=1 -- exec:/nwp/
Alt+Ctrl+ KEY=2 -- exec:/nwp/
Alt+Ctrl+ KEY=3 -- exec:/nwp/
Alt+Ctrl+ KEY=4 -- exec:/nwp/
Alt+Ctrl+ KEY=5 -- exec:/nwp/
Alt+Ctrl+ KEY=6 -- exec:/nwp/
Alt+Ctrl+ KEY=7 -- exec:/nwp/
Alt+Ctrl+ KEY=8 -- exec:/nwp/
Alt+Ctrl+ KEY=9 -- exec:/nwp/
Alt+Ctrl+ KEY=0 -- exec:/nwp/
-->
<!--
Alt+Shift+ KEY=1 -- exec:
Alt+Shift+ KEY=2 -- exec:
Alt+Shift+ KEY=3 -- exec:
Alt+Shift+ KEY=4 -- exec:
Alt+Shift+ KEY=5 -- exec:
Alt+Shift+ KEY=6 -- exec:
Alt+Shift+ KEY=7 -- exec:
Alt+Shift+ KEY=8 -- exec:
Alt+Shift+ KEY=9 -- exec:
Alt+Shift+ KEY=0 -- exec:
-->
<!--
Ctrl+Shift+ KEY=1 -- exec:/nwp/
Ctrl+Shift+ KEY=2 -- exec:/nwp/
Ctrl+Shift+ KEY=3 -- exec:/nwp/
Ctrl+Shift+ KEY=4 -- exec:/nwp/
Ctrl+Shift+ KEY=5 -- exec:/nwp/
Ctrl+Shift+ KEY=6 -- exec:/nwp/
Ctrl+Shift+ KEY=7 -- exec:/nwp/
Ctrl+Shift+ KEY=8 -- exec:/nwp/
Ctrl+Shift+ KEY=9 -- exec:/nwp/
Ctrl+Shift+ KEY=0 -- exec:/nwp/
-->


<!--
Alt+Ctrl+Shift+ KEY=1 -- exec:
Alt+Ctrl+Shift+ KEY=2 -- exec:
Alt+Ctrl+Shift+ KEY=3 -- exec:
Alt+Ctrl+Shift+ KEY=4 -- exec:
Alt+Ctrl+Shift+ KEY=5 -- exec:
Alt+Ctrl+Shift+ KEY=6 -- exec:
Alt+Ctrl+Shift+ KEY=7 -- exec:
Alt+Ctrl+Shift+ KEY=8 -- exec:
Alt+Ctrl+Shift+ KEY=9 -- exec:
Alt+Ctrl+Shift+ KEY=0 -- exec:


<!--a couple of samples for the previous two key banks: -->

<!-- Ctrl+Shift+ KEY=2 -- exec:vgt -->

Ctrl+Shift+ KEY=1 -- exec:/nwp/winswitcher

Ctrl+Shift+ KEY=2 -- exec:xdotool key ctrl+9 ctrl+8 Return ctrl+7

Ctrl+Shift+ KEY=3 -- exec:/nwp/3but
Ctrl+Shift+ KEY=4 -- window
Ctrl+Shift+ KEY=5 -- move
Ctrl+Shift+ KEY=6 -- resize
Ctrl+Shift+ KEY=7 -- minimize
Ctrl+Shift+ KEY=8 -- maximize
Ctrl+Shift+ KEY=9 -- prev
Ctrl+Shift+ KEY=0 -- next


Alt+Ctrl+Shift+ KEY=1 -- ldesktop
Alt+Ctrl+Shift+ KEY=2 -- rdesktop
Alt+Ctrl+Shift+ KEY=3 -- udesktop
Alt+Ctrl+Shift+ KEY=4 -- ddesktop
Alt+Ctrl+Shift+ KEY=5 -- prevstacked
Alt+Ctrl+Shift+ KEY=6 -- nextstacked
Alt+Ctrl+Shift+ KEY=7 -- shade
Alt+Ctrl+Shift+ KEY=8 -- showdesktop
Alt+Ctrl+Shift+ KEY=9 -- fullscreen
Alt+Ctrl+Shift+ KEY=0 -- exec:/nwp/k

<!--a couple of samples for the previous two key bank (part of main jwmrc personal in other nwp configs (through quickswitch or otherwise)>

-->



<!--
Winkey+ KEY=1 -- exec:
Winkey+ KEY=2 -- exec:
Winkey+ KEY=3 -- exec:
Winkey+ KEY=4 -- exec:
Winkey+ KEY=5 -- exec:
Winkey+ KEY=6 -- exec:
Winkey+ KEY=7 -- exec:
Winkey+ KEY=8 -- exec:
Winkey+ KEY=9 -- exec:
Winkey+ KEY=0 -- exec:
-->
<!--
Alt+Winkey+ KEY=1 -- exec:
Alt+Winkey+ KEY=2 -- exec:
Alt+Winkey+ KEY=3 -- exec:
Alt+Winkey+ KEY=4 -- exec:
Alt+Winkey+ KEY=5 -- exec:
Alt+Winkey+ KEY=6 -- exec:
Alt+Winkey+ KEY=7 -- exec:
Alt+Winkey+ KEY=8 -- exec:
Alt+Winkey+ KEY=9 -- exec:
Alt+Winkey+ KEY=0 -- exec:
-->
<!--
Ctrl+Winkey+ KEY=1 -- exec:
Ctrl+Winkey+ KEY=2 -- exec:
Ctrl+Winkey+ KEY=3 -- exec:
Ctrl+Winkey+ KEY=4 -- exec:
Ctrl+Winkey+ KEY=5 -- exec:
Ctrl+Winkey+ KEY=6 -- exec:
Ctrl+Winkey+ KEY=7 -- exec:
Ctrl+Winkey+ KEY=8 -- exec:
Ctrl+Winkey+ KEY=9 -- exec:
Ctrl+Winkey+ KEY=0 -- exec:
-->
<!--
Shift+Winkey+ KEY=1 -- exec:
Shift+Winkey+ KEY=2 -- exec:
Shift+Winkey+ KEY=3 -- exec:
Shift+Winkey+ KEY=4 -- exec:
Shift+Winkey+ KEY=5 -- exec:
Shift+Winkey+ KEY=6 -- exec:
Shift+Winkey+ KEY=7 -- exec:
Shift+Winkey+ KEY=8 -- exec:
Shift+Winkey+ KEY=9 -- exec:
Shift+Winkey+ KEY=0 -- exec:
-->
<!--
Winkey+Alt+Ctrl+ KEY=1 -- exec:/nwp/
Winkey+Alt+Ctrl+ KEY=2 -- exec:/nwp/
Winkey+Alt+Ctrl+ KEY=3 -- exec:/nwp/
Winkey+Alt+Ctrl+ KEY=4 -- exec:/nwp/
Winkey+Alt+Ctrl+ KEY=5 -- exec:/nwp/
Winkey+Alt+Ctrl+ KEY=6 -- exec:/nwp/
Winkey+Alt+Ctrl+ KEY=7 -- exec:/nwp/
Winkey+Alt+Ctrl+ KEY=8 -- exec:/nwp/
Winkey+Alt+Ctrl+ KEY=9 -- exec:/nwp/
Winkey+Alt+Ctrl+ KEY=0 -- exec:/nwp/
-->
<!--
Alt+Shift+Winkey+ KEY=1 -- exec:
Alt+Shift+Winkey+ KEY=2 -- exec:
Alt+Shift+Winkey+ KEY=3 -- exec:
Alt+Shift+Winkey+ KEY=4 -- exec:
Alt+Shift+Winkey+ KEY=5 -- exec:
Alt+Shift+Winkey+ KEY=6 -- exec:
Alt+Shift+Winkey+ KEY=7 -- exec:
Alt+Shift+Winkey+ KEY=8 -- exec:
Alt+Shift+Winkey+ KEY=9 -- exec:
Alt+Shift+Winkey+ KEY=0 -- exec:
-->
<!--
Ctrl+Shift+Winkey+ KEY=1 -- exec:
Ctrl+Shift+Winkey+ KEY=2 -- exec:
Ctrl+Shift+Winkey+ KEY=3 -- exec:
Ctrl+Shift+Winkey+ KEY=4 -- exec:
Ctrl+Shift+Winkey+ KEY=5 -- exec:
Ctrl+Shift+Winkey+ KEY=6 -- exec:
Ctrl+Shift+Winkey+ KEY=7 -- exec:
Ctrl+Shift+Winkey+ KEY=8 -- exec:
Ctrl+Shift+Winkey+ KEY=9 -- exec:
Ctrl+Shift+Winkey+ KEY=0 -- exec:
-->

<!--
Alt+Ctrl+Shift+Winkey+ KEY=1 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=2 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=3 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=4 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=5 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=6 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=7 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=8 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=9 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=0 -- exec:
-->

<!--
Alt+Ctrl+Shift+Winkey+ KEY=F12 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=F11 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=F10 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=F9 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=F8 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=F7 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=F6 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=F5 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=F4 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=F3 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=F2 -- exec:
Alt+Ctrl+Shift+Winkey+ KEY=F1 -- exec:

(another set of function key blanks for you to customize)
-->

[remove the lead and trailing arrows (<!-- -->), (fill out with programs, scripts, files of your choice and save file), and restart jwm to activate an otherwise dormant bank (nearly all of which are set as blanks in the actual file you'd need to edit (on alt+4 menu or mae in the main launcher. r0-r9 in the launcher will also give you access to the ten jwm menus.)]
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Sun 31 Jul 2016, 22:26    Post subject: xeyes: help finding your cursor/goofifying your desktop
Subject description: wouldn't want it with its surrounding window; don't know how to ditch it any other way
 

to get rid of the window the eyes normally have, add the following code to either /root/.jwm/jwmrc-personal or /etc/xdg/templates/_root_.jwmrc, save the file, and then restart jwm:

Code:

<Group>
<Name>xeyes</Name>
<Option>noborder</Option>
<Option>notitle</Option>
<Option>sticky</Option>
</Group>

the sticky bit just makes the eyes show up on every desktop--remove if you'd like to escape them on occasion. one eye tracks and the other seems to give relative screen position and anywhere other than the eyeballs themselves remains clickable as before (it doesn't interfere with mouse menus). use alt right click to resize, alt left click to move if you opt to lose the window frame and title bar (or use the right click menu from the tasklist representation of it or any other program you can get to use this code).

what's it do? well, i've noticed i never have to jiggle the mouse to find the cursor on the machine running it...other than that, not much.

enjoy.
Very Happy
xeyes.jpg
 Description   
 Filesize   10.26 KB
 Viewed   153 Time(s)

xeyes.jpg

Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1497
Location: nyc

PostPosted: Sun 31 Jul 2016, 22:28    Post subject: Re: xeyes: help finding your cursor/goofifying your desktop
Subject description: wouldn't want it with its surrounding window; don't know how to ditch it any other way
 

Puppus Dogfellow wrote:
to get rid of the window the eyes normally have, add the following code to either /root/.jwm/jwmrc-personal or /etc/xdg/templates/_root_.jwmrc, save the file, and then restart jwm:

Code:

<Group>
<Name>xeyes</Name>
<Option>noborder</Option>
<Option>notitle</Option>
<Option>sticky</Option>
</Group>

the sticky bit just makes the eyes show up on every desktop--remove if you'd like to escape them on occasion. one eye tracks and the other seems to give relative screen position and anywhere other than the eyeballs themselves remains clickable as before (it doesn't interfere with mouse menus). use alt right click to resize, alt left click to move if you opt to lose the window frame and title bar (or use the right click menu from the tasklist representation of it or any other program you can get to use this code).

what's it do? well, i've noticed i never have to jiggle the mouse to find the cursor on the machine running it...other than that, not much.

enjoy.
Very Happy


xeyes-1.1.1-3-i686.pet
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 13 of 14 [201 Posts]   Goto page: Previous 1, 2, 3, ..., 11, 12, 13, 14 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.5457s ][ Queries: 12 (0.0190s) ][ GZIP on ]