~572, p575, and p57577: three spins/updates of Precise 5.7.1

For talk and support relating specifically to Puppy derivatives
Post Reply
Message
Author
User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

big update that includes the previous one

#101 Post by Puppus Dogfellow »

this next update is also a stand alone install script, but it just means you get two extra sets of main (shift plus spacebar) nwp (now pw,n) launchers--one in /nwp and one in /root/my-applications/bin. this one's got the q1-10, some rox shortcuts, more dual launchers for the nwp word processor (or any time you feel like opening text documents in browser tabs at the same time you open in an editor). it's got the autotext entries--mostly navigation, launching, and omission correction.

here's the script:

Code: Select all

#!/bin/sh
#dual launchers for the word processor aspect. also, it's a stand alone install script
#no longer requires dash (optional--just swap out the sh for dash if you've got it/prefer it)
mkdir -p /nwp
echo $'
#!/bin/sh
exec geany -i "$@"| exec firefox "$@"
' > /nwp/gif
echo $'
#!/bin/sh
exec defaulttexteditor "$@"| exec firefox "$@"
' > /nwp/tef
echo $'
#!/bin/sh
exec geany "$@"| exec firefox "$@"
' > /nwp/gf
echo $'
#!/bin/sh
exec defaulttexteditor "$@"| exec defaultbrowser "$@"
' > /nwp/def
echo $'
#!/bin/sh
exec leafpad "$@"| exec firefox "$@"
' > /nwp/lff
echo $'
#!/bin/sh
exec geany "$@"| exec defaultbrowser "$@"
' > /nwp/gb
echo $'
#!/bin/sh
exec geany -i "$@"| exec defaultbrowser "$@"
' > /nwp/gib
echo $'
#!/bin/sh
exec leafpad "$@"| exec defaultbrowser "$@"
' > /nwp/leb
echo $'
#!/bin/sh
exec leafpad "$@"| exec seamonkey "$@"
' > /nwp/leafy
echo $'
#!/bin/sh
exec leafpad "$@"| exec dillo "$@"
' > /nwp/dlll
echo $'
#!/bin/sh
exec geany "$@"| exec seamonkey "$@"
' > /nwp/ges
  
echo $'
#!/bin/sh
exec geany "$@"| exec dillo "$@"
' > /nwp/ged
 
echo $'
#!/bin/sh
exec geany -i "$@"| exec seamonkey "$@"
' > /nwp/gis
echo $'
#!/bin/sh
exec geany -i "$@"| exec dillo "$@"
' > /nwp/gid
echo $'
#!/bin/sh
exec leafpad "$@"| exec chromium "$@"
' > /nwp/lec
echo $'
#!/bin/sh
exec leafpad "$@"| exec palemoon "$@"
' > /nwp/lep
echo $'
#!/bin/sh
exec geany -i "$@"| exec chromium "$@"
' > /nwp/gic
echo $'
#!/bin/sh
exec geany -i "$@"| exec palemoon "$@"
' > /nwp/gip
echo $'
#!/bin/sh
exec geany "$@"| exec chromium "$@"
' > /nwp/gc
echo $'
#!/bin/sh
exec geany "$@"| exec palemoon "$@"
' > /nwp/gep
echo $'
!/bin/sh
exec leafpad "$@"| exec opera "$@"
' > /nwp/lop
echo $'
#!/bin/sh
exec leafpad "$@"| exec google-chrome "$@"
' > /nwp/lgc
echo $'
#!/bin/sh
exec geany -i "$@"| exec opera "$@"
' > /nwp/gio
echo $'
#!/bin/sh
exec geany -i "$@"| exec 
google-chrome "$@"
' > /nwp/gigc
echo $'
#!/bin/sh
exec geany "$@"| exec opera "$@"
' > /nwp/
echo $'
#!/bin/sh
exec geany "$@"| exec google-chrome "$@"
' > /nwp/ggc
echo $'#!/bin/sh 
[ -z "$history" ] && history="/nwp/"
# create and run dialog
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
              --title="pw,n" --window-icon="gtk-execute" \
              --entry --entry-label="Run command:" --editable \
              --column="command" --entry-text $history)
# if the command line is empty, exit now
[ -z "$CMDLINE" ] && exit 0
# run the command
$CMDLINE &
exit 0
' > /nwp/np5
echo $'#!/bin/sh 
/nwp/np5| xdotool sleep .2s key Right
' > /nwp/pwn
cp /nwp/np5 /root/my-applications/bin/np5
cp /nwp/pwn /root/my-applications/bin/pwn
chmod 755 /nwp/pwn /nwp/np5
chmod 755 root/my-applications/bin/pwn /root/my-applications/bin/np5
echo $'#!/bin/sh 
rox /mnt
' > /nwp/mnt
echo $'#!/bin/sh 
rox /tmp
' > /nwp/tmp
echo $'#!/bin/sh 
rox /etc
' > /nwp/etc
echo $'#!/bin/sh 
rox /root/my-applications/bin
' > /nwp/mybin
echo $'#!/bin/sh 
rox /root/.config
' > /nwp/conf
echo $'#!/bin/sh 
 rox /etc/xdg/templates
' > /nwp/jxdg
echo $'#!/bin/sh 
rox /bin
' > /nwp/bin
echo $'#!/bin/sh 
rox /root/.jwm
' > /nwp/jwm
echo $'#!/bin/sh 
rox /usr/share/applications
' > /nwp/apps
echo $'#!/bin/sh 
rox /mnt/home
' > /nwp/home
echo $'#!/bin/sh 
rox /root/my-documents/
' > /nwp/mdoc
echo $'#!/bin/sh 
rox /mnt/sdd1
' > /nwp/sdd1
echo $'#!/bin/sh 
rox /mnt/sdd2
' > /nwp/sdd2
echo $'#!/bin/sh 
rox /mnt/sdd3
' > /nwp/sdd3
echo $'#!/bin/sh 
rox /mnt/sdd4
' > /nwp/sdd4
echo $'#!/bin/sh 
rox /mnt/sdd5
' > /nwp/sdd5
echo $'#!/bin/sh 
rox /mnt/sdd6
' > /nwp/sdd6
echo $'#!/bin/sh 
rox /mnt/sdc1
' > /nwp/sdc1
echo $'#!/bin/sh 
rox /mnt/sdc2
' > /nwp/sdc2
echo $'#!/bin/sh 
rox /mnt/sdc3
' > /nwp/sdc3
echo $'#!/bin/sh 
rox /mnt/sdc4
' > /nwp/sdc4
echo $'#!/bin/sh 
rox /mnt/sdc5
' > /nwp/sdc5
echo $'#!/bin/sh 
rox /mnt/sdc6
' > /nwp/sdc6
echo $'#!/bin/sh 
rox /mnt/sdb1
' > /nwp/sdb1
echo $'#!/bin/sh 
rox /mnt/sdb2
' > /nwp/sdb2
echo $'#!/bin/sh 
rox /mnt/sdb3
' > /nwp/sdb3
echo $'#!/bin/sh 
rox /mnt/sdb4
' > /nwp/sdb4
echo $'#!/bin/sh 
rox /mnt/sdb5
' > /nwp/sdb5
echo $'#!/bin/sh 
rox /mnt/sdb6
' > /nwp/sdb6
echo $'#!/bin/sh 
rox /mnt/sda1
' > /nwp/sda1
echo $'#!/bin/sh 
rox /mnt/sda2
' > /nwp/sda2
echo $'#!/bin/sh 
rox /mnt/sda3
' > /nwp/sda3
echo $'#!/bin/sh 
rox /mnt/sda4
' > /nwp/sda4
echo $'#!/bin/sh 
rox /mnt/sda5
' > /nwp/sda5
echo $'#!/bin/sh 
rox /mnt/sda6
' > /nwp/sda6
echo $'#!/bin/sh 
rox /nwp
' > /nwp/pack
 
chmod 755 /nwp/sdd1 /nwp/sdd2 /nwp/sdd3 /nwp/sdd4 /nwp/sdd5 /nwp/sdd6
chmod 755 /nwp/sdc1 /nwp/sdc2 /nwp/sdc3 /nwp/sdc4 /nwp/sdc5 /nwp/sdc6
chmod 755 /nwp/sdb1 /nwp/sdb2 /nwp/sdb3 /nwp/sdb4 /nwp/sdb5 /nwp/sdb6
chmod 755 nwp/sda1 /nwp/sda2 /nwp/sda3 /nwp/sda4 /nwp/sda5 /nwp/sda6
chmod 755 /nwp/ggc /nwp/go /nwp/gigc /nwp/gio /nwp/lgc /nwp/gif /nwp/def /nwp/gf /nwp/tef /nwp/def /nwp/lff /nwp/gb /nwp/gib /nwp/led /nwp/leafy /nwp/dlll /nwp/ged /nwp/ges /nwp/lop /nwp/gep /nwp/gc /nwp/gip /nwp/gic /nwp/lep /nwp/gid /nwp/lec /nwp/gis /nwp/ged
chmod 755 /nwp/home /nwp/mdoc /nwp/apps /nwp/jwm /nwp/bin /nwp/jxdg /nwp/conf /nwp/mybin /nwp/etc /nwp/tmp /nwp/mnt /nwp/pack
cp /nwp/tophalf2 /nwp/q8
cp /nwp/bottomhalf2 /nwp/q9
cp /nwp/lefthalf2 /nwp/q6
cp /nwp/righthalf2 /nwp/q7
cp /nwp/fulla  /nwp/q10
cp /nwp/upperleftquadrant2 /nwp/q1
cp /nwp/upperrightquadrant2 /nwp/q2
cp /nwp/lowerleftquadrant2 /nwp/q3
cp /nwp/lowerrightquadrant2 /nwp/q4
cp /nwp/lp5a  /nwp/q5
 echo $'#!/bin/sh
xdotool type \'<pre></pre>\'
' > /nwp/pre
cp /nwp/xpad-clear /nwp/xpc
cp /nwp/xpad-backup /nwp/xpb
 echo $'#!/bin/sh
xdotool key alt+0 Down Down Right
#large menu submenu on the root0 menu
' > /nwp/wm
echo $'#!/bin/sh 
/nwp/sfs-java.sh; rox /tmp/java-sfs 
' > /nwp/jv 
echo $'#!/bin/sh 
geany  /nwp/at1 /nwp/at2 /nwp/at3 /nwp/at4 /nwp/at5 /nwp/at6 /nwp/at7 /nwp/at8 /nwp/at9 /nwp/at10 /nwp/at' > /nwp/ate
echo $'#!/bin/sh 
winswitcher
#/nwp/winswitcher
' > /nwp/ww
echo $'#!/bin/sh 
#!/bin/sh 
xdotool type \'#--------------------------- \'
' > /nwp/c-
echo $'#!/bin/sh 
xdotool type \"
echo $\'
(content--script spits out a sample create-file-with-content template)
\' > (path to file)
\"
' >  /nwp/cnt
echo $'#!/bin/sh 
tas
' > /nwp/tas
echo $'#!/bin/sh 
tas
' > /nwp/tas
echo $'#!/bin/sh
xdotool key ctrl+9 ctrl+8 Return ctrl+7
' > /nwp/v
 echo $'#!/bin/sh
xdotool type "
#!/bin/sh
xdotool type \'\'
#place desired output between the \' and \'
# use double quotes to get single quotes to show
#name something brief and run with gexec/pexec/a terminal with a convenient shortcut
#or give it its own shortcut key --ati version has info/comments
"
' > /nwp/ati
 echo $'#!/bin/sh
xdotool type "
#!/bin/sh
xdotool type \'\'
"
' > /nwp/atx
chmod 755 /nwp/pre /nwp/xpb /nwp/xpc /nwp/wm /nwp/q1 /nwp/q2 /nwp/q3 /nwp/q4 /nwp/q5 /nwp/q6 /nwp/q7 /nwp/q8 /nwp/q9 /nwp/q10
chmod 755 /nwp/jv /nwp/ate /nwp/ww /nwp/c- /nwp/cnt /nwp/tas /nwp/atx /nwp/ati /nwp/pcp /nwp/v
#alter the last part of the cp lines to change the name of the new file being created
#fixes some omissions and a mistake in pre script, gives quick call names to some of the shortcuts for single monitors.
#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
#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=835582#835582
#xpc and xpb require xpad 
#the complete pack requires aemenu, dash, wmtrl, xdotool, and the /nwp folder 
#t requires you to pick a terminal if the terminal you have is not sakura.
# some nwp directories may be missing winswitcher:  http://www.murga-linux.com/puppy/viewtopic.php?p=799058#799058
echo $'#!/bin/sh
xdotool type \'\'
#Place desired text output between the single quotes above.
#at -- autotext---place in /nwp or a bin. make a series and activate with at...' > /nwp/at
cd /nwp; for f in at{1..10} ; do cp at $f ; done
chmod 755 /nwp/at1 /nwp/at2 /nwp/at3 /nwp/at4 /nwp/at5 /nwp/at6 /nwp/at7 /nwp/at8 /nwp/at9 /nwp/at10 /nwp/at /nwp/leb
#edit with ate; atx spits out a new autotext template.
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: Select all

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/viewto ... 5582835582
xpc and xpb require xpad
ww requires MochiMoppel's WinSwitcher: http://www.murga-linux.com/puppy/viewto ... 058#799058


some other included shortcuts:

xpc -- xpad clear
xpb -- xpad back up
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



---------

set permissions and run as a script or dump the code into a terminal and press enter.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

another update script

#102 Post by Puppus Dogfellow »

icons are largely what's in the screenshots from earlier. a few added. substitute as you like either through editing of the desktop files (the icon = bit) or right clicking in rox and chosing file (or dir) > set icon.

icons_for_nwp_pwn_pwp.tar.xz

-----

from the readme:
directions: unpack folder and place in /nwp.

the icons aren't completely finished and may not ever be, but it's a start for you to continue with if you wish.
only the four launchers (five if you include nwp, which is pwn with the cursor set already at the right) have desktop files in /usr/share/applications and will show up on the menus (Categories=Utility;WordProcessor;FileSystem;System;Amusement). the dual launchers are perhaps too numerous, but if you drag the the contents of /nwp/icons/pwp to /usr/share/applications, you'll get all the duals (some without icons) on the Fun menu--adjust as you see fit. "duals" in the main launcher opens the folder for drag and drop opening of files in groups or individually.

here is the new file structure so far. dump the following into a terminal to have it:

mkdir -p /nwp/{archive,quar,docs,file,pets+sfs,etc,nwp,root3,u,icons,tmp,templates,z,01,b,a,001,d,misc,h,dwn,t,}
# new main nwp folder structure

mkdir -p /nwp/file/{archive,mail,scripts,clips,t,clippings,internet,music,ncd,pdf,draw,screenshots,software,libs/{lib32,lib64},spreadsheets,text,tmp,videos,paint,odt,txt,scripts,web,docx,d,docs,html,u,icons,tem,z,w,0,b,a,1,preotry,rtf,misc,etc,h,m,movies,books}
#structure of the file subdirectory

mkdir -p /nwp/root3/{9menusblanks,9m-vtg,userjwm,icons,root30menu,root31menu,root32menu,root33menu,root34menu,root35menu,root36menu,root37menu,root38menu,root39menu,w,geany,rox}
#new structure of the root3 folder (primarily for distros other than these, though it may make it easier to take future changes with you if you switch...work still in progress...)

mkdir -p
/nwp/file/docs/{t,archive,clipart,tmp,Screenshots,PDF,Text,Spreadsheets,Internet,Music,Software,Videos}

^replica of the original puppy documents folder, with the exception of the t folder, which i'm thinking of making templates backup folders of (t shows up in the sub folders a lot, as does h, which i think of as a pseudo home folder, just as d is an easy reach (and blank slate) docs folder, w the word processor folder, and b is for quick links/bookmarks ... all folders have an implied 0-z structure, which would make it easy to get to places or open folders or individual files with the four supplemental launchers.


the n directory in icons contains blank templates for you to copy to the new>templates folder (right click on an icon in rox, new, customize)
l is a back up of the main (non dual) launchers
2 is an empty folder--it was what the pwp (puppy word processor) folder now is. doesn't take up much space so i left it.

update script:

Code: Select all


mkdir -p /nwp/icons/{pwp,pwn}

echo $'
#!/bin/sh
#duals
#open the folder of dual launchers for drag and activate (highlight groups or individual files)
rox /nwp/icons/pwp

#(edit/view simultaneously in text editor and browser windows)
#call with suggested title or rename.
' > /nwp/duals

echo $'
#!/bin/sh
#suggested name is k (or pac, leaving k as 11th custom bookmark when called by roks) 
rox /nwp/
#nwp navigation k series 
#call with suggested title or rename. call series for editing with roks
' > /nwp/k

echo $'
#!/bin/sh
#k1
rox [path]
#nwp navigation k series 
#call with suggested k# or rename. call series for editing with roks
' > /nwp/k1

echo $'
#k2
#!/bin/sh
rox [path]
#nwp navigation k series 
#call with suggested k# or rename. call series for editing with roks
' > /nwp/k2

echo $'
#k3
#!/bin/sh
rox [path]
#nwp navigation k series 
#k4
#call with suggested k# or rename. call series for editing with roks
' > /nwp/k4

echo $'
#!/bin/sh
rox [path]
#nwp navigation k series 
#k5
#call with suggested k# or rename. call series for editing with roks
' > /nwp/k5

echo $'
#!/bin/sh
rox [path]
#nwp navigation k series 
#k6
#call with suggested k# or rename. call series for editing with roks
' > /nwp/k6

echo $'
#!/bin/sh
rox [path]
#nwp navigation  k series  
#k7
#call with suggested k# or rename. call series for editing with roks
' > /nwp/k7

echo $'
#!/bin/sh
#roks
geany /nwp/k0 /nwp/k1 /nwp/k2 /nwp/k3 /nwp/k4 /nwp/k5 /nwp/k6 /nwp/k7 /nwp/k8 /nwp/k9  /nwp/k
#edit k series. swap out [path] with path to directory. files can also be chosen and will be opened by their default handler. you
#may also use multiple directories eg rox /tmp /nwp opens up both at the same time.
' > /nwp/roks

echo $'
#!/bin/sh
rox [path]
#nwp navigation k series 
#k0
#call with suggested k# or rename. call series for editing with roks
' > /nwp/k0

echo $'
#!/bin/sh
rox [path]
#nwp navigation k series 
#k9
#call with suggested k# or rename. call series for editing with roks
' > /nwp/k9

echo $'
#!/bin/sh
rox [path]
#nwp navigation  k series  
#k8
#call with suggested k# or rename. call series for editing with roks
' > /nwp/k8

echo $'
#!/bin/sh
geany /nwp/root3/vtg1 /nwp/root3/vtg2 /nwp/root3/vtg3 /nwp/root3/vtg4
#veg: vgt, nwp, and puup help. the same as alt+g 
' > /nwp/veg

echo $'
#!/bin/sh
geany /nwp/root3/sanc /nwp/root3/san /nwp/root3/mono /nwp/root3/hr /nwp/root3/ser
# geak -- open all the word processor templates in geany for editing or other
#  <Key mask="AS" key="g">exec:geany /nwp/root3/sanc /nwp/root3/san /nwp/root3/mono /nwp/root3/hr /nwp/root3/ser /nwp/root3/scrap /nwp/root3/notes</Key>	
# to jwmrc-personal. or better yet, add <Key mask="AS" key="g">exec:/nwp/geak</Key>--easier to edit, quicker to show its effects.
' > /nwp/geak

echo $'
#!/bin/sh
#page break white (invisible in all browsers but dillo)
xdotool type \'<par style="font-size: 11pt; color:white; page-break-before: always"></par>\'
#pbw
' > /nwp/pbw

echo $'
#!/bin/sh
#page break after, white text (if any). paw.
xdotool type \'<par style="font-size: 11pt; color:white; page-break-after: always"></par>\'
' > /nwp/paw

echo $'
#!/bin/sh
#snc
geany /nwp/sanc
' > /nwp/snc



echo $'

[Desktop Entry]
Encoding=UTF-8
Name=pw,n-l
Icon=/nwp/icons/pwnl.png
Comment=nwp launcher
Exec=/nwp/l-
Terminal=false
Type=Application
GenericName=pw,n-l
Version=1.0
Categories=Utility;WordProcessor;FileSystem;System;Amusement
' > /usr/share/applications/pwnl.desktop


echo $'
[Desktop Entry]
Encoding=UTF-8
Name=pw,n
Icon=/nwp/icons/pwn2.png
Comment=nwp launcher
Exec=/nwp/icons/l/p-
Terminal=false
Type=Application
GenericName=pw,n
Version=1.0
Categories=Utility;WordProcessor;FileSystem;System;Amusement
' > /usr/share/applications/nwp.desktop


echo $'
[Desktop Entry]
Encoding=UTF-8
Name=pw,n
Icon=/nwp/icons/pwn2.png
Comment=nwp launcher
Exec=/nwp/pwn2
Terminal=false
Type=Application
GenericName=pw,n
Version=1.0
Categories=Utility;WordProcessor;FileSystem;System;Amusement
' > /usr/share/applications/pwn.desktop

echo $'
[Desktop Entry]
Encoding=UTF-8
Name=pw,n-r
Icon=/nwp/icons/pwnr.png
Comment=nwp launcher
Exec=/nwp/r-
Terminal=false
Type=Application
GenericName=rox /nwp/
Version=1.0
Categories=Utility;WordProcessor;FileSystem;System;Amusement
' > /usr/share/applications/pwnr.desktop

echo $'
[Desktop Entry]
Encoding=UTF-8
Name=pw,n-g
Icon=/nwp/icons/pwng.png
Comment=nwp launcher
Exec=/nwp/g-
Terminal=false
Type=Application
GenericName=geany /nwp/
Version=1.0
Categories=Utility;WordProcessor;FileSystem;System;Amusement

' > /usr/share/applications/pwng.desktop


cp /usr/share/applications/pwnl.desktop /nwp/icons/pwn/pwnl.desktop
cp /usr/share/applications/pwng.desktop /nwp/icons/pwn/pwng.desktop
cp /usr/share/applications/pwnr.desktop /nwp/icons/pwn/pwnr.desktop
cp /usr/share/applications/pwn.desktop /nwp/icons/pwn/pwn.desktop



echo $'<!DOCTYPE HTML>
<html>
<head>
<title>sanc14</title>

</head>
<body>
<pre>
<span style="font-size: 14pt; color:black; font-weight:regular condensed; font-family: nimbus sans l">

(delete this and place your content here. adjust the line above for the general text formatting of your document.)


</span>
</pre>
</body>
</html>

' > /nwp/sanc

echo $'
#!/bin/sh
xdotool type \'<!DOCTYPE HTML>
<html>
<head>
<title>sanc14</title>

</head>
<body>
<pre>
<span style="font-size: 14pt; color:black; font-weight:regular condensed; font-family: nimbus sans l">

(delete this and place your content here. adjust the line above for the general text formatting of your document.)


</span>
</pre>
</body>
</html>
\'
' > /nwp/sanc1

echo $'
leafpad sanc
' > /nwp/sancl

echo $'
geany sanc
' > /nwp/sancg

cp/nwp/hr /nwp/root3/hr 
cp/nwp/sanc /nwp/root3/sanc 
cp/nwp/mono /nwp/root3/mono 
cp /nwp/san /nwp/root3/san 
cp /nwp/ser /nwp/root3/ser 
#make backups of the templates in /nwp and provide a /nwp/root3 directory for those without:
mkdir -p /nwp/root3
mkdir -p /nwp/icons/l

#get the new launchers on the menus; get the new launchers: 

fixmenus; jwm -reload
echo $'
#!/bin/sh
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
              --title="pw,n-g" --window-icon="gtk-execute" \
              --entry --entry-label="Run command:"  \
              --column="command" --entry-text "geany /nwp/")

# if the command line is empty, exit now
[ -z "$CMDLINE" ] && exit 0

 

# run the command
$CMDLINE &

exit 0

' > /nwp/g-

echo $'
#!/bin/sh
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
              --title="pw,n-g" --window-icon="gtk-execute" \
              --entry --entry-label="Run command:"  \
              --column="command" --entry-text "leafpad/nwp/")

# if the command line is empty, exit now
[ -z "$CMDLINE" ] && exit 0

 

# run the command
$CMDLINE &

exit 0

' > /nwp/l-

echo $'
#!/bin/sh
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
              --title="pw,n-g" --window-icon="gtk-execute" \
              --entry --entry-label="Run command:"  \
              --column="command" --entry-text "rox/nwp/")

# if the command line is empty, exit now
[ -z "$CMDLINE" ] && exit 0

 

# run the command
$CMDLINE &

exit 0

' > /nwp/r-

#new launchers are more for new tree structure (in development)--they're supposed to make it easier to select a given file or folder to edit or open.
#for now, they are all set to highlight their entries--arrow right to enter a file, type to use it as a general launcher.

#!/bin/sh

/nwp/icons/l/pwn| xdotool sleep .2 key Right
' > /nwp/icons/l/p-


includes new k series--roks in the launcher (pwn, pax--the main one) will open them for editing. just enter your path after the "rox " and k1-10 will act as a quick link to your chosen folder.

also includes geak, which loads all the word processor templates from the nwp in geany for you to work with or edit.

also new:

page breaks that default to white (paw, pbw)--invisible in all but dillo but can serve as comments or search anchors.

a new sans nimbus condensed 14 template and sanc1 backup (san1, mono1, san1, and ser1, and hr1 will recreate destroyed temp files and allow you to convert a regular text document to the (html) format of these word processor files. to convert a file, just enter the __1 code and cut the pasted code in half, deleting the "delete this" bit and placing all above it at the beginning of your text and all that follows at the end.


if you want the new launchers on any of the other nine menus, open up /root/.jwmrc, do a search for "pwn," copy the codes for for the launchers (they should all be next to one another), and paste them into /root/root1menu, etc.


if you'd like to add back a menu button or dog icon (make the interface more traditionally puppy), you could add

Code: Select all

<TrayButton label="Menu" icon="mini-dog.xpm">exec:/nwp/wm</TrayButton>
to add the master menu menu (includes all the jwm menus, some utility programs, and all the aemenu menus plus whatever else is on the root0 menu).


new shortcuts:

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

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

libre office 5.0.2 sfs and pet, wine 1750 sfs and pet,

#103 Post by Puppus Dogfellow »

LibreOffice-5.0.2_en-US_xz.pet, LibreOffice-5.0.2_en-US_xz.sfs

w1750 pet and sfs [wine_DOC-1.7.50-i486.pet, winenv-1.2.pet, wine-17.50-i486_v2.1.pet, wine_extras-v2.pet wine_DEV-1.7.50-i486_v2.pet, wine_menu-1.pet]

and here are new palemoon packages from OscarTalks:

palemoon-25.7.0-!686.pet


palemoon-25.7.0-!686.sfs



-------

i made some new icons for the vtg button. here's the Cauliflower MacHue series for the virtual geany terminal (vgt) i.e. the virtual terminal geany (vtg--i've discovered at least one of my posts screws up the three letter name):

Image


grab them here.

(vtg's like a central brain for many functions, and cauliflower's a brain-like vegetable, and vegetable's got all the right letters for the job, ...)

:mrgreen:
:? :wink:

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

some more updates.

#104 Post by Puppus Dogfellow »

SFR has come up with something superior to gfnrename, rcrsn51 has improved partview, musher0 has updated his slocate wrapper, and OscarTalks has made updated palemoon packages available. also, here's a java pet and sfs update.


multirename-1.4.1.pet

PuppyTerrier-02c_BIL.pet

partview-2015.pet

palemoon-25.7.3-i686.pet

palemoon-25.7.3-i686.sfs

jre1.8.0_60.sfs

jre1.8.0_60.pet


--------

the xpad back up and xpad clear scripts on the aemenus all appear to point to script that no longer exists or has been moved. for the time being, the suggested workaround is xpc (xpad clear) and xpb (xpad backup) entered into the shift+space bar activated launcher (puup, nwp, etc).

use xpb before xpc, check the my documents text folder for the composite (also in root, but this will get over written every time you run xpb), and if you really want the old xpad notes gone, close xpad before you run xpc.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

eesh.

#105 Post by Puppus Dogfellow »

i've been modding the distro (5.7.2.11) pretty heavily these last couple of months, mostly just trying to break things (which i've finally managed to do), and at some point, and i believe this only affects me and that the problem is due to a fairly recent change (last 3 weeks or so), i caused an infinite loop to occur: showdesktop only endlessly cycles through the program windows; hit escape a couple of dozen times should this happen to you. so, unless you know yours works, DO NOT use the jwm menu version of showdesktop (it's on some of the larger menu menus and as a stand alone entry on some of the root menus).

------

been playing around with Barry's excellent Quirky 7.2 for a day or so now, and i can't get many of the non jwm nwp tweaks to work correctly, so if you managed to get it to work for you using the earlier post (page 4?) to deposit the launcher and /nwp folder into a quirky (both wmctrl functions and xdotool functions seem off in 64 bit pups and quirkies--7.0.4 seemed to work a bit better with the NWP and VTG than the 7.2 does, even as a 64 bit), please explain how.

:lol: :lol:


anyway, avoid the showdesktop entry in the menus unless you've used it before without incident.


---

edit: the nwp stuff works off the aemenu in quirky, so i think most of the errors are correctable and my fault--can't up the latest update of the folder and config files until i track down the mistakes/conflicts in jwm-personal and/or that jwm file in etc/xdg.

:cry: :?

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

not my bug--fix is to hold down to escape key (or keep 25 or

#106 Post by Puppus Dogfellow »

anyway, avoid the showdesktop entry in the menus unless you've used it before without incident.
it only seems to affect workspaces that contain over thirty windows--no issue when i move ten over a desktop and try either from there or the original work space. a change in habits (rarely use more than one desktop these days despite always having 24 available) is the reason for the problem--it's a latent awareness of an old problem, not an introduction of a new one. anyway, regardless of the number of windows open, the regular tray button and the shortcut keys for show desktop still work.

one last version of the nwp folder and launchers to come. i've been testing it out in quirky 7.2. and it's all working well--the new wmctrl and xdotool pets from ETP seem to have resolved the problems i found in 7.0.4. 64 bit. i don't expect there to be any problems with ANWPUS (A Nooby Word Processor And Utilities Suite--that acronym is its official (and generally unused) dumbass (though pu/up is really no better. maybe i'll go back to pwn/nwp...) name) in 32 bit pups.

still checking over the jwm menus--the aemenus work fine--and finalizing (heh) the myriad shortcut keys. the official pack of launchers (though i may make a second set for those who prefer to keep things in /root/my-applications/bin) will contain highlight and cursor-at-end versions of the general (/nwp/) launcher, rox (rox /nwp/), leafpad (leafpad /nwp/), geany (geany /nwp/), and change permission (chmod 755 /nwp/) launchers. the launchers all have quick keys to one another (and findnrun and the terminal of your choice, to make up for where other launchers surpass them) and the new version of the nwp folder (included, at least for the most part, in the last set of upgrades--you could skim back for a preview if you're new to the thread) is designed to keep your documents, settings, and essential software portable and out of the save folder.

i've been using the following launcher to change permissions of whatever i dump into /nwp--it's been coming in pretty handy and i think the only one i haven't included as a script or via terminal update:

Code: Select all

#!/bin/sh
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=pwnch
Icon=/root/puppy-reference/mini-icons/mini-pencil.xpm
Comment=nwp launcher /nwp/chmod 755 [grant execution privileges) 
Exec=/nwp/ch
Terminal=false
Type=Application
GenericName=
Version=1.0
Categories=Fun;Document;Filesystem;Utility;X-Desktop
 ' > /usr/share/applications/pwng.desktop
 
 echo $'
#!/bin/sh
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
              --title="pw,n-ch" --window-icon="gtk-execute" \
              --entry --entry-label="Run command:"  \
              --column="command" --entry-text "chmod 755 /nwp/")
[ -z "$CMDLINE" ] && exit 0
 
$CMDLINE &
exit 0
 ' > /nwp/ch-
 
chmod 755 /nwp/ch-


echo $'

#!/bin/sh
/nwp/ch-| xdotool sleep .3s key Right


 ' >  /nwp/ch
 
 chmod 755 /nwp/ch
 fix menus; jwm -reload
 
 #try jwm -restart if this doesn't put the launcher on the menu; alter the Categories= part if it's on too many submenus and then do another jwm -reload (or jwm -restart)
 
 
------------

in addition to the updated shortcut keys (and a cheat sheet for them), the next /nwp update will also include the following:



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 launcherr (also -l)
rl - rox launcher (also -r)

highlighted entry versions:

r- rox launcher
g- geany launcher
ch- change permissions launcher
l- leafpad launcher


(some of this is likely already included in the last release of this spin, but i need to update the documentation here and several other places...)

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

updated launcher install script

#107 Post by Puppus Dogfellow »

also less prone to disaster and more easily taken with you.

Puppus Dogfellow wrote:

in addition to the updated shortcut keys (and a cheat sheet for them), the next /nwp update will also include the following:



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 launcherr (also -l)
rl - rox launcher (also -r)

highlighted entry versions:

r- rox launcher
g- geany launcher
ch- change permissions launcher
l- leafpad launcher


(some of this is likely already included in the last release of this spin, but i need to update the documentation here and several other places...)
below is an updated launcher install script. will be upping a compressed folder of this and other improvements in the near future, but why wait to enjoy convenience. also, happy first birthday, spin. (i'll support it until it's no longer running on either of the two machine's i've got it on, but i'll continue to support the repo that supports this and other distros well beyond that. right now the goal is to make the changes portable. comments should explain what the launchers do, but basically they allow you to navigate, create, and change permissions on the fly, taking into account three possible starting levels for your files: /root/my-applications/bin, /root/my-documents/bin, and /nwp, which has provisions similar to barry's my-documents and /file folders.




#!/bin/sh


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

' > /root/my-applications/bin/ww


echo $'
#!/bin/sh
wmctrl -d; wmctrl -l -G

#get windows and geopmetry info
' > /root/my-applications/bin/wdg
#---------------------------
echo $'
#!/bin/sh
wmctrl -d; wmctrl -l -G
#get windows and geopmetry info-alt

' > /root/my-applications/bin/w11
#---------------------------
echo $'
#!/bin/sh
xdotool key ctrl+9 ctrl+8 Return F2 ctrl+7
#for precise, the F2 wasn't needed.
#script to execute the following string in geany (needs a few tweaks to the keyboard config file or a swap with the key.config file in the word processing and related folder at the pupli repo.
# send line where cursor sits (or what's been highlighted) to the terminal, run it, close the terminal, return to the editing view.
#you may want to put compile and build back (f8 and f9, iirc) if you like geany's built in shortcuts. i messed with those but they have nothing to do with the vtg function.


' > /root/my-applications/bin/v
#---------------------------
echo $'
#!/bin/sh
#name t and place in root/my-applications/bin and/or /nwp
#lxterminal
#roxterm
#urxvt
#sakura
#evilvte
#vte
#lxterminal
rxvt
# launch terminal of your choice with "t"


' > /root/my-applications/bin/t
#---------------------------
echo $'
#!/bin/sh
# name rr
rox /; xdotool key ctrl+b Down Down Right Down
#^one down on the recently visited list


' > /root/my-applications/bin/rr
#---------------------------
echo $'
#!/bin/sh
/nwp/rl
# rox launcher for /nwp. customize--the folder is layed out like an extended my-documents in some respects. it's goal is partially to make your files and customizations more portable and/or keep them out of the save file, save folder, or /root in general. use this, the leafpad version, and the geany version to navigate and create on the fly.

' > /root/my-applications/bin/rl
#---------------------------
echo $'
#!/bin/sh
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
--title="pw,n-rad" --window-icon="gtk-execute" \
--entry --entry-label="Run command:" \
--column="command" --entry-text "rox /root/my-my-documents/")
[ -z "$CMDLINE" ] && exit 0

$CMDLINE &
exit 0
#replace path in --entry-text "" field with target directory
# use launcher to navigate subdirectories (or launch defaults) starting with /root/my-documents/ as the preloaded level.
# nwp version is launched by "rl"

' > /root/my-applications/bin/rad
#---------------------------
echo $'
#!/bin/sh
#replace path in --entry-text "" field with target directory
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
--title="pw,n-rab" --window-icon="gtk-execute" \
--entry --entry-label="Run command:" \
--column="command" --entry-text "rox /root/my-applications/bin/")
[ -z "$CMDLINE" ] && exit 0

$CMDLINE &
exit 0

# use launcher to navigate subdirectories (or launch defaults) starting with /root/my-applications/bin/ as the preloaded level.
# nwp version is launched by "rl"

' > /root/my-applications/bin/rab
#---------------------------
echo $'

#!/bin/sh
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
--title="pw,n" --window-icon="gtk-execute" \
--entry --entry-label="Run command:" \
--column="command" --entry-text "/nwp/")
[ -z "$CMDLINE" ] && exit 0

$CMDLINE &
exit 0
#main (nwp) launcher

' > /root/my-applications/bin/p-
#---------------------------
echo $'

#!/bin/sh
/nwp/p-| xdotool sleep .4s key Right
#main launcher with a .4 second time delay before it sweeps right. adjust for your hardware.

' > /root/my-applications/bin/-p
#---------------------------
echo $'
#!/bin/sh
/nwp/-p| xdotool sleep .3s key Right
#use this to launch the commands and menus in /nwp

#main launcher with a .3 second time delay before it sweeps right. adjust for your hardware.

' > /root/my-applications/bin/p
#---------------------------
echo $'
#!/bin/sh
/nwp/ll
# leafpad launcher for /nwp. customize--the folder is layed out like an extended my-documents in some respects. it's goal is partially to make your files and customizations more portable and/or keep them out of the save file, save folder, or /root in general. use this, the leafpad version, and the geany version to navigate and create on the fly.

' > /root/my-applications/bin/ll
#---------------------------
echo $'
#!/bin/sh
#replace path in --entry-text "" field with target directory
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
--title="pw,n-lad" --window-icon="gtk-execute" \
--entry --entry-label="Run command:" \
--column="command" --entry-text "lad /root/my-documents/")
[ -z "$CMDLINE" ] && exit 0

$CMDLINE &
exit 0
#use launcher to open or create documents with leafpad starting with /root/my-documents/ as the top level

' > /root/my-applications/bin/lad
#---------------------------
echo $'
#!/bin/sh
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
--title="pw,n-lab" --window-icon="gtk-execute" \
--entry --entry-label="Run command:" \
--column="command" --entry-text "leafpad /root/my-applications/bin/")
[ -z "$CMDLINE" ] && exit 0
$CMDLINE &
exit 0
#replace path in --entry-text "" field with target directory
#use launcher to open or create documents or scripts with leafpad starting with /root/my-applications/bin/ as the top level
#nwp version is launched by "ll"

' > /root/my-applications/bin/lab
#---------------------------
echo $'
#!/bin/sh
/nwp/gl
# geany launcher for /nwp. customize--the folder is layed out like an extended my-documents in some respects. it's goal is partially to make your files and customizations more portable and/or keep them out of the save file, save folder, or /root in general. use this, the leafpad version, and the geany version to navigate and create on the fly.

' > /root/my-applications/bin/gl
#---------------------------
echo $'
#!/bin/sh

#replace path in --entry-text "" field with target directory
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
--title="pw,n-gad" --window-icon="gtk-execute" \
--entry --entry-label="Run command:" \
--column="command" --entry-text "geany /root/my-documents/")
[ -z "$CMDLINE" ] && exit 0

$CMDLINE &
exit 0

# use launcher to open or create documents with geany starting with /root/my-documents/ as the top level

' > /root/my-applications/bin/gad
#---------------------------
echo $'
#!/bin/sh
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
--title="pw,n-gab" --window-icon="gtk-execute" \
--entry --entry-label="Run command:" \
--column="command" --entry-text "geany /root/my-applications/bin/")
[ -z "$CMDLINE" ] && exit 0
$CMDLINE &
exit 0
#replace path in --entry-text "" field with target directory
#use launcher to open or create documents or scripts with geany starting with /root/my-applications/bin/ as the top level
# nwp/pwn/puup version is launched by "gl"

' > /root/my-applications/bin/gab
#---------------------------
echo $'
#!/bin/sh
#name f and place in root/my-applications/bin and/or /nwp
findnrun
#grun
#pexec
#pxc
#prun
#gexec

#find and run is far superior at finding built in programs than nearly everything. use "f" in place of tab tab, etc.

' > /root/my-applications/bin/f
#---------------------------
echo $'
#!/bin/sh
#D=$(echo "`wmctrl -d`" | grep "\*" | grep -o "^[0-9]*");R=$(echo -n "`wmctrl -lx`" | awk -F"[ .]+" '{if ($2=='$D' && $3=="ROX-Filer") print $1}');for i in $R;do wmctrl -ic $i;done
#closeallrox
rox -D /
# very convenient

' > /root/my-applications/bin/cr
#---------------------------
echo $'
#!/bin/sh
CMDLINE=$(yad --width=350 --skip-taskbar --center --on-top --fixed --sticky \
--title="pw,n-chab" --window-icon="gtk-execute" \
--entry --entry-label="Run command:" \
--column="command" --entry-text "chmod 755 /root/my-applications/bin/")
[ -z "$CMDLINE" ] && exit 0

$CMDLINE &
exit 0
#replace path in --entry-text "" field with target directory
#set permissions in /root/my-applications/bin/ so program can run
# the nwp version is launched by ch.

' > /root/my-applications/bin/chab
#---------------------------
echo $'
#!/bin/sh
/nwp/ch-| xdotool sleep .3s key Right
# change permissions of scripts in /nwp

' > /root/my-applications/bin/ch


chmod 755 /root/my-applications/bin/ch /root/my-applications/bin/chab /root/my-applications/bin/cr /root/my-applications/bin/f /root/my-applications/bin/gab /root/my-applications/bin/gad /root/my-applications/bin/gl /root/my-applications/bin/lab /root/my-applications/bin/lad /root/my-applications/bin/ll /root/my-applications/bin/p /root/my-applications/bin/-p /root/my-applications/bin/p- /root/my-applications/bin/rab /root/my-applications/bin/rad /root/my-applications/bin/rl /root/my-applications/bin/rr /root/my-applications/bin/t /root/my-applications/bin/v /root/my-applications/bin/w11 /root/my-applications/bin/wdg /root/my-applications/bin/ww


with this, a regular launcher can navigate through the eyes/capabilities of rox, leafpad, or geany by accessing a few scripts moved in /root/my-applications/bin. it also allows access to all the /nwp functions. new launcher functions:

rad
rab
gad
gab
lad
lab
chab


r = rox prefix
ad = starting level is /root/my-documents
ab = starting level is /root/my-applications/bin
ch = chmod 755 (allow script to run) prefix
l = leafpad prefix
g = launcher starts with geany as its prefix.

nwp/file is the my-documents equivalent in that location, which is launched by the prefix and l for launcher, i.e. gl, rl, ll. permissions is a lone "ch." add a dash if you want the pre-highlighted version instead (pertains only to nwp versions--the others are mostly pre-highlighted when you launch them).

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#108 Post by Puppus Dogfellow »

/nwp folder and launchers have been updated/upgraded and are available as .gz and .xz compressed folders.


NWP-11-15-1.tar.xz and NWP-11-15-1.tar.gz

see the nwp thread for details

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

did a manual remaster of the smallest of the most recent...

#109 Post by Puppus Dogfellow »

just updated the smallest. got rid of many unnecessary duplicate scripts--according to the popup boxes, i cut 30 megabytes out when the main sfs was uncompressed. compressed back, the changes don't register as size savings, but the bugs are gone, and here's the newest:

-572.12.iso.


the changes were just to the system--some jwm stuff, the removal of over 90 percent of what was in /root/my-applications/bin, a few other tweaks. the pets that didn't get added last time still haven't been added, but i'm offering them as a pet, an sfs file, a downloadable folder, and an online folder you could just grab them (and their updated counterparts) from:


p57211-12up.tar.xz


p57211-12up.pet


p57211-12up.sfs


p57211-12up


folder/pet/sfs/tar.xz contain:


copy-fast-2.4.pet mycp-1.0_noarch.pet PuppyTerrier-02c_BIL.pet
desktop-restore-2.2.pet mydbox-1.2_noarch.pet quickpet_precise-2.pet
freshplayerplugin-0.2.3.pet pArchive-2.0.pet Right-click-6.9.8.pet
getflash-1.5-6.pet partview-2015.pet sfs2pet-20121001.pet
get_libreoffice-0.30.1.pet pet.specs sfs_load-2.3.7.pet
multirename-1.7.pet pfind-5.05.pet slocate-3.1-i486-4.pet
multirename_NLS-1.7.pet pfind-6.2-1.pet youtube-dl-2015.10.06.2.pet



other changes: the top hidden tray and custom bottom tray remain, but the side curtain trays (there's now a right one that mirrors the left--both are hidden and you can see screenshots of the left side version earlier in the thread) are commented out by default. "jp" in the nwp launcher (spacebar plus shift) will open that file for editing. or should. i may've mixed up the penultimate nwp with the antepenultimate nwp…

actually, nwp making has become somewhat of a bad habit…


enjoy.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

browsers , wine, wordprocessors, vlc, qt, java

#110 Post by Puppus Dogfellow »

here are the recommended browser choices:

firefox.pet

chromium-40.0.2214.91.pet

palemoon-25.7.3-i686.pet

palemoon-25.7.3-i686.sfs

(thanks to OscarTalks for all but the chromium, which is thanks to kost@s).

___


here are the most current wine, libreoffice, and java packages:

w1753.sfs
w1753.pet

LibreOffice-5.0.3_en-US_xz.sfs
LibreOffice-5.0.3_en-US_xz.pet

jre-8u65-i586.sfs


OscarTalks provided the java, the wine packages are made from the work of version2013, argolance, peebee, and technosaurus. to get VLC, you can either download it and the qt package from quickpet, or you could use the following:

qt-4.8.2-stripped.pet

vlc-2.0.7-i686.pet

vlc_DOC-2.0.7-i686.pet

vlc_DEV-2.0.7-i686.pet

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

~572.12 and these posts to replace the earlier versions

#111 Post by Puppus Dogfellow »

so, long story short, precise 5.7.1 plus savefolder ability, the nwp, the vtg, a bunch of jwm tweaks, an updated bash, the removal of the seamonkey suite and abiword, and the addition of following


megasync-xUbuntu_12.04_i386.deb
dillo-3.0.4.1-precise.pet LP2_XorgHigh.pet
FirewallToggle-1.0.pet mupdf-1.4.pet
glipper-lite.pet peasypdf-3.3.pet
guvcview-1.5.3.pet PuppyTerrier-01g_BIL.pet
img2pdf_tahrpup-1.1.pet python-2.7.pet
lib6+libstdc6-4.9.2.pet SimpleHTTPServerWithUpload-1.0.pet
libc-ares2_1.10.0-2_i386.deb tas-1.9.pet
libicu48_4.8.1.1-3ubuntu0.1_i386.deb treesize-0.54.1.pet
libnss3_3.17.1-0ubuntu0.12.04.2_i386.deb
UrxvtControl-1.1.pet pexec-001.pet
antiword_0.37-8.pet Pup-Shots.pet
brother_mfc685cw-1.0.pet qt4-4.3.2.pet
copy-fast-2.3.pet quickpet-1.7.pet
darkgray-0.pet recoll-1.13.02.pet
dash-0.5.6.pet Right-click-6.7.8.pet
empty-files-1.1.pet roxiconchanger-0.3.2.pet
ExifTool-8.66.pet roxmenu_new.win.pet
f2fs-installer-0.1.2.pet sakura-2.3.8.pet
geany-1.24.1-1-i686.pet plus nearly all plugins swapfilemanager-4.6.pet tas-1.9.pet
gexec-0.4-pup1.pet ted-2.23-i386.deb
Tema_Aurora-1.pet xwit-3.4.pet
jreclicker.pet unrpm.pet gtkthememaker-1.9.3.pet
jwmthememaker-1.9.6.pet unrtf_0.19.3-1.1.pet
libQt3Support.so.4.pet vte-0.22.5.pet
libxapian22_1.2.8-1.pet wmctrl-1.07-6_i386.pet
LP2_TerminatorX382.pet woofy-0.91.pet
lxtask-0.1.3.pet xapian-core-1.0.18.pet
moblin_stark-1.1.pet xbindkeys-1.8.3.pet
mswebfonts_525.pet xdotool-2.20110530.1-3.pet
PackIt-1.5.pet xpad-4.0.pet
PaDS-1.0.4.pet xvkbd-3.1.pet
parcellite_1.1.9-1_i386.deb
yad-0.12.4-i486.pet zarfy-0.1.0-i486.pet
Pet_Maker-2.3.pet zensound-0.2b.pet
speeddials winswitcher
monter5.pet roxrefresh
drivespacehoverscriptfromSFR

comprise ~572.12, though some packages may've failed to install. for example, i'm not at the installation now, but i don't recall seeing the contents of megasync-precise.tar.gz (so, here).

572.12 is an upgrade of the base--the others in the series differed mostly in size and the number of packages preinstalled (and possibly compression). to get the updated version of those releases, install what you like from the following (added feature: flexibility):

goldendict-1.0.2-precise.pet

goldendict-wordnet_3.0-26.1_all.deb

Ardour3-3.5.357-i686-Precise_5.7.1nodep.pet

audacity-2.0.5-i686.pet

gimp-painter-2.8.pet

rakarrack-0.6.1-i686.pet

hydrogen-0.9.5.1-s-i686-precise.pet

rakarrack_DOC-0.6.1-i686.pet

rassam-paint-1.0.pet

seq24_0.9.2.pet

LP2_sooperlooper_1.6.14dfsg-1.pet

rosegarden-13.10-i686.pet

________

and speaking of installations, i've been mostly forgoing the built-in tools to install puppies lately. the method's only been tried (by me personally) on these precise spins and on unicornpup, but it really is quick and easy once you get the hang of it/lose your fear of the menu lists...
Puppus Dogfellow wrote: [...]

i downloaded the initrd and vmlinuz, placed them in a folder on sda3, ran grub4dos, got the following entry in menu.lst:

title war3ry66 (sda3/wary66)
uuid f8f444ac-98cb-46a2-8f2b-64d2b0ab03a2
kernel /wary66/vmlinuz psubdir=wary66 pmedia=atahd pfix=fsck
initrd /wary66/initrd

, which looks good to me. it also gave me the idea to manually redo the frugals on one of my machines--i moved around the folders, unpacked some isos so that the folders looked like any other bootable pup's, reran grub4dos--everything looks like it'd work but i haven't yet rebooted. can anyone think of a reason the preceding would fail (savefolder/savefile issues on existing installations aside) or anything i should change before i attempt to boot one of them? i left one installation intact so i'm pretty sure (possibly faulty jwm compile aside) i'll be able to boot from something off that drive regardless.

[...]
Puppus Dogfellow wrote: for anyone interested, the installations work that way. you could just copy the format from the menu lst, make a folder with the initrd.gz, the main puppy.sfs, the vmlinuz, and the zdrv, if any (decompress an iso to get htese files), copy the uuid from the blkid readout (just enter blkid in to a terminal window--not necessary if there are working installations on the partitions represented in the menu list--just copy over since the id numbers for the partitions don't change), and the pups you've set up in this way should boot. at least precise and unicorn did, and i don't see why the other puppies (quirkies are likely another story) wouldn't also work. anyway, you could place frugals on any partition with this method. it's pretty quick, too, especially with find and replace, geany, and a few working templates (i.e. a menu list that's worked in the past--again, why recopy the drive data if it's already there. just rename a folder and the paths the entry contains. however, if you've destroyed the menu list, that blkid command comes in pretty handy. i've personally decided to keep a spare menu list in my dropbox folder as a precaution...).

does anyone know how many different ways you can write a menu list and still have it work? what's the boot up process looking for as far as how the list(s) get formatted? how many ways of identifying a text document as a menu list are acceptable? i copied the format that i believe grub4dos generates.

[...]

and installations just got a bit easier. for me, anyway.

(hopefully someone else can use it/attest to the fact it works (though i don't think my new installations imaginary)).
fromhere.

(file does indeed say it was generated by grub4dos--i think most pups come with it. run it before trying the above (which i think is what the more experienced around here call a manual frugal install). anyway, i'm pretty sure a bootloader needs to be installed first and simply running it and clicking yes to the questions does it. that's the way it's worked on four of my four machines anyway.)
Last edited by Puppus Dogfellow on Mon 30 Nov 2015, 18:22, edited 1 time in total.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

updated and forked 11/18/15: ~572.13 (176 mb)

#112 Post by Puppus Dogfellow »

-572.13.iso

p6.iso

https://docs.google.com/document/d/1Q9J ... sp=sharing--documentation in progress

hideaway tray no longer interferes with menu access--left side floppy tray back by default:

Image


i've made some wallpaper for both spins. i think this first is also the bootsplash for 57213:

Image


Image

Image
batch of wp


Image
artwork by my kid--572.11 desktop--after a little messing around, it's not quite so bleak.

_____



dabe0594b3783790d37f6001bed6202a (md5)
b83a57457262f7b597dd8643171a0a08b5d3ac22 (sha1)
p6


0eed1d91f2511ced48b633dc24ef5d1d (md5)
5243a78924c035c5465ce8232ceda161960ad7b9 (sha1)
~572.13/~572.123/~p6 (at one point i was going to call it 11--i.e. the estimates were way off. it's a little p5_ and a little p6. puppy or prototype. parenthesix...guess "internally known as 6 and parens or parenthesis...or 11 or 13....


apologize for the lazy documentation link. will get it sorted out a bit later.
(repo's also missing quite a few updates).

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

~572.13 (176mb): final spin in the approximately 572 series

#113 Post by Puppus Dogfellow »

the changes were just to the system--some jwm stuff, the removal of over 90 percent of what was in /root/my-applications/bin, a few other tweaks. the pets that didn't get added last time still haven't been added, but i'm offering them as a pet, an sfs file, a downloadable folder, and an online folder you could just grab them (and their updated counterparts) from:
here are the recommended browser choices:
so, long story short, precise 5.7.1 plus savefolder ability, the nwp, the vtg, a bunch of jwm tweaks, an updated bash, the removal of the seamonkey suite and abiword, and the addition of following [...] is ~572.12
so updating/redoing the last one first but updating them all:

~572.13 is Precise 5.7.1 updated (thanks to gyro and mavrothal) to be able to use a save folder. it's also had its bash upgraded and abiword and the seamonkey suite removed. the following has been added:

dillo-3.0.4.1-precise.pet LP2_XorgHigh.pet
FirewallToggle-1.0.pet mupdf-1.4.pet
glipper-lite.pet peasypdf-3.3.pet
guvcview-1.5.3.pet PuppyTerrier-02c_BIL.pet
img2pdf_tahrpup-1.1.pet python-2.7.pet
lib6+libstdc6-4.9.2.pet SimpleHTTPServerWithUpload-1.0.pet
libc-ares2_1.10.0-2_i386.deb tas-1.9.pet
libicu48_4.8.1.1-3ubuntu0.1_i386.deb treesize-0.54.1.pet
libnss3_3.17.1-0ubuntu0.12.04.2_i386.deb
UrxvtControl-1.1.pet pexec-001.pet
antiword_0.37-8.pet Pup-Shots.pet
brother_mfc685cw-1.0.pet qt4-4.3.2.pet
copy-fast-2.3.pet quickpet-1.7.pet
darkgray-0.pet recoll-1.13.02.pet
dash-0.5.6.pet Right-click-6.7.8.pet
empty-files-1.1.pet roxiconchanger-0.3.2.pet
ExifTool-8.66.pet roxmenu_new.win.pet
f2fs-installer-0.1.2.pet sakura-2.3.8.pet
geany-1.24.1-1-i686.pet plus nearly all plugins swapfilemanager-4.6.pet tas-1.9.pet
gexec-0.4-pup1.pet Tema_Aurora-1.pet xwit-3.4.pet
jreclicker.pet unrpm.pet gtkthememaker-1.9.3.pet
jwmthememaker-1.9.6.pet unrtf_0.19.3-1.1.pet
libQt3Support.so.4.pet vte-0.22.5.pet
libxapian22_1.2.8-1.pet wmctrl-1.07-6_i386.pet
LP2_TerminatorX382.pet woofy-0.91.pet
lxtask-0.1.3.pet xapian-core-1.0.18.pet
moblin_stark-1.1.pet xbindkeys-1.8.3.pet
mswebfonts_525.pet xdotool-2.20110530.1-3.pet
PackIt-1.5.pet xpad-4.0.pet
PaDS-1.0.4.pet xvkbd-3.1.pet
parcellite_1.1.9-1_i386.deb
yad-0.12.4-i486.pet zarfy-0.1.0-i486.pet
Pet_Maker-2.3.pet zensound-0.2b.pet
monter5.sh and drivespacehoverscriptfromSFR (/quar in startup)
mochi's bookmarks, speeddials, winswitcher
copy-fast-2.4.pet
desktop-restore-2.2.pet quickpet_precise-2.pet
pArchive-2.0.pet Right-click-6.9.8.pet
getflash-1.5-6.pet partview-2015.pet sfs2pet-20121001.pet
get_libreoffice-0.30.1.pet sfs_load-2.3.7.pet
multirename-1.7.pet pfind-5.05.pet slocate-3.1-i486-4.pet
multirename_NLS-1.7.pet pfind-6.2-1.pet youtube-dl-2015.10.06.2.pet
get_java-0.3-beta.pet; PupClockset-2.4.pet; PupControl-2.6.pet; UrxvtControl-1.1.pet; javaif-20151107-beta.pet; tas-1.9.pet



as have numerous jwm tweaks (ten menus, 24 desktops), the vgt and nwp (see above) and nearly all the geany plugins. some additional software recommendations/some past inclusions from some of the now defunct larger versions:

freshplayerplugin-0.2.3.pet will give firefox or palemoon pepperflash 18. the slimjet package below has 19 and is just about the quickest chrome-like browser i've used. the chromium package has pepperflash 16, but it syncs more typically than slimjet. thanks to kost@s for this, chromium, and the earlier firefox package.

install Whitesnow's mycopy and mydb packages separately. highly recommended but need to be installed by end user. it seems to usually work out better that way, anyway.

another cloud sync service and more browsers that work in these spins:

megasync-precise.tar.gz

chromium-40.0.2214.91.pet

palemoon-25.7.3-i686.pet

palemoon-25.7.3-i686.sfs

(thanks to OscarTalks for palemoon, the included dillo, and slimjet).

new heavyweight browser rec for approximately series:

slimjet-6.0.0.0.sfs

slimjet-6.0.0.0.pet

here are the most current wine, libreoffice, and java packages:

w1753.sfs
w1753.pet

(done on quirky--you may have to right-click disassemble (again, thanks to both don570 and SFR, whose work contributes to the spin in places not limited to the don's wonderful right click utility) the pet and install the smaller pets it contains individually. usually pets made like this just install as it--this time it didn't.)

LibreOffice-5.0.3_en-US_xz.sfs
LibreOffice-5.0.3_en-US_xz.pet

jre-8u65-i586.sfs

OscarTalks provided the java, the wine packages are made from the work of version2013, argolance, peebee, and technosaurus. to get VLC, you can either download it and the qt package from quickpet, or you could use the following:

qt-4.8.2-stripped.pet

vlc-2.0.7-i686.pet

vlc_DOC-2.0.7-i686.pet

vlc_DEV-2.0.7-i686.pet

these are the other packages that were optional on the smaller versions but included in the larger ones (to varying degrees):

goldendict-1.0.2-precise.pet

goldendict-wordnet_3.0-26.1_all.deb

Ardour3-3.5.357-i686-Precise_5.7.1nodep.pet

audacity-2.0.5-i686.pet

gimp-painter-2.8.pet

rakarrack-0.6.1-i686.pet

hydrogen-0.9.5.1-s-i686-precise.pet

rakarrack_DOC-0.6.1-i686.pet

rassam-paint-1.0.pet

seq24_0.9.2.pet

LP2_sooperlooper_1.6.14dfsg-1.pet

rosegarden-13.10-i686.pet

last update was similarly link heavy. this one's got video editors though:

cinelerra-4.2-extraFonts-w5.pet

cinelerra-w5-4.2a.pet

avidemux-2.6.4.pet

openshot-1.4.3_precise.pet
(i believe all but the cinerella (thanks for the find or package, don570) can be downloaded from quickpet (also by 666philb).
____



Other than the fact htop appears to be pulling numbers out of its butt, 572.13 is really working very well. p6 has no goldendict, but it's a bit lighter and newer. neither spin carries a word processor beyond notecase, geany, the nwp, and the vtg--libre office is recommended (Ted was been removed from ~572.12 as it was becoming ~572.13). dillo is the base browser in the larger one, p6 retains the netsurf 666philb included in the original unicornpup as its only browser.


the following has been added to 666philb's unicornpup to make p6:

f3-3.0.pet; peasypdf-3.3.pet; img2pdf_tahrpup-1.1.pet; peasyport-2.0.pet; legacy_grub_2013-1.6.pet; peasyprint-2.8.pet; maag-1.6.pet; peasyscale-1.8.pet; mupdf-1.4.pet; peasywifi-3.7.pet; peasydisc-3.6.pet; python-2.7.pet; peasy_dvd_player-1.3.pet; scanner_share-1.4.pet; peasyfwmon-1.4.pet; SimplePythonHTTPServer-1.0.pet; peasyglue-1.9.pet; YASSM-2.7.pet; peasymp3_progs-4.8.pet; aemenu-1.2.12.pet; qt4-4.3.2.pet; antiword_0.37-8.pet; recoll-1.13.02.pet; brother_mfc685cw-1.0.pet; Right-click-6.9.8.pet; catdoc-0.94.2-i486.pet; sakura-2.3.8.pet; copy-fast-2.4.pet; sfs2dir-20121001.pet; dash-0.5.6.pet; sfs2pet-20121001.pet; desktop-restore-2.2.pet; sfs_load-2.3.7.pet; ExifTool-8.66.pet; SimplePythonHTTPServer-1.0.pet; findnrun-1.10.5.pet; slocate-3.1-i486-4.pet; getflash-1.5-6.pet; treesize-0.54.1.pet; get_libreoffice-0.30.1.pet; unrtf_0.19.3-1.1.pet; larger; vte-0.22.5.pet; libQt3Support.so.4.pet; vte_DEV-0.22.5.pet; libxapian22_1.2.8-1.pet; wmctrl-1.07-6_i386.pet; lxtask-0.1.4-i486.pet; woofy-0.91.pet; mswebfonts_525.pet; xapian-core-1.0.18.pet; multirename-1.7.pet; xdotool-2.20110530.1-3.pet; pArchive-2.0.pet; Xournal_Puppy-0.4.8.pet; partview-2015.pet; youtube-dl-2015.10.06.2.pet; pexec-001.pet; zarfy-0.1.0-i486.pet; PPM_fix_unicornpup.pet; ffconvert-1.3.pet; geany_DOC-1.25-i686.pet; ffmpeg-0.8.12-1-w5c.pet; geany-plugins-1.25-i686.pet; tas-1.9.pet; ffmpeg_DEV-0.8.12-1-w5c.pet; gnewpet-6.5.pet; xpad_4.2.pet; geany-1.25-i686.pet; leafpad_0.8.18.1-4.pet; zensound-0.2b.pet; geany_DEV-1.25-i686.pet; parcellite-1.1.9.pet; get_java-0.3-beta.pet; PPM_fix_unicornpup.pet; PupClockset-2.4.pet; PupControl-2.6.pet; UrxvtControl-1.1.pet; 00javaif-20151107-beta.pet; notecase; tas-1.9.pet; vgt; nwp; jwm tweaks (10 menus, etc).

______

latest as of 11/21:

p6:
dabe0594b3783790d37f6001bed6202a (md5)
b83a57457262f7b597dd8643171a0a08b5d3ac22 (sha1)

p6.iso

~572.13/~572.123/~p6:
0eed1d91f2511ced48b633dc24ef5d1d (md5)
5243a78924c035c5465ce8232ceda161960ad7b9 (sha1)


-572.13.iso


[quirky just crashed on me while making this post--chrome recovered it still unposted in its box--maybe there reason it's so resource heavy/maybe the slim jet's worth checking out even if you've got under 2 gig of ram. anyway, rather than risk losing this a second time, i'll post it, then refill in the links.


radky's 2.6 pupmates got added, but he's now up to 2.7--i'm sure installing one over the other has been taken into account if you want to upgrade it. that and the pup clock set make things easier. rerwin's new getjava utility has also been added, and many peasy apps (rcrsn51) have been upgraded or their omission corrected. links to some other programs i mention in this thread but may have forgotten to add the links for:

find and run: http://www.murga-linux.com/puppy/viewtopic.php?t=98330

pupmates: http://www.smokey01.com/radky/PupMates.html

multi rename: http://murga-linux.com/puppy/viewtopic. ... f906122e9a

winswitcher (included in /nwp, called by ww): http://www.murga-linux.com/puppy/viewtopic.php?t=95673

speed dials (included in /nwp, called by sd or sdr):http://www.murga-linux.com/puppy/viewtopic.php?t=95656

firewall toggle: http://murga-linux.com/puppy/viewtopic. ... 207f42a869

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

here's the user guide:

Ruffly: A User's Guide To p6 And The Approximately Series of Precise Puppy Spins And A Noob's Overview of Puppy Linux

and here's a guide to the vtg and nwp, which is the same thing with a longer intro and shorter title:

nwp and vtg user's guide


(tried to get 20 pages of forum down to 20 pages of virtual eight by eleven and failed by forty.)
Last edited by Puppus Dogfellow on Fri 27 Nov 2015, 09:10, edited 2 times in total.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

nwp upgrade pack available

#114 Post by Puppus Dogfellow »

nwp-menu-addins.tar.xz

thread: http://www.murga-linux.com/puppy/viewto ... 339#874339

the readme as a regular post:

Instructions:
add the contents of the folders to their labeled destinations.
if something won't run, enter the launch code in the ch version of the launcher.
_______________

this add in pack improves the ae and jwm nwp menu system. for aemenu use, it's just a new launch code to learn--"tem" in the launcher gives you the following:

Code: Select all

menu "Individual Duals and The Dual Launchers Folder"
cmd "duals folder for drag and drop/batch launching" "/nwp/duals"
cmd "geany, chrome" "/nwp/ggc"
cmd "geany new instance, chrome" "/nwp/gigc"
cmd "geany new instance, opera" "/nwp/gio"
cmd "leafpad, chromium" "/nwp/lgc"
cmd "geany new instance, firefox" "/nwp/gif"
cmd "default text editor, default browser" "/nwp/def"
cmd "geany, firefox" "/nwp/gf"
cmd "default text editor, firefox" "/nwp/tef"
cmd "leafpad, firefox" "/nwp/lff"
cmd "geany, default browser" "/nwp/gb"
cmd "geany new instance, default browser" "/nwp/gib"
cmd "leafpad, default browser" "/nwp/leb"
cmd "leafpad, seamonkey" "/nwp/leafy"
cmd "leafpad, dillo" "/nwp/dlll"
cmd "geany, dillo" "/nwp/ged"
cmd "geany, seamonkey" "nwp/ges"
cmd "leafpad, opera" "/nwp/lop"
cmd "geany, palemoon" "/nwp/gep"
cmd "geany, chromium" "/nwp/gc"
cmd "geany new instance, palemoon" "/nwp/gip"
cmd "geany new instance, chromium" "/nwp/gic"
cmd "leafpad, palemoon" "/nwp/lep"
cmd "geany new instance, dillo" "/nwp/gid"
cmd "leafpad, chromium" "/nwp/lec"
cmd "geany new instance, seamonkey" "/nwp/gis"
cmd "geany new instance, slimjet" "/nwp/gij"
cmd "geany, slimjet" "/nwp/gj"
cmd "geany, netsurf" "/nwp/gn"
cmd "geany new instance, netsurf" "/nwp/gin"
cmd "leafpad, netsurf" "/nwp/lns"
cmd "leafpad, slimjet" "/nwp/lj"
end
cmd "Templates, Two Versions:" "templates: two versions"
cmd "1. Rebuild/Spit Template Code/Convert to NWP (html):" "rebuild/spit template code" 
cmd "	sans serif template" "/nwp/san1" 
cmd "	serif template" "/nwp/serf1" 
cmd "	mono template" "/nwp/mono1" 

cmd "2. Rename And Use:" "rename and use:" 
cmd "	mono  opened in geany" "/nwp/mono" 
cmd "	mono opened in leafpad" "/nwp/monol" 
cmd "	sans opened in geany" "/nwp/sans" 
cmd "	sans opened in leafpad" "/nwp/sansl" 
cmd "	serif opened in geany" "/nwp/serf" 
cmd "	serif opened in leafpad" "/nwp/serfl"
the same menu in a slightly different form has now been added to the main (n, n1, n2, n3) aemenu word processing menus and the jwm nwp menu, which you could add to an existing jwm setup with

Code: Select all

<Include>/nwp/root3/nwpmenujwm</Include>
or the larger (because it contains all the windows manipulation entries and supplemental menus),

Code: Select all

<Include>/nwp/root3/menu3</Include>
added to any root menus you have. if your puppy is like most, the default right click menu is (made from) the _root_.jwmrc file in /etc/xdg/templates/--add either line to the file at your desired position, save the file, enter

Code: Select all

fixmenus; jwm -restart
into a terminal. (second includes the first as a submenu and is already in the /nwp/root3 folder. since it doesn't need to be altered, nwpmenujwm is the only file for transfer in the folder headed for /nwp/root3. it's probably an unnecessary complication to keep the jwm mods in a subdirectory of nwp rather than nwp itself. if you decide to change this, remember to change the paths in the <Includes> lines to match the new location).

if you've already noticed the nine menus in /nwp/root3 and are actually using them and want to manually add the new submenu to one of the other menus instead/addtionally, you could copy and paste the following in the position(s) of your choice:

Code: Select all

<Menu label="templates: two versions" icon="" height="16">
<Menu label="rebuild/spit template code" icon="" height="16">
<Program label="sans serif template" icon="" >/nwp/san1</Program>
<Program label="serif template" icon="" >/nwp/serf1</Program>
<Program label="mono template" icon="" >/nwp/mono1</Program>
</Menu>
<Menu label="rename and use" icon="" height="16">
<Program label="mono  opened in geany" icon="" >/nwp/mono</Program>
<Program label="mono opened in leafpad" icon="" >/nwp/monol</Program>
<Program label="sans opened in geany" icon="" >/nwp/sans</Program>
<Program label="sans opened in leafpad" icon="" >/nwp/sansl</Program>
<Program label="serif opened in geany" icon="" >/nwp/serf</Program>
<Program label="serif opened in leafpad" icon="" >/nwp/serfl</Program>
</Menu>
</Menu> 

 <Menu label= "dual launchers">
<Program label="duals folder for drag and drop/batch launching">/nwp/duals</Program>
<Program label="geany, chrome">/nwp/ggc</Program>
<Program label="geany new instance, chrome">/nwp/gigc</Program>
<Program label="geany new instance, opera">/nwp/gio</Program>
<Program label="leafpad, chromium">/nwp/lgc</Program>
<Program label="geany new instance, firefox">/nwp/gif</Program>
<Program label="default text editor, default browser">/nwp/def</Program>
<Program label="geany, firefox">/nwp/gf</Program>
<Program label="default text editor, firefox">/nwp/tef</Program>
<Program label="leafpad, firefox">/nwp/lff</Program>
<Program label="geany, default browser">/nwp/gb</Program>
<Program label="geany new instance, default browser">/nwp/gib</Program>
<Program label="leafpad, default browser">/nwp/leb</Program>
<Program label="leafpad, seamonkey">/nwp/leafy</Program>
<Program label="leafpad, dillo">/nwp/dlll</Program>
<Program label="geany, dillo">/nwp/ged</Program>
<Program label="geany, seamonkey">nwp/ges</Program>
<Program label="leafpad, opera">/nwp/lop</Program>
<Program label="geany, palemoon">/nwp/gep</Program>
<Program label="geany, chromium">/nwp/gc</Program>
<Program label="geany new instance, palemoon">/nwp/gip</Program>
<Program label="geany new instance, chromium">/nwp/gic</Program>
<Program label="leafpad, palemoon">/nwp/lep</Program>
<Program label="geany new instance, dillo">/nwp/gid</Program>
<Program label="leafpad, chromium">/nwp/lec</Program>
<Program label="geany new instance, seamonkey">/nwp/gis</Program>
<Program label="geany new instance, slimjet">/nwp/gij</Program>
<Program label="geany, slimjet">/nwp/gj</Program>
<Program label="geany, netsurf">/nwp/gn</Program>
<Program label="geany new instance, netsurf">/nwp/gin</Program>
<Program label="leafpad, netsurf">/nwp/lns</Program>
<Program label="leafpad, slimjet">/nwp/lj</Program>
 </Menu>

_________
summary:

added slimjet and netsurf browsers to the dual launcher folder and menus. added dual launchers and templates submenus to the jwm and aemenus that get called for the nooby word processor functions. added stand alone aemenus for templates (tem is the launch code) and dual launchers ("dual". "duals" will get you the folder, which is better for batch loading, though the vtg is arguably better at managing, editing, and keeping track of the batches. a page opened in geany with a series of either individual or groups of files (full path) preceded by the launch code and a space is the closest the Nooby Word Processor has to a Start Center. see the cheat sheet for the launch codes for the text editor-browser pairing or use the menu itself as the cheat sheet (label is what it does, the slash-noop-prog bit is what you'd need for the geany file.)

***************

bugfix for dead alt+z keyboard shortcut (vtg or virtual terminal genie/geany)

some jwm personal files (if you've gone that route with the nwp folder and pwn launcher) have an incorrect vtg keyboard shortcut in jwmrc-personal. it should read:

Code: Select all

<Key mask="A" key="z">exec:xdotool key alt+1 Down Return</Key>
this requires vgt atop the root 1 menu. use the launcher (v) or a button or icon if you don't have a menu entry or place it on a menu you do have and adjust the call accordingly--the keyboard can't use the shortcut without the menu's help for some reason. incorrect versions have "exec:/nwp/v." it's not as sure a bet, but you could try "exec:xdotool key ctrl+9 ctrl+8 Return F2 ctrl+7" this doesn't require a menu entry but appears to fail for the same reason the keyboard shortcut that calls the script directly does--it's launching the key presses in the rox folder holding it instead of the geany window on the screen (and allegedly active). as to the key code and why it may be different than other versions of what you'll find in /nwp/v, quirky april and werewolf need the F2--precise 5.5 and 5.7 didn't. it works with the F2 in unicornpup, and there's no reason it would really interfere with the function, so it's the new default. i haven't yet tried it without it in any 32 bit pups but precise, but it may be a 64 bit geany versus a 32 bit geany thing: not all of the functions present in the 32 bit nwp/pwn setup work in 64 bit, but this is generally because of either wmctrl or xdotool commands that fail. word processor functions work and so do grids--i'm still in the process of discovering dead commands in 64 bit.)

(i don't believe the vtg key problem made it into any of these spins, but that's the fix. the 64 bit problems are for entertainment purposes only).

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

function key shortcuts from the first few versions return

#115 Post by Puppus Dogfellow »

jp in the launcher should open /root/.jmw/jwmrc-personal in geany. there you'll find a section for your keyboard shortcuts. the earlier versions of this series all had built-ins for the 10 and then 24 desktops, but after i got used to using the launcher for both send to (s#) and goto (d#), i stopped including the same function on the keys. here they are, but this time they rely on the windows key plus modifiers to give you the send to and go to for all 24 (add an s after the desktop number to make the launcher send the next-clicked instead of the currently active window). i'm (slowly and generally) working on a new version of the jwmrc-personal menu, but this is from the current plus the new function keys. so, old function keys above the second comment, new ones below:
<Key key="F12">root:3</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>
<!-- main nwp ae menu--many functions...make 6 copies of your pinboard to modify and hop to and from i think is an exclusive of this one. the rest of the functions exist in one form or another on the jwm version that almost all ten menus have (and why you may want to condense a few down to one line with <Menu></Menu> tags around most of or all of the menu (you can find them in /nwp/root3/9)-->
<Key mask="S" key="F2">exec:/nwp/ww</Key>
<Key mask="S" key="F1">exec:wm</Key>
<Key mask="S" key="F3">exec:/nwp/g</Key>
<Key mask="S" key="F4">exec:/nwp/n3</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>

<!-- 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 /nwp/q1 /nwp/q2 /nwp/q3 /nwp/q4 /nwp/q5 /nwp/q6 /nwp/q7 /nwp/q8 /nwp/q9 /nwp/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).
-->


<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>



<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>
if you did the multiple pinboard thing and want to manually edit the files (change wallpaper, which drive icons (if any) appear, the what and where of the individual icons, etc) enter

Code: Select all

geany /root/Choices/ROX-Filer/PuppyPin6 /root/Choices/ROX-Filer/PuppyPin5 /root/Choices/ROX-Filer/PuppyPin4 /root/Ch/root/Choices/ROX-Filer/PuppyPin3 oices/ROX-Filer/PuppyPin2 /root/Choices/ROX-Filer/PuppyPin1 /root/Choices/ROX-Filer/PuppyPin
into the terminal (or the launcher once the default text is cleared) and they'll all open up in geany, which i think makes editing them a bit easier. of course, the honing will come with use, but as a way to set it up before hand, the file's pretty easy to use. if you want to start with blank desktops rather than copies of what you had when you ran the six copy command, just delete everything between the <pinboard> tags.


to crush any given menu down to one line, find the <RootMenu onroot="#"> at the top and the </RootMenu> at the bottom. below the former, add
<Menu label="(not a blank slot)">
and above the latter add
</Menu>

the whole thing will be there, but it'll require a little extra snaking through the menus to get to it. if you do this to the root1menu (left click), adjust the alt+z shortcut in this same file so the vtg shortcut on the key can still find the menu entry it's supposed to be accessing.

the earliest versions (p572-p57577) had keys for the four panel toggle frames, but just as with goto and sendto, the shift plus space bar (pwn, puup, nwp launcher--one of these days i'll settle on an official title. it never seemed pressing enough...) way (p1-p9) proved easier to remember and therefore actually use. pp1-pp6 are the pinboard toggles, which were never given keycuts. you could add those if you like. if you're happy with the keycuts themselves but don't like order or the modifiers, just highlight the chunk and substitute in geany or leafpad with find and replace. collect all the code you want to run from the keys and swap out everything if you wish--all functionality is duplicated by the menus and the p (since that's its call code, maybe that should be its name? nwp and pwn. the word processor and utilities pack and the folder that forms them will be nwp, the launcher that calls from it plus all its derivatives as a collective are pwn. solved. plus that's what's on most of the desktop files.)--the pwn launcher. if you modify, make sure there are no duplicates as this will either disable both or only use the first (or jwm built-in, which generally overrides anything that conflicts).

while ~572.13 heavily modified the root3 menu (it's there but fairly buried. also the "original menu" slots on the other nine menus refer to the original menus for that particular onroot number--the only copy of the original root 3 menu is on root 3/right click), p6 just added the mass of mods to a submenu in "shutdown+," which is an additional submenu beneath the original shutdown submenu. to crush this menu one down to one line, do the same menu menu trick as above but this time in /etc/xdg/templates/_root_.jwmrc.
open with geany:

geany /etc/xdg/templates/_root_.jwmrc

i used the right click > copy path to clipboard in tree (extension that sets up in the message window--built in and should be showing by default)in geany to get the above path--it's proven useful enough to get a special mention. extend select's come in pretty handy too--sometimes find and replace isn't as easy as writing or overwriting multiple lines at the same time.

open in leafpad:

leafpad /etc/xdg/templates/_root_.jwmrc

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

now for the what to do if the fact you don't have a history scroll down to rely on (many launchers do--pexec, upon which mine is based, may generate one, but i disabled that feature. despite what the link below says, i think pexec, too, generates (after first run) a history file as modifiable as gexec's.

link: http://www.murga-linux.com/puppy/viewto ... 024#794024

below it you can find dash, a dependency of pexec that i left out of the pexec-including p6 (~ series and p5 series had it). alter the "dash" to "sh" or "bash" (either) in the script if you don't feel like like grabbing the dep. you could find it with "which pexec" and open it with up arrow, home, leafpad, space, enter since that route is more direct than the ll for things in the PATH.

in short, you add executable code or program calls and fake a history, which then becomes part of a dropdown menu. you could populate it with nwp commands with a # after them so the reminders or explanations don't interfere with whether or not they work. i find most of the codes pretty easy to remember once you can pick up on a why or two, but i made them up and can't remember all 5000 or so (just checked. there are over 7200 files in the nwp, the vast majority pwn commands. amaze your friends! (think of how many you already know from reading just this post)), so i figured this, too, may be worth a mention.

i think i used to rename my pexec and gexec shortcuts pxc and gxc. pick a name for them, add them to the nwp as these two scripts:

Code: Select all

#!/bin/sh
pexec
#name pxc or pick something better

_______

#!/bin/sh

gexec
# name gxc or pick something better.
use name chosen to launch. set permissions in the ch launcher or with

Code: Select all

chmod 755 /nwp/gxc /nwp/pxc
as a quick example of modding the history file as an aid for the nwp scripts: i take the pwn cheat sheet from /nwp (/nwp/root3/vtg3, but alt plus g will open the set) and i skim it, and i see something i may not remember as a launcher code. so i paste it in /root/.gexec_history (which will appear after you run gexec once. pexec has its equivalent in more or less the same place iirc), but straight from the cheat sheet, it has the wrong path and a few other problems. we need to correct the path and put all the info part on the right side of a pound sign. so we need to change, for example,


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

to


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

an easy way would be to make the separator dashes even (add one to geak), then find and replace -- with # in the highlighted selection. repeat for launchable hints or just add your own choices for a custom menu. this would be fine and we would be done if these scripts were in a /bin or other PATH location, but they're not and we now have to add the correct path to the file names so the machine can find them. but what's an easy way? well, you could extend select or add a unique character (or character set. here asterisks would work as there are no others in the line) to the beginning of each line and then do find and replace, but since the addition (/nwp/) is short and i've already brought up extend select at least twice in this post, let's use that. place the cursor at either the beginning of the first line or the beginning of the last line > tools > Extra Selection > rectangular set anchor > [go to (place the cursor at) the beginning of last if you started at the beginning of the first line, go to the beginning of the first line if you started at the beginning of the last line] > rectangular select to anchor.

this gives you a giant cursor covering all the lines. just type "/nwp/" to fill the path out and click anywhere on the screen to get out of giant cursor mode. save the file; it should now look something like this:

/nwp/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)
/nwp/geak # open all the word processor templates in geany
/nwp/duals # open a folder containing a group of dual launchers (text editors and browsers) for use with the nooby word processor
/nwp/paw # page break above, white text
/nwp/pbw # page break below, white text

_______

if you want even more control of what desktop has what wallpaper, or at least have it preset anyway you choose, check out MochiMoppel's post here:
http://www.murga-linux.com/puppy/viewto ... 738#785738

(and he is indeed right about the wallpaper in rox just being a window--i clicked on it with a change dimensions and position of next thing clicked script and the whole backdrop moved. (usually clicking on the background just resets the cursor :? :shock: ). anyway, i think it's the first time i ever used one of the pinboard shortcuts in any natural capacity--i switched to 3, renamed one of the other five copies to overwrite the original, switched back. no harm done and it's pretty quick--almost as quick as a regular wallpaper change.)

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

a jwmrc-personal you may prefer: more reliance function keys

#116 Post by Puppus Dogfellow »

more things have been added but you get more free slots anyway. here it is:

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

<JWM>

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

<IconPath>/nwp/icons</IconPath>
<IconPath>/nwp/root3/icons</IconPath>

<Include>/nwp/root3/9/2.jwmrc-tray</Include>
<Include>/nwp/root3/9/3.jwmrc-tray</Include>
<Include>/nwp/root3/9/places_submenu</Include>
<Include>/nwp/root3/9/topright</Include>
<Include>/nwp/root3/9/vtray1</Include>
<Include>/nwp/root3/9/vtray2</Include>
<!--<Include>/root/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>outline</MoveMode>

<!-- The resize mode (outline or opaque) -->
<ResizeMode>outline</ResizeMode>

<WindowStyle>
<Height>18</Height>
</WindowStyle>
<!-- 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/root3/vtg1 /nwp/root3/vtg2 /nwp/root3/vtg3 /nwp/root3/vtg4</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 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/viewto ... 701#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-->
<!--
<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>

(blanks for you to customize)
-->

<!-- 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>

<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">exec:laa</Key>
<Key mask="AC" key="j">exec:lma</Key>
<Key mask="AC" key="k">exec:lba</Key>
<Key mask="AC" key="l">exec:wmctrl -r :ACTIVE: -b add,sticky</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="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 -->

<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>


<!-- 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>

<!-- following are now unassigned--customize your noop, etc. -->


<!--
blank templates for an additional 80 shortcut keys can be added with an uncommented out <Include>/nwp/810w</Include> added to this file and the 810w file that follows added to /nwp (which will be included in the next version). they all rely on the windows key and the ten number keys and you'll need to restart jwm for them to take effect. here are the forty blanks (no windows key. this was the batch that lost their functions to the function keys). uncomment and fill in the program choices of a section to use it.
(uncomment simply means to remove the arrows surrounding the text. since i've now commented out everything in 810w, there's really no reason not to put the
<Include>/nwp/810w</Include>
on the other side of this last arrow. highly unlikely there'd have been any conflicts...
)

-->

<Include>/nwp/810w</Include>

<!--
<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:</Key>
<Key mask="SC" key="2">exec:</Key>
<Key mask="SC" key="3">exec:</Key>
<Key mask="SC" key="4">exec:</Key>
<Key mask="SC" key="5">exec:</Key>
<Key mask="SC" key="6">exec:</Key>
<Key mask="SC" key="7">exec:</Key>
<Key mask="SC" key="8">exec:</Key>
<Key mask="SC" key="9">exec:</Key>
<Key mask="SC" key="0">exec:</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>
-->

<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>

<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="3357" 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>
spacer trays so the menu items work/can be accessed on screens with fully maximized windows. left and top active by default.
-->

</JWM>

other than the freeing up of the number keys/the heaping of tasks on the function keys, it's largely the same as what's included in both spins. see the embedded link for a more up to date pwn launch code list than what's included when you hit alt plus g (thought i had taken care of that. :oops: ).

i figured this would allow easy, comfortable additions of whatever nwp commands you find useful. to mod, the general rule is, if it came from nwp, it needs a /nwp/ after the "exec:" and before the command you're putting on a key. if it's a widows command, it very likely doesn't need the "exec:" at all. if it's a regular system command or program you can find on the main root 3 menu, then whatever got it to launch from a terminal (more often than not its name) is what goes between the >< teeth before the /key.

here's the file you place in /nwp for the other 80 keycuts:
<JWM>

<!--

blank templates for an additional 80 shortcut keys. they all rely on the windows key and the ten number keys. surround path and file name with <Include></Include> and place in /root/.jwmrc-personal. i.e.
<Include>/nwp/810w</Include>

then jwm -restart/then restart jwm.
uncomment a section below and fill in the program choices of a section to use it.
-->

<!--
<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>
-->
<!--
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.

-->

</JWM>
suggested name 810w (8 packs of ten that rely on the windows key) and suggested location is /nwp. change the path in the includes line to reflect your choice. (i guess the idea is that gradually, you'd migrate your keycuts to the 810w file and have an easy way to take them with you in the future--just add a similar includes line as the above to your new system's jwmrc-personal file.

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

some mods are tedious candidates for automation.

#117 Post by Puppus Dogfellow »

if you want even more control of what desktop has what wallpaper, or at least have it preset anyway you choose, check out MochiMoppel's post here:
http://www.murga-linux.com/puppy/viewto ... 738#785738
(mochi shows how to do it for four--i give you mostly completed presets for 30 based on his posts)
if you did the multiple pinboard thing and want to manually edit the files (change wallpaper, which drive icons (if any) appear, the what and where of the individual icons, etc) enter

Code:
geany /root/Choices/ROX-Filer/PuppyPin6 /root/Choices/ROX-Filer/PuppyPin5 /root/Choices/ROX-Filer/PuppyPin4/root/Choices/ROX-Filer/PuppyPin3 /root/Choices/ROX-Filer/PuppyPin2 /root/Choices/ROX-Filer/PuppyPin1 /root/Choices/ROX-Filer/PuppyPin
into the terminal (or the launcher once the default text is cleared) and they'll all open up in geany, which i think makes editing them a bit easier. of course, the honing will come with use, but as a way to set it up before hand, the file's pretty easy to use. if you want to start with blank desktops rather than copies of what you had when you ran the six copy command, just delete everything between the <pinboard> tags (except maybe the backdrop)
i haven't yet made these up to 30, but echo /root/Choices/ROX-Filer/PuppyPin{7..30} in the terminal would give you the rest of it.
suggested name 810w (8 packs of ten that rely on the windows key) and suggested location is /nwp. change the path in the includes line to reflect your choice. (i guess the idea is that gradually, you'd migrate your keycuts to the 810w file and have an easy way to take them with you in the future--just add a similar includes line as the above to your new system's jwmrc-personal file.
if you're not using the <Include>/nwp/810w</Include> file discussed earlier, you could put the following desktop chunks (you'd know them when you see them even if they weren't labeled) in or your regular /root/.jwm/jwmrc-personal file. i'm about to update the /nwp (next day or two most likely), but updates to these spins will just get drop in replacements (overwrite nwp files or directories) or update scripts like the following, which gives you the pinboards and the calls to them (for which it then sets the permissions).


for 30 switchable pinboards (pp1-pp30 in the nwp launcher or from a regular terminal but prefaced with "/nwp/" i.e. /nwp/pp14):

Code: Select all

#!/bin/sh


for f in PuppyPin{2..30} ; do cp PuppyPin $f ; done
#if you used the one for the original six and don't want to overwrite them, use  for f in PuppyPin{7..30} ; do cp PuppyPin $f ; done
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin7   '
 > /nwp/pp7
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin8   '
 > /nwp/pp8
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin9   '
 > /nwp/pp9
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin10 '
 > /nwp/pp10
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin11 '
 > /nwp/pp11
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin12 '
 > /nwp/pp12
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin13 '
 > /nwp/pp13
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin14 '
 > /nwp/pp14
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin15 '
 > /nwp/pp15
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin16 '
 > /nwp/pp16
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin17 '
 > /nwp/pp17
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin18 '
 > /nwp/pp18
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin19 '
 > /nwp/pp19
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin20 '
 > /nwp/pp20
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin21 '
 > /nwp/pp21
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin22 '
 > /nwp/pp22
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin23 '
 > /nwp/pp23
echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin24 '
 > /nwp/pp24
 
 echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin25 '
 > /nwp/pp25
 echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin26 '
 > /nwp/pp26
 echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin27 '
 > /nwp/pp27
 echo $'
#!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin28 '
 > /nwp/pp28
 #!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin29 '
 > /nwp/pp29
 #!/bin/sh
 rox --pinboard=/root/Choices/ROX-Filer/PuppyPin30 '
 > /nwp/pp30
 chmod 755 /nwp/pp1 /nwp/pp2 /nwp/pp3 /nwp/pp4 /nwp/pp5 /nwp/pp6 /nwp/pp7 /nwp/pp8 /nwp/pp9 /nwp/pp10 /nwp/pp11 /nwp/pp12 /nwp/pp13 /nwp/pp14 /nwp/pp15 /nwp/pp16 /nwp/pp17 /nwp/pp18 /nwp/pp19 /nwp/pp20 /nwp/pp21 /nwp/pp22 /nwp/pp23 /nwp/pp24 /nwp/pp25 /nwp/pp26 /nwp/pp27 /nwp/pp28 /nwp/pp29 /nwp/pp30
 

run as a script or dump into a terminal.

and here are the jwm desktops chunks:

version 1, which i don't really recommend as it too closely ties the pinboards to the desktop rather than allowing the latter to be an extension (now up to x30) of them, will make every desktop switch a pinboard switch:

Code: Select all

 <Desktops width="8" height="3">
 <!--  (first six are your original switch on the fly. adjust the 8 above to 10 to have 30 desktops. uncomment out these six for those pinboards to be a part of all this)
<Desktop><Background type="command">/nwp/pp1</Background></Desktop>
<Desktop><Background type="command">/nwp/pp2</Background></Desktop>
<Desktop><Background type="command">/nwp/pp3</Background></Desktop>
<Desktop><Background type="command">/nwp/pp4</Background></Desktop>
<Desktop><Background type="command">/nwp/pp5</Background></Desktop>
<Desktop><Background type="command">/nwp/pp6</Background></Desktop>
-->
<Desktop><Background type="command">/nwp/pp7</Background></Desktop>
<Desktop><Background type="command">/nwp/pp8</Background></Desktop>
<Desktop><Background type="command">/nwp/pp9</Background></Desktop>
<Desktop><Background type="command">/nwp/pp10</Background></Desktop>
<Desktop><Background type="command">/nwp/pp11</Background></Desktop>
<Desktop><Background type="command">/nwp/pp12</Background></Desktop>
<Desktop><Background type="command">/nwp/pp13</Background></Desktop>
<Desktop><Background type="command">/nwp/pp14</Background></Desktop>
<Desktop><Background type="command">/nwp/pp15</Background></Desktop>
<Desktop><Background type="command">/nwp/pp16</Background></Desktop>
<Desktop><Background type="command">/nwp/pp17</Background></Desktop>
<Desktop><Background type="command">/nwp/pp18</Background></Desktop>
<Desktop><Background type="command">/nwp/pp19</Background></Desktop>
<Desktop><Background type="command">/nwp/pp20</Background></Desktop>
<Desktop><Background type="command">/nwp/pp21</Background></Desktop>
<Desktop><Background type="command">/nwp/pp22</Background></Desktop>
<Desktop><Background type="command">/nwp/pp23</Background></Desktop>
<Desktop><Background type="command">/nwp/pp24</Background></Desktop>
<Desktop><Background type="command">/nwp/pp25</Background></Desktop>
<Desktop><Background type="command">/nwp/pp26</Background></Desktop>
<Desktop><Background type="command">/nwp/pp27</Background></Desktop>
<Desktop><Background type="command">/nwp/pp28</Background></Desktop>
<Desktop><Background type="command">/nwp/pp29</Background></Desktop>
<Desktop><Background type="command">/nwp/pp30</Background></Desktop>
 </Desktops>	
 

Code: Select all

if you want just the wallpaper to change with every desktop switch, instead add the following to your custom file:

<Desktops width="8" height="3">
<!-- 
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
 -->
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<!--  remain first chosen until next filled in, which will then be default for all that follow until another one is specifically given a wallpaper...-->
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
<Desktop><Background type="image">[path/to/image/.jpg(etc) or just name if in /nwp/icons]</Background></Desktop>
 </Desktops>	
  

Code: Select all

 <!-- 
 version for files in the traditional backgrounds directory. open with: rox /usr/share/backgrounds/; copy or symlink your image files. does the same thing as the version with the image tags. you could also use solid and graduated backgrounds, or tile images. see
http://www.murga-linux.com/puppy/viewtopic.php?p=785738#785738
for more
  -->

 
 
 <Desktops width="8" height="3">
<!-- 
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
 -->
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<!--  remain first chosen until next filled in, which will then be default for all that follow until another one is specifically given a wallpaper...-->
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
<Desktop><Background type="command">/usr/local/apps/Wallpaper/set_bg /usr/share/backgrounds/[place some image files in this folder and add name here]</Background></Desktop>
 </Desktops>	

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

some screenshots of nwp aemenus the p,wn launcher launches

#118 Post by Puppus Dogfellow »

but here's the screenshot the nooby uuord processor and uber utility pack should have gotten a year ago (not that it's good or the previous one wasn't, just that it exists and the previous one didn't):

Image

this is a screen shot of the aemenus popping up but not actually acting on anything, but i think it's better than what i did before, which was give a picture of the jwm version and say, "it's sort of like this." new version will give you 150 free shortcut keys to modify for jwm--anybody want it for a different file manager, post your choice (and the keyboard shortcut syntax if possible.) for now, new version relies on the pop up menus placed on the function keys or launched with the launcher. i tried to keep the codes intuitive and short, but clicking a key you yourself have set up or reading something off a menu to choose it have their obvious advantages. shift plus space bar activated launcher's pretty fast once you get used to it. n is main nwp, which includes supplemental menus and windows manipulations menus. n1 is just the word processing stuff. n2 is just the highlight and select version, which is a little slow and limited compared to n3, the paste and pace version of the codes.

here are the codes for what's popping up above:

aef (for "aefull") will display all they ae menus, which is how the jwm menu handles them.
what it does -- what to enter into the main nwp launcher
nwp and submenus -- n
word processor 1 -- n1
paste and place formatting codes -- n2
highlight and select formatting codes -- n3
supplemental -- s
single monitors, halves and quarters -- 1
double monitors, halves and quarters -- 2
pw,n launchers for nwp -- pwns
grids (x and y by 100 pixel increments) -- g
extra (older) 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 supplemental -- w1
http://www.murga-linux.com/puppy/viewto ... 440#875440

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

a shot of the root 1 menu, including the jwm version of nwp

#119 Post by Puppus Dogfellow »

root one menu is one of the 9 non-standard menus that comes with these spins, though it's gone through some changes over this past year or so. no menu button gives you five menus for that click (granted, two are scrolls or sweeps)--only real drawback i've seen so far, or that takes some getting used to, is that you can't just sweep a highlighted swath over the desktop icons to move them or groups or them around--you have to use control plus click, select the ones you want, grab and move, control click each one back to its unselected state. it's not something that comes into play very often, but maybe it's something to consider.

aef (for "aefull") will display all they ae menus, which is how the jwm menu handles them.
last thing that pops up in the gif is the n3 aemenu (paste and paste codes, which applies to more of the word processing codes than does the highlight and replace category, and which is quicker to apply those codes. i'd still consider n the main nuup (as in uber utility) menu, with n1 being the main word processing menu, but n3 is the one i found myself using most often, so i guess that's why i'm harping on it. the main keyboard shortcuts for the jwm customizations have been given to the function keys by the last update; for the next one, i'll be giving one bank (or level or rung--if you visualize the keys as layered top to bottom (order of modifier complexity is order of decreasing usefulness, or furthest point on an axis, etc.)--i personally generally picture them as being grouped horizontally), most likely the one formed by windows key + [0-9], nothing but word processing functions in an attempt to retain the one modifier and something gets done feel one would expect from a word processor, at least for basic functions like line breaks or bold text. one item will be a leafpad pop up that starts with the paste and paste codes but is meant to be customized. ("elp" is what calls leafpad /nwp/lelp, which is basically a rearranged version of the nwp/pwn/pax codes linked a post or two ago. if you want it now, ll launcher, elp, scz, copy leafpad /nwp/lelp into it, save it. ch launcher, elp. then make a file called lelp and paste whatever notes for the short, more often than not two letter codes that at least as often as not end up proving easier to remember than the keycuts. but as preferences and tastes will naturally vary, i offer a few ways to do most things, or have tried to (use spacefm if you don't like rox, follow the menu condensing advice to have them your way (next update will include a 10 directory for /nwp/root3 that have (i think) 8 of the ten menus pre-condensed to one line), notice the minimum of two menus, a launcher, and a key for just about everything you'd need to do, the ~130 blank keys for further flexibility and to make up for oversights on my part). i see the ten keys as second only to the spacebar in terms of being perfect for modification (few keys are as easy to reach as the spacebar--even with three modifiers, it's not too bad). the home row under your strong hand is also a good area of the keyboard to layer shortcuts. you could always just rely on the launcher and menus and use the keys to launch specific files or groups of files with whatever applications you choose. for most programs, it'll look like the geany /path/to/f1 /path/to/file2 examples you'll see in the jwmrc-personal file in /root/.jwmrc.

Image

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

(mostly a) drop in update pack for /nwp and /nwp/root3

#120 Post by Puppus Dogfellow »

p6~6nwpu-12-15.tar.xz

for the stuff in the copy to nwp folder, do just that. for the stuff in the copy to nwp/root/3 folder, the files are drop in replacements, as is directory 10, which holds precompressed or blank versions of all the menus (root one is intact but flattened--the vtg slot retains the first position because keys and other functions call it. the rest have either been compressed to one line or left blank). the root9 folder includes some additions, but while keys, keys2, mtk, and mtk2 will not overwrite anything, i don't know if you necessarily want to alter your jwm configuration to include them. they pull all the customization away from jwmrc personal and add a menus and trays file as an includes, and to that inclusion, adds the standard (new standard as discussed a few posts ago) keyboard customizations to one file and the hundred plus empty templates to another. as an easy to reach, main interface for the aemenu (nwp word processing and utilities) functions, i added the following to keys2, which is otherwise nothing but blanks:

Code: Select all

<JWM>

<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.
[...]
-->
you can see the other jwm files here, but i'll put the updated cheat sheet in this thread for once. one of the updates is elp, the help file, which pops up with elp in the launcher. joop is a handy way to manage the new customizations. here's the new (set for leafpad) help file:
cheat sheet for paste and paste codes. launch with elp, modify to taste and need.
tip: enter lelp2 in the ll launcher (enter ll in the main (p) launcher) to get a blank alternate--use as scrap or a make a more personalized version of this file. ll launcher again, and either open elp to copy it as elp2 or add
|leafpad lelp2
to the line that's there to have both open whenever you call for elp.


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
paw -- page break above, white text
pbw -- page break below, white text
wm -- go to one of the giant menu submenu menus (presently set for root 0 menu--requires jwm and the root3 folder in /nwp)
t - choice of terminal
f - find and run
p - main launcer/reset launcher
ll - leafpad launcer
gl - geany launcher
rn - gfnrename (batchrenamer)
joop - open jwm and nwp config files
*********************
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

*********************
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

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

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

l- open launcher customized for leafpad
r- open launcher customized for rox
g- open launcher customized for geany
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

***

bb -- bold
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, optional but recommended
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 save as 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
wp-- access the nwp area of one of the root menus
w5 --access the quadrants, halves, and wholes area of one of the root (jwm) menus
pcp --access pup control
fnr --find and run
hlx -- htop in an urvxt window and lx task ...
ppm is a built in for package manager (will work without pxc launcher or anything having been symlinked to /root/my-applications/bin)
x#-- move to # on x-axis (increments of 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
sd --speeddials
sdr --speed dials recent list only
gnysys --open a slew of config files in geany
3but -- speed dials and a version of winswitcher
ws -- winswitcher (also ctrl plus spacebar).
galc -- galculator
nc-- notecase
gd -- goldendict
jv -- make java sfs and take you there (thanks, uten)
5c -- print out the template command for making multiple copies of a file
5cd -- print out the template command for making multiple copies of a directory
7c -- print out the command for changing permissions of a script to executable (kind of lazy--chmod 755 isn't that involved...).
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/viewto ... 132#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. ... 9ea478cf1f). 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)
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/viewto ... 5582835582
xpc and xpb require xpad
some other included shortcuts:
xpc -- xpad clear
xpb -- xpad back up
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 launcherr (also -l)
rl - rox launcher (also -r)
highlighted entry versions:
r- rox launcher
g- geany launcher
ch- change permissions launcher
l- leafpad launcher
f1-f24 --type those function keys
(one of my machines is without) Crying or Very sad
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)
*********************
Last edited by Puppus Dogfellow on Fri 04 Dec 2015, 14:20; edited 5 times in total




Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1102
Location: nyc


PostPosted: Sat 22 Aug 2015, 15:16 Post subject: word processing four
Subject description: also, rox is a file navigation and creation powerhouse.
i suppose it's more of a typewriter...


here are some guides for setting up line breaks, line wrapping, and font choice:

mono/courier/courier new 11 breaking column: 75
serif 12: 99
sans 12: 80
nimbus condensed monospace 14: 110


left, right, and center are all what you'd expect, but justify doesn't work out as nicely as on a full word processor. use search and replace and tick the use regular expressions box, swap \n for a space (one blank white space), hit enter, right click the section, choose format > reflow lines. if you're not concerned with underlining and multiple fonts and don't want the hassle of making sure lines don't run off the page, printing from leafpad is probably best (no line wrapping markers in the default view, no auto-line breaking capability and so makes reshaping text a bit easier, though i suppose you could just toggle that off in geany. another strategy for nearly justified text would be to set the font small in the text editor and use the zoom settings in the browser's print dialog to come close to a justified page. for actually banging out pages of wood and ink, i think it's maybe better to think of this word processor more as an advanced archiving typewriter and pdf maker (pdfs can be bare black and white text or portable sections of the internet, it seems--i'm just a noob who wants something that never breaks--leafpad and geany never break...) and poetry producer--that requires no changes to the basic document format of the templates (maybe one more and some new launchers in the next pack) and preotry (pre tag bug fix in next pack as well), the proto-template, was in fact devised because i noticed what text makers do to lines sometimes and thought it'd be nice to make that behavior optional (it's still pretty cool for comments sometimes). if you're primarily concerned with printing something out and don't care about underlining and other formatting, print from leafpad or geany (there must be a way to shut of the line wrap markers from showing). dillo has a little less capability than the other browsers being discussed, but it always opens new batches in tabs in a new window and it is super fast. the new pack uses it as reference material pop-up with the following:

Code:
#!/bin/sh
#dil. place in /nwp and/or /root/my-applications/bin
dillo www.google.com www.dictionary.com www.murga-linux.com/puppy http://www.etymonline.com/


you can get rid of the close dialog and set other preferences in /root/.dillo/dillorc.

since dillo doesn't respond to the code changing font color, invisible page breaks (those done in white--use the quasi-visible text slots as quick find anchors or as a variation on comments) are visible in dillo--you can use the reference popup to check them. tip: if you don't fill out the title tag in editor view, dillo will give every word processing tab a tiny blank marker that's of less help than ctrl page up and down.

leafpad and seamonkey don't open batches of files dragged to them or sent to them in tabs as default behavior and so seem like a natural match--seamonkey can do the tabs with a little extra fiddling around, i'm sure, and already has the print preview that dillo lacks--this seems to be the next most capable and second fastest set up. so dillo has no print preview or print to pdf capability, but you can use geany or leafpad to print. speaking of which, if you're not using this as an exercise in minimalism but rather for speed and convenience, the main use of the view/read mode (apart from readability and hyperlinks/bookmarks/functional tables of contents) is to copy and paste your formatted (spacing and otherwise) text into zoho, google docs, libre office, box.com, word, textmaker, or any other document handler that will be more likely to be handling the final form of your work, though between the majority of browsers having save to pdf capability and rcrsn51's peasy_pdf making it easy to cut apart and rejoin those documents, this really can be a stand alone solution in many cases. palemoon and firefox take minimal resources to open ten or twenty of these document type tabs, but dillo takes about a thirtieth it seems. (10 vs 300 mb usage at first run with a batch; adding to an already running instance seems to add less overhead to both palemoon and firefox...dillo opens a new window with a new batch of tabs each one is dragged to it...it's really very quick but insists on the file:///path/file syntax rather than the syntax the other browsers (and nearly all puppy programs, it seems) accept, /path/file (unless you're doing it through the terminal, vgt, or a launcher--in those you can use /path/to/file). they've all got buttons or other methods for opening files, so interplay between the interfaces should be pretty smooth. to navigate tabs in dillo:

ctrl+page up -- tab left
ctrl+page down -- tab right

to navigate them in geany:

Ctrl-Shift-PageDown Move document right
Ctrl-Shift-PageUp Move document left
Ctrl-PageDown Switch to right document
Ctrl-PageUp Switch to left document

-----------


in short, you're basically working with a super advanced typewriter (but getting back to basics) and justification is a bit more difficult than other formatting for our purposes here. for formatted text, you'd need to use the template and print from a browser. quick print, use geany or leafpad. want to open 100 100 page text files instantly and copy the text back and forth between a dozen locations? use geany. want multiple views of the text in various stages in development, use the dual launchers or open the batch in a browser as well (vtg or terminal).

---

regarding rox, there is probably no faster way to navigate folders or create files than rox with short cuts set. right click to go to the create new file dialog and press a letter--now every time you are in a rox folder and press that letter, a copy of that document type will appear for you to retitle/save as in that location. ctrl+1-0 gives you speed dials to ten locations, ctrl+b is book marks (you can short cut open parent in new window to get a freebie bookmark/dual plane set up. you could also make a bookmark of a folder of symlinks to launchers, files, programs, directories, etc).

erase keycuts with backspace. if your rox filer doesn't appear to support the right click short cut keys, see this post by Cat Dude:

http://www.murga-linux.com/puppy/viewto ... fb3#354862

--------

documentation fix: w11 in nwp will give you the geometry read out discussed below. there's no included bash mod.

i forgot to document two scripts in the previous pack, htopp and htops, which respectively resize and place an active and a selected window to the central htop position you can see in this screenshot. rename and alter the code (get current geometry of windows with winswitcher f1 or right click menu, wmctrl -l -G in a terminal, or new terminal in distros (~572-p575) with the wmctrl bash prompt mod) to make custom versions. new pack will have q1-5 and sd1-5 (or some equivalent) to give it /nwp launcher shortcut equivalents for the dual monitor's a1-10 and b1-10 (windows sized and moved by quadrant, half, and whole/center).

change to geany -i /nwp/elp if you want the file opened instead in a new instance of geany. take out the -i if you want it in a running instance of geany.

overwriting the menu3 and nwpmenujwm menus also removes showdesktop from the menus--no window whirlpool to await the unsuspecting. beyond that and the keyboards, not much has been added beyond what's been discussed since the last release. the alt g script has been improved...

enjoy.

Post Reply