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

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

update of previous pet. add mod 3, other improvements

#221 Post by Puppus Dogfellow »

xmod8287.1.pet

three additional configurations added, all of which add an additional modifier that works well in jwm but not Rox; there's a jwm file included to make it almost as easy as right click > edit > click to set [keyboard shortcut]. edit all now opens in a new instance of geany, and there's a menu entry that opens up to the /root/my-applications/xmodmaps directory from off Utilities. i got the idea to add mod3 from SFR's lockstate thread, which i just turned to for help with my iso level three shift problem. new versions basically just add two lines, though 82m makes caps lock the multimedia key under F2 (again, check xev if you're short on keys--i wanted Hyper_R and Mode_shift to be able to act on that key, so i couldn't put either there). here's the 82m config file:

! caps lock becomes mode switch, pause becomes caps lock, Menu gets added as modeshift plus q
remove Lock = Caps_Lock
! keycode 78 = Caps_Lock
keycode 252 = Caps_Lock
keycode 66 = Mode_switch
keycode 24 = q Q Menu Q q Q
add Lock = Caps_Lock


! keycode 144 = Caps_Lock
! keycode 71 = F5
! keycode 72 = ISO_Level3_Shift
! keycode 153 = F6
! xmodmap -e 'keycode 21 = equal plus Menu'
! keycode 71 = Mode_switch Mode_switch Mode_switch Mode_switch
! keycode 49 = grave asciitilde grave asciitilde grave asciitilde
! keycode 9 = Escape Menu(second slot is plus shift) (plus modeshift)3 (plus shift and modeshift)4 (can't-get 5th6th2wrk)5 (iso level shift 3 plus shift)6
! possible use is to add another 24 function keys (12 on the Function row, 12 on the numbers plus -/+ row, so that shift isn't used/precluded as a modifier. getting isolevel to work would probably be a better solution...)

! (84 is 82 but with scroll lock rather than pause made caps lock; 87 is the same as 84 but without the menu key activated as mode shift plus q; all three relocate Caps_Lock and make the original key into Mode_switch
! c version makes caps lock an extra control and moves mode switch to pause (rest is same as 84))
keycode 110 = Hyper_R
add mod3 = Hyper_R
! add Control = Hyper_R
and here's the jwm file:

<JWM>

<!-- mod 3 jwm template with that as the only modifier. add individual lines to /root/.jwm/jwmrc-personal or one of your key config files. include the whole file with <Include>/root/my-applications/xmodmaps/no10m/jwmmod3</Include>
added to that/those same file/s. restart jwm to activate -->
<!--
<Key mask="3" key="F1">exec:</Key>
<Key mask="3" key="F2">exec:</Key>
<Key mask="3" key="F3">exec:</Key>
<Key mask="3" key="F4">exec:</Key>
<Key mask="3" key="F5">exec:</Key>
<Key mask="3" key="F6">exec:</Key>
<Key mask="3" key="F7">exec:</Key>
<Key mask="3" key="F8">exec:</Key>
<Key mask="3" key="F9">exec:</Key>
<Key mask="3" key="F10">exec:</Key>
<Key mask="3" key="F11">exec:</Key>
<Key mask="3" key="F12">exec:</Key>
-->

<Key mask="3" key="1">exec:xdotool click 1</Key>
<Key mask="3" key="2">exec:xdotool click 2</Key>
<Key mask="3" key="3">exec:xdotool click 3</Key>
<Key mask="3" key="4">exec:xdotool click 4</Key>
<Key mask="3" key="5">exec:xdotool click 5</Key>

<!-- only these five are currently active. remove bookend arrows (<!-- -->) or move line outside the bookends to activate-->


<!--
<Key mask="3" key="6">exec:</Key>
<Key mask="3" key="7">exec:</Key>
<Key mask="3" key="8">exec:</Key>
<Key mask="3" key="9">exec:</Key>
<Key mask="3" key="0">exec:</Key>
<Key mask="3" key="minus">exec:</Key>
<Key mask="3" key="equal">exec:</Key>

<Key mask="3" key="bracketleft">exec:</Key>
<Key mask="3" key="bracketright">exec:</Key>
<Key mask="3" key="backslash">exec:</Key>

<Key mask="3" key="semicolon">exec:</Key>
<Key mask="3" key="apostrophe">exec:</Key>


<Key mask="3" key="comma">exec:</Key>
<Key mask="3" key="period">exec:</Key>
<Key mask="3" key="slash">exec:</Key>
-->


<!--
<Key mask="3" key="a">exec:</Key>
<Key mask="3" key="b">exec:</Key>
<Key mask="3" key="c">exec:</Key>
<Key mask="3" key="d">exec:</Key>
<Key mask="3" key="e">exec:</Key>
<Key mask="3" key="f">exec:</Key>
<Key mask="3" key="g">exec:</Key>
<Key mask="3" key="h">exec:</Key>
<Key mask="3" key="i">exec:</Key>
<Key mask="3" key="j">exec:</Key>
<Key mask="3" key="k">exec:</Key>
<Key mask="3" key="l">exec:</Key>
<Key mask="3" key="m">exec:</Key>
<Key mask="3" key="n">exec:</Key>
<Key mask="3" key="o">exec:</Key>
<Key mask="3" key="p">exec:</Key>
<Key mask="3" key="q">exec:</Key>
<Key mask="3" key="r">exec:</Key>
<Key mask="3" key="s">exec:</Key>
<Key mask="3" key="t">exec:</Key>
<Key mask="3" key="u">exec:</Key>
<Key mask="3" key="v">exec:</Key>
<Key mask="3" key="w">exec:</Key>
<Key mask="3" key="x">exec:</Key>
<Key mask="3" key="y">exec:</Key>
<Key mask="3" key="z">exec:</Key>
-->
<!--

<Key mask="3" key="space">exec:</Key>
<Key mask="3" key=""></Key>
<Key mask="3" key=""></Key>
<Key mask="3" key="">exec:</Key>
<Key mask="3" key="">exec:</Key>
<Key mask="3" key="">exec:</Key>
-->
<!-- -->

</JWM>
enjoy!
:D

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

here's a tiny wordprocessor and a few shortcuts/workarounds

#222 Post by Puppus Dogfellow »

from a few shortcuts and a workaround for wordgrinder (the nwp thread):

Puppus Dogfellow wrote:from the wordgrinder thread:
Puppus Dogfellow wrote:wordgrinder_0.3.3-1_i386.deb.pet

wordgrinder_0.3.3-1_amd64.pet

32 bit contains relevant files from:
liblua5.1-0_5.1.5-4+deb7u1_i386.deb lua-filesystem_1.5.0+16+g84f1af5-1_i386.deb wordgrinder_0.3.3-1_i386.deb

64 bit contains:
liblua5.1-0_5.1.5-4+deb7u1_amd64.deb lua-filesystem_1.5.0+16+g84f1af5-1_amd64.deb wordgrinder_0.3.3-1_amd64.deb

both contain:
wordgrinder.desktop (wordgrinder launched with urxvt), wordgrinder-rxvt.desktop, wordgrinder-sk.desktop (wordgrinder launched with sakura)

64 bit tested in tahr64-605, 32 bit in xenial32-704

_______

i made some launchers shortcuts for the packages to make up for for the fact that the the nwp's alt plus arrow key interferes with the main menu shortcut in Wordgrinder (alt+down, which may lack the slight delay of Escape, which i think works well enough to leave the window scoot shortcut in tact). run the following in a terminal to get wg, wgs, and wgr shortcuts added to the nwp launcher (requires the appropriate wordgrinder pet above):

Code: Select all

 
  echo $'
#!/bin/sh
/usr/bin/sakura -e wordgrinder
' > /nwp/wgs
echo $'
#!/bin/sh
/usr/bin/rxvt -e wordgrinder
' > /nwp/wgr
echo $'
#!/bin/sh
/usr/bin/urxvt -e wordgrinder 
' > /nwp/wg
chmod 755 /nwp/wg /nwp/wgr /nwp/wgs
#alt plus down arrow "move active window down" shortcut interferes with the program's built-in "alt+down arrow accesses main menu" shortcut--use escape button to open and arrow back to close in pups that use the nwp/anuupus suite.   
reminds me of those old Brother and Magnavox word processors (electric typewriters with screens and storage). runs in a terminal, and the sakura "version" gives right click ability. interesting and under 300kb.

enjoy.
:D

User avatar
recobayu
Posts: 387
Joined: Wed 15 Sep 2010, 22:48
Location: indonesia

#223 Post by recobayu »

Hi Puppus,
How to make that nwp run? What should i do after installing that pet?
Thank you.

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

#224 Post by Puppus Dogfellow »

recobayu wrote:Hi Puppus,
How to make that nwp run? What should i do after installing that pet?
Thank you.
Hi recobayu.

installing A NWP/A NWPUS--A Noob's Word Processor and Utilities Suite in one of these spins is redundant--the word processor and utilities suite is just the customizations i've made to a base distro made portable. if you mean the wordgrinder pet installed in a pup from this thread or that installed the nwp (folder that holds the alternate file system and the little scripts that do the work), shift+spacebar activates the launcher and either wg (wordgrinder opened in urxvt), wgs (wordgrinder opened in sakura) or wgr (wordgrinder opened in rxvt) entered into that launcher will run the program, as will "wordgrinder" in the terminal or clicking on one of the entries in the Documents menu or one of the three .desktop files in /usr/share/applications.

the nwp is more the folder that contains your stuff (optional file system--enter "baek" in the launcher for an aemenu version of it), and the launcher and jwm tweaks are what make the thing--"pwn" launcher (Process Words, Nooby/carpe diem, etc) is shift plus spacebar--i think there's an almost full list of shortcut codes a page back or so--that's the main "interface"--the thing's an overlay/overhaul more than a program, and it gives you more than one way to do what it proposes to do, so--i'm not sure what you mean.
:D

(also, if you're not using these spins for the wordgrinder pet, you'll probably need to install sakura for the wgs/wordgrinder-sk versions to work).

hth

(the nwp thread i've linked may clear up some confusion. it also may add to it).
:lol:

(if you do install the nwp as a pet, it ports your configs to "my39." to get back to them, "my39r" in the terminal should reverse most if not all of the installation (mae in the menu allows piecemeal uninstallation--it's a fairly enormous ae menu--i had an ae menu problem there for a while--just couldn't stop making them (there's an aemenu and jwmmenu maker somewhere in the shortcuts as well, but i usually just use substitution on existing copies at this point--so many templates for keycuts and menus, but lately i've been more concerned with altering the keyboard itself--keeps me up at night.)))


again, hope this helps, but i'll repost the shortcuts with the updates sometime soon.

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

third version of the keyboard tweak pet

#225 Post by Puppus Dogfellow »

xmod8287.1.1.pet


from:
add F13-F35/KP_F1-4 to your keyboard and enable mod3
Subject description: an alternative to the virtual key launcher and the geany root 2 and gg ae menus


Puppus Dogfellow wrote:the geany menu the nwp installs (root2 and gg in the launcher) uses four modifiers and virtual keys to assign inobstrusive (can't intefere with something that in all likelihood doesn't exist--see sample jwm and ae menus below) keycuts to some geany functions, but you could also make those keys physical with the included pet. this would make accesssing something like "rectangular select to anchor" or "open up a list of all the current geany documents itself as a geany document" (right click to use as a table of contents/bookmarks of sorts--control+shift+o will also open the document under the cursor) even faster than arrowing down to selection on the auxiliary menu or alt+h (key launcher's under the right index finger if you installed the nwp pet from earlier) plus acwff#. in fact, now that you can have an F39 (really KP_4, but the real fake F keys go up to 35) that's an actual key. here's a sample of the jwm geany menu and the ae version in its entirety:


#ae menu for geany shortcuts (deps xdotool)
cmd "vtg" "xdotool key ctrl+9 ctrl+8 Return F2 ctrl+7"
cmd "move first" "xdotool key alt+ctrl+shift+super+F14"
cmd "last used" "xdotool key alt+ctrl+shift+super+F13"
cmd "move last" "xdotool key alt+ctrl+shift+super+F15"
cmd "set anchor" "xdotool key alt+ctrl+shift+super+F16"
cmd "select to anchor" "xdotool key alt+ctrl+shift+super+F17"
cmd "rectangular select to anchor" "xdotool key alt+ctrl+shift+super+F18"
cmd "geany --new instance" "geany --new-instance"
cmd "geany --document list" "geany --list-documents > /tmp/glstd; geany /tmp/glstd"
cmd "bookmarks (gny)" "xdotool key alt+ctrl+shift+super+F19"
cmd "documents (gny)" "xdotool key alt+ctrl+shift+super+F20"
cmd "tree-file list (gny)" "xdotool key alt+ctrl+shift+super+F21"
cmd "tree-path (gny)" "xdotool key alt+ctrl+shift+super+F22"
cmd "scribble" "xdotool key F6"
cmd "focus editor (gny)" "xdotool key F2"
cmd "toggle message window (geany)" "xdotool key ctrl+7"


<Key mask="A" keycode="157">exec:/nwp/keys/k/acswf16</Key>
<Key mask="A" keycode="246">exec:/nwp/keys/k/acswf18</Key>
<Key mask="A" keycode="251">exec:/nwp/keys/k/acswf17</Key>

here's the pet that modifies your keyboard so that you can add F13-F35 and KP_1-KP_4:

xmod8287.1.1.pet

here's the info/help file:
click to activate, edit the reset script to suit your layout, edit the runs scripts to suit your preferences, drag run script to startup to have one of the following active by default:

run8287 -- Caps_Lock is Modeswitch, Scroll_Lock is Caps_Lock; additional Function keys added to
Modeswitch+F1-F12 for second twelve and Modeswitch+ the number row for the 12 after that (F series only goes up to F35 but the key pad has an additional four (KP_F#) for a total of 39. "F37-F39" are Modeswitch p+ q,w, and e; Hypr_R is added as mod3 (works in JWM but not Rox) and the key put on Pause ond Escape; Modeswitch + Escape is Escape; Modeswitch + either Tab or Backspace is the Menu key. Menu, for keyboards that have it, is usually keycode 77 or 117 (and can be repurposed).

run82 -- Caps_Lock is Modeswitch, Pause is Caps_Lock, Menu is Modeswitch+q.

run82m -- Caps_Lock is Modeswitch, Pause is Hyper_R (mod 3), multimedia key under F2 (check your setup with xev) is Caps_Lock, Menu is Modeswitch+q.

run84 -- Caps_Lock is Modeswitch, Scroll_Lock is Caps_Lock, Menu is Modeswitch+q.

run84c -- Caps_Lock is Control_L, Pause is Modeswitch, Scroll_Lock is Caps_Lock

run84m -- Caps_Lock is Modeswitch, Pause is Hyper_R (mod 3), Scroll_Lock is Caps_Lock, Menu is Modeswitch+q.

run87 -- Caps_Lock is Modeswitch, Scroll_Lock is Caps_Lock

run87m -- Caps_Lock is Modeswitch, Pause is Hyper_R (mod 3), Scroll_Lock is Caps_Lock

------
you may need to disable or reassign some jwm defaults (like screen shot and the global volume controls, or the root and windows menus) to be able to customize the whole set (key often won't show up as a key or otherwise assignable entity if there's a windows manager function that grabs it first. use xev to check keycodes (these keysyms and keycodes are consistent on all my machines, but the multimedia keys almost never are).
add
<Include>/root/my-applications/xmodmaps/no10m/jwmmod3</Include>
or
<Include>/root/my-applications/xmodmaps/no10m/jwmmod3f</Include>
(swap and experiment)
to /root/.jwm/jwmrc-personal
to be able to use the templates in no10m (all function keys and the alphabet plus a little more for mod3 on the larger of the two. mostly just the alphabet under mod3 for the other)

ktab ktabm kset kreset added as nwp shortcuts (open the key table in geany, open the modifier map in geany, open the xmodmap folder in /root/my-applications/, reset the keyboard (set for u.s. layout--edit to suit yours or copy to make (more) toggles)).

see more:
http://murga-linux.com/puppy/viewtopic. ... 657#958657
here's the larger of the two jwm files (function keycut and mod3 templates):
<JWM>

<!-- mod three jwm template with it as only modifier. add individual lines to jwmrc.personal or one of your key config files. include the whole file with <Include>/root/my-applications/xmodmaps/no10m/jwmmod3</Include>
or
<Include>/root/my-applications/xmodmaps/no10m/jwmmod3f</Include>
(swap and experiment)
added to that/those same file/s -->
<!--
<Key mask="3" key="F1">exec:</Key>
<Key mask="3" key="F2">exec:</Key>
<Key mask="3" key="F3">exec:</Key>
<Key mask="3" key="F4">exec:</Key>
<Key mask="3" key="F5">exec:</Key>
<Key mask="3" key="F6">exec:</Key>
<Key mask="3" key="F7">exec:</Key>
<Key mask="3" key="F8">exec:</Key>
<Key mask="3" key="F9">exec:</Key>
<Key mask="3" key="F10">exec:</Key>
<Key mask="3" key="F11">exec:</Key>
<Key mask="3" key="F12">exec:</Key>
-->

<Key mask="3" key="1">exec:xdotool click 1</Key>
<Key mask="3" key="2">exec:xdotool click 2</Key>
<Key mask="3" key="3">exec:xdotool click 3</Key>
<Key mask="3" key="4">exec:xdotool click 4</Key>
<Key mask="3" key="5">exec:xdotool click 5</Key>

<!-- only these five are currently active. remove bookend arrows (<!-- -->) or move line outside the bookends to activate-->


<!--
<Key mask="3" key="6">exec:</Key>
<Key mask="3" key="7">exec:</Key>
<Key mask="3" key="8">exec:</Key>
<Key mask="3" key="9">exec:</Key>
<Key mask="3" key="0">exec:</Key>
<Key mask="3" key="minus">exec:</Key>
<Key mask="3" key="equal">exec:</Key>

<Key mask="3" key="bracketleft">exec:</Key>
<Key mask="3" key="bracketright">exec:</Key>
<Key mask="3" key="backslash">exec:</Key>

<Key mask="3" key="semicolon">exec:</Key>
<Key mask="3" key="apostrophe">exec:</Key>


<Key mask="3" key="comma">exec:</Key>
<Key mask="3" key="period">exec:</Key>
<Key mask="3" key="slash">exec:</Key>
-->


<!--
<Key mask="3" key="a">exec:</Key>
<Key mask="3" key="b">exec:</Key>
<Key mask="3" key="c">exec:</Key>
<Key mask="3" key="d">exec:</Key>
<Key mask="3" key="e">exec:</Key>
<Key mask="3" key="f">exec:</Key>
<Key mask="3" key="g">exec:</Key>
<Key mask="3" key="h">exec:</Key>
<Key mask="3" key="i">exec:</Key>
<Key mask="3" key="j">exec:</Key>
<Key mask="3" key="k">exec:</Key>
<Key mask="3" key="l">exec:</Key>
<Key mask="3" key="m">exec:</Key>
<Key mask="3" key="n">exec:</Key>
<Key mask="3" key="o">exec:</Key>
<Key mask="3" key="p">exec:</Key>
<Key mask="3" key="q">exec:</Key>
<Key mask="3" key="r">exec:</Key>
<Key mask="3" key="s">exec:</Key>
<Key mask="3" key="t">exec:</Key>
<Key mask="3" key="u">exec:</Key>
<Key mask="3" key="v">exec:</Key>
<Key mask="3" key="w">exec:</Key>
<Key mask="3" key="x">exec:</Key>
<Key mask="3" key="y">exec:</Key>
<Key mask="3" key="z">exec:</Key>
-->
<!--

<Key mask="3" key="space">exec:</Key>
<Key mask="3" key=""></Key>
<Key mask="3" key=""></Key>
<Key mask="3" key="">exec:</Key>
<Key mask="3" key="">exec:</Key>
<Key mask="3" key="">exec:</Key>
-->
<!--template for 39 function keys, both as masked with all available modifiers added as mask and as the bare key (uncomment and restart jwm to activate): -->

<!-- template for key plus five modifiers at once (4 is windows key and 5 is hyper_R. use search and replace on copies to make sets for any other combinations you need). windows functions generally take no "exec:" i.e. ...>window< to open the windows menu off the key, not "exec:window." same for minimize, maximize--some shutdown functions might need an exec, iirc.
use exec:xdotool ctrl+a(c,v,x) on a key to get select all(copy, paste, cut, etc)
remove lines/chunks from bracketing arrows to activate
-->
<!--
<Key mask="ACS34" key="F12">exec:</Key>
<Key mask="ACS34" key="F11">exec:</Key>
<Key mask="ACS34" key="F10">exec:</Key>
<Key mask="ACS34" key="F9">exec:</Key>
<Key mask="ACS34" key="F8">exec:</Key>
<Key mask="ACS34" key="F7">exec:</Key>
<Key mask="ACS34" key="F6">exec:</Key>
<Key mask="ACS34" key="F5">exec:</Key>
<Key mask="ACS34" key="F4">exec:</Key>
<Key mask="ACS34" key="F3">exec:</Key>
<Key mask="ACS34" key="F2">exec:</Key>
<Key mask="ACS34" key="F1">exec:</Key>
<Key key="F12">exec:</Key>
<Key key="F11">exec:</Key>
<Key key="F10">exec:</Key>
<Key key="F9">exec:</Key>
<Key key="F8">exec:</Key>
<Key key="F7">exec:</Key>
<Key key="F6">exec:</Key>
<Key key="F5">exec:</Key>
<Key key="F4">exec:</Key>
<Key key="F3">exec:</Key>
<Key key="F2">exec:</Key>
<Key key="F1">exec:</Key>
-->

<!--
<Key mask="ACS34" key="F24">exec:</Key>
<Key mask="ACS34" key="F23">exec:</Key>
<Key mask="ACS34" key="F22">exec:</Key>
<Key mask="ACS34" key="F21">exec:</Key>
<Key mask="ACS34" key="F20">exec:</Key>
<Key mask="ACS34" key="F19">exec:</Key>
<Key mask="ACS34" key="F18">exec:</Key>
<Key mask="ACS34" key="F17">exec:</Key>
<Key mask="ACS34" key="F16">exec:</Key>
<Key mask="ACS34" key="F15">exec:</Key>
<Key mask="ACS34" key="F14">exec:</Key>
<Key mask="ACS34" key="F13">exec:</Key>
<Key key="F24">exec:</Key>
<Key key="F23">exec:</Key>
<Key key="F22">exec:</Key>
<Key key="F21">exec:</Key>
<Key key="F20">exec:</Key>
<Key key="F19">exec:</Key>
<Key key="F18">exec:</Key>
<Key key="F17">exec:</Key>
<Key key="F16">exec:</Key>
<Key key="F15">exec:</Key>
<Key key="F14">exec:</Key>
<Key key="F13">exec:</Key>
-->

<!--
<Key mask="ACS34" key="KP_F4">exec:</Key>
<Key mask="ACS34" key="KP_F3">exec:</Key>
<Key mask="ACS34" key="KP_F2">exec:</Key>
<Key mask="ACS34" key="KP_F1">exec:</Key>
<Key mask="ACS34" key="F35">exec:</Key>
<Key mask="ACS34" key="F34">exec:</Key>
<Key mask="ACS34" key="F33">exec:</Key>
<Key mask="ACS34" key="F32">exec:</Key>
<Key mask="ACS34" key="F31">exec:</Key>
<Key mask="ACS34" key="F30">exec:</Key>
<Key mask="ACS34" key="F29">exec:</Key>
<Key mask="ACS34" key="F28">exec:</Key>
<Key mask="ACS34" key="F27">exec:</Key>
<Key mask="ACS34" key="F26">exec:</Key>
<Key mask="ACS34" key="F25">exec:</Key>
<Key key="KP_F4">exec:</Key>
<Key key="KP_F3">exec:</Key>
<Key key="KP_F2">exec:</Key>
<Key key="KP_F1">exec:</Key>
<Key key="F35">exec:</Key>
<Key key="F34">exec:</Key>
<Key key="F33">exec:</Key>
<Key key="F32">exec:</Key>
<Key key="F31">exec:</Key>
<Key key="F30">exec:</Key>
<Key key="F29">exec:</Key>
<Key key="F28">exec:</Key>
<Key key="F27">exec:</Key>
<Key key="F26">exec:</Key>
<Key key="F25">exec:</Key>
-->



</JWM>
here's the contents of the one preset (8287) that includes the function key mod. (you can copy that bit to any of the others):
!nwp/vtg-xmod
! 35 function keys plus 4 kp function keys (plus 26+ moddable with the 3 mask(+))
! 8287
! caps lock becomes mode switch, scroll lock becomes caps lock
remove Lock = Caps_Lock
keycode 78 = Caps_Lock
! keycode 110 = Caps_Lock
! ^pause key (110) gets made Hyper_R below; this is here for boards with no scroll lock (swap the lead exclamation point between 78/110 lines to set choice). escape becomes modeshift plus escape and Hyper_R otherwise, so you can really use 110 for whatever you like)
keycode 66 = Mode_switch
add Lock = Caps_Lock


!function keys are modeswitch plus function row for second twelve and modeswitch plus the number row for the 12 after that (F series only goes up to F35 but the key pad has an additional four for a total of 39. "f37-f39" are modeswitch plus q,w, and e.

keycode 67 = F1 F1 F13 F13 F1 F1
keycode 68 = F2 F2 F14 F14 F2 F2
keycode 69 = F3 F3 F15 F15 F3 F3
keycode 70 = F4 F4 F16 F16 F4 F4
keycode 71 = F5 F5 F17 F17 F5 F5
keycode 72 = F6 F6 F18 F18 F6 F6
keycode 73 = F7 F7 F19 F19 F7 F7
keycode 74 = F8 F8 F20 F20 F8 F8
keycode 75 = F9 F9 F21 F21 F9 F9
keycode 76 = F10 F F22 F22 F10 F10
keycode 95 = F11 F F23 F23 F11 F11
keycode 96 = F12 F F24 F24 F12 F12

keycode 10 = 1 exclam F25 F25 exclam 1
keycode 11 = 2 at F26 F26 at 2
keycode 12 = 3 numbersign F27 F27 numbersign 3
keycode 13 = 4 dollar F28 F28 dollar 4
keycode 14 = 5 percent F29 F29 percent 5
keycode 15 = 6 asciicircum F30 F30 asciicircum 6
keycode 16 = 7 ampersand F31 F31 ampersand 7
keycode 17 = 8 asterisk F32 F32 asterisk 8
keycode 18 = 9 parenleft F33 F33 parenleft 9
keycode 19 = 0 parenright F34 F34 parenright 0
keycode 20 = minus underscore F35 F35 underscore minus underscore
keycode 21 = equal plus equal KP_F1 KP_F1 equal plus
keycode 24 = q Q KP_F2 KP_F2 q Q
keycode 25 = w W KP_F3 KP_F3 w W
keycode 26 = e E KP_F4 KP_F4 e E

! code below adds Hyper_R as mod 3 (works in jwm but not rox)
keycode 9 = Hyper_R NoSymbol Escape NoSymbol Escape
keycode 22 = BackSpace Terminate_Server Menu Terminate_Server BackSpace Terminate_Server
keycode 23 = Tab ISO_Left_Tab Menu ISO_Left_Tab Tab ISO_Left_Tab
! Menu "key" on modeshift (old caps lock) plus backspace and tab for boards without
keycode 110 = Hyper_R
add mod3 = Hyper_R
!Pause and Escape are Mod3(Hyper_R); Modeswitch is Caps_Lock, Caps_Lock is Scroll_Lock; Modeswitch plus Escape is Escape; Modeswitch plus either Tab or Backspace is the Menu key. Menu, for keyboards that have it, is usually keycode 77 (and can be repurposed)
! you may need to disable or reassign some jwm defaults (like screen shot and the global volume controls, or the root and windows menus) to be able to customize the whole set (key often won't show up as a key or otherwise assignable entity if there's a windows manager function that grabs it first.
as a reminder, the launchers off the main launcher also have keys assigned to them in jwm (with the nwp installed):
alt+h -- /nwp/k (virtual key launcher)
alt+j -- /nwp/rl (rox launcher)
alt+k -- /nwp/gl (geany launcher)
alt+l -- /nwp/ll (leafpad launcher)

reassign and/or put the menu codes on the Fkeys

here's a screenshot of the xmodmaps folder that the pet adds to /root/my-applications; open it with "kset" in the launcher or from the Utilities menu (the desktop file just opens a folder with a few tools and configuration files in it). click a choice to run, edit the rest button/script to suit your layout (set for u.s.), and link or copy your choice to Startup to have it active as default.
pet will overwrite common files from earlier versions so rename then overwrite pet versions with the copies to preserve your changes (only 8287, which gives the extra function keys and you can copy from here, the larger jwm add-in, and the info file are new).

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

here's another tiny word processor/update pet. at 5k

#226 Post by Puppus Dogfellow »

at least to learn. arguably. and you can save in pdf, txt, or html. and here's the info from the nwp thread:
Puppus Dogfellow wrote:bbwp.pet

screenshots/gifs:
bbwp2
bbwp1
bbwp3


PostPosted: Thu 13 Aug 2015, 23:17 Post subject: now with puup....an even more minimalistic word processor
Subject description: that's an improvement pack but also functions stand alone.
puup!.tar.gz (19kb)
also in xz flavor: puup!.tar.xz(17kb)
from the readme:


"good to know: most browsers can save as pdf it seems."
http://www.murga-linux.com/puppy/viewto ... 360#860360


which i forgot about, so the included documentation/grab-some-formatting file talks of only saving in html or plain text. anyway, here's a tiny stand alone (apart from your browser) word processor that was originally supposed to be an upgrade pack for the nwp--it works well enough that i'm thinking about making it its own thread (but i'm going to be busy for a while so rushing off a few updates while i can). works with all the browsers discussed in this thread, which is close to just about all those commonly discussed. whole thing is 5k compressed as a pet, but most of that's scrap/help/formatting samples. you get five tabs opened in a browser--one's a blank slate with spell check enabled, one's a formatting sampler with spell check enabled (you could delete/modify the template or make it a second blank and just use websites to copy and paste sample text/sample formatting, but this makes it a bit more self sufficient and makes the sloppy on-the-fly how-to and what-is-it notes more useful).


the styles/notes/formatting/scrap page that's the majority of it (uncompressed 11k file, but if you're actually online, you can grab formatting from anything, so you can open it in geany or leafpad and ditch the prefab) is linked below. mouse shortcuts and keyboard shortcuts all seem to work, and the open/close plain text dialog boxes also get added to the dil dillo reference popup, giving it a note-taker/file browser abilities as well (dil2 in the nwp/pwn/main launcher--formatting tabs didn't display in dillo, but they may have registered the locations of the photos, etc you paste in much as they do in the other browsers).

new launcher shortcuts:
defbb -- open bbwp with your default browser (five tabs--same code in ll or gl launcher(alt+l,alt+k are leafpad and geany launchers) to adjust)
firbb -- with firefox
chbb -- with chromium
pmbb -- with palemoon
gbb -- with google chrome
dil2 -- dillo reference/notetaker
wpebb -- open config files in geany

___

well, it appears the most of the formatting highlights are missing from the (gif) reel so moving on,

thanks to/more info/here's the content of the Styles file:

Code: Select all

 
<!--
   nwp00.html
   
   Copyright 2017 root <root@puppypc>
   
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.
   
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
   
   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
   MA 02110-1301, USA.
   
   
-->
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
<head>
    <title>Styles</title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <meta name="generator" content="Geany 1.25" />
</head>
 
<body>
    
<title>styles-notes-scrap</title><body contenteditable style="font-size:2rem;font-family:serif;line-height:1.5;max-width:60rem;margin:0 auto;padding:4rem;" spellcheck="true">
	Formatting and Info
01 has no spell check but it's enabled in the 00 tab. copy text from the styles/scrap/help file (this file) or any browser window to change the formatting.<p>
	
	use your browser's open, close, and save menus and short cuts--if you don't save what's in the tab you'll lose your changes. <p> 
		
pasting into the Styles tab will format the text; copy it back in underline, bold, h5, etc. copying the the sample text from there and editing it here preserves formatting as well.
    
overwrite and/or copy to grab formatting<p>    
(get rid of this help file's on screen contents and you also have a default set for spellcheck)<p>

control plus a,x,c,y,z all appear to work well in the editable window....right click copy and middle click paste work...select to copy works...

you can grab pictures and other formatting, and presumably videos as well (though i haven't tried)---you aren't limited to the Styles tab for formatting, but i wanted to make the dil nwp shortcut a full word processor--i think it is with these three tabs. first pet should go up by the first of july...

could also be used to grab the locations and formatting behind things since that's what shows up in the text editor view of the file.

enjoy.<p>

---Puppus Dogfellow, July 1, 2017<p>
	
	
	rox /my-applications/bin/bbwp<p>

 bbwp-def -- launch the bbwp with your default browser<p>
 bbwp-fir -- with firefox<p>
 bbwp-g -- with chrome<p>
 bbwp-pm -- with palemoon <p>
 bbwp-ch --  with chromium<p>
 dil2 -- dillo notetaker and reference popup<p>
 editconfig-geany-bbwp<p>
	
	
	
	

thanks to/more info:     <p>
	https://coderwall.com/p/lhsrcq/one-line-browser-notepad: make any tab a notetaker/wp with :
data:text/html, <html contenteditable><p>

http://www.pcworld.com/article/2360940/turn-any-browser-tab-into-a-basic-text-editor.html<p>
https://www.dropboxforum.com/t5/Dropbox/edit-text-file-in-browser-window/idi-p/19795/page/2#comments<p>
	
https://thiscouldbebetter.wordpress.com/2012/12/18/loading-editing-and-saving-a-text-file-in-html5-using-javascrip/<p>
the formatted version doesn't work in dillo, but the code from the above source was added to all the word processor "start centers" (browser pop up with a bunch of editable tabs opened) and makes the dillo reference popup a better notetaker, and a better wordprocessor as far as interplay with the anuupus utilities suite/word processor goes. the box also allows you to work with the raw html side of things, though you don't need to touch code to use this word processor (you just need a browser as capable as firefox/palemoon/chrome/...). <p>
 <p> <p>
overwrite/paste-in and/or copy to grab/change formatting <p>
overwrite/paste-in and/or copy to grab/change formatting<p>
overwrite/paste-in and/or copy to grab/change formatting 
overwrite/paste-in and/or copy to grab/change formatting
<p>
    <b>Formatting and Info</b><p><p>
    <i>Formatting and Info</i><p><p>
    <u>Formatting and Info</u><p>	
	
	text below is probably inaccurate--check the line atop near the title or do a search in this document for spellcheck--first result on the page is the one that's part of the code that answers the question (change it if you like so that both templates are the same)
    
    <h5>odd numbers have spellcheck disabled</h5><p><p>(this refers to something defunct--format your notes with it)
		
		spellcheck enables on Styles tab...
		
		
paste formatted text into google docs, zoho or similar to save as something other than text or html.		
		print through your browser/it's a word processor 
   
<pre>
<span style="font-size: 14pt; color:black; font-weight:normal; font-family: monospace">
print through your browser/it's a word processor 
(but use libreoffice or similar to save as something other than text or html)

		preotry
mono 14 pyaw 
pyaw preotry



	
	
	pre tags preserve dead space
	


pyaw preotry
pyaw preotry

    <b>Formatting and Info</b><p><p>
    <i>Formatting and Info</i><p><p>
    <u>Formatting and Info</u><p>
<h6>h6--copy and paste formatting</h6><p>
 
<h5>h5--copy and paste formatting</h5><p>
<h4>h4--copy and paste formatting</h4><p>
<h3>h3--copy and paste formatting</h3><p>
<h2>h2--copy and paste formatting</h2><p>    
<h1>h1--copy and paste formatting</h1><p>

</span>
</pre>

print through your browser/it's a word processor 
(but use libreoffice or similar to save as something other than text or html)

		preotry
mono 14 pyaw 
pyaw preotry

pyaw preotry
pyaw preotry

    <b>Formatting and Info</b><p><p>
    <i>Formatting and Info</i><p><p>
    <u>Formatting and Info</u><p>
<h6>h6--copy and paste formatting</h6><p>
 
<h5>h5--copy and paste formatting</h5><p>
<h4>h4--copy and paste formatting</h4><p>
<h3>h3--copy and paste formatting</h3><p>
<h2>h2--copy and paste formatting</h2><p>    
<h1>h1--copy and paste formatting</h1><p>
(same as above but without the pre tag. edit the code itself with a text editor or the note/scrap boxes (may be quicker than the browser's open menu. doesn't display formatting but may store it (haven't checked yet but anything you paste into the formattable tabs gets its hidden code revealed if you download it and view it in a text editor or as text (if your browser has that option or you use the boxes at either end of the bbwp popup))))


<pre>
<span style="font-size: 14pt; color:black; font-weight:normal; font-family: sans">

sans 14sans 14sans 14
sans 14sans 14sans 14


    <b>Formatting and Info</b><p><p>
    <i>Formatting and Info</i><p><p>
    <u>Formatting and Info</u><p>
<h6>h6--copy and paste formatting</h6><p>
 
<h5>h5--copy and paste formatting</h5><p>
<h4>h4--copy and paste formatting</h4><p>
<h3>h3--copy and paste formatting</h3><p>
<h2>h2--copy and paste formatting</h2><p>    
<h1>h1--copy and paste formatting</h1><p>

</span>
</pre>



<pre>
<span style="font-size: 14pt; color:black; font-weight:normal; font-family: serif">

serif 14
serif 14
serif 14
serif 14
serif 14


    <b>Formatting and Info</b><p><p>
    <i>Formatting and Info</i><p><p>
    <u>Formatting and Info</u><p>

<h6>h6--copy and paste formatting</h6><p>
 
<h5>h5--copy and paste formatting</h5><p>
<h4>h4--copy and paste formatting</h4><p>
<h3>h3--copy and paste formatting</h3><p>
<h2>h2--copy and paste formatting</h2><p>    
<h1>h1--copy and paste formatting</h1><p>
	
	
</span>
</pre>

<pre>
<span style="font-size: 12pt; color:black; font-weight:normal; font-family: monospace">

mono 12 pyaw preotry
pyaw preotry

pyaw preotry
pyaw preotry



    <b>Formatting and Info</b><p><p>
    <i>Formatting and Info</i><p><p>
    <u>Formatting and Info</u><p>
<h6>h6--copy and paste formatting</h6><p>
 
<h5>h5--copy and paste formatting</h5><p>
<h4>h4--copy and paste formatting</h4><p>
<h3>h3--copy and paste formatting</h3><p>
<h2>h2--copy and paste formatting</h2><p>    
<h1>h1--copy and paste formatting</h1><p>

</span>
</pre>




<pre>
<span style="font-size: 12pt; color:black; font-weight:normal; font-family: sans">

sans 12sans 12sans 12
sans 12sans 12sans 12


    <b>Formatting and Info</b><p><p>
    <i>Formatting and Info</i><p><p>
    <u>Formatting and Info</u><p>
<h6>h6--copy and paste formatting</h6><p>
 
<h5>h5--copy and paste formatting</h5><p>
<h4>h4--copy and paste formatting</h4><p>
<h3>h3--copy and paste formatting</h3><p>
<h2>h2--copy and paste formatting</h2><p>    
<h1>h1--copy and paste formatting</h1><p>

</span>
</pre>



<pre>
<span style="font-size: 12pt; color:black; font-weight:normal; font-family: serif">

serif 12
serif 12
serif 12
serif 12
serif 12


    <b>Formatting and Info</b><p><p>
    <i>Formatting and Info</i><p><p>
    <u>Formatting and Info</u><p>

<h6>h6--copy and paste formatting</h6><p>
 
<h5>h5--copy and paste formatting</h5><p>
<h4>h4--copy and paste formatting</h4><p>
<h3>h3--copy and paste formatting</h3><p>
<h2>h2--copy and paste formatting</h2><p>    
<h1>h1--copy and paste formatting</h1><p>
	
	
</span>
</pre>
<h6>h6--copy and paste formatting</h6><p>
 
<h5>h5--copy and paste formatting</h5><p>
<h4>h4--copy and paste formatting</h4><p>
<h3>h3--copy and paste formatting</h3><p>
<h2>h2--copy and paste formatting</h2><p>    
<h1>h1--copy and paste formatting</h1><p>
<b>bold  --copy and paste formatting</b><p>
<u>underline  --copy and paste formatting</u><p>
<i>italics --copy and paste formatting</i><p> 
<!--
<title>EDIT</title><textarea style="font-size: 1.5em; width: 100%; height: 100%; border: none; outline: none" spellcheck="false" autofocus />    
      -->
    <b>Formatting and Info</b><p><p>
    <b>Formatting and Info</b><p><p>
    <i>Formatting and Info</i><p><p>
    <u>Formatting and Info </u><p><p>
     <p> <p>
overwrite/paste-in and/or copy to grab/change formatting 
overwrite/paste-in and/or copy to grab/change formatting
overwrite/paste-in and/or copy to grab/change formatting 
overwrite/paste-in and/or copy to grab/change formatting
<p>
    <b>Formatting and Info</b><p><p>
    <i>Formatting and Info</i><p><p>
    <u>Formatting and Info</u><p>




    
</body>
 
</html>

link in the thanks to portion is for the dialog box notetaker tab. here's that code(which has the original source as a comment):

Code: Select all



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<html>
<body>
 
<table>
    <tr><td>Text to Save:</td></tr>
    <tr>
        <td colspan="3">
            <textarea id="inputTextToSave" cols="80" rows="25"></textarea>
        </td>
    </tr>
    <tr>
        <td>Filename to Save As:</td>
        <td><input id="inputFileNameToSaveAs"></input></td>
        <td><button onclick="saveTextAsFile()">Save Text to File</button></td>
    </tr>
    <tr>
        <td>Select a File to Load:</td>
        <td><input type="file" id="fileToLoad"></td>
        <td><button onclick="loadFileAsText()">Load Selected File</button><td>
    </tr>
</table>
 
<script type="text/javascript">
 
function saveTextAsFile()
{
    var textToSave = document.getElementById("inputTextToSave").value;
    var textToSaveAsBlob = new Blob([textToSave], {type:"text/plain"});
    var textToSaveAsURL = window.URL.createObjectURL(textToSaveAsBlob);
    var fileNameToSaveAs = document.getElementById("inputFileNameToSaveAs").value;
 
    var downloadLink = document.createElement("a");
    downloadLink.download = fileNameToSaveAs;
    downloadLink.innerHTML = "Download File";
    downloadLink.href = textToSaveAsURL;
    downloadLink.onclick = destroyClickedElement;
    downloadLink.style.display = "none";
    document.body.appendChild(downloadLink);
 
    downloadLink.click();
}
 
function destroyClickedElement(event)
{
    document.body.removeChild(event.target);
}
 
function loadFileAsText()
{
    var fileToLoad = document.getElementById("fileToLoad").files[0];
 
    var fileReader = new FileReader();
    fileReader.onload = function(fileLoadedEvent)
    {
        var textFromFileLoaded = fileLoadedEvent.target.result;
        document.getElementById("inputTextToSave").value = textFromFileLoaded;
    };
    fileReader.readAsText(fileToLoad, "UTF-8");
}
 
</script>
 
</body>
</html>
<!--  
from
 
https://thiscouldbebetter.wordpress.com/2012/12/18/loading-editing-and-saving-a-text-file-in-html5-using-javascrip/

-->
i've been using the pinstall script to make it--it's making files that are already there apart from the nwp shortcuts, but this shows the contents of the rest of the pet minus the content of the two primary wordprocessing tabs:

Code: Select all

#!/bin/sh

#!/bin/sh
#pinstall bbwp11111


echo $'
#!/bin/sh
palemoon /root/my-applications/bbwp/html/box1.html /root/my-applications/bbwp/html/nwp00.html /root/my-applications/bbwp/html/nwp01.html /root/my-applications/bbwp/html/Styles.html /root/my-applications/bbwp/html/box2.html 
' > /root/my-applications/bbwp/bbwp-pm
chmod 755 /root/my-applications/bbwp/bbwp-pm
echo $'
#!/bin/sh
defaultbrowser /root/my-applications/bbwp/html/box1.html /root/my-applications/bbwp/html/nwp00.html /root/my-applications/bbwp/html/nwp01.html /root/my-applications/bbwp/html/Styles.html /root/my-applications/bbwp/html/box2.html
' > /root/my-applications/bbwp/bbwp-def
chmod 755 /root/my-applications/bbwp/bbwp-def

echo $'
#!/bin/sh
google-chrome /root/my-applications/bbwp/html/box1.html /root/my-applications/bbwp/html/nwp00.html /root/my-applications/bbwp/html/nwp01.html /root/my-applications/bbwp/html/Styles.html /root/my-applications/bbwp/html/box2.html
' > /root/my-applications/bbwp/bbwp-g
chmod 755 /root/my-applications/bbwp/bbwp-g
echo $'
#!/bin/sh
dillo file:///root/my-applications/OEWP/html/box1.html www.google.com www.dictionary.com www.murga-linux.com/puppy http://www.etymonline.com/ https://duckduckgo.com/?q=nyc+weather+hourly&t=h_&ia=weather file:///root/my-applications/OEWP/html/box2.html
' > /root/my-applications/bbwp/dil2
chmod 755 /root/my-applications/bbwp/dil2
echo $'
#!/bin/sh
firefox /root/my-applications/bbwp/html/box1.html /root/my-applications/bbwp/html/box2.html /root/my-applications/bbwp/html/nwp00.html /root/my-applications/bbwp/html/nwp01.html /root/my-applications/bbwp/html/Styles.html
' > /root/my-applications/bbwp/bbwp-fir
chmod 755 /root/my-applications/bbwp/bbwp-fir
echo $'
#!/bin/sh
chromium /root/my-applications/bbwp/html/box1.html /root/my-applications/bbwp/html/box2.html /root/my-applications/bbwp/html/nwp00.html /root/my-applications/bbwp/html/nwp01.html /root/my-applications/bbwp/html/Styles.html
' > /root/my-applications/bbwp/bbwp-ch
chmod 755 /root/my-applications/bbwp/bbwp-ch

echo $'
#!/bin/sh
geany -i /root/my-applications/bbwp/html/box1.html /root/my-applications/bbwp/html/box2.html /root/my-applications/bbwp/html/nwp00.html /root/my-applications/bbwp/html/nwp01.html /root/my-applications/bbwp/html/Styles.html
' > /root/my-applications/bbwp/editconfig-geany-bbwp
chmod 755 /root/my-applications/bbwp/editconfig-geany-bbwp

cp -f /root/my-applications/bbwp/editconfig-geany-bbwp /nwp/wpebb
cp -f /root/my-applications/bbwp/bbwp-ch /nwp/chbb
cp -f /root/my-applications/bbwp/bbwp-fir /nwp/firbb
cp -f /root/my-applications/bbwp/dil2 /nwp/dil2
cp -f /root/my-applications/bbwp/bbwp-g /nwp/gbb
cp -f /root/my-applications/bbwp/bbwp-pm /nwp/pmbb
cp -f /root/my-applications/bbwp/bbwp-def /nwp/defbb

chmod 755 /nwp/defbb /nwp/wpebb /nwp/pmbb /nwp/gbb /nwp/dil2 /nwp/firbb /nwp/chbb

 
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=bbwp-conf
Icon=/root/puppy-reference/mini-icons/mini-pencil.xpm
Comment=browser based word processor and note taker --configure
Exec=rox /root/my-applications/bbwp/
Terminal=false
Type=Application
GenericName=
Version=1.0
Categories=WordProcessor
' >/usr/share/applications/bbwp-conf.desktop

echo $'
[Desktop Entry]
Encoding=UTF-8
Name=bbwp-def
Icon=/root/puppy-reference/mini-icons/mini-pencil.xpm
Comment=browser based word processor and note taker--configure
Exec=/root/my-applications/bbwp/bbwp-def
Terminal=false
Type=Application
GenericName=bbwp-def
Version=1.0
Categories=WordProcessor
' > /usr/share/applications/bbwp-def.desktop



styles/help file also fails to mention pandoc (but i added the info to the third gif).


content of the two blank (w,w/o spellcheck) primary templates that pop up as tabs when you activate the bbwp:

Code: Select all

   nwp01.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
<head>
    <title>nwp01</title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <meta name="generator" content="Geany 1.25" />
</head>
 
<body>
    
<title>bbwp01</title><body contenteditable style="font-size:2rem;font-family:serif;line-height:1.5;max-width:60rem;margin:0 auto;padding:4rem;" spellcheck="false">
    


    
</body>
 
</html>

Code: Select all

 
<!--
   nwp00.html
   
[...]
-->
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
<head>
    <title>00-s</title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <meta name="generator" content="Geany 1.25" />
</head>
 
<body>
    
<title>nwp00</title><body contenteditable style="font-size:2rem;font-family:serif;line-height:1.5;max-width:60rem;margin:0 auto;padding:4rem;" spellcheck="true">
    

    
</body>
 
</html>

not to disparage wordgrinder--it didn't save well on my system so i didn't have the patience to learn the bindings or the interface. this one is quick and light and really surprisingly capable (in my limited testing i'm very pleased with it. feedback, critiques, improvements welcome. thanks to all for the provided code, and thanks i guess for html5. i wanted underpowered systems to be able to process words well--this could be part of a very stripped down but capable pup.

seems you can paste in pics, video, links, formatting--you lose the problem of runaway text lines, you can save as text, html, or pdf. you can open up multiple instances or use geany to make a start center of a few document lists...

enjoy.
:)

edit: video gets pasted in as the picture as a usable hyperlink but does not itself get embedded either with middle click or right click paste (...need to test it more, but it seems right click will grab formatting and paste it in a way that changes the target, but middle click paste adheres to the formatting that's there...)

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

launcher shortcuts redux

#227 Post by Puppus Dogfellow »

Puppus Dogfellow wrote:
recobayu wrote:Hi Puppus,
How to make that nwp run? What should i do after installing that pet?
Thank you.
Hi recobayu.

installing A NWP/A NWPUS--A Noob's Word Processor and Utilities Suite in one of these spins is redundant--the word processor and utilities suite is just the customizations i've made to a base distro made portable. if you mean the wordgrinder pet installed in a pup from this thread or that installed the nwp (folder that holds the alternate file system and the little scripts that do the work), shift+spacebar activates the launcher and either wg (wordgrinder opened in urxvt), wgs (wordgrinder opened in sakura) or wgr (wordgrinder opened in rxvt) entered into that launcher will run the program, as will "wordgrinder" in the terminal or clicking on one of the entries in the Documents menu or one of the three .desktop files in /usr/share/applications.

the nwp is more the folder that contains your stuff (optional file system--enter "baek" in the launcher for an aemenu version of it), and the launcher and jwm tweaks are what make the thing--"pwn" launcher (Process Words, Nooby/carpe diem, etc) is shift plus spacebar--i think there's an almost full list of shortcut codes a page back or so--that's the main "interface"--the thing's an overlay/overhaul more than a program, and it gives you more than one way to do what it proposes to do, so--i'm not sure what you mean.
:D

(also, if you're not using these spins for the wordgrinder pet, you'll probably need to install sakura for the wgs/wordgrinder-sk versions to work).

hth

(the nwp thread i've linked may clear up some confusion. it also may add to it).
:lol:

(if you do install the nwp as a pet, it ports your configs to "my39." to get back to them, "my39r" in the terminal should reverse most if not all of the installation (mae in the menu allows piecemeal uninstallation--it's a fairly enormous ae menu--i had an ae menu problem there for a while--just couldn't stop making them (there's an aemenu and jwmmenu maker somewhere in the shortcuts as well, but i usually just use substitution on existing copies at this point--so many templates for keycuts and menus, but lately i've been more concerned with altering the keyboard itself--keeps me up at night.)))


again, hope this helps, but i'll repost the shortcuts with the updates sometime soon.
http://murga-linux.com/puppy/viewtopic. ... 044#923044

missing a few from the last couple of updated or so, but it's still a pretty comprehensive list:
(keyboard shortcuts are at the post after the linked one--i 'll repost that as well, though the mod3 and modshift mods from xmod8287 have me messing with them--they're included and the documentation increasingly buried and a few substitutions and they're templates for new keys and mod3)
Puppus Dogfellow wrote:
The ever-evolving list of launcher shortcuts (nwp installation sets the shortcut for the launcher itself as spacebar plus shift, but if you don't have jwm, you'll have to do it manually through whatever method you find convenient. The shortcut is used heavily if at all, i guess, and so my recommendation tries to make it fluid, simple, and quick). An almost complete (as of June 2016) list of shortcuts (interrupted by a list of fixes in the upcoming [edit: nwp32/64.3 onward autoinstall geanytweak, my1 (keycentric configs), and rox tweaks--can be reversed piecemeal through mae menu or scripts in nwp/c.] 1.9.1: geany and geany new instance were backwards on the root one menu; the mae aemenu (installation, port-store-backup, menumaker, shutdown+, and jwm config options submenus, etc) was never added to the nwp folder itself--the mae shortcut won't work until it's copied over (though you can activate it from the installation/download folder); trayfix old and new have been given more prominent placement on mae and its jwm equivalent; megasync's a builtin; ocr thanks to rcrsn51; …[one of the two upgrades in the works is in lieu of two isos. it upgrades p6.0 to what would have been p6.1 and makes ~572.15 out of -.14; other upgrade has no add-in pets. set for old syntax this time. fresh installs are generally quicker than upgrades so rename your old nwp if you're upgrading. once the folder turns to anubis (about 15 seconds on my slower machine) you can call from nwp rather than the install folder and/or complete the installation. pets run fixmenus and jwm -restart automatically so the update pack is just a click and a bunch of okaying (alt plus o or more clicking).....]):

bb -- spit out bold tags
[[bb2 -- span tags for bold fonts or other, non default font choices (bold tags don't appear to work though the nwp's underlining and italics tags show the expected results). default is for monospace, same as po1, po2, po4 (the latter two are templates, po1 is an xdotool "spit this code" script/a backup of the main (monospace) template).--this appears to only be necessary in dillo 3.0.4 and earlier. can't recall another browser at the moment that didn't take the bb as it takes the ii...still may be needed to swap fonts within the document.]]
book -- older version of one of the tocs/tics--customize if you like
bpo -- open the default template files in a browser so you can see the line spacing, highlighting, etc. use gpo to edit what the command calls and what browser gets opened
bq -- block quote tags
f - findnrun
gpo -- open the browser, leafpad, and geany configuration files for the nwp word processor plus the default default templates in geany.# geany /nwp/po1 /nwp/po2 /nwp/po3 /nwp/po4 /nwp/po5 /nwp/po6 /nwp/gpo /nwp/lpo /nwp/bpo /nwp/bb2
h1-h6 -- print out tags for headings 1-6
her -- open the hr template in geany
herl -- open the hr template in leafpad
hero -- open the hr template in geany
hr -- print out hr tags
hr0 -- open the hr template in geany
hr0l -- open the hr template in leafpad
hr1 -- spit out hr doc template
hrl -- <hr> tag, 35%, grey left side
hrr -- <hr> tag, 10%, grey right side
hrt -- template for autopage breaks with hr tag. called by other scripts.
ii -- italics tags
link -- external form of the toc tags
lp -- launch leafpad
lpo -- leafpad /nwp/po2| leafpad /nwp/po4 /nwp/po5| leafpad /nwp/po6| leafpad /nwp/lpo (open the wp template files in leafpad; open the file that determines what leafpad opens
mono -- open monospace template with geany
mono1 -- spit out monospace doc template
monol -- open monospace template with leafpad
monot -- monospace template

_____________
quick codes to better templates (added 8/24):



serf700 -- spit out serif 700 template
sans700 -- spit out sans 700 template
mono700 -- spit out mono 700 template
serl7 -- serif opened in leafpad, 700px viewport
serg7 -- serif opened in geany, 700px viewport
sanl7 -- sans opened in leafpad, 700px viewport
sang7 -- sans opened in geany, 700px viewport
monol7 -- mono opened in leafpad, 700px
monog7 -- mono opened in geany, 700px viewport
baek -- bookmarks menu (/nwp and puppy bookmarks(rox), aefull as a submenu)
baekt -- bookmarks menu (/nwp and puppy bookmarks(thunor), aefull as a submenu)
baekp -- bookmarks menu (/nwp and puppy bookmarks(pcman), aefull as a submenu)
baeks -- bookmarks menu (/nwp and puppy bookmarks(spacefm), aefull as a submenu)
mklpx (in terminal) -- make leafpad 5x5 notetaking pad in working directory (through terminal rather than launcher--it's also now a rox right click > new function).


the viewport function makes the line breaking stuff from earlier/elsewhere more or less obsolete. these are the pw,n launcher versions of the newer templates jwm, aemenu and rox call.



______________



np02 -- pu(/)up launcher (configured to begin with a highlighted /nwp/)
p -- pu(/)up launcher configured to start at the end of /nwp/
pb -- <par style="page-break-after: always"></par>
pba -- <par style="page-break-before: always"></par> (a=above)
po -- open po2
po1 -- print out an improved version of the preotry template
po2 -- (template--po1 without the mini-wait--use Clone (under Documents menu) or SaveAs to preserve the file)
po3 -- geany /nwp/po4 /nwp/po5 /nwp/po6 /nwp/po2
po4 -- template as 14 pt monospace
po5 -- template as 14 pt sans
po6 -- template as 14 pt serif
pr -- print out paragraph tags
prc -- print out paragraph centered tags
prj -- print out paragraph justified tags
prl -- print out paragraph left tags
prr -- print out paragraph right tags
q -- cite tags
san1 -- spit out sans serif doc template
sans -- open sans template with geany
sansl -- open sans template with leafpad
sanst -- sans serif doc template
ser1 -- spit out serif doc template
serf -- open serf template with geany
serfl -- open serf template with leafpad
sert -- serif doc template
sub -- subscript tags
sup -- superscript tags
t -- launch terminal of your choice (delete/comment sakura and uncomment or add your choice)
toc and tic paste bookmark/hyperlink codes. good for tables of contents, master documents, etc. on the editing side, you can make bookmarks in geany with ctrl+m, which will also toggle it off. ctrl plus comma is previous bookmark, control plus period is next bookmark. the plugin for numbered bookmarks makes a list on the side panel (unless that's default and i can't just can't figure out how to work/access the plug in version):
tic -- tic same page template and anchor --new tab
tic1 -- external page or same or external file, no anchor -- same tab
tic2 -- external page or same or external file with anchor -- same tab
toc -- toc same page template and anchor, same tab (general bookmarks). look up your text editor's method for bookmarking for the edit text (also non formatted) view.
toc1 -- external page or same or external file, no anchor -- new tab
toc2 -- external page or same or external file with anchor -- new tab
to open files in geany at specific location, append :line#:column# to the file, i.e. geany /nwp/docs/file1:50:14
ul -- underline
v -- activate vtg
xp -- launch xpad/new xpad
terminal nwp/pwn/pax shortcuts:
s# send active window to desktop#
s#s send next clicked window to desktop#
d# go to desktop#
c plus a single letter is normally a close command--cr, close rox; cu, close urxvt terminals; ct, close rxvt Terminal.
pp# --change pinboard
p# --change/toggle four panel set frame (can be altered down to one)
my# --swap out custom jwm configurations
gea3 --edit custom jwm configurations
la, lb, lm ---layer above, below, middle/normal for active window
las,lbs, lms ---layer above, below, middle/normal for selected window
stk, ustk --stick unstick active (add an s for the click to select version)
pv2--partview and rox /mnt
rr --rox recently visited
rb1 --four (iirc) rungs down on the rox bookmarks menu
rup --three rungs up from the bottom of the rox bookmarks menu (this and rr may need to be adjusted depending on how your rox filer is set up)
pcp --access pup control
fnr --find and run (same as f--fnr is it's traditional short.)
hlx -- htop in an urvxt window and lx task ...
ppm is a built in for package manager (will work in nwp launcher or terminal)
x#-- move to # on x-axis (increments of 5)
y# --move to # on y-axis (increments of 5)
h# --height (increments of 5)
w# --width (increments of 5)
rs --resize
t --terminal (set for my-applications/bin, so launchable from terminal or np/nwp/pxc launcher)
f --findandrun (also set for my-apps/bin)
np --nwpus launcher2 (no sweep right--prehighlighted entry)
sd --speeddials
sdr --speed dials recent list only
gnysys --open a slew of config files in geany
3but -- speed dials and a version of winswitcher
ww -- winswitcher (also ctrl plus spacebar).
galc -- galculator
nc-- notecase
gd -- goldendict
jv -- make java sfs and take you there (thanks, uten. (still there but superseded by rerwin's packages (two installed if you use the -ur version of the nwp))).
##5c -- now the command to make 5 copies of a file by command line.
5ce -- generate drag and drop file in your current working directory and another set to make editing it easier (set for 5 copies with the bulk-renameable extension X(followed by the number of copies). this is an improvement, i think, but you may prefer
mcc -- Make_Concurrent_Copies, which open a directory set for sets of three and five for a fairly wide variety of file types
##5cd -- [obs.]
7c -- print out the command for changing permissions of a script to executable (kind of lazy--chmod 755 isn't that involved...).(sorta made obsolete by the ch launchers (still arguably useful for vtg use)).
1 -- single monitor menu
2 -- double monitor menu
g -- grid menu
x -- x axis menu
y -- y axis menu
w -- width menu
h -- height menu
mv -- move
wn -- windows menu
mn -- minimize
mx -- maximize window
o -- old windows manipulation menu
s -- new version of supplemental menus
n -- the original nwpus menu
n1 -- the full word-processing menu without any of the supplementals. it has n2 and n3 as submenus but gives some prominence to the overall document formatting commands from n3
n2 -- just the highlight and click to apply word processing/html code section
n3 -- the paste and place section of the main (word processing) menu.
slac -- search all databases
sloc -- search selected database with option to print results #sometimes problematic
sluc --update all slocate databases/create databases (thanks to musher0 for the slocate wrapper and the three scripts i've renamed here)
ww - winswitcher
sv -- make a folder a server. open a terminal and sv in the pax launcher (nwp launcher, etc) will print out "python -m SimpleHTTPServerWithUpload"--open a browser in the client computer and input the ipnet address (run ifconfig in a terminal) with :8000 appended to it (i.e. http://192.168.1.66:8000). this will allow you to upload and download files to the directory you ran the sv command (i.e. shift+spacebar (which pops up the modified pexec launcher showing /nwp/ in the entry box) then sv then enter) in.
by rcrsn51. thread here: http://www.murga-linux.com/puppy/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)--[Obs.]
some changes to the templates...
a much better way to launch and batch launch files (you'll get 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
[tas and find and run are now built ins--for original tas icon install the pet. some alternate icons in nwp/icons, nwp/keys, and nwp/root3/icons]
some other included shortcuts:
xpc -- xpad clear
xpb -- xpad back up
[these have been neglected because i mostly use "lpx" in place of xpad and sync the notes folder to my dropbox account--been meaning to switch copy out for rsync (but i still haven't read up on rsync beyond tales of its superiority]
cnt -- spit out the code in those echo sections from the script above that allows you to create files with predetermined content (cnt--content)
c- -- a comment line that looks like this: #------------------
tas -- SFR's take a shot
pcp -- radky's puppy control panel
ww -- MochiMoppel's WinSwitcher
v -- vtg
---------
(another batch from recent update:)
roks -- open k1-10 in geany for editing (they're rox bookmark files, but will open regular files with default handler in addition to directories with rox)
geak - open all the word processor templates in geany
duals -- open a folder containing a group of dual launchers (text editors and browsers) for use with the nooby word processor
paw -- page break above, white text
pbw -- page break below, white text
l- open launcher customized for leafpad
r- open launcher customized for rox
g- open launcher customized for geany
---------
another batch from recent update:
rad -- rox, starting level is /root/my-documents
rab -- rox, starting level is /root/my-applications/bin
gad -- geany, starting level is /root/my-documents
gab -- geany, starting level is /root/my-applications/bin
lad -- leafpad, starting level is /root/my-documents
lab -- leafpad, starting level is /root/my-applications/bin
chab -- chmod 755 (allow script to run) prefix, starting level is /root/my-applications/bin
atdesk --make a desktop template
jp -- open jwmrc-personal with geany
(a new gynysys based on the move of many files out of root and root/my-applications/bin and into /nwp. will open a duplicate for you to modify)
hi - hard info
mr - sfr's multi rename
ppm --so you can call the ppm from the nwp launcher without having to go to findnrun or a terminal or backspace or ctrl-a over the text (/nwp/)
v - the vtg (also working well in quirky)
m - pmount and partview
veg - same a alt+g -- vgt, nwp and puup help
gi - new instance of geany
cursor at right versions of launcher
p -- main nwp launcher
ch - permissions launcher
gl - geany launcher (also -g)
ll - leafpad launcher (also -l)
rl - rox launcher (also -r)
highlighted entry versions:
r- rox launcher
g- geany launcher
ch- change permissions launcher
l- leafpad launcher
f1-f36 --type/press those function keys
(one of my machines is without) (:() (though 1600 virtual key keypad(s) make up for it--not every program will accept all it has to offer, but you can try F36 plus up to four modifiers (k launcher, acswf36 (alt, control, shift, windows key--that's the pattern. from one to four modifiers in alphabetical order for alphanumeric characters and function keys to F36--rename the call codes whatever you like. single digit codes all unused though i've been finding sometimes too cryptic's not much of a help (but the k2 launcher gives you 600 by number--iirc, just the function and numbers starting with the former with four modifiers? (i prefer the other version, but the easiest way to set keycuts for programs may be through a menu you generate for the purpose))))).
elp - help opened up in leafpad (mostly paste and paste cheats until you modify them)
tem - ae templates menu
*********************
AEMENU KEYCUTS:
what it is -- what to enter into the p,wn launcher:
nwp and submenus -- n
word processor without supplemental menus -- n1
paste and place formatting codes only -- n2
highlight and select formatting codes only -- n3
supplemental -- s
single monitors -- 1
double monitors -- 2
aef -- aemenu containing (nearly?) all the aemenus
pw,n launchers for nwp -- pwns
grids (x and y by 100 pixel increments) -- g
extra windows manipulation menu -- o
points on axis y -- y
points on axis x -- x
width by fives -- w
height by fives -- h
templates and dual launchers -- tem
aemenu dual launchers -- dual
aemenu window size and placement -- w1
(new one, "elp," pops up a leafpad document with what's between the asterisk trains. modify to taste)
*********************


new additions:

gg and the key launchers [documentation pending]

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


_______

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


***

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


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

from the notes file in the recs section:

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

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

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

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

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

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



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

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

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

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


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

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


menu "tray toggles

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


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

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


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

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



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

[my30-49, my30r-my49r were here]

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

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

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



_____________

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

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

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

cadi -- close all instances of active window's program
ccdi -- close just program's windows on current desktop
caw -- MochiMoppel's CloseAllWindows script (like cadi and ccdi but with more options and a popup)
view -- page width control for phones, convenience, and pdf printout (autotexts tags set at a width of 700px. place in <head></head> section)
dil -- dillo (a superfast and light and somewhat limited browser) reference popup (set for google, dictionary.com, murga-linux/puppy, and etymology.com--edit (add or remove web addresses to the list) with ll > dil in the main launcher (or use the leafpad launcher from its keyboard shortcut (which i can never remember))).
[jp in the launcher opens up jwmrc-personal which reveals the shortcut key to be alt+l--thought i changed it to something else...seems sort of legacy. if you use the my1-4 series, you should check out the heaps of banks of shortcut keys/potential shortcut keys before proceeding. use the mae ae menu (mae in the launcher) or the config submenus on the root 4 and 5 menus (scroll up and down, alt 4 and 5) to access and edit the files.]

_____

new for 1.9.2:



backup Geany configs -- backg
store Geany configs -- storeg
port Geany configs -- portg
restore original/previous Geany configs -- restg


geanytweak -- backg
-- portg

store LibreOffice configs -- storel
restore original/previous LibreOffice configs -- restl
backup LibreOffice configs -- backl
port LibreOffice configs -- portl

portil -- backl
-- portl

equivalent of back/portg and back/portl now removed from installation (2)step2 and each made into scripts/buttons (wrong picture covering them but that's essentially what they are--i may just copy the syntax from the wizard wizard and make this stuff a panel at some point--could use tx2 (text2xpm code printout) to make label-buttons and skip the text field part...). "portil" backs up the current lo configs if any and ports in your custom choice. "geanytweak" backs up the original geany configurations (keyboard, toolbar, main) and ports in a set ready made with the vtg tweak in place, a history set at roughly 50 configuration files (including all those from the three folders (9,10, 9menusblanks) in root3 that feed JWM the info for the menus, trays, and keys), the necessary keycuts for the custom geany menus (set for alt9, alt0, alt2 (also middle click) at the moment) to work, and enables spell check. jag and jagvk should be on the new recent documents list, which should help you in your menu making endeavors. swap the non vk version (it shows you the code the other has in the scripts--follow its pattern to add more keys and set them after the menu is made by keys>edit>[clicking your menu]) out (relabel, expand, copy) for use with other programs or to add additional menus. look at root4menu, root5menu, root2menu, root9menu, root0menu for that "<Includes>" line--change to match other menus you'd like to add by pointing to the new files (no reason for that menu to repeat five times, the space efficiency of pipe menus notwithstanding. control+shift o (or right click>open selected file) take the inconvenience out of files reading from other files--it's a cool feature another reason i recommend editing the JWM stuff in geany over leafpad).

fixes to joop, joopi, jp, and jpe
(typo on "jwmrc-tray," defunct files removed; joop and joopi open all the keys, menus, and trays in the main three in root3; joopi does it in a new instance of geany. jp opens just jwmrc-personal and /etc/.../_root_.jwmrc. jpe opens the tray in addition to these two. you could just open joop in geany (gl launcher) and access the files individually with the right click as described above). dopey name for joop/i is mnemonic for root plus jwm--both will open over forty files at once. vtg5 gave another five files to add to the recents list…


_____

[should have 192 up by tomorrow morning or earlier]

edit: four and five contain the installation, configuration switches, menumaking, and port-store-restore submenus--i never put the custom program menus on those (but you're free to if you like--just add an includes line wherever you want it to go, sandwich it between <Menu></Menu> tags to compress a submenu to a line on the main if your menus get too long (copy the other menu templates to see how to label it--well, the second one's fine as is. for the top of the sandwich just add a label="" tag:


<Menu label="your title here">
[menu entries or an <Includes></Includes> line]
</Menu>

))
.

***

for 192, you can skip the second step of the install sequence (the one labeled "2," not the actual second step, which is labeled 00--install the deps and move the nwp folder to /, then proceed to 1step1, which will back up your jwm configs and move some useful files to /root/my-applications/bin--the nwp launcher calls on these for some functions and to reset itself should you get finger-tied or typo it past convenience) and transfer over the configuration files for the vtg and custom menus/menu templates. the recs from 1.9 are gone and replaced by just geany 125 and the plugin pack for it (both made by Corvus). i added two 1.27 plugins (overview and multiterm) that are working well for me in Xenialpup--haven't tried them in anything else yet (and so they're commented out). you could skip the recs and still have the vtg, but the extend select and some of the other functions shown on the menus won't work without the plugins.

"dil" requires dillo--available in the browser section of the repo and thanks to OscarTalks. the two largest of the latest five or so nwps have it as part of the recs or approximatic/uncompressed remaster folder in /nwp/c.




________

added 08/08/2016:

conf2p -- make pets of your geany configurations (toolbar, keyboard shortcuts, general configuration); your rox settings (bookmarks, your menu2 file (which controls the shortcuts for bookmarks, make-new-file-from-template, and right click functions; it also sets the icons for the filer windows), your templates, and your groups (speed dial to a folder by number--set with control plus the chosen number from within the chosen folder)); your jwm settings (you can uncomment some of it below and add your jwm and gtk themes); and your libreoffice configuration/settings. the launcher will dump the pets in a configpets subfolder in /root since it's apparently set to that...at least in xenial. through the terminal (and generally speaking) it should make the pets in whatever file window's open when you call the code (which are all clickable scripts and available in root/my-applications/bin and /nwp/pets (as well as the nwp folder proper).
l2p -- just the libreoffice configurations ported to pet
r2p -- the rox stuff
j2p -- the jwm configurations
g2p --your geany settings
see http://www.murga-linux.com/puppy/viewto ... 106#917106
for more



_____

added 8/24:


serf700 -- spit out serif 700 template
sans700 -- spit out sans 700 template
mono700 -- spit out mono 700 template
serl7 -- serif opened in leafpad, 700px viewport
serg7 -- serif opened in geany, 700px viewport
sanl7 -- sans opened in leafpad, 700px viewport
sang7 -- sans opened in geany, 700px viewport
monol7 -- mono opened in leafpad, 700px
monog7 -- mono opened in geany, 700px viewport
baek -- bookmarks menu (/nwp and puppy bookmarks(rox), aefull as a submenu)
baekt -- bookmarks menu (/nwp and puppy bookmarks(thunor), aefull as a submenu)
baekp -- bookmarks menu (/nwp and puppy bookmarks(pcman), aefull as a submenu)
baeks -- bookmarks menu (/nwp and puppy bookmarks(spacefm), aefull as a submenu)
mklpx (in terminal) -- make leafpad 5x5 notetaking pad in working directory (through terminal rather than launcher--it's also now a rox right click > new function).


the viewport function makes the line breaking stuff from earlier more or less obsolete. these are the pw,n launcher versions of the newer templates jwm, aemenu and rox call.

____________________-
______________________

new for nwp32/64.4:

33: move mouse to 333 33 (x and y axis respectively)
66: (over a bit more:) 500 400 (that ll launcher comes in handy--easy to find contents of/modify nwp scripts (what the call codes really are running) with it.
(sometimes the default positioning for popup boxes or menus is inconvenient, usually because it's in the way of something to the left, i find. the two little launcher codes above just pop the mouse over--sometimes it determines position of menus and messages, etc)
file definitions/mime types:
this is also new for the latest (9/12/16) nwp, but it's not really a launch code:

post is long enough but in short, the main feature of the upgrade is the ability to set run actions for your word processing files (or any other, though it was put together in part to a geany-vtg type start center). from the comments on a picture in a folder in my repo:
Quote:

another use for the mcc (make concurrent copies) function is assigning text files to pairs of programs (browser-text editor) by having the copies carry an extension that will set them apart from everything else. right click in rox to set both a run action (pick something from the duals folder, to continue on the word processing bent, though that's not strictly necessary) and icon. screen shot shows...


from http://www.murga-linux.com/puppy/viewto ... 025#923025

post below has some screenshots of suggested word processor icons:
http://www.murga-linux.com/puppy/viewto ... 029#923029

since at 14 megs the thing's grown beyond ministrosity to merely being kinda big (it does a lot and it's its own self-contained and portable file system...keeping your (word processing) files safe and pet-able…(also just portable--shortcuts on some menus back stuff up into the nwp folder for later porting--the scripts have short names in general, but they're not here as launcher codes)...is an important job for a word processor.

anyway, to make up for the lack of it being simple and tiny, i'm going to make a template only version and a paste and paste only version (former would have no dependencies, the latter would need xdotool and aemenu, but both would be under 100k, i think. the micro version will likely be in two versions--i'm no programmer, but the little lame and rec'd against html code i cobbled together gets a formatted document your browser can download as pdf. geany and leafpad are quick and reliable--i think geany's especially cool, but the lpx thing i made makes leafpad almost as cool (yes, i feel a bit ridiculous with this).

(still working on the two main mini templates. the other thing will just be n3 and support scripts cut from the nwp folder).
from the nwp/vtg support folder in the repo
all the limitations of the nwp as a word processor seem to me taken care of by the bbwp...i'm kinda done with it other than templates and file trees for preloading and general convenience. it frees up a lot of keys....

_____

update 3/18: newest launcher additions (activate with shift plus spacebar. enter "elp" for more).

nwp/pwn launcher shortcuts for bbwp (the browser based word processor):

defbb -- open bbwp with your default browser (five tabs--same code in ll or gl launcher(alt+l,alt+k are leafpad and geany launchers) to adjust)
firbb -- with firefox
chbb -- with chromium
pmbb -- with palemoon
gbb -- with google chrome
dil2 -- dillo reference/notetaker
wpebb -- open config files in geany
bbi and bbii (run through iron from my apps bin, run from nwp)

the browser based word processor now also works as a rox right click function--drag new file to browser or set run action.
some shortcuts for wordgrinder: (open in default terminal (wg)(urxvt), rxvt(wgr), or sakura(wgs)
bm -- disciple's bookmarks viewer (went missing at some point)
utu -- update your youtube downloader python script (or give you one if you don't have it--many guis (BarryK's for one) require it).
mmv -- MochiMoppel's file viewer
speci, specig -- copy and paste (and collect) special characters --open file in leafpad (speci) or geany (specig)
nwp shorts for/from the new keyboard configuration features:
ktab -- open the key table in geany
ktabm -- open the modifier map in geany
kset -- open the xmodmap folder in /root/my-applications/ (modify your keyboard)
kreset -- reset the keyboard (set for u.s. layout--edit to suit yours or copy to make (more) toggles)
Last edited by Puppus Dogfellow on Fri 23 Mar 2018, 16:19, edited 1 time in total.

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

keycuts again

#228 Post by Puppus Dogfellow »

from http://murga-linux.com/puppy/viewtopic. ... 045#923045:

Post subject: here's the other long list of shortcuts, keys.
Subject description: jwm only though you can right click assign in rox and swap those with your pinboards.

Puppus Dogfellow wrote:
from http://www.murga-linux.com/puppy/viewto ... 759#908759
(approximately series of precise spins thread)

____

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


modifier(s)=Alt KEY=z -- xdotool key alt+1 Return (or /nwp/v--it's the vtg and not all are set up the same).
modifier(s)=Alt KEY=g -- /nwp/vtg5 (scrap, vtg and general help, 5 document popup in geany)
modifier(s)=Alt+Shift KEY=g -- /nwp/g (grids menu)
key=Up -- up
key=Down -- down
key=Right -- right
key=Left -- left
key=h -- left
key=j -- down
key=k -- up
key=l -- right
key=Return -- select
key=Escape -- escape
key=F12 -- root:3

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

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

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

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



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



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



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


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

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


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


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

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

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

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

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

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

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


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



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

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

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

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

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

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

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



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

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


______________________
________________________


(taken from a murga-linux.com/puppy post):

Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1289
Location: nyc

Posted: Mon 20 Jun 2016, 23:17 Post subject: the keycentric keyboard shortcuts (my1-my4 series--each has
Subject description: six to swap in and out. all are copies of what's below (though in actual jwm keycut syntax))  
hopefully this is a little more readable a reference than the file from which it's taken:


keyboard shortcuts --keycentric version:

<!-- Key bindings -->

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

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

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

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

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



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


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

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


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

a# series is quadrants...

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

http://www.murga-linux.com/puppy/viewto ... 701#860701

-->


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

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

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

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

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

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


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

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

-->


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


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


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



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

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

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

KEY=F12 -- root:3


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

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

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


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

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

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


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


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

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

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


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




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

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


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


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

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

-->

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

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

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


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

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

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

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

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

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

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

then jwm -restart/then restart jwm.

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


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


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


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

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


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

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

-->

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


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


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

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

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

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

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


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

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

-->



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

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

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

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

[remove the lead and trailing arrows (<!-- -->), (fill out with programs, scripts, files of your choice and save file), and restart jwm to activate an otherwise dormant bank (nearly all of which are set as blanks in the actual file you'd need to edit (on alt+4 menu or mae in the main launcher. r0-r9 in the launcher will also give you access to the ten jwm menus.)]
(main file i look to update is the keyboard shortcuts file in the same folder as above. generally post them together. should get the precise quicklinks together (two pages back or so), but i should also get some sleep (four a.m. here) and maybe find out how many of those music programs have an equivalent or can themselves be run on the tahr64 spin...)

enjoy/report bugs.

first one off hand--forget to switch winswitcher for ww or vice versa internally. ww in the leafpad launcher and switch the position of the pound sign if it doesn't work for you (as i said, woofy gave me problems and i kind of lost track of what was done where and overconfidence meant i had 6 "final releases" all named 6t4.) :P :?
http://murga-linux.com/puppy/viewtopic. ... 128#959128
xmod8287.1.1.pet

gives you another 39 function keys to play around with and another layer of meaning to your keys (and optionally, yet another to your keys plus that modifier and shift).

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

update and a fix: more keyboard tweaks, f36/"f36" fix,

#229 Post by Puppus Dogfellow »

the updated help/info file for the xmodmap add-ins (available separately as xmod84.1pet):
click to activate, edit the reset script to suit your layout, edit the runs scripts to suit your preferences, drag run script to startup to have one of the following active by default:

run8287 -- Caps_Lock is Modeswitch, Scroll_Lock is Caps_Lock; additional Function keys added to
Modeswitch+F1-F12 for second twelve and Modeswitch+ the number row for the 12 after that (F series only goes up to F35 but the key pad has an additional four (KP_F#) for a total of 39. "F37-F39" are Modeswitch plus q,w, and e; Hyper_R is added as mod3 (works in JWM but not Rox) and the key put on Pause ond Escape; Modeswitch + Escape is Escape; Modeswitch + either Tab or Backspace is the Menu key. Menu, for keyboards that have it, is usually keycode 117 (and can be repurposed).

run82 -- Caps_Lock is Modeswitch, Pause is Caps_Lock, Menu is Modeswitch+q.

run82m -- Caps_Lock is Modeswitch, Pause is Hyper_R (mod 3), multimedia key under F2 (check your setup with xev) is Caps_Lock, Menu is Modeswitch+q.

run84 -- Caps_Lock is Modeswitch, Scroll_Lock is Caps_Lock, Menu is Modeswitch+q.

run84c -- Caps_Lock is Control_L, Pause is Modeswitch, Scroll_Lock is Caps_Lock

run84m -- Caps_Lock is Modeswitch, Pause is Hyper_R (mod 3), Scroll_Lock is Caps_Lock, Menu is Modeswitch+q.

run87 -- Caps_Lock is Modeswitch, Scroll_Lock is Caps_Lock

run87m -- Caps_Lock is Modeswitch, Pause is Hyper_R (mod 3), Scroll_Lock is Caps_Lock

------
you may need to disable or reassign some jwm defaults (like screen shot and the global volume controls, or the root and windows menus) to be able to customize the whole set (key often won't show up as a key or otherwise assignable entity if there's a windows manager function that grabs it first. use xev to check keycodes (these keysyms and keycodes are consistent on all my machines, but the multimedia keys almost never are).
add
<Include>/root/my-applications/xmodmaps/no10m/jwmmod3</Include>
or
<Include>/root/my-applications/xmodmaps/no10m/jwmmod3f</Include>
(swap and experiment)
to /root/.jwm/jwmrc-personal
to be able to use the templates in no10m (all function keys and the alphabet plus a little more for mod3 on the larger of the two. mostly just the alphabet under mod3 for the other)

ktab ktabm kset kreset added as nwp shortcuts (open the key table in geany, open the modifier map in geany, open the xmodmap folder in /root/my-applications/, reset the keyboard (set for u.s. layout--edit to suit yours or copy to make (more) toggles)).

see more:
http://murga-linux.com/puppy/viewtopic. ... 657#958657

------
added colemak and dvorak as reset button options (you can just toggle to them...maybe i do have a use for five extra keyboards...)


---puppus dogfellow, 7/29/17

newest additions:
run8287-1 -- Menu and Escape are Mod3(Hyper_R), Modeswitch is Caps_Lock and Pause, Caps_Lock is Scroll_Lock, Modeswitch plus Tab is Escape, Modeswitch plus Backspace is the Menu key. has function keys f13-f39 (f35..kp_4) added in the same way as run8287.

84-1 is 8287-1 for keyboards without a menu key for hyper-r--it goes on pause and escape (you lose the second Modeswitch key but keep the second hyper r key. all else is the same). version .1 fixes an error that broke kp_f1/f36 in run8287 and run8287-1.

justf is just the function ke[/url]ys (f13-f39 (f35..kp_4)) being activated by Pause as (the) Modeswitch
desktop entry under utilities simply opens to the xmod map folder now in /root/my-applications/bin. click to add the keyboard layouts/tweaks of your choice.

________________________

xmod84.1pet 7kb
tx2xmp_variety_pack.1.pet 10kb
mccc_deluxe.pet 98kb
mcc-bbwp-xmod84.pet 16kb
mcc-bbwp.pet 12kb
mmc2.pet 20kb
mcc-icon_pack1.pet 51kb
bbwp2.pet 16kb

______

from the updated Styles(/grab formatting/how-to) template in bbwp/html:

_____________
[...]seems saving to pdf works in mozilla based browsers after all, and i need to take back some of my hedging on its usability as a word processor--it will save the changes you make in the editable tab if you save it as a pdf through the print dialog, but the same file downloaded through the same interface doesn't show your changes if you save it as an html file.

(both functions work as expected in chromium based browsers, and either can use bookmarking to return to previous work. drag and drop the file to an open browser; use the rox new templates to start a project wherever you like.)

--p. dogfellow, 8/22/17

edit: save as webpage complete as opposed to html only and the mozlilla based family works fine. saving as plain text also works through the ctrl+s function and file menu.

sorry for all the unnecessary drama--it works, it's a word processor.

(enjoy).
mcc_deluxe is the updated mcc pet (some restructuring, the addition of the mini icons, a slimmer version of blankpet at right click (basepet), and the improved bbwp) plus the 1302 mini icons and text2xpm variety pack that made them. (whole thing is 20 kb smaller than just the libreoffice desktop files and five icons that go with them under the same compression (98 vs 118kb according to google; rox add a kb to the readings...)).

mcc2, bbwp2 are the same thing gz compressed. the mcc-bbwp-xmod pet is xz compressed and is the same thing (also the same thing as bbwp2, which is in the repo's word processing and related section rather than utilities (both function as updates to the spins here or for the anuupus suite in general)).

updated pet(s) makes a second html folder inside both /root/my-applications/bbwp/html and /nwp/wp/bbwp/html. originally there was supposed to be a nwp and non-nwp version (mcc2/bbwp2), but it's easy just to delete /nwp if you don't want it, and this way doesn't overwrite any changes you may've made to the original two sets of templates.

paste formatting from any source, including a template made from a sample page of your favorite or often used formatting (including justification, centering, right/left align, font style and size, etc) from your favorite word processor, application, or web site into the Styles tab and copy when needed. use f11 for a wide open, clutter free writing environment.

enjoy/etc.

:D

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

browser, word processor, and general updates

#230 Post by Puppus Dogfellow »

from Post subject: a couple of small updates
Subject description: including one for a function i forgot to mention last time:
Puppus Dogfellow wrote:here's mcc-wp.pet

first the new bit (from the info file in /root/my-applications/xmodmaps):
[...]
justf is just the function keys (f13-f39 (f35..kp_4)) being activated by Pause as (the) Modeswitch
justf2 reverses F1-F12 and F13-24 (your customized bank of keys is on top; you'll need Modeswitch plus Function to access your multimedia keys (whether original or modified).
i decided i would rather have my own custom key set (can't think of any programs that out of the box use anything above F12) as the top rung, so i reversed f1-f12 and f13-f24 (for example, to have cut, copy, paste (use xdotool and your windows manager) as easily accessible single button presses). you can run either justf or justf2 after the others to modify them.

the feature i forgot to mention and then added a bit to is a pet-making function. an improvement over the nwp's "blankpet" (on which it's based), "basepet" contains fewer unnecessary directories and i find i've been using it to the exclusion of the other. it can be seen in the excerpted (and selectively expanded) pinstall.sh below (the drag-to script it places in templates (so you can easily make "workshops") isn't included in most of the previous versions (but may exist in your pup as a right click utility)).

Code: Select all

#--------------------------- 
#mkdir -p /root/my-applications/mc/icons/pref
#puppy reference/preferences/defaults (a separate folder so you can ditch the majority of what the batch text2xpm scripts call)
#mkdir -p /root/my-applications/mc/icons/mcc
#mkdir -p /root/my-applications/mc/icons/bbwp
#rdltxpm "mcc" > /root/my-applications/mc/icons/mcc/rdltlmcc.xpm
# alternately, use the puppy reference folder in root

mkdir -p /root/.config/rox.sourceforge.net/Templates/basepet/usr/share/applications
mkdir -p /root/.config/rox.sourceforge.net/Templates/basepet/root/my-applications/bin
mkdir -p /root/.config/rox.sourceforge.net/Templates/basepet/root/puppy-reference/mini-icons

echo $'
#!/bin/sh

' > /root/.config/rox.sourceforge.net/Templates/basepet/pinstall.sh
chmod 755 /root/.config/rox.sourceforge.net/Templates/basepet/pinstall.sh
#use parchive (radky), right click utilites (don570), or packit(SFR) to convert the folder you filled with contents and commands into a pet or sfs.
#or (late addition to pinstall):

echo $'
#!/bin/sh

exec makepet "$@"

' > /root/.config/rox.sourceforge.net/Templates/drag2makepet
chmod 755 /root/.config/rox.sourceforge.net/Templates/drag2makepet
#puts a script in your working directory that will turn the structure and contents of your "basepet" (rename it to suit its contents) directory into a .pet when one is dragged to another. grab a .desktop file from /usr/share/applications that's roughly where you want your program or script to appear on the menu, rename it, and fill out the slots to match your executable and icon locations (you could use mtpaint and save a work as xpm, then open that as text and surround with the nwp's cnt (content) command, and add those to your pets/system through the pinstall.sh script. (similar is done with the mcc icon above and the same method could be used to add new .desktop files to /usr/share/applications (sometimes i find it's easier to add the text to a file, sometimes it's easier to add the file and icon to their respective folders.)))

here's an example of the icon through the terminal:

Code: Select all


echo $'
/* XPM */
static char *tmp_xpm[] = {
"21 13 4 1",
" 	c None",
". 	c #E8B3CC",
",	c #00FF00",
"#	c #FF0074",
".....................",
".....................",
".....................",
".....................",
"..##.#...####...####.",
"..#.#.#.#....#.#....#",
"..#.#.#.#......#.....",
"..#.#.#.#......#.....",
"..#.#.#.#......#.....",
"..#.#.#.#....#.#....#",
"..#...#..####...####.",
".....................",
".....................",
""};
' > /root/puppy-reference/mini-icons/mcc.xpm

here's an example of that being done for the desktop entry (not part of the pet's pinstall.sh, and the comments are a bit longer in this post than in the actual pet):

Code: Select all

echo $'
[Desktop Entry]
Encoding=UTF-8
Name=mcc--make concurrent copies
Icon=/root/puppy-reference/mini-icons/mcc.xpm
Comment=make concurrent copies by dragging file(s) to script selection
Exec=/root/my-applications/bin/mcc
Terminal=false
Type=Application
GenericName=
Version=1.0
Categories=Utility
' > /usr/share/applications/mcc.desktop

the last thing i used it for was to make pets of the latest syncthing--copied some stuff from the older pet, copied in the new binary, renamed "extra" to "/root/syncthing-help" (it has pdfs explaining what it is and how to set it up, but i find it's as easy to use as dropbox--browser becomes interface and first choice to sync across your network is /root/Sync, which gets installed by default. it's not difficult to change or add folders or computers to the syncing being done), "petted" the directory with a drag to.

enjoy.

____
here's Mike Walsh's syncthing thread:
http://murga-linux.com/puppy/viewtopic.php?t=111026
here's a link to my older and newer pets (part of the same thread):
http://murga-linux.com/puppy/viewtopic. ... 058#961058
here's syncthing for both 32 and 64 bit:

syncthing-014.38-64.pet and syncthing-014.38-32.pet

thanks to Mike Walsh for the tip about syncthing and for these 64 bit browsers:
64bit slimjet(1514) and Iron (61)

and thanks to OscarTalks for his continued support of Precise and other 32 bit pups, here's 32 bit Slimjet 14.0.16
...not sure which would work on the unicorn spin (there's also a 32 bit 15.1.4 in that folder for the newer pups).

on the word/text processing tip, and also from OscarTalks, here's an update for Geany he compiled in Precise:
Geany-1.31-32bit

here's a LibreOffice update (32 and 64bit):

LibreOffice-5.4.2_en-US_xz.sfs
LibreOffice-5.4.2_en-US_xz.pet
LibreOffice-5.4.2_64_en-US_xz.pet
LibreOffice-5.4.2_64_en-US_xz.sfs

and here's the general spins/utilities/word processor update again:

mcc-wp.pet

____
for 2, 3, and 4 window rox launches (multipane/"multipane"), enter the following in a terminal (or save as a file and run through the vtg, adjusting (generating .desktop files) as you do):

Code: Select all

#rox multipane -- 3 templates
#(since rox will use default apps for most files, you can 
#use these same templates for a variety of batch launching,
#(but by then you could just swap out executables or swap in scripts))

#you could use any pic on your system for the icon if you swap in 
#the correct path for it--i just went with what was in  #/usr/share/applications/ROX-Filer-file-manager.desktop

echo $'
[Desktop Entry]
Encoding=UTF-8
Name=ROX-4
Icon=/usr/share/pixmaps/puppy/open.svg
Comment=rox multipane--change number and paths of dirs belows
Exec=rox /mnt /root/.config  /root/Choices /root/Desktop
Terminal=false
Type=Application
Categories=FileManager
GenericName=rox4
' > /usr/share/applications/ROX-4.desktop

echo $'
[Desktop Entry]
Encoding=UTF-8
Name=ROX-2
Icon=/usr/share/pixmaps/puppy/open.svg
Comment=rox multipane--change number and paths of dirs belows
Exec=rox /root/.jwm /etc/xdg/templates 
Terminal=false
Type=Application
Categories=FileManager
GenericName=rox2
' > /usr/share/applications/ROX-2.desktop


echo $'
[Desktop Entry]
Encoding=UTF-8
Name=ROX-3
Icon=/usr/share/pixmaps/puppy/open.svg
Comment=rox multipane--change number and paths of dirs belows
Exec=rox /mnt /root/my-documents /usr/share/applications
Terminal=false
Type=Application
Categories=FileManager
GenericName=rox3
' > /usr/share/applications/ROX-3.desktop
fixmenus
jwm -reload
adjust the Categories bit if you don't want the multipane launchers bunched up on the File menu. (you could also just copy the files that are in /usr/share/applications, adjust them to your needs, and then run fixmenus; jwm -reload).

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

security updates for all the spins (openssl, wpa_supplicant)

#231 Post by Puppus Dogfellow »

from

use 2.1 for tahr and earlier, 2.4 for xenial, a readme in the new wpa_supplicant,hostapd folder in the browsers, network, internet, games section of pupli repo:
update prompted by souleau's thread:
WPA2 wifi open to key reinstallation attacks:
http://murga-linux.com/puppy/viewtopic.php?t=111832


____

(main) resource/my PPMs frequently end up broken so i usually visit the ubuntu repository first (unlikely the PPM healed on its own, but you never know what a reboot or five can do) if i ever need anything; packages.ubuntu seems to be the easiest way to access the stuff:

https://packages.ubuntu.com/search?suit ... chon=names[/url]

https://packages.ubuntu.com/search?keyw ... supplicant[/url]

___

sometimes other people's kindness makes things even easier. here's another security update courtesy of watchdog:


openssl_(102m)_by watchdog:

http://murga-linux.com/puppy/viewtopic. ... 686#973686
^main openssl thread at murga-linux from what i can tell

i didn't use the specific 32/64 bit openssl update for my personal copies of 6t4 since watchdog's M packages installed fine (at least with the 32 bit compatibility sfs loaded. the same also appears to be the case with mikeslr's Portable Wine version 2.1.6, which in limited testing has made it so i feel no rush to get together an sfs of version2013's latest 64 bit wine (which you can grab here)).

my setups seem to fairly frequently result in broken PPMs (four of four are currently giving me erroneous error messages telling me "no space left on device"), and so i've come to rely on https://packages.ubuntu.com/ quite a bit. lastest additions for the tahr64 and xenial 32 spins were hex editors. grab wxhexeditor and dependencies below (xz package is the same same as the contents of the 023..32 folder).

wxhexeditor023+deps(xenial32)
wxhexeditor.22+deps(tahr64)

wxhexeditor-023--32.tar.xz

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

fix for a possible recoll problem and updated quicklinks

#232 Post by Puppus Dogfellow »

megasync is working so well i ran into some problems with recoll on a machine that's never before given me trouble in that vein. another 64 bit installation was able to index the now-grown-by-eight-gig database with no problem, and a weaker machine running the 32 bit version of everything was able to do it, so i traced the problem back to some sort of limitation related to running with autosaves disabled. the tahrsave folder is on a partition with over 100gig free, but the indexing caused the whole system to crash until i moved .recoll (actually /root/.recoll/xapiandb, since that's the folder that holds the large .DB files--either way will work) out of /root and symlinked it back. it's similar to a problem (and with a similar fix) regarding large files and audacity that i mentioned in the quicklinks i'm somewhat in the process of updating (nwp and other wp updates, an update to the x7 project--i'm not going to delete the stuff and i try to follow what's going on regarding new developments, but i'm not sure when and if i'm going to run another precise installation. since i can't update libreoffice on xenial704 32, i'll probably next move xenial7.5 32 on that machine and provide support for it as a spin. the x7564 pet to follow contains elements that worked well when tested in 666philb's Xenialpup64 7.5. some elements (geany deps and recoll, to name two) are probably better left for the user to install through the ppm for now. recoll, and the nwp and vtg are what more or less made the spins different from most other pups. newest nwp shortcuts are speci and specig (for leafpad and geany respectively to open special characters for paste-in and whatnot ("specil.pet" udated the mcc-wp update that's also a nwp update) ...most of the other new shortcuts covered above as they rolled in.

here's the work-in-progress quicklinks again:

from
PostPosted: Tue 13 Sep 2016, 23:14 Post subject: quicklinks are mainly for precise, but the 32 bit libre,
Subject description: java, and wine will work in just about all 32bit pups and have 64 bit versions provided

Puppus Dogfellow wrote:here are the updated and condensed quicklinks:

from http://murga-linux.com/puppy/viewtopic. ... 031#915031
Posted: Mon 25 Jul 2016, 21:12 Post subject: updated quick links page
Subject description: x7 (pet) and p6 (iso) are newer, but less thoroughly tested and provided for.
Puppus Dogfellow wrote:last release plus quicklinks and updates:

p6.0.iso md5: cfec3c91a98f07301a5c901c7a8103ce 184 mb
~572.14.iso md5: cb47d7829f1fd43328df1c5f4ff12056 244 mb

devx_precise_5.7.2.sfs

devx for p6.0:
(same as the original unicorn pup devx)

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

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

approximatic for most 32 bit pups:

x7 sfs
x7 pet
focuswriter-1.5.5_xen.pet
focuswriter-1.5.5_xen.sfs

[...]

upgrade pet plus browser upgrade (unicorn spin gets palemoon, the precise spin gets slimjet) updates the isos. adding the focuswriter pet/sfs to an x7 installation brings that equal with p6 and the precise spin in terms of features added. (only x7 needs m1 or m30 for the jwm tweaks to be activated. see http://www.murga-linux.com/puppy/viewto ... 183#910183 for more.

updated collection of quicklinks (cut and paste from earlier posts for your convenience):
from
lyrics, notes, and tubby lou's sick device in somewhat related news, i recently broke vlc on my p6 installation and the only audio player i could get to work well after that was this portable deadbeef.

uninstalling before updating either palemoon or slimjet may be entirely unnecessary; both updated well on top of various older versions (spanning precise, unicorn, and xenial. precise spin updated a 9-series slimjet to the 11, most of the palemoons were no more than two updates behind). palemoon is up to 26.3 and slimjet's up to 11.0.1. thanks again to OscarTalks for both these and for the following multimedia updates:

this smplayer works well in precise/the precise spin and is my audio-video player recommendation for the unicorn spin.
smplayer-16.4.0-svn7831-precise.pet

the following two pets (again by Oscar) update the default media player in the precise spin:
mplayer-37844-precise.pet plus the interface tweak, gnome-mplayer-1.0.9-precise.pet
[...]

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

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

video:

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

java:
latest java packages (8u92)
wine198 by version 2013
w198.sfs
w198.tar.xz

words processing and related:
here's Calibre-2.5p.pet by gjuhasz and an sfs made from it.

goldendict-1.0.2-precise.pet

goldendict-wordnet_3.0-26.1_all.deb
[...]

____
from
http://murga-linux.com/puppy/viewtopic. ... 232#916232:
Puppus Dogfellow wrote:some quicklinks i've left out from here:
vivaldi (sfs and pet, both thanks yet again to OscarTalks) is another viable browser choice for either spin.


[...]

if you want something a little lighter than libre office, you can use this wps-office_10.1.0.5444-a20_i386.sfs WPS package from perdido. it's what's become of the kingsoft office suite. no odt ability, but many appear to like it. if you want it as a pet, right-click convert it with the built in utility.


also a little more into the wine or ms compatibility side of things, i've found this virtual dj software appears to work well in both spins:

http://www.toplinuxapps.com/2015/05/por ... ested.html

i used it fairly often when i still had windows--one of the things i wasn't happy about giving up when i chucked it all. nice to see it back--not sure if it will work on 64 bit, but it's fine in limited testing in both these 32 bit spins. (the precise spin has more built in music programs--pretty sure this more than makes up for the difference).
the wps packages have been updated (pet now available) thanks to perdido:

wps-office_10.1.0.5672-a21_i386.pet wps-office_10.1.0.5672-a21_i386.sfs

____

spideroak debs seem to install fine directly from spideroak so i'm no longer mirroring those.

same post gave me the code for xeyes (pic is from the unicorn spin; more a page back, though now that i'm working on porting the customizations that define these spins to 64bit, there may be more forthcoming. for now, scroll back towards page one for some of the more minimal setups--pets and sfs versions of the approximatic (p5, u6, x7) require activation through the terminal (/nwp/my1 or /nwp/my30) on new installs, though rox /nwp/c will take you to the installation folder, which opens up some preconfiguration options (none of which will take the menu, tray, or key swapping features--you'll need to swap in from the my series for those). i will soon post an updated version of the 64 bit nwp--been playing around with it a bit in tahr64 (finally got it to boot on a worthy (6gb ram) machine).

____

here's that dj software mirrored:

Portable Virtual DJ 7.4 for Linux by TopLinuxApps.com

___

firefox from mozilla continues to work as described a few pages back. haven't tested peebee's chromium in a few updates, but no reason to think that's still not another viable browser option.

a litter later, the folling updates rolled in:
Puppus Dogfellow wrote:jre-8u102-32+64-pet+sfs

the utility by rerwin i used to make them (and which was included in the last release if not the first update) has also been updated:

javaif-20160616.pet
get_java.conf-patch-20160820.pet
get_java-1.0.1.pet
Puppus Dogfellow wrote:www.jwz.org/xkeycaps

xkeycaps_2.36.7-64.pet
xkeycaps.2.46-7-32.pet
xkeycaps_2467_32.pet

second 32 bit pet is over four times the size because it contains dependencies that weren't needed in precise, and quite possibly weren't needed in xenial, but i made and briefly tested the smaller package in the former and the larger with the latter. the 64 bit version has no added dependencies (nor dependencies of dependencies) and works fine in xenial64 (...which is giving me minor touchpad grief...still looks like tahr 64 will be the first 64 bit Anubis Pup...Anubis Pup and the Approximatics---). anyway, this will give you even more control over your keys. templates include relatively rare models like the kinesis line, but most layouts seem to be accounted for, or at least most of your layout will end up being remappable in ways that would not have otherwise presented themselves. i'll likely include the utilites in the next releases. it appears the same can be done command line with xmod map, but this may be easier for most people, the small limitations of the gui's presets notwithstanding. anyway, i see something potentially useful in it.

two smaller are under a meg, the large 32 bit package is over 4 meg because it contains dependencies and dependencies of dependencies. smaller 32 bit package is a sixth the size of the 64 bit (145kb vs 900kb) and works in precise. try the smaller of the 32 bit versions first whether you're installing on one of these spins or not--the larger one is named differently and will overwrite itself and install the dependencies should you need them.

packages made from archlinux packages and with the help of radky's parchive (turn the downloads into the guts of the pet), the blank keys desktop template the last nwp update installed (made a usr/share/applications folder, copied in the template and modified a few lines), and don570's right click utility (made a pet from the folder).
Puppus Dogfellow wrote:version2013's wine thread
pet and sfs include
wine-1.9.16_v2.1.pet
wine_DEV-1.9.16_v2.1.pet
wine_DOC-1.9.16.pet
wine_extras-v2.pet
wine_menu-1.pet
winenv-1.2.pet.

peebee and argolance made the menu utilities and you can find more info at the above link. i just took the most recent stripped and modern packages, used sc0ttman's easypackage utility to combine them with the scripts and menu stuff, and hosted the results (pet had to be made manually (two clicks) from a folder that the utility set up--sfs was automatic)

wine1916-32.pet and wine1916.sfs

made a bit differently than previous packages but should work the same apart from the pet no longer being an extractable folder of smaller pets.
iron, palemoon, slimjet, wine, libre, and java get updated in their folders, so if you've got a link, you'll have access to a fairly recent copy (haven't checked up on version2013's or OscarTalk's work lately, but the java (32 and 64) and libre (64--32's a minor update behind) are both up to date as of a couple of days ago.

iron's up to 52 (thanks again Oscar), and through the last nwp update and something i snagged from 666philb's xenialpup, both u6/p6 and (~)~572.32 have the ability to download and/or autoupdate palemoon. one last browser to track down and that's all the recent quick links, i think...

got it:
Puppus Dogfellow wrote:i was going to make firefox the default browser next time around, but decided to make it a pet instead: firefox48.ooo.pet
this one will install in a slot on the right click original menu plus overwrite the entry for a firefox on sda1 on the root one menu. if you've followed the upgrades since the release of ~572.14 and p6, you won't need the libgtk dependency posted earlier: http://www.murga-linux.com/puppy/viewto ... 433#901433


(ignore the pet if you've followed the earlier advice and unpacked a mozilla firefox folder in sda1 or linked one there. the last nwp had a firefox desktop file that assumed that location. the one in this pet will overwrite it so it points to /opt--the ooo is opt over (sd)one. :?

___

i like iron on this xenial installation and still may end up using it to replace slimjet there. the last nwp update gave everything palemoon updaters and installers, so firefox's autoupdating ability is less of a factor in the decision. i'll probably keep palemoon in xenial and the 64bit spins, but include a get chrome utility. some sort of chrome-like browser in precise, maybe just keep dillo and netsurf in the unicorn, allow the users to load it up further in that regard...

so, other than the updaters and get browser utilities (64 bit chrome version is by ETP except for the possibly epileptic fit causing animation--use at your own risk?)...only thing i think i haven't as yet covered was the five new variations on the dark gray jwm theme, which itself i think is a takeoff of a main ubuntu theme...

[...]
[...]
here's a start:

watchdog's esr firefox for 32 and 64 bit:

firefox-52.7.0esr-en_US-x86_64.pet
firefox-52.7.0esr-en_US-x86.pet

(an older pup may need libgtk-3-0_3.4.2-0ubuntu0.9_i386.deb to use firefox)


newest LibreOffices you'll find in my repo:
https://drive.google.com/drive/folders/ ... sp=sharing
(64 bit's up to 602. i am unable to download a 32 bit sfs newer than 601 at the moment)
[...]

newer version of x7 above:

x7564.pet

all the nwp updates since last release (minus base nwp and vtg):

nwpu89.pet

more info:

notes for pet making

and

http://murga-linux.com/puppy/viewtopic. ... 234#986234:
PostPosted: Yesterday, at 21:48 Post subject: a small utility/update for the mini word processor aspect
Subject description: inserting special characters through copy and paste (another basepet howto)

(the upgrade pet and subsequent for-a-move-to-a-new installation pet (x7564) were modified versions of the enter special characters (specil) pet above)
____

many of MochiMoppel's excellent utilities are included and their pwn/nwp (spacebar plus shift) shortcuts documented (ww for winswitcher, sd for speed dials, sdr for recently used files and programs); i think they're an important part of the spins, so here are some links, including for the newest one to be added, mm_view:

ROX-Filer: Superfast bookmarks(sd)

SpeedDials --recently used documents and programs is "sdr" in the launcher

JWM WinSwitcher (ww)--also on overhead tray

mm_view_20180117.gz (mmv in terminal or through the nwp/pwn (shift+spacebar) launcher)

--

this last one by disciple was accidentally omitted from a build folder at some point, so the newest update (nwpu89) also includes what might be a fix for a dead short cut or three that could go back in time quite a while:

Bookmarks viewer (bm in terminal or launcher)

most of the most recent changes to the nwp (from the release of 6t4/~572.64) are in the form of keyboard configuration utilities and word processing functions. "utu" is an odd, new shortcut--it will update your youtube downloader python script (or give you one if you don't have it--many guis (BarryK's for one) require it).

___

tracked down most of the new shortcuts, i think. added the following to the launcher shortcuts list above:

update 3/18: newest launcher additions (activate with shift plus spacebar. enter "elp" for more).

nwp/pwn launcher shortcuts for bbwp (the browser based word processor):

defbb -- open bbwp with your default browser (five tabs--same code in ll or gl launcher(alt+l,alt+k are leafpad and geany launchers) to adjust)
firbb -- with firefox
chbb -- with chromium
pmbb -- with palemoon
gbb -- with google chrome
dil2 -- dillo reference/notetaker
wpebb -- open config files in geany
bbi and bbii (run through iron from my apps bin, run from nwp)

the browser based word processor now also works as a rox right click function--drag new file to browser or set run action.
some shortcuts for wordgrinder: (open in default terminal (wg)(urxvt), rxvt(wgr), or sakura(wgs)
bm -- disciple's bookmarks viewer (went missing at some point)
utu -- update your youtube downloader python script (or give you one if you don't have it--many guis (BarryK's for one) require it).
mmv -- MochiMoppel's file viewer
speci, specig -- copy and paste (and collect) special characters --open file in leafpad (speci) or geany (specig)
nwp shorts for/from the new keyboard configuration features:
ktab -- open the key table in geany
ktabm -- open the modifier map in geany
kset -- open the xmodmap folder in /root/my-applications/ (modify your keyboard)
kreset -- reset the keyboard (set for u.s. layout--edit to suit yours or copy to make (more) toggles)

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

Re: launcher shortcuts redux

#233 Post by Puppus Dogfellow »

Puppus Dogfellow wrote:
Puppus Dogfellow wrote:
recobayu wrote:Hi Puppus,
How to make that nwp run? What should i do after installing that pet?
Thank you.
Hi recobayu.

installing A NWP/A NWPUS--A Noob's Word Processor and Utilities Suite in one of these spins is redundant--the word processor and utilities suite is just the customizations i've made to a base distro made portable. if you mean the wordgrinder pet installed in a pup from this thread or that installed the nwp (folder that holds the alternate file system and the little scripts that do the work), shift+spacebar activates the launcher and either wg (wordgrinder opened in urxvt), wgs (wordgrinder opened in sakura) or wgr (wordgrinder opened in rxvt) entered into that launcher will run the program, as will "wordgrinder" in the terminal or clicking on one of the entries in the Documents menu or one of the three .desktop files in /usr/share/applications.

the nwp is more the folder that contains your stuff (optional file system--enter "baek" in the launcher for an aemenu version of it), and the launcher and jwm tweaks are what make the thing--"pwn" launcher (Process Words, Nooby/carpe diem, etc) is shift plus spacebar--i think there's an almost full list of shortcut codes a page back or so--that's the main "interface"--the thing's an overlay/overhaul more than a program, and it gives you more than one way to do what it proposes to do, so--i'm not sure what you mean.
:D

(also, if you're not using these spins for the wordgrinder pet, you'll probably need to install sakura for the wgs/wordgrinder-sk versions to work).

hth

(the nwp thread i've linked may clear up some confusion. it also may add to it).
:lol:

(if you do install the nwp as a pet, it ports your configs to "my39." to get back to them, "my39r" in the terminal should reverse most if not all of the installation (mae in the menu allows piecemeal uninstallation--it's a fairly enormous ae menu--i had an ae menu problem there for a while--just couldn't stop making them (there's an aemenu and jwmmenu maker somewhere in the shortcuts as well, but i usually just use substitution on existing copies at this point--so many templates for keycuts and menus, but lately i've been more concerned with altering the keyboard itself--keeps me up at night.)))


again, hope this helps, but i'll repost the shortcuts with the updates sometime soon.
http://murga-linux.com/puppy/viewtopic. ... 044#923044

missing a few from the last couple of updated or so, but it's still a pretty comprehensive list:
(keyboard shortcuts are at the post after the linked one--i 'll repost that as well, though the mod3 and modshift mods from xmod8287 have me messing with them--they're included and the documentation increasingly buried and a few substitutions and they're templates for new keys and mod3)
Puppus Dogfellow wrote: from the nwp/vtg support folder in the repo
all the limitations of the nwp as a word processor seem to me taken care of by the bbwp...i'm kinda done with it other than templates and file trees for preloading and general convenience. it frees up a lot of keys....

_____

update 3/18: newest launcher additions (activate with shift plus spacebar. enter "elp" for more).

nwp/pwn launcher shortcuts for bbwp (the browser based word processor):

defbb -- open bbwp with your default browser (five tabs--same code in ll or gl launcher(alt+l,alt+k are leafpad and geany launchers) to adjust)
firbb -- with firefox
chbb -- with chromium
pmbb -- with palemoon
gbb -- with google chrome
dil2 -- dillo reference/notetaker
wpebb -- open config files in geany
bbi and bbii (run through iron from my apps bin, run from nwp)

the browser based word processor now also works as a rox right click function--drag new file to browser or set run action.
some shortcuts for wordgrinder: (open in default terminal (wg)(urxvt), rxvt(wgr), or sakura(wgs)
bm -- disciple's bookmarks viewer (went missing at some point)
utu -- update your youtube downloader python script (or give you one if you don't have it--many guis (BarryK's for one) require it).
mmv -- MochiMoppel's file viewer
sfl -- launch sfs-load
speci, specig -- copy and paste (and collect) special characters --open file in leafpad (speci) or geany (specig)
nwp shorts for/from the new keyboard configuration features:
ktab -- open the key table in geany
ktabm -- open the modifier map in geany
kset -- open the xmodmap folder in /root/my-applications/ (modify your keyboard)
kreset -- reset the keyboard (set for u.s. layout--edit to suit yours or copy to make (more) toggles)

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

^oops, wrong thread

#234 Post by Puppus Dogfellow »

https://drive.google.com/drive/folders/ ... sp=sharing
dukto 601

fromhttps://docs.google.com/document/d/1hU9 ... sp=sharing
http://www.msec.it/blog/?page_id=11

---

---u14 version working well in tahr64 and the android version's working well on samsung android phone--galaxy j7 or something like that. (could use more ram, a better camera, and an ability to copy to and from the SD card without using an aftermarket filemanager (filemanager+ is what i believe i used (midnight commander was rec'd but failed)), but i doubt my wife's new iphone is really 800 dollars better (in terms of how many sweatshop hours you'd have to put in to get it).


anyway, i hope the newer androids aren't as paranoid about letting users access and change the data on their own devices…


new apples are dense but nice, i gotta say. (her mom got her one the same hematite color as my car. it's as big as my phone with the case and is about three times heavier.)
it works well, but i forgot to mention i had to reformat the card from exfat to ext4 for the phone to give it permissions and use it.

haven't tried it in the newer 606 tahrs or the newest 7.5 xenial32 (it failed for me in xenial32 704. in no case does the pull down menu work, but drag and drop works well and fast.

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

word processor updates

#235 Post by Puppus Dogfellow »

first the LOs:

LibreOffice-6.0.3_64_en-US_xz.pet

LibreOffice-6.0.3_64_en-US_xz.sfs

LibreOffice-6.0.3_en-US_xz.pet

LibreOffice-6.0.3_en-US_xz.sfs

______


bwp0.pet is an update of the browser based word processor. help file's in a subfolder of the nwp& vtg directory and will be moved out next version (after i tweak the styles2 page a bit more and possibly make a vtg launch sheet or two for it (launch with browser, backup directories with makepet, launch with geany or leafpad, etc)).

some overview in the pinstall:

Code: Select all

#!/bin/sh
#bwp, a version of bbwp, a fragment of anuupus...
#right click templates for spell check and no spell check were backwards last time. 
#updated version gives support for more fonts, colors, and paragraph alignment (through styles,scrap2; see the other styles sheet for credits and links. in short, you edit in a browser tab and save through your browser's file (html) and print (pdf) menus. bookmark individual files or folders as tabs or groups thereof. use the vtg and geany as additional means of launching or backing up your work. copy in formatting from the styles tabs to the spellcheck/no spellcheck blanks. default is left aligned serif.
cp -f /root/my-applications/bbwp/html/bbwp-2-nospchk /root/.config/rox.sourceforge.net/Templates/bbwp-2-nospchk
cp -f /root/my-applications/bbwp/html/bbwp-1-spchk /root/.config/rox.sourceforge.net/Templates/bbwp-1-spchk
cp -f /root/my-applications/bbwp/html/Styles,Scrap2.html /root/.config/rox.sourceforge.net/Templates/html/bbwp-3-Styles,Scrap2.html
cp -fRu /root/my-applications/bbwp/html /root/.config/rox.sourceforge.net/Templates/bbwp-0
#since i never made a /nwp/wp specific launcher, it makes more sense to call the codes from /nwp itself:
cp -f /root/my-applications/bin/bbch /nwp/bbch
cp -f /root/my-applications/bin/bbdef /nwp/bbdef
cp -f /root/my-applications/bin/bbfir /nwp/bbfir
cp -f /root/my-applications/bin/bbg /nwp/bbg
cp -f /root/my-applications/bin/bb-iron /nwp/bb-iron
cp -f /root/my-applications/bin/bbpm /nwp/bbpm
cp -f /root/my-applications/bin/bbwpe /nwp/bbwpe
cp -f /root/my-applications/bin/bbwpr /nwp/bbwpr
cp -f /root/my-applications/bin/dil2 /nwp/dil2
#add html folder to nwp/wp/bbwp---it's just missing the launchers (menu items call to ~/my-apps/bin)
mkdir -p /nwp/wp/bbwp/
cp -fRu /root/my-applications/bbwp/html /nwp/wp/bbwp/html
#nwp wp bbwp no longer called by menu items--they're more or less backup now; the codes above (without the path) would work in either terminal or nwp/pwn launcher. you can also copy the desktop files and replace your default browser with a supplemental (possibly with its own sessions and folders of bookmarks to work with apart from your main bwp/bbwp setup).
#to activate in document (vtg/full nwp versions), place cursor at 
#makepet path/to/document 
#(give it a separate line, possibly with a mv line to save your backups elsewhere).
echo $'
#!/bin/sh
exec makepet "$@"
' > /root/.config/rox.sourceforge.net/Templates/drag2makepet
chmod 755 /root/.config/rox.sourceforge.net/Templates/drag2makepet 
#dragging a folder to the makepet script is a convenient way to make a quick archive/backup of it. if you're using the pet function for archiving, rename (and/or relocate) as you go because each new pet will overwrite the older one.
#also in the last version, but since this update should work as a standalone word processor, i included it so as not to offer an unnecessarily limited version.
fix menus
jwm -reload

which is included in the help file linked above and scanned below:
Attachments
bwp0(1).gif
(188.35 KiB) Downloaded 1077 times

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

another update of the mini word processor

#236 Post by Puppus Dogfellow »

bwp1.2.pet

more color, font, and special character options, more support (documentation) for the vtg (backups, launching variations of sets with multiple browsers, general review), and now you can launch the templates from the styles or box tabs. the Styles,Scrap2/bwp help and info in the vtg folder mentioned a post up attempts to explain the changes and how to further customize and use the bwp.

from Part Two of Styles,Scrap2/bwp help and info
[...]__

added some special characters to the original styles sheet:

______________
this may be the legacy styles sheet, but it's as good a place as any to offer more special characters for your copy and pasting enjoyment or needs:

[...]
___
yet another source:
https://www.copypastecharacter.com/all-characters
(april update introduces colors and additional formatting options, as well as allowing for a reduced initial launch (bwp regulates some of it to the "box" files)).


and here's the newer pinstall.sh:

#!/bin/sh
#bwp, a version of bbwp, a fragment of anuupus...
#right click templates for spell check and no spell check were backwards last time.
#updated version gives support for more fonts, colors, and paragraph alignment (through styles,scrap2; see the other styles sheet for credits and links. in short, you edit in a browser tab and save through your browser's file (html) and print (pdf) menus. bookmark individual files or folders as tabs or groups thereof. use the vtg and geany as additional means of launching or backing up your work. copy in formatting from the styles tabs to the spellcheck/no spellcheck blanks. default is left aligned serif.

[...]


--

most of the changes come from the box files/tabs, which now allow you to launch the templates from startup links (not all the links carry over with the copy-paste; the text box and upload functions unsurprisingly don't work from this document:

[...]


use the styles templates to grab (select or copy) formatting (colors, font, paragraph, etc) to paste
(ctrl+v) or middle click into your working document. copy the u, i, and b from the underline, bold, and
italics bits to have them available from the clipboard (less moving about between tabs to format your
document--those shortcuts vary by clipboard, but the cut, copy, paste, redo and undo all work as expected).
download your working template/s as html, open and bookmark it/them, and use the print menu to save your work as pdf.

thanks to http://https://thiscouldbebetter.wordpr ... javascrip/
for this page's download box, and thanks to this pcworld article for the editable tab code (data:text/html, <html contenteditable>)
the whole thing depends upon. (paste it (without the parentheses) into the address bar of your browser for a wider page view.


______
some of my related projects and threads down at what i find to be a friendly and helpful forum, http://murga-linux.com/puppy/index.php:

[...]

____

that's pretty much it. vtg'ing the launches through a start center (browserofchoice /paths/to/files as sessions) may be easier and allow more control in the long run.

p. dogfellow, 4/19/18

***

Part 3:

_ to 1--cleanup.
1 to 1.1 cleanup.

bwp1.1.pet

19k

(think it's okay. only thing to add, which would be separate (so part three may as well've read epilogue), would be a vtg launch sheet of some kind (easier and faster to use and customize than a window manager menu or a browser interface)).


_____


sample vtg entries (alt+z or click the cauliflower)(not part of base bwp, but you can always dump the codes you hone into a terminal if you haven't installed the full nwp)

geany /path/to/file /path/toooo/file (etc)

leafpad /file/6| leafpad /file/7| leafpad /file/8| leafpad /file/9| leafpad /file/10

geany -i /path/to/file /path/toooo/file (etc)

defaultbrowser /root/my-applications/bbwp/html/bbwp-1-spchk /root/my-applications/bbwp/html

rox /your/stuff_that's_here/ /and/there /etc/stuff

(copy and paste as templates and substitute your files and their locations; rearrange combinations, swap in other browsers (most will take the above syntax it seems. leafpad has to be asked as above rather than the more convenient way rox and geany can carry it out (you can grab your files by selecting them physically then pasting their highlight into a text document--instant batch launch for most everything except leafpad)...

anyway, like i said, apart from the basically separate issue vtg stuff (if it were part of the pinstall i'd just've noted the dual use in the comments), bwp1.1 is done and contains its own help file (the bulk of its size and also the way it handles your formatting choices).

bbwpe gives a sample of all the bwp's files set up for easy copy, paste, or launching:


#!/bin/sh
geany -i /root/my-applications/bbwp/html/Styles,Scrap2.html /root/my-applications/bbwp//html/box1 /root/my-applications/bbwp/html/Untitled2 /root/my-applications/bbwp/html/Untitled1 /root/my-applications/bbwp/html/Styles /root/my-applications/bbwp/html/bbwp-1-spchk /root/my-applications/bbwp/html/bbwp-2-nospchk /root/my-applications/bbwp/html/box2.html /root/my-applications/bin/bwp

___

puppus dogfellow, 4/23/18

(gave a makeshift vtg launch sheet a shot)

----

4/27

upped 1.2. (insert tab support, more readable box content (box1 and 2 are both the same, and the old styles sheet grew from 17 to 82k, but the pet is still 19k). here's the description and the older folder's version of this file:

bwp to 1.1 cleaned mostly broken or misguided links. for the upcoming 1.2 box 1 and 2 are improved but identical (and so even more redundant (experiment with no fear!) given the copies that get made in usr/local and the nwp/wp (and the templates folder, now that i think of it--it's also just occurred to me i may not have mentioned the right click function version of the process in these pages--just right click it into existence, drag that file (or folder, if you chose the whole bwp-0 directory) to a browser, and you can run it from wherever you like, using the templates mostly for scrap (reload rather than save and you can start over til you get the hang of grabbing it the right way).

(i'm still kind of surprised it works this well).

vtg sheet will have backup functions via rsync -au and or cp -au (not that i know what the difference between au and a is--they both seem to work at least as well as cp -fRu, and update metadata better--not much experience or knowledge in this regard (and many others), but was using cp --fRu to update the nwp before i learned how to make pets. i think rsync is newer and cp is an ancient unix built-in that comes as a given with every kernel (which in my newbie state i take as the core of a current linux, with everything else on top being how developers make it usable for people who aren't developers) (and sometimes for those who are). you may not have rsync, but you probably do and it may be better. it's designed for networks, but
cp --help > /tmp/cph; geany /tmp/cph
rsync --help > /tmp/rsynch; geany /tmp/rsync
will give a sheet you can play around with as you learn more
(more vtg issue stuff, but you can always work out what you want from the help file and, once settled on the right code, dump it into the terminal for basically the same experience.)

...

so a little rambling to say i've updated the box scripts in the html folder (everything's got a newer date but i believe that's all i changed since the last upload).


___
bwp files, but google drive can't display the html the same way ibiblio (for example) does (or appears to to me).

might be easier to just install or extract the pet for a peek.

main change over bwp0 is the ability to call the templates from box tab itself.

more special characters and external links added (related projects).

___

p.dogfellow, 4/26

(original styles sheet updated to include variations on some of the formatting options in styles2 and some additional (mostly latin diacritic stuff) special characters) (also a really good link for that). it's in the online help folder as large,optional(82k), but it'll be the main version of the old styles/help/scrap sheet and the 17k version will be here for you to swap in if you like (backup code coming for the vtg will have something in it to automate this).

pd



pet is 19k under the same compression i used before.

(now up)



, which i'll now link back to here and try to remember is defunct.

***

________

vtg stuff:


1. basic backups

change the /file/wp bit at the end of each line to a place on your system you'd like for the backups. this will make the copies at usr/local/bwp the bwp folder, the html folder is your stuff launched from /root/my-applications/bbwp, and your bbwp folder from nwp comes over with that name. this backup is on the same partition as the other stuff (unless you've symlinked up your system otherwise), so a safer place may be another drive entirely (for which you could also do cp -a /file/wp /path/and/folder/you/pick (use the mkdir -p command if it doesn't already exist).

mkdir -p /file/wp/
cp -au /root/my-applications/bbwp/html /usr/local/bwp/ /nwp/wp/bbwp/ /file/wp/

make versions of line above to use your start center to also run backups. similar to the [program] --help >/tmp/progh; geany /tmp/progh type command discussed earlier for cp and rsync, you can use it for tar, which may be a better vtg way of doing backups than makepet, which will force you to use the message window to complete the action (better/quicker to use the right click drag2pet for that, but the bit below below starts the process. use ctrl+7 to toggle in and out of the message window (terminal tab if you're doing it through the menus) to name or otherwise label your pet (you can just hit enter for all the questions and each new archive will overwrite the last. otherwise name them through the popup and window to preserve earlier versions)).
makepet /root/my-applications/bbwp/html/
makepet /nwp/wp/bbwp/
makepet /usr/local/bwp/

right clicking to make a template in a given location will give you access to the drag-to version of makepet. it'll pop open the same little gui (in this capacity, it's something to help you label the pets(backups) of the directories in your archives).

substitute the copy (cp -a) command for a file manager (in puppy, typically rox), and you can open the folders you're copying and fine tune a launch protocol with that:

rox /root/my-applications/bbwp/html /usr/local/bwp/ /nwp/wp/bbwp/ /file/wp/

if you select some of the files from the folders that opened and then middle click into a text editor with a mouse, you get something like these results for the bwp folder in /usr/local:

/usr/local/bwp/bbwp-1-spchk /usr/local/bwp/bbwp-2-nospchk /usr/local/bwp/box1 /usr/local/bwp/box2.html /usr/local/bwp/Styles /usr/local/bwp/Styles,Scrap2.html /usr/local/bwp/Untitled1 /usr/local/bwp/Untitled2

just add a launcher (browser or text editor) and a space before the list. add other files' whole paths to the list (separating each you add by a space--there's no limit, but you may want to divide your files and folders into more manageable (and possibly redundant (for convenience's sake, of course) chunks), and you've got a start center line. place the cursor, click the cauliflower, and your choices will launch. launch with more than one browser to keep versions of a live document available as you work on it. set up how you'll ultimately like your sessions ("bookmark all tabs" in most browsers) to be saved--it's much quicker than doing it one by one through the file-open dialog.

(snuck in 2 and 3, basic start center and vtg as an organizational tool)

-------

NB: backup your stuff before installing any updates. most of this assumes a bbwp in the nwp folder (ignore this for non nwp installations, and ignore the vtg stuff for not vtg installations (though the former becomes a lesson on how to modify the box templates for your own stuff and the the latter is still relevant as "dump your stuff into the terminal instead of striking the cauliflower." (vtg=one line of code, click the cauliflower icon or alt+z; more than one line of code, highlight it then do the same. dumping into a terminal requires highlighting it in its entirety (regardless of how many lines it is) and then middle clicking it into a terminal (and sometimes hitting enter if it didn't automatically run/grab the last "carriage" return)).

highlight groups of files, paste them, arrange them, give them a launch command. that's the vtg start center for bwp, the browser word processor.


p. dogfellow 4/27/18

(this page has now become help, info, and development log).


….

more help and templates:

the difference between

geany -i /root/my-applications/bbwp/html/Styles,Scrap2.html /root/my-applications/bbwp//html/box1 /root/my-applications/bbwp/html/Untitled2 /root/my-applications/bbwp/html/Untitled1 /root/my-applications/bbwp/html/Styles /root/my-applications/bbwp/html/bbwp-1-spchk
/root/my-applications/bbwp/html/bbwp-2-nospchk /root/my-applications/bbwp/html/box2.html /root/my-applications/bin/bwp

and

geany /root/my-applications/bbwp/html/Styles,Scrap2.html /root/my-applications/bbwp//html/box1 /root/my-applications/bbwp/html/Untitled2 /root/my-applications/bbwp/html/Untitled1 /root/my-applications/bbwp/html/Styles /root/my-applications/bbwp/html/bbwp-1-spchk
/root/my-applications/bbwp/html/bbwp-2-nospchk /root/my-applications/bbwp/html/box2.html /root/my-applications/bin/bwp

is that the -i conveys you wish the files opened in a new instance of geany. for most things, the launch code is as i described, but as you'll see if you do the [program] --help >/tmp/progh; geany /tmp/progh bit for things like firefox and palemoon, there are usually many more options available. to use the vtg start sheet/center for libreoffice, use libreoffice6.0 --writer /paths/2 /your/files /yadda /shae or something similar.


this one's messed up because it's been installed on top of itself too many times--copy from your own actual file locations if you've got the nwp version of the bwp bbwp going.

firefox /nwp/wp/bbwp/html/html/bbwp-1-spchk /nwp/wp/bbwp/html/html/bbwp-2-nospchk /nwp/wp/bbwp/html/html/box1 /nwp/wp/bbwp/html/html/Styles /nwp/wp/bbwp/html/html/Styles,Scrap2.html /nwp/wp/bbwp/html/html/Styles,Scrap(2).html /nwp/wp/bbwp/html/html/Untitled1 /nwp/wp/bbwp/html/html/Untitled2

(the launch from nwp section of your box file may not work correctly even if you have the nwp installed because of this. on the bright side, it means if you're using the thing but keeping the default names for the blanks, or saving your work in the formatting styles sheets, it's less likely the last upgrade just overwrote your work).
(backup your stuff or rename the originals/these are the bits that will be a how to on customizing the box and styles tabs (basically look for the address bits, change those and the associated titles; look for the color bits, use gcolor2 (in most pups) or the geany color chooser to customize yours (queens and keyboards and six digit codes in the styles2 sheet); most things can be pasted in directly; fonts are tricky because just because your machine has it, doesn't mean your audience does on theirs. sizes are sizes, but serif supercalifragilistic may get rendered as plain serif in the end.))

never given a desktop file (the menu entry calls from /root/my apps/bin but is essentially):

defaultbrowser /usr/local/bwp/bbwp-1-spchk /usr/local/bwp/bbwp-2-nospchk /usr/local/bwp/box1 /usr/local/bwp/box2.html /usr/local/bwp/Styles /usr/local/bwp/Styles,Scrap2.html /usr/local/bwp/Untitled1 /usr/local/bwp/Untitled2

use the geany versions (the geany -i code is bbwpe in the terminal and on the menu) to change the tab titles or otherwise overhaul the files, templates, or boxes (there are a few things can't be edited through the editable window itself. alt+1 or n in the launcher in nwp installs gives you paste and place or highlight and select html codes you may find useful).

copy your own files or base your projects on these templates. check the desktop files in /usr/share/applications for an installed applications launch command if it's not the name itself (rare but happens).


______

(you could also launch music or hissing with the vtg if you like:

vlc /path/2/some_song (or playlist)
zensound; xdotool key f10 down down enter
(think the last bit is really Down Down Return))
.

general tip: put quotation marks around paths that have spaces in them (prog "/path/2/spaced name").
***


here's an example of the color mod lines to look for (you're just replacing the D41B75 part with a six digit code you grabbed from one of the color wheels mentioned or some other of your choosing):

<p style="margin-bottom: 0in; line-height: 100%" align="justify"><font color="#D41B75">⌨</font></p>

you can also try swapping in fonts by duplicating any lines that name one and just changing that bit to something you know is an official font name (use gfontsel to pick some (the more common, the more likely your viewer will see what you think you're putting before them).

here's an example of the address/link lines in the file you can customize:

<a href="file:///nwp/wp/bbwp/html/bbwp-1-spchk" target="_blank">spchk</a><p>

use http:// instead of file:/// for web addresses. (this is also on the n and alt+1 menus as paste and place nwp commands (versions of link and table of contents entries)).


n menu refers to the shift plus spacebar pop up menus (enter "n" in the p(wn) launcher). most of those formatting items have individual launch codes (check the lists above) assigned (which is generally a much faster way of getting them or doing most things).

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

bwp 1.3

#237 Post by Puppus Dogfellow »

from http://murga-linux.com/puppy/viewtopic. ... 585#990585,
Post subject: bwp 1.3: some new backup and formatting shortcuts,
Subject description: better use of screen real estate, and a mini version of the duals folder from the nwp
Puppus Dogfellow wrote:bwp1.3.pet upped.


if you're working in the default templates and styles/info/scrap sheets, run

Code: Select all

mkdir -p /file/wp/
cp -au /root/my-applications/bbwp/html /usr/local/bwp/ /nwp/wp/bbwp/ /file/wp/
or something similar before upgrading so your stuff doesn't get overwritten (it'll be in /file/wp as described below. change the locations to suit your preferences--code is also the new ark and arc nwp shortcuts (ll (or gl, since this is after all the geany thread version of all this) in main (p) launcher followed by the name of the file to quickly edit it after installation in full nwp installs).

more from that Styles,Scrap2/bwp help and info file:
[...]
5/1

will probably have 1.3 up by the morning (unless the mcc version ends up getting merged into it). here's the new pinstall script so far:

Code: Select all

#!/bin/sh
#bwp, a version of bbwp, a fragment of anuupus...
#right click templates for spell check and no spell check were backwards last time.
#updated version gives support for more fonts, colors, and paragraph alignment (through styles,scrap2; see the other styles sheet for credits and links. in short, you edit in a browser tab and save through your browser's file (html) and print (pdf) menus. bookmark individual files or folders as tabs or groups thereof. use the vtg and geany as additional means of launching or backing up your work. copy in formatting from the styles tabs to the spellcheck/no spellcheck blanks. default is left aligned serif.
cp -f /root/my-applications/bbwp/html/bbwp-2-nospchk /root/.config/rox.sourceforge.net/Templates/bwp-2-nospchk
cp -f /root/my-applications/bbwp/html/bbwp-1-spchk /root/.config/rox.sourceforge.net/Templates/bwp-1-spchk
cp -f /root/my-applications/bbwp/html/Styles,Scrap2.html /root/.config/rox.sourceforge.net/Templates/bwp-3-Styles,Scrap2.html
cp -fRu /root/my-applications/bbwp/html /root/.config/rox.sourceforge.net/Templates/bwp-0
#since i never made a /nwp/wp specific launcher, it makes more sense to call the codes from /nwp itself:
cp -f /root/my-applications/bin/bbch /nwp/bbch
echo $'
#!/bin/sh
defaultbrowser /nwp/bbwp/html/bbwp-1-spchk /nwp/bbwp/html/Styles,Scrap2.html /nwp/bbwp/html/bbwp-2-nospchk /nwp/bbwp/html/box1 /nwp/bbwp/html/Untitled2 /nwp/bbwp/html/Untitled1 /nwp/bbwp/html/Styles

' > /nwp/bbwp
chmod 755 /nwp/bbwp
#run line below to have the nwp call bbdef from my/apps-bin
#cp -f /root/my-applications/bin/bbdef /nwp/bbdef
cp -f /root/my-applications/bin/bbfir /nwp/bbfir
cp -f /root/my-applications/bin/bbg /nwp/bbg
cp -f /root/my-applications/bin/bb-iron /nwp/bb-iron
cp -f /root/my-applications/bin/bbpm /nwp/bbpm
cp -f /root/my-applications/bin/bbwpe /nwp/bbwpe
cp -f /root/my-applications/bin/bbwpr /nwp/bbwpr
cp -f /root/my-applications/bin/dil2 /nwp/dil2
#add html folder to nwp/wp/bbwp---it's just missing the launchers (menu items call to ~/my-apps/bin)
#mkdir -p /nwp/wp/bbwp/
cp -fRu /root/my-applications/bbwp/html /nwp/wp/bbwp/
cp -fRu /root/my-applications/bbwp/html /usr/local/bwp/

#[...]the codes above (without the path) would work in either terminal or nwp/pwn launcher. you can also copy the desktop files and replace your default browser with a supplemental (possibly with its own sessions and folders of bookmarks to work with apart from your main bwp/bbwp setup).
#to activate in document (vtg/full nwp versions), place cursor at
#makepet path/to/document
#(give it a separate line, possibly with a mv line to save your backups elsewhere).
echo $'
#!/bin/sh
exec makepet "$@"
' > /root/.config/rox.sourceforge.net/Templates/drag2makepet
chmod 755 /root/.config/rox.sourceforge.net/Templates/drag2makepet
#dragging a folder to the makepet script is a convenient way to make a quick archive/backup of it. if you're using the pet function for archiving, rename (and/or relocate) as you go because each new pet will overwrite the older one.
#also in the last version, but since this update should work as a standalone word processor, i included it so as not to offer an unnecessarily limited version.

#1.2 to 1.3 adds the following and makes better use of screen real estate (smaller margins and less padding. return line width to 60 and padding to 4 for the older look, something in between for something in between).

#arc and ark are backup utilities for the default folders and identical. modify one or both. run before each new bwp, bbwp, or mmcwp upgrade.
echo $'#!/bin/sh
mkdir -p /file/wp/
cp -au /root/my-applications/bbwp/html /usr/local/bwp/ /nwp/wp/bbwp/ /file/wp/
' > /nwp/ark
chmod 755 /nwp/ark
echo $'#!/bin/sh
mkdir -p /file/wp/
cp -au /root/my-applications/bbwp/html /usr/local/bwp/ /nwp/wp/bbwp/ /file/wp/
' > /nwp/ark
chmod 755 /nwp/arc
#launcher shortcuts for tab, en, em, and non breaking space
#when in text editor mode (faster saving is one benefit), entering line breaks, tab spaces, and blank space in general is non-intuitive. here are some launcher shortcuts to try and make up for that:
echo $'#!/bin/sh
xdotool type "&nbsp;&nbsp;&nbsp;&nbsp;"
' > /nwp/tab
chmod 755 /nwp/tab
echo $'#!/bin/sh
xdotool type " &nbsp;"
' > /nwp/spc
chmod 755 /nwp/spc
echo $'#!/bin/sh
xdotool type "&emsp;"
' > /nwp/em
chmod 755 /nwp/em
echo $'#!/bin/sh
xdotool type "&ensp;"
' > /nwp/en
chmod 755 /nwp/en
echo $'#!/bin/sh
xdotool type "<br>"
' > /nwp/br
chmod 755 /nwp/br
#repair broken horizontal rule shortcut. paw and pbw (to force page breaks (after and before) are also useful in text editor mode (but don't need repair--just mentioning them as a tip)).
echo $'
#!/bin/sh
xdotool type \'<hr size="2" align="left" width="60%" color="grey">\'
' > /nwp/hrl
chmod 755 /nwp/hrl
#to do: add a version of the dual launchers folder for an mcc version of the upgrade
#(though it's already an upgrade of the word processor offered in that thread). run
#mkdir -p /file/wp/
#cp -au /root/my-applications/bbwp/html /usr/local/bwp/ /nwp/wp/bbwp/ /file/wp/
#first if you've been working in the files but haven't been renaming them.
#additional info: the same print window you use to download your work as pdf can also scale it,
#so using the default size plus the heading (h1-h5) tags rather than the font size choices to set relative text size may make more sense (it would also reduce the overall size of the package considerably).
#the wider editing view set in the browser window doesn't affect the print preview display--if you like post its and other files in the margins, set the line width to something even less than 60 ("column view").
fixmenus
jwm -reload
change in shade for the new stuff. as the comments say, run

Code: Select all

mkdir -p /file/wp/
cp -au /root/my-applications/bbwp/html /usr/local/bwp/ /nwp/wp/bbwp/ /file/wp/
#first if you've been working in the files but haven't been renaming them
(that's both arc and ark--two new (customizable) nwp launch codes (talking full nwp installs; after installation, gl or ll in the launcher and then either ark or arc in the next launcher (geany or leafpad) and you can edit the paths or set others for easy backups (a good place to add a "cp -au /file/wp /path/and/folder/you/pick #(use the mkdir -p command if it doesn't already exist)" as mentioned earlier.



the "duals" mentioned is just a folder of drag-to scripts for opening the bwp's (and earlier versions') files (individually or in batches) in a browser and text editor simultaneously. seems to fit with the drag to copy and drag to pet scripts it already has. anyway, it's just a dozen or so variations on:

Code: Select all

#!/bin/sh
exec defaulttexteditor "$@"| exec defaultbrowser "$@"
the four possible variations for text editor part were the above, geany, geany -i, and leafpad. did a bunch of substitution in geany with the cnt code (

Code: Select all

echo $'
(content--script spits out a sample create-file-with-content template)
' > (path to file)
(see above for the fixed broken hrl tag version--it'll show you what to do if your 'content' has the symbols (& ') the code needs to use as the beginning and end of what you want it to make. if only single quotes (an apostrophe), use doubles (real quotes), or use backslashes any time you need to show a (ex:) \& or \' in what gets printed out to > .../(filename)

(i think you may need to \ \'s, but i'm not sure; it may be just a character without something to "escape.")(look up "escaping characters" for more).(in a search engine, not here).

...

and ended with with what appears to be about three dozen (i luckily have little
memory of doing it). as you can see, i gave the desktop files (never got through with making icons for all of them) the same cryptic names as the launcher shortcuts they also point to.
anything with a gi is going to have a new instance of geany launched. same for anything that's got a "geani" in it. defaults x2 is "def" in the launcher (you can drag the files to the running programs instead of the scripts), which is also you'd name them for vtg use. see the shortcuts list in any of the linked threads for more of that sort of stuff.


….seems i ranted myself away from some continuity regarding the screenshot below…

(newer version of the pinstall for 1.3 will add something like:

Code: Select all


#for now i'll just put copies of the drag2pet script and 2 of the
#simultaneous browser-text editor launch scripts in the bwp/bbwp and mcc folders (nwp and /root/my-apps)
#drag either gip or def to the make copies scripts to make a set of templates
#to fit your apps and preferences
echo $'#!/bin/sh
exec defaulttexteditor "$@"| exec defaultbrowser "$@"
' > /root/my-applications/bin/def
chmod 755 /root/my-applications/bin/def
cp -f /root/my-applications/bin/def /nwp/mc/mcc/def
cp -f /root/my-applications/bin/def /root/my-applications/mc/mcc/def
cp -f /root/my-applications/bin/def /root/my-applications/bbwp/html/def
echo $'#!/bin/sh
exec geany -i "$@"| exec palemoon "$@"
' > /root/my-applications/bin/gip
chmod 755 /root/my-applications/bin/gip
cp -f /root/.config/rox.sourceforge.net/Templates/drag2makepet /root/my-applications/mc/mcc/drag2makepet
cp -f /root/my-applications/bin/gip /nwp/mc/mcc/gip
cp -f /root/my-applications/bin/gip /root/my-applications/mc/mcc/gip
cp -f /root/my-applications/bin/gip /root/my-applications/bbwp/html/gip
cp -f /root/.config/rox.sourceforge.net/Templates/drag2makepet /nwp/mc/mcc/drag2makepet

here's that pic i mentioned:
[...]

here's the contents of that "to decryptify.." file:

one of the drawback to the quick launch codes is that sometimes they're a bit too cryptic to be of use.
here's what the things in the folder open:
(geany with an i indicates it will open a new instance of geany if there's already an instance (or more) running. leaf is leafpad. g by itself is geany. l by itself indicates leafpad is the text editor part of the dual launch. p is pale moon. ff is firefox. c is chromium (ll in leafpad if you're using chrome and you want to give it rather than chromium the quicker launch call.)

defaultsx2.desktop -- opens your default text editor and your default browser
geany-opera.desktop
leaf-dillo.desktop -- dillo leafpad
dlll.desktop -- dillo leafpad
ged.desktop -- geany dillo
leaf-slimjet.desktop -- leafpad slimjet
gc.desktop -- geany chromium
gep.desktop -- geany palemoon
leafy.desktop -- leafpad, seamonkey
geani-chrome.desktop -- chrome, geany new instance
ges.desktop -- geany seamonkey
lec.desktop -- leafpad chromium
geanifirefox.desktop -- geany new instance firefox
gib.desktop -- [seems as though i never actually made the file this one directs you to]
lep.desktop -- leafpad palemoon
geani-opera.desktop -- geany new instance
gic.desktop -- geany new instance
lff.desktop -- leafpad firefox
geany-chrome.desktop -- geany chrome
gid.desktop -- geany new instance
lop.desktop -- leafpad opera
geanydefbrowser.desktop -- geany default browser
gip.desktop -- geany new instance

geany-firefox.desktop -- geany firefox
gis.desktop -- geany new instance seamonkey
txt-ed-ff.desktop -- default text editor firefox
geany-jet.desktop -- geany slimjet
leaf-chrome.desktop -- leafpad google chrome

(still a little cross referencing to do, but this should make it easier (though not every browser listed (i.e. dillo, older operas, …) may be able to use the content editable code the browser view hinges upon.



some new launcher codes:

arc -- backup bwp
ark -- backup bwp (dup)
em -- type out html emspace
en -- type out html en space
tab -- type out html tab space
spc -- type out non breaking space (in text editor mode, html removes breaks and spaces you don't explicitly tag.)
br -- type out line break tags <br>

^(until you remember to remember it at least; <p> tags ("paragraph") are less reliable for this (as the name perhaps suggests. seems to work sometimes though).



if you don't have the nwp and the launch code cheat sheet it provides, and you want the benefits of the text editor's quick saves and text manipulation tools, you could always make a cheat sheet directly on the page and sandwich it with

Code: Select all


<!--  -->

(put all the tags and crib notes between arrows like that (cmt in the launcher) and you'll have something that only shows up in text editor view--neither the browser tab nor the print preview/output/pdf file show that as part of your content).

...

bwp1.3.pet now up. it's up to 23k (240 installed, most of it the original styles sheet copied three times).

contents/ingredients (tree -h):

├── [ 89] pet.specs
├── [6.7K] pinstall.sh
├── [ 80] root
│ ├── [ 80] my-applications
│ │ ├── [ 60] bbwp
│ │ │ └── [ 200] html
│ │ │ ├── [ 589] bbwp-1-spchk
│ │ │ ├── [ 578] bbwp-2-nospchk
│ │ │ ├── [ 11K] box1
│ │ │ ├── [ 11K] box2.html
│ │ │ ├── [ 82K] Styles
│ │ │ ├── [ 37K] Styles,Scrap2.html
│ │ │ ├── [ 586] Untitled1
│ │ │ └── [ 582] Untitled2
│ │ └── [ 240] bin
│ │ ├── [ 366] bbch
│ │ ├── [ 371] bbdef
│ │ ├── [ 364] bbfir
│ │ ├── [ 370] bbg
│ │ ├── [ 361] bb-iron
│ │ ├── [ 364] bbpm
│ │ ├── [ 394] bbwpe
│ │ ├── [ 85] bbwpr
│ │ ├── [ 372] bwp
│ │ └── [ 244] dil2
│ └── [ 60] puppy-reference
│ └── [ 40] mini-icons
└── [ 60] usr
└── [ 60] share
└── [ 160] applications
├── [ 313] bbwp-conf2.desktop
├── [ 327] bbwp-conf.desktop
├── [ 279] bbwp-def2.desktop
├── [ 294] bbwp-def.desktop
├── [ 284] bbwp-geani.desktop
└── [ 276] bwp.desktop

10 directories, 26 files

conf2.desktop opens the folders containing the templates, which should help with dragging and dropping onto the dual launchers in bwp, mcc, nwp-wp, etc. (those folders are also the default location ark and arc look to backup).





if you're using the text editor to brainstorm and the browser view to add formatting (font faces and line breaks), make sure to hit refresh on the right windows and in the right order or you may end up overwriting some of your changes with some of your other changes (a second browser's window (separate program--bwp doesn't use much resources) with unrefreshed stages could help. alternately, doing something like \n for <br> in the search and replace boxes (with Use regular expressions ticked) will swap out all your natural line breaks for ones that will show in your pdf and in the browser view that more or less is the one that counts (you could send the pdf, the text file, or the html (i.e that same text file but understood by the machines to be opened in a browser tab), but only two are really comfortably readable for most people). if you want the views between the programs to be more consistent, you could instead substitute the line breaks for line breaks plus the break tag: \n for \n<br>
if the new browser view is too wide, adjust the line width back to 60 or whatever suits your preferences and habits best (you can view it as a thin column in between stacks of post it notes and the pdf/browser/ultimate layout isn't affected).

careful with the browser refreshes and geany reloads and the order you do them; a careless browser refresh can wipe out a lot of work, though backup views in other tabs, windows, or browsers (or geany windows for that matter) may add additional safeguards.

as always, enjoy, have fun, report problems.

--pd

____

after further consideration, i think the br substitution deal discussed above is a bit dopey (though perhaps useful in other scenarios). since pasting your natural (typed rather than coded) tab spaces, non breaking spaces, and line breaks from from a plain text file works with those empty spaces preserved, there's really no reason to fiddle with the matter in geany view. said another way, for brainstorming, plain text files (leafpad or geany) pasted into a master document of sorts (one of your browser view versions or templates) may make more sense and save time in the long run (and also produce more readable rough/text editor mode drafts); the browser window can handle the formatting more intuitively, the text windows save quicker and have better text manipulation tools available, and if you've already got the nwp or mcc pet installed, there's now makepet backup capability coming from the mcc drag to make copies folder, which can now also dual launch your template files (and you can deposit a bunch of those templates there or anywhere else on your system with a right click if you're using rox).
from http://murga-linux.com/puppy/viewtopic. ... 685#990685, Post subject: make sure to reload the browser view if you've changed the
Subject description: file in text mode...working in the comments to preserve a natural typing environment
Puppus Dogfellow wrote:(maybe working in plain text files in those folders (so you can take advantage of the default arc and ark backup shorts--it doesn't really matter where you put them if you alter those accordingly or take care of backups some other way) is a better way of going about your project, but here's a suggestion and a caution for it):

from Post subject: some more on text editor mode versus browser mode, comments,
Subject description: saves, reloads, refreshes, updating, and drag2makepet
(http://murga-linux.com/puppy/viewtopic. ... 683#990683)
Puppus Dogfellow wrote:from

http://murga-linux.com/puppy/viewtopic. ... 673#990673
( a bit more on the bwp)
Puppus Dogfellow wrote: if you've decided to work in the html document in geany mode rather than in browser view for the quick saves because you've discovered that putting your text between the arrows (

Code: Select all

<!-- (i.e. here and this can go on indefinitely and be repeated (i.e. additional sets of arrows placed elsewhere in the document) as often as you like) -->
) is a good way to have an invisible draft going while preserving your spaces and tabs and visual poetry for some later paste in, make sure to refresh the browser version before the paste in that turns the comments contents into the working/formattable/browser/pdf draft or the download will overwrite the (now presumably backup) comments and all the other changes made since the browser view was loaded or last refreshed (despite the saves you may have made in geany or leafpad in the interim--sometimes it's easy to lose track of the sometimes invisible content).

...

pasting in page breaks from either line below in html view is perhaps easier than grabbing the page break line in the styles2 sheet, so future word processing templates will likely include

Code: Select all

 <!-- 
<par style="font-size: 11pt; color:white; page-break-after: always"></par>
<par style="font-size: 11pt; color:white; page-break-before: always"></par>

-->
and something similar to this post as commented out comments on comments, saves, refreshes and reloads in the bwp.
install bwp 1.3 after whichever other versions of the mcc utility you choose and back up your bbwp folder if you've been saving your work in the default templates without renaming them (anything else in the folders is safe).

you could install the backup drag2 pets you make as pets, but i personally think of them as insta-archives and just extract them when i need what's in them (has actually saved some work for me that would've been otherwise lost, which is why i decided to offer it this way--since you're not making a duplicate file system inside the pet/directory you're compressing (a pet is basically a .gz compressed archive), it'll install as top level directories, which may not be what you want (though it makes locating the stuff generally easier, especially if you're in another pup running on the computer, and you need to go into old installations to check for some of your old files, or want to migrate your work over).

main changes over older version is better view in browser mode, an ability to launch your files from the box tabs, and the expanded styles sheets mentioned earlier.
(new set of launch codes for the p(wn), but that wasn't relevant in that thread. "paw" or "pbw" in the launcher will give you the page break codes that will be part of the next set of templates).
enjoy.

:D

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

new templates to replace bwp/bbwp's Untitled1 and Untitled2

#238 Post by Puppus Dogfellow »

dump this into a terminal to upgrade those original Untitled templates from the bwp/bbwp:

Code: Select all

echo $'
<!-- 
   nwp01.html
   mini-bwp/Untitled2
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
<head>
<title>j,c,l,r--sp</title>
<meta http-equiv="content-type" content="text/;charset=utf-8" />
<meta name="generator" content="Geany 1.25" />
</head>
<title>top one is tab tag</title>
<body style="font-size:2rem;font-family:serif;line-height:1.5;max-width:90rem;margin:0 auto;padding:2rem;" spellcheck="true" contenteditable="">
<p style="margin-bottom: 0in; line-height: 100%" align="justify"><font face="Liberation Serif, serif">regular text<br><br>
<i>italics</i><br>
<b>bold</b><br>   
<u>underline</u><br> 
<br>    
</font></p>
<p style="margin-bottom: 0in; line-height: 100%" align="justify">justified area<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="center">centered<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="left">left aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="right">right aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="justify"><br><br>document as a whole is justified--delete the areas you don\'t need, copy and paste those you do where you need them. to use this document as a word processor (mini-bwp), open and bookmark it in a browser, download a copy to reopen as your working document, keeping the original to grab formatting from and mess around in. download/save as pdf (print menu) or html (file menu--html will let you use the browser (or a text editor--faster saves and you can change the names in the tabs, but it \'s less intuitive overall) for further edits). <br><br>
p. dogfellow, 5/4/18<br>
<br>
<br>
</p>
</body>
</>
' > /root/my-applications/bbwp/html/Untitled2
echo $'
<!-- 
   nwp01.html
   mini-bwp/Untitled1
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
<head>
<title>j,c,l,r--sp</title>
<meta http-equiv="content-type" content="text/;charset=utf-8" />
<meta name="generator" content="Geany 1.25" />
</head>
<title>top one is tab tag</title>
<body style="font-size:2rem;font-family:serif;line-height:1.5;max-width:90rem;margin:0 auto;padding:2rem;" spellcheck="true" contenteditable="">
<p style="margin-bottom: 0in; line-height: 100%" align="justify"><font face="Liberation Serif, serif">regular text<br><br>
<i>italics</i><br>
<b>bold</b><br>   
<u>underline</u><br> 
<br>    
</font></p>
<p style="margin-bottom: 0in; line-height: 100%" align="justify">justified area<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="center">centered<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="left">left aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="right">right aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="justify"><br><br>document as a whole is justified--delete the areas you don\'t need, copy and paste those you do where you need them. to use this document as a word processor (mini-bwp), open and bookmark it in a browser, download a copy to reopen as your working document, keeping the original to grab formatting from and mess around in. download/save as pdf (print menu) or html (file menu--html will let you use the browser (or a text editor--faster saves and you can change the names in the tabs, but it \'s less intuitive overall) for further edits). <br><br>
<br>(Untitled 1 and 2 from the bwp have been upgraded and/or spun off from the bwp as the bwp2 and/or the mini-bwp/bwp-mini. as with the original (and bbwp before it), paste in formatting, links and other content. download to save. ctrl a,c,v,y,z and a few other keyboard shortcuts work in most browsers. link below can be deleted like any other text; use text editor view to paste in links to your files (tables of contents, etc)).<br><br>
p. dogfellow, 5/4/18<br>
<br>
<br>
<br>for more, see bbwp updated as bwp:<br>
<a href="http:///murga-linux.com/puppy/viewtopic.php?p=990597#990597" target="_blank">http://http://murga-linux.com/puppy/viewtopic.php?p=990597#990597</a><br>
</p>
</body>
</>
' > /root/my-applications/bbwp/html/Untitled1
cp -f /root/my-applications/bbwp/html/Untitled1 /root/.config/rox.sourceforge.net/Templates/Untitled1
cp -f /root/my-applications/bbwp/html/Untitled2 /root/.config/rox.sourceforge.net/Templates/Untitled2
cp -f /root/my-applications/bbwp/html/Untitled1 /root/.config/rox.sourceforge.net/Templates/bwp-0/Untitled1
cp -f /root/my-applications/bbwp/html/Untitled2 /root/.config/rox.sourceforge.net/Templates/bwp-0/Untitled2
cp -f /root/my-applications/bbwp/html/Untitled1  /nwp/wp/bbwp/html/Untitled1
cp -f /root/my-applications/bbwp/html/Untitled2  /nwp/wp/bbwp/html/Untitled2
#cp -fRu /root/my-applications/bbwp/html /root/.config/rox.sourceforge.net/Templates/bwp-0
cp -fRu /root/my-applications/bbwp/html/Untitled1 /usr/local/bwp/Untitled1
cp -fRu /root/my-applications/bbwp/html/Untitled2 /usr/local/bwp/Untitled2
if you want an even smaller version of the bwp, here's the mini-bwp:

Code: Select all

#!/bin/sh
#puppus dogfellow, 5/4/18
mkdir -p /root/my-applications/bwp2/
echo $'
<!-- 
   nwp01-bwp2.html
   mini-bwp/Untitled1
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
<head>
<title>j,c,l,r--sp</title>
<meta http-equiv="content-type" content="text/;charset=utf-8" />
<meta name="generator" content="Geany 1.25" />
</head>

<title>top one is tab tag</title>
<body style="font-size:2rem;font-family:serif;line-height:1.5;max-width:90rem;margin:0 auto;padding:2rem;" spellcheck="true" contenteditable="">

<p style="margin-bottom: 0in; line-height: 100%" align="justify"><font face="Liberation Serif, serif">regular text<br><br>
<i>italics</i><br>
<b>bold</b><br>   
<u>underline</u><br> 
<br>    
</font></p>
<p style="margin-bottom: 0in; line-height: 100%" align="justify">justified area<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="center">centered<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="left">left aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="right">right aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 100%" align="justify"><br><br>document as a whole is justified--delete the areas you don\'t need, copy and paste those you do where you need them. to use this document as a word processor (mini-bwp), open and bookmark it in a browser, download a copy to reopen as your working document, keeping the original to grab formatting from and mess around in. download/save as pdf (print menu) or html (file menu--html will let you use the browser (or a text editor--faster saves and you can change the names in the tabs, but it \'s less intuitive overall) for further edits). <br><br>
<br>(Untitled 1 from the bwp has been upgraded and/or spun off from the bwp as the bwp2 and/or the mini-bwp/bwp-mini. as with the original (and bbwp before it), edit in browser window, paste in formatting, links and other content. download to save. ctrl a,c,v,y,z and a few other keyboard shortcuts work in most browsers. link below can be deleted like any other text. use text editor view to paste in links to your files (for tables of contents, etc)).<br><br>
p. dogfellow, 5/4/18<br>
<br>
<br>
<br>for more, see bbwp updated as bwp:<br>
<a href="http:///murga-linux.com/puppy/viewtopic.php?p=990597#990597" target="_blank">http://http://murga-linux.com/puppy/viewtopic.php?p=990597#990597</a><br>
</p>
</body>
</>
' > /root/my-applications/bwp2/Untitled1
echo $'[Desktop Entry]
Encoding=UTF-8
Name=bwp2
Icon=/root/puppy-reference/mini-icons/mini-doc.xpm
Comment=browser based word processor
Exec=defaultbrowser /root/my-applications/bwp2/Untitled1
Terminal=false
Type=Application
GenericName=bwp2
Version=1.0
Categories=WordProcessor
' > /usr/share/applications/mini-bwp\(bwp2\)
fixmenus
jwm -reload
3k (uncompressed)

you can dump it into a terminal or save it as a script as a way to preserve the template you should duplicate and use as a blank (delete everything but your main choice of paragraph alignment, copy changes in formatting over from the original template).

doesn't overwrite anything, just becomes a file in bwp2 in /root/my-applications that gets launched by the default browser.

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

bwpt word processor/ word processor template set maker

#239 Post by Puppus Dogfellow »

edit 5/18: use this pet instead of the dump-ins on this page:
bwpt-mc.pet 5.4k

see here for why:

http://murga-linux.com/puppy/viewtopic. ... 775#991775
(short version: they're missing extensions in some places and escapes in others. link has corrected code (pet was a bit of a compromise but just as convenient overall i guess).

______original post:

from the nwp thread (Re: another micro-bwp terminal dump update.
generate template sets with "bwpt" in a terminal (http://murga-linux.com/puppy/viewtopic. ... 587#991587)):


Puppus Dogfellow wrote:(if you see two of these floating around, use the one that has a lot of .html extensions for the files it makes--ran into some problems leaving them off an earlier version).
from http://murga-linux.com/puppy/viewtopic. ... 579#991579,
Post subject: wasn't previously a problem, but now unlabled html files are
Subject description: being seen (at least some of the time) as plain text files...
Puppus Dogfellow wrote:script and vtg sheet above apparently need the files made marked as html for some of the browsers at least some of the time, so i'll reup the two files from above with the fixes. to do it manually (if you've noticed the content is suddenly not editable), it's a bunch of swap and replaces...end lines (\n) for .html\n
...and [fontname][space]...---be back in a bit. sorry for the inconvenience.

---
here's the first bit:

Code: Select all


#!/bin/sh
#makes bwpt (template /word processor maker) 

echo $"

#!/bin/sh
#bwper
mkdir -p ./bwp1
#mkdir -p ./tasks
echo $'
<!--
   thiswordprocessor.html
  (/micro anuupuus/mini-bwp/Untitled0)
 file as word processor template maker
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
<head>
<title>bwp2</title>
<meta http-equiv="content-type" content="text/;charset=utf-8" />
<meta name="generator" content="Geany 1.25" />
</head>

<title>top one is tab tag</title>

<body style="font-size:2rem;font-family:serif;line-height:1.5;max-width:90rem;margin:0 auto;padding:2rem;" spellcheck="true" contenteditable="">


<p style="margin-bottom: 0in; line-height: 150%" align="justify"><font face="serif">regular text<br><br>
<i>italics</i><br>
<b>bold</b><br>   
<u>underline</u><br>
<br>   
</font></p>

<p style="margin-bottom: 0in; line-height: 150%" align="justify">justified area<br><br></p>
<p style="margin-bottom: 0in; line-height: 150%" align="center">centered<br><br></p>
<p style="margin-bottom: 0in; line-height: 150%" align="left">left aligned<br><br></p>

<p style="margin-bottom: 0in; line-height: 150%" align="right">right aligned<br><br></p>
<p style="margin-bottom: 0in; line-height: 150%" align="justify"><br><br>document as a whole is justified--delete the areas you don\'t need, copy and paste those you do where you need them. to use this document as a word processor (mini-bwp), open and bookmark it in a browser, download a copy to reopen as your working document, keeping the original to grab formatting from and mess around in. download/save as pdf (print menu) or html (file menu--html will let you use the browser (or a text editor--faster saves and you can change the names in the tabs, but it \'s less intuitive overall) for further edits). <br><br>
<br>(Untitled 1 and 2 from the bwp have been upgraded and/or spun off from the bwp as the bwp2 and/or the mini-bwp/bwp-mini. as with the original (and bbwp before it), paste in formatting, links and other content. download to save. ctrl a,c,v,x,y,z and a few other keyboard shortcuts work in most browsers. link below can be deleted like any other text; use text editor view to paste in links to your files (tables of contents, etc)).<br><br>
p. dogfellow, 5/4/18<br>
<br>
<br>
<br>for more, see bbwp updated as bwp:<br>
<a href="http:///murga-linux.com/puppy/viewtopic.php?p=990597#990597" target="_blank">http://http://murga-linux.com/puppy/viewtopic.php?p=990597#990597</a><br>
<!--use file:/// for your files (for tables of contents, long term convenience, etc) and http:// for websites  (second occurence of path above is text that shows--could be anything, but use &gt: < to >< in plain text mode outside the comments (you can paste them into the browser view as you\'d expect with a regular word processor, but it won\'t work in straight up html mode.)-->

<br>insert<p style="margin-bottom: 0in; line-height: 150%" align="left"><font color="#159A5E"><par style="font-size: 8pt; color:white; page-break-after: always"></par></font> <br><br>
in text editor view wherever you want to force a page break.
<br><br>
</p>
<br>
<h1>heading 1</h1>
<h2>heading 2</h2>
<h3>heading 3</h3>
<h4>heading 4</h4>
<h5>heading 5</h5>

<p style="margin-bottom: 0in; line-height: 150%" align="justify"><br><br>
<br>
<!--this is a comment. anything between arrows like these is hidden in browser and pdf download/print preview mode. -->
<!--

this is another comment. you can have as many as you like and they can go on indefinitely.
(you can type here and paste into browser view for the faster saves and more natural typing environment, but remember to keep track of your reloads and refreshes as well as your saves so you don\'t end up undoing what you\'ve done)
-->

<!--  get rid of the html in the title if the text editor has color coding for code and you find it annoying


Puppus Dogfellow, 5/5/18.
-->
<!--teach yourself html and more:
 https://www.w3schools.com/html/html_paragraphs.asp

alter this document as a new base template and/or make copies for backup. search and swap/find and replace 150 for 200 or 100 to change spacing from 1.5 to 2 or 1. do the same with serif to change font (mono and sans are two that work in testing).
  -->

</p>
<p style="margin-bottom: 0in; line-height: 150%" align="justify">to stick to working with (mostly) regular text files, paste your text into the word processor file for print preview, setting the formatting, and downloading either the html or pdf version of that stage. browser window text is scalable, but for reference, here\'s some nonscalable text: <br>
</p><br>
<br>
 <p style="font-size: 12pt; color:black; font-weight:normal; font-family: serif">your serif 12 text here</p><br>
 <p style="font-size: 12pt; color:#5126D2; font-weight:normal; font-family: mono">your mono 12 text here</p><br>
 <p style="font-size: 12pt; color:black; font-weight:normal; font-family: sans">your sans 12 text here</p><br>



<!-- <br><br>

see the commented out bits (they\'ll be between arrows like these) in text editor mode for more tips (they\'re not visible in browser mode. change the name that appears in the tab and the internal document name while you\'re there).
<br>

to focus more on browser use than text editor mode, make a copy of the appropriate template and rename it as your working document. open both with a browser and bookmark. reload the template if you\'ve made a mess of the formatting or preferred the way it was before you started to get the hang of things.
<br>-->
<span style="font-size: 12pt; color:black; font-weight:normal; font-family: serif">
12 point serif

</span>
<span style="font-size: 12pt; color:black; font-weight:regular condensed; font-family: sans">

12point sans

</span>
<span style="font-size: 12pt; color:black; font-weight:regular condensed; font-family: mono">

12 pt mono (no illustration of custom color code this time--use gcolor2 or your text editor\'s color picker to customize via the six digit code that follows the <i>color:</i> bit(s) you find in the html version(s)).

<br>

<br>
<br>
your <a href="file:///root/my-applications/mc/bwp1/" target="_blank">templates are here</a> and  <a href="file:///root/.config/rox.sourceforge.net/Templates/bwp1/" target="_blank">here if you\'ve </a>installed (a/some version/s of) thiswordprocessor.html through mccwp-bwp (or its terminal dump-in post/s).
<br>


</body>

</html>
' > ./bwp1/ser.html
#prep ser as as mon and san:
cp -f ./bwp1/ser ./bwp1/mon.html
cp -f ./bwp1/ser ./bwp1/san.html
sed -i 's/serif/sans/1' ./bwp1/san.html
sed -i 's/serif/sans/1' ./bwp1/san.html
sed -i 's/serif/mono/1' ./bwp1/mon.html
sed -i 's/serif/mono/1' ./bwp1/mon.html
#make three copies (x3) of base template: working, line spacing at 1 and 2:
cp -f ./bwp1/ser.html ./bwp1/ser1.5.html
cp -f ./bwp1/ser.html ./bwp1/ser1.html
cp -f ./bwp1/ser.html ./bwp1/ser2.html
cp -f ./bwp1/mon.html ./bwp1/mon1.5.html
cp -f ./bwp1/mon.html ./bwp1/mon1.html
cp -f ./bwp1/mon.html ./bwp1/mon2.html
cp -f ./bwp1/san.html ./bwp1/san1.5.html
cp -f ./bwp1/san.html ./bwp1/san1.html
cp -f ./bwp1/san.html ./bwp1/san2.html
#have the line spacing of ser1 and ser2 (etc) reflect their names:
sed -i '/150/ s//100/g' ./bwp1/ser1.html
sed -i '/150/ s//200/g' ./bwp1/ser2.html
sed -i '/150/ s//100/g' ./bwp1/mon1.html
sed -i '/150/ s//200/g' ./bwp1/mon2.html
sed -i '/150/ s//100/g' ./bwp1/san1.html
sed -i '/150/ s//200/g' ./bwp1/san2.html

#swap out the title tags:
sed -i '/bwp2/ s//m00/1' ./bwp1/mon1.5.html
sed -i '/bwp2/ s//m0/1' ./bwp1/mon.html
sed -i '/bwp2/ s//mSing/1' ./bwp1/mon1.html
sed -i '/bwp2/ s//mDub/1' ./bwp1/mon2.html
sed -i '/bwp2/ s//Untitled00/1' ./bwp1/ser1.5.html
sed -i '/bwp2/ s//Untitled0/1' ./bwp1/ser.html
sed -i '/bwp2/ s//Sing/1' ./bwp1/ser1.html
sed -i '/bwp2/ s//Dub/1' ./bwp1/ser2.html
sed -i '/bwp2/ s//s00/1' ./bwp1/san1.5.html
sed -i '/bwp2/ s//s0/1' ./bwp1/san.html
sed -i '/bwp2/ s//sSing/1' ./bwp1/san1.html
sed -i '/bwp2/ s//sDub/1' ./bwp1/san2.html

#swap out the internal name
#adjust for file and name (and remove the #):
#sed -i '/top one is tab tag/ s//newinternal/1' ./bwp1/san.html
#sed -i '/top one is tab tag/ s//newinternal/1' ./bwp1/san1.5.html
#sed -i '/top one is tab tag/ s//newinternal/1' ./bwp1/san1.html
#sed -i '/top one is tab tag/ s//newinternal/1' ./bwp1/san2   .html

#dual launchers (copy and adjust):
echo $'#!/bin/sh
exec defaulttexteditor "\$@"| exec defaultbrowser "\$@"
' > ./bwp1/def
chmod 755 ./bwp1/def
echo $'#!/bin/sh
exec geany -i "\$@"| exec palemoon "\$@"
' > ./bwp1/gip
chmod 755 ./bwp1/gip
" >  /root/my-applications/bin/bwpt
chmod 755 /root/my-applications/bin/bwpt
#create base template directory in ...mc and ...Templates, add a single template
#to the right click to go with the whole set option...adjust to suit your needs
#right click available, and terminal command to make full set
#in a given dir. is now "bwpt"
#script's an update/plugin for the mini word processor in the mcc utillity (as opposed to
#the one in nwp or the one in usr/local/bwp or the one in root/my-apps/bbwp), but with the
#directory that houses the drag2 scripts to make copies on your machine, you can use this
#as a stand alone:
mkdir -p /root/my-applications/mc
cd /root/my-applications/mc
bwpt
cd /root/.config/rox.sourceforge.net/Templates/
bwpt
cp -f /root/.config/rox.sourceforge.net/Templates/bwp1/ser1.5 /root/.config/rox.sourceforge.net/Templates/1.5ser.html

and here's the second bit:



echo $'


right click or ctrl+shift+o in geany to use this document as a set of links/table of contents.

/root/my-applications/mc/bwp1/def.html
/root/my-applications/mc/bwp1/gip.html
/root/my-applications/mc/bwp1/mon.html
/root/my-applications/mc/bwp1/mon1.html
/root/my-applications/mc/bwp1/mon1.5.html
/root/my-applications/mc/bwp1/mon2.html
/root/my-applications/mc/bwp1/san.html
/root/my-applications/mc/bwp1/san1.html
/root/my-applications/mc/bwp1/san1.5.html
/root/my-applications/mc/bwp1/san2.html
/root/my-applications/mc/bwp1/ser.html
/root/my-applications/mc/bwp1/ser1.html
/root/my-applications/mc/bwp1/ser1.5.html
/root/my-applications/mc/bwp1/ser2.html

if you\'ve got the nwp or vtg installed, click the cauliflower or alt+z (or v in launcher) with cursor
on a line below will launch that command

open all in geany:
geany /root/my-applications/mc/bwp1/def /root/my-applications/mc/bwp1/gip /root/my-applications/mc/bwp1/mon.html /root/my-applications/mc/bwp1/mon1.html /root/my-applications/mc/bwp1/mon1.5.html /root/my-applications/mc/bwp1/mon2.html /root/my-applications/mc/bwp1/san.html /root/my-applications/mc/bwp1/san1.html /root/my-applications/mc/bwp1/san1.5.html /root/my-applications/mc/bwp1/san2.html /root/my-applications/mc/bwp1/ser.html /root/my-applications/mc/bwp1/ser1.html /root/my-applications/mc/bwp1/ser1.5.html /root/my-applications/mc/bwp1/ser2.html


open all in a new instance of geany:
geany -i /root/my-applications/mc/bwp1/def /root/my-applications/mc/bwp1/gip /root/my-applications/mc/bwp1/mon.html /root/my-applications/mc/bwp1/mon1.html /root/my-applications/mc/bwp1/mon1.5.html /root/my-applications/mc/bwp1/mon2.html /root/my-applications/mc/bwp1/san.html /root/my-applications/mc/bwp1/san1.html /root/my-applications/mc/bwp1/san1.5.html /root/my-applications/mc/bwp1/san2.html /root/my-applications/mc/bwp1/ser.html /root/my-applications/mc/bwp1/ser1.html /root/my-applications/mc/bwp1/ser1.5.html /root/my-applications/mc/bwp1/ser2.html

open all in default browser:

open the rox folder:
rox /root/my-applications/mc/bwp1/def /root/my-applications/mc/bwp1/gip /root/my-applications/mc/bwp1/mon.html /root/my-applications/mc/bwp1/mon1.html /root/my-applications/mc/bwp1/mon1.5.html /root/my-applications/mc/bwp1/mon2.html /root/my-applications/mc/bwp1/san.html /root/my-applications/mc/bwp1/san1.html /root/my-applications/mc/bwp1/san1.5.html /root/my-applications/mc/bwp1/san2.html /root/my-applications/mc/bwp1/ser.html /root/my-applications/mc/bwp1/ser1.html /root/my-applications/mc/bwp1/ser1.5.html /root/my-applications/mc/bwp1/ser2.html

open a given file from /root/my-applications/mc/bwp1/ in leafpad:

leafpad /root/my-applications/mc/bwp1/def
leafpad /root/my-applications/mc/bwp1/gip
leafpad /root/my-applications/mc/bwp1/mon.html
leafpad /root/my-applications/mc/bwp1/mon1.html
leafpad /root/my-applications/mc/bwp1/mon1.5.html
leafpad /root/my-applications/mc/bwp1/mon2.html
leafpad /root/my-applications/mc/bwp1/san.html
leafpad /root/my-applications/mc/bwp1/san1.html
leafpad /root/my-applications/mc/bwp1/san1.5.html
leafpad /root/my-applications/mc/bwp1/san2.html
leafpad /root/my-applications/mc/bwp1/ser.html
leafpad /root/my-applications/mc/bwp1/ser1.html
leafpad /root/my-applications/mc/bwp1/ser1.5.html
leafpad /root/my-applications/mc/bwp1/ser2.html

open all in palemoon:
palemoon /root/my-applications/mc/bwp1/def /root/my-applications/mc/bwp1/gip /root/my-applications/mc/bwp1/mon.html /root/my-applications/mc/bwp1/mon1.html /root/my-applications/mc/bwp1/mon1.5.html /root/my-applications/mc/bwp1/mon2.html /root/my-applications/mc/bwp1/san.html /root/my-applications/mc/bwp1/san1.html /root/my-applications/mc/bwp1/san1.5.html /root/my-applications/mc/bwp1/san2.html /root/my-applications/mc/bwp1/ser.html /root/my-applications/mc/bwp1/ser1.html /root/my-applications/mc/bwp1/ser1.5.html /root/my-applications/mc/bwp1/ser2.html
___
to get a table of contents/clickable index of these files for a browser launch, use their base directory:

defaultbrowser /root/my-applications/mc/bwp1/
palemoon /root/my-applications/mc/bwp1/
defaultbrowser /root/.config/rox.sourceforge.net/Templates/bwp1/ /root/my-applications/mc/bwp1/
palemoon /root/.config/rox.sourceforge.net/Templates/bwp1/ /root/my-applications/mc/bwp1/
firefox /root/.config/rox.sourceforge.net/Templates/bwp1/
palemoon /root/.config/rox.sourceforge.net/Templates/bwp1/

(highlight groups of files and paste in their paths, use space (literally type a space--i don\'t know off hand the regex for space...\s?...and substitute it with a \n in the find and replace boxes to swap what you get so it looks like the leafpad arrangement above (i used extend select and typed leafpad after that). most programs will respond to vtging the way the selection deposits it in a file (space rather than line delimited. i.e. usually selecting, middle clicking, and then adding the program followed by a space at the beginning of the line is enough "programming"/arranging of text.

' > /root/my-applications/mc/bwp4vtg
to do it manually (if you've noticed the content is suddenly not editable), it's a bunch of swap and replaces...end lines (\n) for .html\n
...and [fontname][space]...

for the first chunk, that was accurate except for an extend select and typing of .html to get at some text that was nicely aligned to begin with. in the second chunk i had to do the same thing but there was more of it and the pieces not nicely aligned, so i had to substitute space for line break, line break for .html plus line break, and then back out the line breaks for spaces.

...which reminds me--if you don't make the "\n" in the vtg sheet "\\n" (i.e. "escape it")it will break the line and remove itself from the text displayed.
see more:

http://murga-linux.com/puppy/viewtopic. ... 315#991315
Post subject: three versions of template generator script
Subject description: pick/make a directory to work in and run/click (or vtg it, or keep a rox window open while you mod..

http://murga-linux.com/puppy/viewtopic. ... 127#991127
PostPosted: Tue 08 May 2018, 03:24 Post subject: thiswordprocessor.html updated as wordprocessor.html (6k).
Subject description: find and replace in selection to make a set of templates. copy/rename one as the working document
the vtg sheet being made is a plain text file mostly for a set location, but it's not difficult to do the equivalent for others (sheet took a few minutes to make and a few more to turn into content-generated-by-script (cnt commant, scz command, and using a bunch of backslashes (\) to undo my habit of using apostrophes in the comments...dollar signs also need it...things got sandwiched by the command so i had to also do it for quotation marks...so that needed to be run three times, but overall it's a fairly quick process (and if you want, getting the commands on the jwm menus takes a little copying and editing of a few .desktop files and the jwm -reload command (i usually make little scripts for the stuff in the nwp folder (ll defaults to making stuff there, ch defaults to setting permissions there, but start with scz to make a plain file a script).

ll = leafpad launcher in the shift plus spacebar (main, p, pwn) launcher
gl = geany
(^give a title to your command)
scz = print out the shebang
ch = set permissions for it


(more on that in another post).

____

i'll probably post the non generated generator version (the bwpt script that's made by mccwp-bwp (what that first script is called on my machine at the moment) and makes the bwp1 folder of templates ) at some point since it's easier to edit and read--there was supposed to be an "auxer" to go with the previous version, but it got shelved a bit so that i can "bwpt" a directory...(and it's basically just a slightly preset version of copying vtg commands to files so you can launch them with desktop files and optionally send them to the windows manager menus like i hinted at with the gl ll scz ch stuff above).
the commented out tasks folder in the first part of the first code above is for an autogenerated mini nwp type folder for storing vtg commands you want to turn into scripts and possibly put on the jwm menus (it's semi shelved). the vtg sheet and the ability to launch browserwordprocessor (bwp--i pronounce it "boop") files from any tab that points to the appropriate files (now generated in any directory with ` (pops up terminal) and then "bwpt" (booped/boop't--bwpTemplates--also right click available) make a convenient addition to whatever additional bookmarking you do through the browser (still easier to open groups of tabs with it so still useful).

it's a 9.6k (not counting the vtg sheet), so it's considerably larger than the 2.5k microbwp from a post ago, but still smaller than the original bbwp. keyboard tweaks will be packaged with bwp-bbwp merger (and be a separate nwp plugin from the bwp (which when packed as a pet, will likely be combined with mcc functions/directory). unlike the 2.5k version, no desktop file or menu entry for this one at this time (the tasks folder will be a mini nwp of sorts--put in vtg or other commands as scripts isolated from your system (i do a lot of "which xyz" in the terminal to make sure my cryptic launch commands aren't shared by ancient unix or linux utilities or anything puppy is using, but that would only be a problem if i want to call it from a terminal. if i'm calling my files or scripts or programs or directories from the nwp, there's no way my names can interfere with anything (though as you can see from my having to redo the above script, sometimes making things easier (leaving off the .html extension) doesn't always work out. (and if i slowed down my efforts to edit the vtg file as fast as possible, i probably would've seen i could've just substituted " " for ".html ", but what can ya do)).


-p. dogfellow
____

use pet above instead of these dump ins. sorry for the inconvenience.

-pd

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

update to the browser word processor/bwp/bbwp/bwptmc

#240 Post by Puppus Dogfellow »

though you may prefer the older style view and find zoom doesn't work as well for you as a swap back to a font size of 2rem in the bwpt or the templates it just made and possibly overwrote yours with; back up if you're not renaming the default templates. since you can easily launch them with a browser aimed at the directory containing them, there's no need to match them up with desktop files (necessarily), or even tab links or bookmarks--use the web browser(s) as file browser(s) and word processor(s).


from http://murga-linux.com/puppy/viewtopic. ... 042#992042,
Re: two versions of the word processor plugin
beginning of turning mcc's parent directory into button/icon/menu slot factory:
Puppus Dogfellow wrote:from http://murga-linux.com/puppy/viewtopic. ... 040#992040

Re: 2 versions of the micro nwp now available
9 and 26k almost stand alone (you need a browser) word processors

Puppus Dogfellow wrote:bwpt-mc updated as mcbwp.pet (9.6k) and bbwp updated as bwp1.4 (26k and includes the smaller one).

mcbwp.pet

bwp1.4.pet

common to both: smaller default font (change back to rem2 if zooming is an insufficient way of adjusting for you) more closely scales to paper rather than screen space (all templates overwritten with the adjustment); bwpt in a terminal makes the bwp1 template sets in a given directory; updated vtg and box1.html pages; BBWP and bbwp menu entries (in the smaller one it's more of a place holder for your first set of custom templates (edit /root/my-applications/bin/bwpt or make a set and edit the individual files, then load them onto the .desktop file or a script that it calls) --edit as you like but it's set for the larger launch gets the capital letters (this will be covered in a future post that covers the still being put together auxer function); box2.html is still a duplicate of box1; you can launch, save, and adjust names, spacing and font from the browser alone if you wish; pasting in to a justified area and pasting in justified text all seem to now work better in the blank templates;....


larger one has more default colors, templates, special characters, and text that's supposed to be there to help you use the thing. it also gets the nwp/pwn launcher shortcuts described above plus "ta," which is as comfortable a natural tab space in browser view as i've come up with so far (shift plus space bar, ta in the launcher that comes up).

change the internal and tag name, toggle editability on and off, and adjust fonts, spacing, and alignment from the box view (text editor's better but this makes for one fewer dependency) if you prefer to avoid the copying and pasting from the info/formatting tabs, you can still use that and pdf preview to see how it would look on the page without all the code in the way/you can double check your work through the browser.

paste in from any source, download to save as html or pdf, reload to reflect text edits in the browser and vice versa, back up any templates you want to preserve as these pets will both overwrite the old ones if their names haven't been changed.

next version will have a mini-nwp set as part of the mcc icon/labeling/copying folder as a kind of micro nuup (uuord processor/ultimatesque utilities pack); to illustrate calls to isolated mini-scripts by keys or launchers, i'm going to do it for the included vtg sheet as desktop files (which are either buttons or menu items, depending on how you look at it. then you can decide if a leafpad or geany launcher (or even bwp launcher, though i haven't tested one of those yet) makes any sense for you.

--p.dogfellow.
tweak the templates and use the copy functions to make sets of them. open batches in geany to tweak (or find and replace into existence) variations on your themes.

will overwrite any unrenamed files from earlier installations so back up your old templates and boxes if you want to preserve them. auxer function is based around the above icon making script, a folder for scripts calling certain files to be launched by certain programs, and an easy way to get that function (with a pretty label) as either a button on your desktop or an item on your menus. (i think desktop files work with most every windows manager and this is a way to approximate the convenience of the cauliflowers machue in vtg-less machines).

enjoy!

--p.dogfellow

Post Reply