Geany as Launcher, Bookmarks Manager, and Word Processor

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

Geany as a Word Processor

#21 Post by Puppus Dogfellow »

Puppus Dogfellow wrote:
Puppus Dogfellow wrote:puup!.tar.gz (19kb)
also in xz flavor: puup!.tar.xz(17kb)
from the readme:
a minimalistic word processor that uses built in apps (text editors and browsers). copy the nwp directory to /; requires xdotool and dash (full nwp requires aemenu and wmctrl as well). use shift plus spacebar or something else that's easily pressed to launch the launcher. I give you pu(/)up! (actually, i think it's pretty good). anyway, here's the newest update and documentation:


all wp codes launch paste and place version of nwp commands rather than the highlight and apply versions. included nwp commands:

bb -- bold
bb2 -- span tags for bold fonts or other, non default font choices (bold tags don't appear to work though the nwp's underlining and italics tags show the expected results). default is for monospace, same as po1, po2, po4 (the latter two are templates, po1 is an xdotool "spit this code" script/a backup of the main (monospace) template).
book -- older version of one of the docs--customize if you like
bpo -- open the default template files in a browser so you can see the line spacing, highlighting, etc. use gpo to edit what the command calls and what browser gets opened
bq -- block quote tags
f - findnrun, optional but recommended
gpo -- open the browser, leafpad, and geany configuration files for the nwp word processor plus the default default templates in geany.# geany /nwp/po1 /nwp/po2 /nwp/po3 /nwp/po4 /nwp/po5 /nwp/po6 /nwp/gpo /nwp/lpo /nwp/bpo /nwp/bb2
h1-h6 -- print out tags for headings 1-6
her -- open the hr template in geany
herl -- open the hr template in leafpad
hero -- open the hr template in geany
hr -- print out hr tags
hr0 -- open the hr template in geany
hr0l -- open the hr template in leafpad
hr1 -- spit out hr doc template
hrl -- <hr> tag, 35%, grey left side
hrr -- <hr> tag, 10%, grey right side
hrt -- template for autopage breaks with hr tag. called by other scripts.
ii -- italics tags
link -- external form of the toc tags
lp -- launch leafpad
lpo -- leafpad /nwp/po2| leafpad /nwp/po4 /nwp/po5| leafpad /nwp/po6| leafpad /nwp/lpo (open the wp template files in leafpad; open the file that determines what leafpad opens
mono -- open monospace template with geany
mono1 -- spit out monospace doc template
monol -- open monospace template with leafpad
monot -- monospace template
np02 -- pu(/)up launcher (configured to begin with a highlighted /nwp/)
p -- pu(/)up launcher configured to start at the end of /nwp/
pb -- <par style="page-break-after: always"></par>
pba -- <par style="page-break-before: always"></par> (a=above)
po -- open po2
po1 -- print out an improved version of the preotry template
po2 -- (template--po1 without the mini-wait--use clone (under documents menu) or save as to preserve the file)
po3 -- geany /nwp/po4 /nwp/po5 /nwp/po6 /nwp/po2
po4 -- template as 14 pt monospace
po5 -- template as 14 pt sans
po6 -- template as 14 pt serif
pr -- print out paragraph tags
prc -- print out paragraph centered tags
prj -- print out paragraph justified tags
prl -- print out paragraph left tags
prr -- print out paragraph right tags
q -- cite tags
san1 -- spit out sans serif doc template
sans -- open sans template with geany
sansl -- open sans template with leafpad
sanst -- sans serif doc template
ser1 -- spit out serif doc template
serf -- open serf template with geany
serfl -- open serf template with leafpad
sert -- serif doc template
sub -- subscript tags
sup -- superscript tags
t -- launch terminal of your choice (delete/comment sakura and uncomment or add your choice)

toc and tic paste bookmark/hyperlink codes. good for tables of contents, master documents, etc. on the editing side, you can make bookmarks in geany with ctrl+m, which will also toggle it off. ctrl plus comma is previous bookmark, control plus period is next bookmark. the plugin for numbered bookmarks makes a list on the side panel (unless that's default and i can't just can't figure out how to work/access the plug in version):

tic -- tic same page template and anchor --new tab
tic1 -- external page or same or external file, no anchor -- same tab
tic2 -- external page or same or external file with anchor -- same tab
toc -- toc same page template and anchor, same tab (general bookmarks). look up your text editor's method for bookmarking for the edit text (also non formatted) view.
toc1 -- external page or same or external file, no anchor -- new tab
toc2 -- external page or same or external file with anchor -- new tab

to open files in geany at specific location, append :line#:column# to the file, i.e. geany /nwp/docs/file1:50:14

ul -- underline
v -- activate vtg
xp -- launch xpad/new xpad


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


templates:
#geany -i /nwp/templates/0 /nwp/templates/00 /nwp/templates/01 /nwp/templates/02 /nwp/templates/03 /nwp/templates/04 /nwp/templates/05 /nwp/templates/06 /nwp/templates/hero /nwp/templates/hr01 /nwp/templates/mono01 /nwp/templates/readme /nwp/templates/sans01 /nwp/templates/serf01


tip: use geany -i to open whole directories or other large batches of files each in their own instance of geany. save
tip two: right click on a blank space in a rox window, click new, customize, and then drag selected contents of the included templates window to the folder that popped up--you will now be able to make new docx, odt (these two if supported by your system's installed applications) nwp documents (four templates) with a right click in any rox folder.
tip 3: highlight and middle click in geany or highlight and drag to xpad or leafpad windows to gather paths for easy batch-launching in the future.

***




to get rid of the headers and footers that most browsers are set by default to use, file > print >options and alter the six boxes to your liking (method works for seamonkey, firefox, chromium. can't find print on dillo, haven't as yet tried palemoon or opera or ...).

pick a browser and editor to use--other than the vtg specific command and the two that call other programs, all these wp commands should work on pretty much anything.


........

dependencies: dash, xdotool

copy or symlink files to /nwp or /root/my-applications/bin.

(locations other than /nwp will need a few tweaks, though /root/my-applications/bin should be virtually effortless. off path locations for the folder of commands require additional tweaks to two other files...

***

also of potential use/interest:

while the underlining (ul), italics (ii) and other tags worked in all the browsers i tried, the bold tags worked in none, leading me to discover the span tag. this allows easy control of the default font for the document as a whole while also allowing for easy switching up of text size, color, format, etc. line spacing is set by your actual key presses--the pre tag makes sure what you do is what you get as far as how it's all laid out on the page, but you can swap spacing in sections or whole documents with the search and replace function (in geany--leafpad's a bit more limited, i think) and regular expressions (i.e. to switch single spacing to double, replace \n with \n \n--new to it, but i think it will work. choose whole document or selection, tick the "use regular expressions" box.) from http://www.murga-linux.com/puppy/viewto ... 113#860113


to take fullest advantage of the speed and simplicity of nwp and pu(/)up, the launcher should be given a shortcut such as shift plus space bar.


---p.dogfellow, 8/15

(double u instead of w because of the optional, yet to be released but you have it if you add this version of nwp to the last version and subsequent updates Utilities Pack, i.e. it's not just a Word Processor.)

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




for these spins it's just a drop in improvement pack--add to nwp, overwrite conflicts. if you know in advance rox's asking if it's okay to overwrite will get on your nerves (it shouldn't--i think there are fewer than ten conflicts) use spacefm for the move.
from http://www.murga-linux.com/puppy/viewto ... 361#860361.

if you've gotten this far in this thread, you may already have /nwp and a launcher, so the same applies--just overwrite conflicts in the existing /nwp folder. if you want the launcher that says puup (maybe it says "pu(/)up" or "pu(/)up!"), you'll have to swap launchers (it's the same as the previous version apart from the name, though the folder has over eighty new files since the last update, i think).

copy or clone the launched templates to preserve them. the launcher will spit out replacements with mono1, ser1, san1, hr1 (alter these files to make your own templates).

to easily get a dual view of a document with the vtg, highlight some of the files you're working on and paste (middle click) in a geany document. add geany in front of the lot you want to open in tabs. copy the line and swap the geany for your choice of browser to open those same files in tabs with that program. open either with the vtg (alt+z or one of the menu or tray buttons), v in the launcher (with the previous pack), or by pasting the code into a terminal. refresh to see the updates/don't refresh to keep older versions and views hanging around/open the tabs in more than one window to create a time machine of versions (adapted fromhere.).

launcher requires dash.

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

some more on word processing

#22 Post by Puppus Dogfellow »

Puppus Dogfellow wrote:from http://www.murga-linux.com/puppy/viewto ... 696#860696
Puppus Dogfellow wrote:

for these spins it's just a drop in improvement pack--add to nwp, overwrite conflicts. if you know in advance rox's asking if it's okay to overwrite will get on your nerves (it shouldn't--i think there are fewer than ten conflicts) use spacefm for the move.


don't copy over sup, use sp and sb (for super and subscript) instead; both are included in the attached upgrade pack. the fixed sup menu is also included in the update in case you overwrote it or want a bug fix (some of the entries called scripts from /my-applications/bin instead of /nwp/).

tip: to easily edit or access specific files in /nwp (if you know the code to call them, you know their names and the path is already there for you), add the command, press home, add rox, geany, leafpad (or a browser* if you're viewing a word processing file), then a space, then hit enter. the program you chose will open the file. to manually fix the menu called by aemenu when s is pressed in the launcher, add /nwp/ to the non-system commands in the text file, /nwp/sup.

make a launch bed of geany launchers: get a print out of what you're working on, edit it, convert it to syntax the vtg or a terminal can use with find and replace > \n with space:

geany --list-documents > /root/my-documents/Text/list.txt; geany /root/my-documents/Text/list.txt--make a table of launchers/tables of content launchers. place geany or geany -i in front to launch a batch separately or to add to what you've already got open.

for more specific control in *read/formatting/print preview mode, use

Firefox options: firefox --new-window; firefox --new-tab; firefox --private-window (no history);
Palemoon options: palemoon -new-window; palemoon new-tab
SeaMonkey options: -new-window; -new-tab; -new-instance (from the help, "open new instance, not a new window in running instance.")

i.e. browser (options) (or [file path]). here's some use ... 700#860700
Last edited by Puppus Dogfellow on Tue 18 Aug 2015, 01:41, edited 2 times in total.

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

word processing three: open file(s) in editing mode,

#23 Post by Puppus Dogfellow »

with regards to the templates, you could use the icons to make file associations--make a .tnr for a times new roman based template (or your template one, since it's so default or default-seeming...), a .cour or .mon or .ser or .san etc and right click run associate, right click set icon for type--this way the document "types" will be clear at a glance. anyway, one more minor update before the full update, which will include better help files. possibly. here's the updated pu/up: https://drive.google.com/file/d/0ByUDhE ... sp=sharing
it's got some icons for the launcher, the templates, the folders, as templates for you to alter, ...
nope, the setting associations by icon didn't work (machine knows it's an html file), but the following script works, and it allows you to simultaneously open a document or batch of documents in the editor (geany automatically opens batches in tabs) and browser (firefox set as below opened all files sent through the script in tabs. spacemonkey (with no options) didn't. didn't test any other browsers, but palemoon, opera, and chrome/chromium likely behave as firefox does. dillo has no print function or preview from what i can tell. use your choice or a system default):

Code: Select all

#!/bin/sh
#pwp --a tiny word processor (of sorts).  
#exec defaulttexteditor "$@"| exec firefox "$@" 
exec defaulttexteditor "$@"| exec firefox "$@" 
#exec defaulttexteditor "$@"| exec defaultbrowser "$@" 
#exec [uncomment and and pick your defaulttexteditor] "$@"| exec [...defaultbrowser] "$@" 


# in puup or any other nwp launcher, it'd be pwp path/of/file(s). in a terminal or from the vtg, /nwp/pwp (paths to file(s)), 
#ex: /nwp/pwp [/path/to/file1]   or  /nwp/pwp [/path/to/file11 /path/to/file1212 /path/to/file1112] 
#this will open the file in viewing mode and editing mode simultaneously.  
#i recommend putting the browser's print button somewhere on the main interface for convenience (print preview) and the 
#file browser button many have can be pretty handy as well. i'm 
#using firefox for my default browser choice because it will open up multiple files dragged to the script using it, 
#whereas seamonkey stops at the first one. haven't tweaked its settings or tried other
#browsers or text editors, but this works in the terminal, as a nwp-launcher command, as a desktop 
#item for drag and activate (highlight one or more files in a folder, drag to the script whether it's
#on a panel, the desktop, or a folder), through the vgt, and through the rox right click entry for open-with.

as the comments state, this works in the terminal, as a nwp-launcher command, as a desktop item for drag and activate (highlight one or more files in a folder, drag to the script whether it's on a panel, the desktop, or a folder), through the vgt, and through the rox right click entry for open-with.

:D

place the browsers print button on the main interface for easy access to print preview.

tip: to easily toggle between edit mode and view mode (or edit, view, and print preview), send the browser window to a different desktop (and optionally do the same for the pop up print preview window, which unfortunately has no refresh button that i can see, making it a bit less quick/useful, although it could represent an earlier edit than the browser window, itself reflecting an earlier version of the text you're working on in geany, which seems to have unlimited undos per session, even allowing you to undo after a save has been made, something LibreOffice cannot do or isn't set up to do). in most puppies, go to desktop is alt+#1-0 for the ten desktops. you can send 1-24 and go to 1-24 with s[1-24] and d[1-24] in the puup launcher if you're launching from the full nwp folder.

seem to have forgotten the built-in shortcut for accessing the windows menu in stock puppies (alt+f2? alt+f12?)...with the launcher calling from full /nwp, it's wn (layer, sticky, send to, etc). you may have to alter that script for windows managers other than jwm.

with regards to the templates, you could use the icons to make file associations--make a .tnr for a times new roman based template (or your template one, since it's so default or default-seeming...), a .cour or .mon or .ser or .san etc and right click run associate, right click set icon for type--this way the document "types" will be clear at a glance. anyway, one more minor update before the full update, which will include better help files. possibly. here's the updated pu/up: https://drive.google.com/file/d/0ByUDhE ... sp=sharing
it's got some icons for the launcher, the templates, the folders, as templates for you to alter, ...
nope, the setting associations by icon didn't work (machine knows it's an html file), but the following script works, and it allows you to simultaneously open a document or batch of documents in the editor (geany automatically opens batches in tabs) and browser (firefox set as below opened all files sent through the script in tabs. spacemonkey (with no options) didn't. didn't test any other browsers, but palemoon, opera, and chrome/chromium likely behave as firefox does. dillo has no print function or preview from what i can tell. use your choice or a system default):
the file association to icon as group by way of dummy extension idea didn't work, but that rox right click to set icon feature is still very useful--set things by category or whimsy: any image file can be an icon for any other file in puppy, it seems. but if you want to stick with the theme of icons for word processing (i tried to use wp (for word processing) as a dummy extension but the machine picked it up as a word perfect file...nice idea, word perfect, whatever you are...), the ones i made and dissed earlier aren't too bad, though the first screenshot leaves transparent looking bright white. the second one shows two of the icons in their natural transparency and scale:


Image



Image

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

word processing four

#24 Post by Puppus Dogfellow »

i suppose it's more of a typewriter...


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

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


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

Code: Select all

#!/bin/sh
#dil. place in /nwp and/or /root/my-applications/bin
dillo www.google.com www.dictionary.com www.murga-linux.com/puppy http://www.etymonline.com/
you can get rid of the close dialog and set other preferences in /root/.dillo/dillorc.

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

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

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

to navigate them in geany:

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

-----------


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

---

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

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

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

--------

here's a shot of the dual launchers (one is actually the folder containing the dual launchers):

Image


most are set to open geany in a new instance or existing instance plus open the same files in either palemoon, chrome, chromium, firefox, dillo, or seamonkey. alter the icons as you see fit--i'm not savvy enough to figure out how to link the image with the file so they stay linked regardless of where the pieces end up, so they're just going to be included along with the scripts.

:)


______

documentation fix: i mistakenly stated the winswitcher shortcuts were ws (really width, select) and win (really, like wn, the windows menu). the real shortcut (apart from ctrl plus spacebar) is ww in the launcher or /nwp/ww in the vtg.


documentation fix 2:

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


----

folder view shows more versions:

Image

yellow and red in the middle for geany colors, but that started to seem silly after a while. also, palemoon's icon could be used for explorer wine--i'd probably shrink them for personal use. shot shows 1rx1 icons--it's a rox filer window that for some reason has decided to no longer display huge icons when asked (sorry for the lack of clarity).


edit:

some further info on the rox glitch: i had never encountered this error before so i went back and undid something else new to the set up, i reset rox > options > drag and drop back to the default settings (unticked delete) and the icon problem went away--rox can again show huge icons (changing the settings didn't quiet rox's permission-asking ways, so no gain from the change).

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

update that's also a stand alone install script

#25 Post by Puppus Dogfellow »

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

here's the script:

Code: Select all

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

ggc -- geany, chrome
gigc -- geany new instance, chrome
gio -- geany new instance, opera
lgc -- leafpad, chromium
gif -- geany new instance, firefox
def -- default text editor, default browser
gf -- geany, firefox
tef -- default text editor, firefox
lff -- leafpad, firefox
gb -- geany, default browser
gib -- geany new instance, default browser
leb -- leafpad, default browser
leafy -- leafpad, seamonkey
dlll -- leafpad, dillo
ged -- geany, dillo
ges -- geany, seamonkey
lop -- leafpad, opera
gep -- geany, palemoon
gc -- geany, chromium
gip -- geany new instance, palemoon
gic -- geany new instance, chromium
lep -- leafpad, palemoon
gid -- geany new instance, dillo
lec -- leafpad, chromium
gis -- geany new instance, seamonkey


more shortcuts now available to the Nooby Uber Utility Pack
sda[1-6]-sdd[1-6] -- open those partitions
the following will open in rox if entered in the pw,n launcher: mnt, home, mdoc (opens root/my-documents), apps (opens usr/share/applications), jwm (/root/.jwm), bin, jxdg(etc/xdg/templates), conf (/root/.configure), mybin (/root/my-applications/bin), etc, tmp, and pack (/nwp).

at, at[1-10] are autotext scripts. atx is the template, ate will open the 11 in geany for you to edit/rename. single monitor setups now have similar nwp shortcuts as doubles:


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

Code: Select all

q1     q2                    q8                         
     q5                    q6    q7          
q3     q4                    q9
some deps, recs, and links:

pcp requires puppy control panel: http://www.murga-linux.com/puppy/viewtopic.php?t=61961
tas requires take a shot: http://murga-linux.com/puppy/viewtopic.php?t=84528
f requires find and run: http://www.murga-linux.com/puppy/viewto ... 5582835582
xpc and xpb require xpad

some other included shortcuts:

xpc -- xpad clear
xpb -- xpad back up
cnt -- spit out the code in those echo sections from the script above that allows you to create files with predetermined content (cnt--content)
c- -- a comment line that looks like this: #------------------
tas -- SFR's take a shot
pcp -- radky's puppy control panel
ww -- MochiMoppel's WinSwitcher
v -- vtg



---------

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

it's not necessarily the pack i'd include as the starter kit, but this is all more or less new to this thread and so won't require as much overwriting as the batch with more forethought would have.

enjoy.
:D
from the nwp thread

---

so that's the update (still not done with the icons or restructuring of some of the subfolders in the launcher), but all those rox shortcuts brings up a geany shortcut: ctrl+shift+o opens any file with its path highlighted--it's sometimes easier to have a batch of paths in a file or grab a path from a file you're working on (or near) than to navigate through a file manager or tree plugin (which is still very handy). even with the vgt, you'd have to add "rox" in front of a path to be able to navigate there--lots of convenience to be discovered in geany...

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

another update

#26 Post by Puppus Dogfellow »

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

icons_for_nwp_pwn_pwp.tar.xz

-----

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

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

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

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

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

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

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

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


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

update script:

Code: Select all


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



echo $'

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


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


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

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

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

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


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



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

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

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


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

' > /nwp/sanc

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

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

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


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

echo $'
leafpad sanc
' > /nwp/sancl

echo $'
geany sanc
' > /nwp/sancg

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

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

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

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

 

# run the command
$CMDLINE &

exit 0

' > /nwp/g-

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

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

 

# run the command
$CMDLINE &

exit 0

' > /nwp/l-

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

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

 

# run the command
$CMDLINE &

exit 0

' > /nwp/r-

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

#!/bin/sh

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


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

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

also new:

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

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


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


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

Code: Select all

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


new shortcuts:

roks -- open k1-10 in geany for editing (they're rox bookmark files, but will open regular files with default handler in addition to directories with rox)
geak - open all the word processor templates in geany
duals -- open a folder containing a group of dual launchers (text editors and browsers) for use with the nooby word processor
paw -- page break above, white text
pbw -- page break below, white text
l- open launcher customized for leafpad
r- open launcher customized for rox
g- open launcher customized for geany
____

from here
-------

a little more on the how-to tip, making a batch of .desktop files was really easy and i discovered you don't really need to know any regular expressions to substitute line breaks and the like. i made a folder of scripts, copied the paths to a geany document, then did the usual substitute space for \n so i could space them out. it worked as usual, but i went back and substituted the whole beginning of the .desktop document format (copied from a file in /usr/share/applications) up to the Exec= bit for the leading space and that worked as well. added a unique character sequence to the end, did a substition with that for the rest of the .desktop file, and suddenly the desktop files for thirty or so scripts were nearly complete. surrounded each with

echo $'

' > [path/name]

ran it in a terminal, all appeared where they were supposed to go. anyway, new shortcuts:

roks -- open k1-10 in geany for editing (they're rox bookmark files, but will open regular files with default handler in addition to directories with rox)
geak - open all the word processor templates in geany
duals -- open a folder containing a group of dual launchers (text editors and browsers) for use with the nooby word processor
paw -- page break above, white text
pbw -- page break below, white text
l- open launcher customized for leafpad
r- open launcher customized for rox
g- open launcher customized for geany

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

some new icons for the vgt button

#27 Post by Puppus Dogfellow »

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

Image

here's the keybindings for the vtg function--just swap with your own as an easy way to get it.


grab the icons here:

https://drive.google.com/folderview?id= ... sp=sharing

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

#28 Post by Puppus Dogfellow »

an upgrade to geany 1.25 appears to break the vtg function in precise 5.7.2 but i don't see why...

have also run into a problem with grub4dos after the upgrade. not sure if there's any connection, but they were both working fine before, so i retract my rec to upgrade to geany 1.25. if you've got an older pup (with .19 or older), the upgrade to 1.23 or 1.24 shouldn't be a problem (at least they weren't in precise 5.5 and 5.7.1/5.7.2).

problem may have arisen because i tried to install a deb for geany's multiterm and may therefore be unrelated to the 1.25 package above. so, a word of caution--perhaps check it out in a ram-only session first.

really don't know why grub4dos is no longer writing the menu entries its popup shows exist. probably not text-editor related. i should keep better track of what i install...only other thing was a spideroak .deb.

:? :?:

anyway, a heads up.

----------

edit: in all likelihood, the 1.25 packages are not to blame. i just tried to install the 1.24 multiterm deb in the same variety of pup using the earlier version of geany--result was the death of the vtg function. compile the multiterminal from scratch if you want it. i think this is also what affected grub4dos's ability to correctly write to the necessary text files--xterm is the central terminal for the vte/vtg and most puppy processes, or so it appears to me.

removing the deb didn't solve the problem(s), though a restart once it's removed may (i'm in no hurry since at present i have no entries in the menu.list aside from what i copied over from an old backup).

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

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

#29 Post by Puppus Dogfellow »

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

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

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

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

Code: Select all

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


echo $'

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


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

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



atdesk --make a desktop template
jp -- open jwmrc-personal with geany
(a new gynysys based on the move of many files out of root and root/my-applications/bin and into /nwp. will open a duplicate for you to modify)
hi - hard info
mr - sfr's multi rename
ppm --so you can call the ppm from the nwp launcher without having to go to findnrun or a terminal or backspace or ctrl-a over the text (/nwp/)
v - the vtg (also working well in quirky)
m - pmount and partview
veg - same a alt+g -- vgt, nwp and puup help
gi - new instance of geany


cursor at right versions of launcher

p -- main nwp launcher
ch - permissions launcher
gl - geany launcher (also -g)
ll - leafpad launcherr (also -l)
rl - rox launcher (also -r)

highlighted entry versions:

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


(some of this is likely already included in the last release of this spin, but i need to update the documentation here and several other places...)
Last edited by Puppus Dogfellow on Thu 29 Oct 2015, 07:37, edited 1 time in total.

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

#30 Post by Puppus Dogfellow »

^ heh, wrong thread. but since it's here, enjoy the preview and the permissions launcher.

(was wondering where the post went...)

:P

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

in Quirky 7.2 64, the script to launch the VTG needs the

#31 Post by Puppus Dogfellow »

the vtg function wasn't working as smoothly in quirky as it was in precise--things that should've closed didn't or lagged. here's the fix for what may be a mild bug. swap the v script in /nwp/ and/or /root/my-applications/bin with the following if you're afflicted:

Code: Select all

#!/bin/sh
xdotool key ctrl+9 ctrl+8 Return F2 ctrl+7

#for precise, the F2 wasn't needed.
#script to execute the following string in geany (needs a few tweaks to the keyboard config file or a swap with the key.config file in the word processing and related folder at the pupli repo.
# send line where cursor sits (or what's been highlighted) to the terminal, run it, close the terminal, return to the editing view.

#you may want to put compile and build back (f8 and f9, iirc) if you like geany's built in shortcuts. i messed with those but they have nothing to do with the vtg function.
xdotool key ctrl+9 ctrl+8 Return F2 ctrl+7
that's it. the F2 is the only needed change. i was messing around with the timing and a few other things, but it's just a case of quirky 7.2 needs to have the editor in focus to close out the sidebar and terminal and precise didn't. or 32 bit didn't (both were using geany 1.24 for the most part).

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

#32 Post by Puppus Dogfellow »

http://www.murga-linux.com/puppy/viewto ... 403#870403

both the nwp folder and the launchers have been upgraded. see the link post for the download, the post above it for a script that will install the launchers (no downloading necessary)

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

Managing Playlists On External Drives With Find And Replace

#33 Post by Puppus Dogfellow »

this may not be a geany specific fix, but the multi tabs and recents lists makes it a better choice for the task than leafpad, and i don't know how many are also afflicted, but i've yet to have a machine escape it, so---

isn't it annoying to have a playlist spit out nothing but error messages because sdb is now sdc or something else and none of the song paths are correct? it certainly annoys me. open up the playlist file in geany menu > search > replace (swap your drive letters--usually a substitution need be no more than four letters in each of the two fields, though if if you've got multiple drives changing identities without pattern, it may require a little finesse) > (make sure the bottom part is set to entire document or selection--whichever is needed) and you're done. play list will now work.

(tested with vlc and the xspf format/extension.)

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

launcher and the pack that contains it has been upgraded

#34 Post by Puppus Dogfellow »

the launcher has been upgraded, thought the vtg function itself is unchanged. launcher and the jwm-aemenu pack that contains it: nwp-jwm-aem-1.1.tar.xz

details start here and continue until the first post on the next page (three posts of how to modify, what things look like and do, etc.)

enjoy.

:P

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

if you're using the launcher for the vgt and word processing

#35 Post by Puppus Dogfellow »

i think the subject line is especially true if you don't rely on jwm or your windows manager for your keyboard short cuts. you could drag template files and word processing command files to the panels and make a word processing gui out of your screen real estate. of course, the panels could be used to launch anything the pinboards can, which is pretty much anything. anyway, here's "the following":
Puppus Dogfellow wrote:
Puppus Dogfellow wrote: you can give yourself swappable keyboard shortcuts by assigning them specifically to panel or pinboard items. since this thread deals with panels exclusively, i'll focus on that, but it's really the same thing--when you right click on a pinboard or panel item and give it a shortcut, the shortcut goes to that specific icon, not the program or file(s) the icon represents--the key combo will work on what's in the panel--swap the panel, you swap keyboard shortcuts. to fully use this feature, you'd probably have to keep your shortcuts away from your main windows manager as that may override or conflict with the newer keycuts.

in short, you could toggle keyboard shortcuts when you toggle panels/toggling panels is also a way to have an enormous amount of context-specific (or not) keycuts. this is possible because in rox, you assign cuts to an icon, not a program.
from the rox panel speed frames thread

using the method described above, the pwp launcher (the Puppy Word Processor/Puppy Uppers Utility Pack--new version just has uu as the only text on the gui frame, so maybe yet another name change), you could give a similar overabundance of keycuts to a non-jwm setup as you can to one that can take the previously posted key-banks. shrink the panels (16 pixels is minimum--use one pixel squares from the empty icon template (temp folder in nwp) and they'll be expanded to your choice up to 96 pixels) and give scripts (such as the word processing commands from the nwp folder) direct and familiar (or at least personally chosen) locations and shortcuts to call them.

see the main nwp aemenu (n in launcher) for the rox entry if you want to make 6 swappable pinboards (call code would be pp#--mk30 in the launcher will actually give you thirty of them, but like mk26, it's probably overkill. the 10 panel sets are already included and are called by p0-p9)
relates to same pack posted earlier. (ones before the current penultimate couldn't make the 24 or 30 pinboard sets).

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

update of the NWP

#36 Post by Puppus Dogfellow »

Puppus Dogfellow wrote:the vtg function wasn't working as smoothly in quirky as it was in precise--things that should've closed didn't or lagged. here's the fix for what may be a mild bug. swap the v script in /nwp/ and/or /root/my-applications/bin with the following if you're afflicted:

Code: Select all

#!/bin/sh
xdotool key ctrl+9 ctrl+8 Return F2 ctrl+7

#for precise, the F2 wasn't needed.
#script to execute the following string in geany (needs a few tweaks to the keyboard config file or a swap with the key.config file in the word processing and related folder at the pupli repo.
# send line where cursor sits (or what's been highlighted) to the terminal, run it, close the terminal, return to the editing view.

#you may want to put compile and build back (f8 and f9, iirc) if you like geany's built in shortcuts. i messed with those but they have nothing to do with the vtg function.
xdotool key ctrl+9 ctrl+8 Return F2 ctrl+7
that's it. the F2 is the only needed change. i was messing around with the timing and a few other things, but it's just a case of quirky 7.2 needs to have the editor in focus to close out the sidebar and terminal and precise didn't. or 32 bit didn't (both were using geany 1.24 for the most part).

discovered a similarly small adjustment needed for the function to work off the keyboard in slacko. alt+z normally calls menu (usually 1 or 3 depending on what version you've got and whether or not you've implemented the jwm side of the nwp folder and its launcher), Down, Enter to reach VTG on a menu (can't be called from a key due to the key activating it in the folder containing it). since slacko activates menus with the first item highlighted, cut the "Down" from the key's exec code and it will work.

here's an update of the nwp and launcher:
NWP-1.2.tar.xz

screenshots show geany being modified with the help of the 669 key virtual keypad:

669 keys--macros and aliases

Image


screenshots and info gifs for 669:


Image


more info:

http://www.murga-linux.com/puppy/viewto ... 043#885043


all 669 keys (all 669 little xdotool scripts) combined are 25k uncompressed, which is significantly smaller than the full nwp. i think the next vtg launcher will only be a handful of scripts and keys folder in the shell of the nwp, but you don't really need to wait for a stripped down version. just put the keys folder (it contains the 669) anywhere you like and adjust k- to point to the new location. add or copy the v script from /nwp to that folder in its new location, and the k launcher will be able to just as easily activate the vtg function as the p launcher (set an easy to remember and press key combo for the k launcher).

anyway, puppy appears to be willing to accept F36 as input even if you don't have the key. xdotool can press the imaginary key plus four modifiers faster than you can press one (and can be scaled forward or back). rename keys to more easily remember and call them.

enjoy.

:D

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

1060 key version's better more easily configurable than the

#37 Post by Puppus Dogfellow »

all 669 keys (all 669 little xdotool scripts) combined are 25k uncompressed, which is significantly smaller than the full nwp. i think the next vtg launcher will only be a handful of scripts and keys folder in the shell of the nwp, but you don't really need to wait for a stripped down version. just put the keys folder (it contains the 669) anywhere you like and adjust k- to point to the new location. add or copy the v script from /nwp to that folder in its new location, and the k launcher will be able to just as easily activate the vtg function as the p launcher (set an easy to remember and press key combo for the k launcher).

anyway, puppy appears to be willing to accept F36 as input even if you don't have the key. xdotool can press the imaginary key plus four modifiers faster than you can press one (and can be scaled forward or back). rename keys to more easily remember and call them.
vtg_VPKP_pw,n-nwp.sh

the above is a script that will install the vtg shortcut script in a nwp folder empty apart from the improved key (function) folder. you get the launchers (call, modify, and mask/rename keys), a virtual programmable (set for a minimum of 1060 not including macros and scripts) keypad, and the vtg button/macro/key combo (which still requires the tweaks to the key config file mentioned on the first page of the thread. the script's a tweak of one of the build scripts i used to make the forthcoming anuupuus update, and was released in a slightly different form (replete with somewhat inaccurate comments) here.


there's no included help file, but the comments are fairly extensive:

Code: Select all

#!/bin/sh
mkdir -p /nwp/keys/k/
mkdir -p /nwp/keys/icons-pyg /nwp/keys/icons-tl /nwp/keys/icons-td /nwp/keys/icons
#cp -f /nwp/keys/k /nwp/keys/k2
#older version of the comments had "delete or comment out 1-99 if you're using the older version of the virtual keypad and have assignments for those keys. alternately, comment out the line above to make a back up of your existing key-set, which you can then copy your changes from and/or use as an alternate key set. these will overwrite keys 1-99 from from the 66k9 version," which is inaccurate/was only a .desktop and icon issue, and not much of one at that. a-z, 0-9, and all numbers plus all other single key assignments are available. if you want in excess of a thousand virtual keys requiring two or fewer presses, i have a version built around {a..z}; {a..z}{a..z}; {a..z}{0..9}; -{0..9}; -{a..z}(,etc) somewhere nearly completed--i started making shortcuts in geany to make making them easier, and the way i went about it made both that method and the previous method of assigning keys seem really inefficient. this uses more keys to call and edit a key, but it also makes it much easier to configure them on the fly and then use them thereafter. the additional keypad/script launchers/editors at the end of this file call the keys by first initial of modifier key (alphabetically--acsw are alt, control, shift, and windows key held simultaneously. add one at a time for fewer than the four, but always add alphabetically) followed by the letter or number of your choice, or f1-f36 to call those function key (regardless of whether you've got them on any of your keyboards). the renaming method is as follows: in the main launcher, enter kl or kg to open up either leafpad or geany at the keys' path. enter the name of the key you want to rename, save the file that opens as the call code you wish to have (one that's shorter and/or easier to remember), enter kch in the main launcher, enter the renamed key. that's it--the key launcher will now open up any menu item on whatever program with the command you gave it. to assign keys in programs that allow customization by recording your key presses, use the key launcher (dragging to the desktop's largely unnecessary unless you want a desktop button for some functions) or k in the main launcher (can't click the items in the folders because the key strokes are sent to rox/your windows manager itself).
echo $'#!/bin/sh
xdotool key alt+0 ' > /nwp/keys/k/a0
echo $'#!/bin/sh
xdotool key alt+9 ' > /nwp/keys/k/a9
[...]

Code: Select all

[...]

#i'm sort of drowning in icons at the moment, but there's a desktop file and iconification improvement/overload on the way that more or less obviates the attempt i make towards the end of the script to make things more ready-made and mouse friendly, but it's still conceivably useful and/or a possible convenience (right click in any rox folder to get a largely filed out .desktop file for any nwp function or key. "ilkon" or "igkon" in the main launcher will open a copy of the same file in either leafpad (i(l)kon) or geany (i(g)kon)).

#the 347 byte replacement icon for scripts makes navigating through some of the more overloaded /nwp directories (such as /nwp itself) much quicker, but i'm considering a how-to rather than a upload for the 18,000 or so icons i've somehow wound up with...

#i'm adding the original k, p, p-, and k- launchers so the anuupuus update script works as a standalone virtual/programmable keypad--just give /nwp/k a shortcut key (spacebar plus a single modifier works nicely for both /nwp/k and /nwp/p).

#have decided to add some others in case anyone wants the k ratehr than the p version as the main pw,n launcher. while the recommended configuration method assumes access from /nwp/p, you can back-space past the / and k in the k launcher to reach kl (rename key with leafpad), kch (set permission of renamed key), kgi (rename key with a new instance of geany), p (which can call the others from /nwp), kir (open the keys folder in rox), and kg (rename key with geany) from their backups in /nwp/keys.
[...]

Code: Select all

[...]
#it probably makes more sense to sacrifice the potential convenience of p, v,c,k,l, and g in the key launcher (the other 30 alpha-numeric characters are still available for scripts, commands, macros, or key combos you'd like to bind to a single key entry) in order to give the virtual keypad the ability to quickly configure itself. with that in mind, and because there's a chance the other way may still prove useful, here's a copy of the above launchers plus the vtg (the only one of the bunch that retains its original (v) call-code)

echo $'
#!/bin/sh
xdotool key ctrl+9 ctrl+8 Return F2 ctrl+7

#for precise, the F2 wasn,t needed
#script to execute the string in geany (needs a few tweaks to the keyboard config file or a swap with the key.config file in the word processing and related folder at the pupli repo).
# send line where cursor sits (or what,s been highlighted) to the terminal, run it, close the terminal, return to the editing view.
' > /nwp/keys/k/v

#^you could use an alpha-numeric plus four modifiers or some of the combos involving function keys 13-36 here to open up other keycuts in geany. it's an example of xdotool being used for a macro rather than a key--you aren't limited to key actions with these little xdotool scripts--you could bind mouse actions to them as well as incorporate the actions needed to access just about any program's menus or submenus. rename it it vtg if you'd like to use the v call-code in the pwn,n-k launcher for something else.

[...]



#---no warranties or whatnot, but i don't see what it could break, and like the nwp and vtg, it's working well. i find it useful.
#---------------------------------------- puppus dogfellow, march 2016.
#enjoy.
#ps: this was part of a set of scripts that built a full update to the nwp word processor and utilities suite. the template-spitting scripts below are mini versions of the other two build scripts. i use the custom keys a lot in geany, but the majority of what this does isn't necessarily vtg or geany related, or even related to word processorization of text editors or interfaces in general, so i've decided to make a move towards a more general issue release. it's a 1000 key virtual programmable keyboard and function renamer.

echo $'
#!/bin/sh
xdotool type \'text2xpm "-->" >/nwp/keys/icons-sup/(name).xpm\' ' > /nwp/t2x
chmod 755 /nwp/t2x
#print out code that will autogenerate (through vtg or terminal) an icon. they're small but expand to the fit the rox panels. on the pinboards, they remain tiny. requires text2xpm.


[...]

i'll post more of the build scripts a bit later--the vtg can use sections of either to more or less instantly generate sets of icons or desktop files, which can in turn be easily modded, renamed, and/or relocated/generated in a new location (change a few characters, click/activate the vtg again).

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

#38 Post by Puppus Dogfellow »

i'll post more of the build scripts a bit later--the vtg can use sections of either to more or less instantly generate sets of icons or desktop files, which can in turn be easily modded, renamed, and/or relocated/generated in a new location (change a few characters, click/activate the vtg again).
here's an improvement over the included update script:

Code: Select all

#!/bin/sh
#click2update-1.2.2_(24kf)--improved update script. 
cp -fRu ./nwp /

#keylauncher and vtg require xdotool. complete anuupuus (A New(bie's) UUord Processor and Ultimat(esqu)e Utilities Suite requires wmctrl and aemenu as well.
# this uses more keys to call and edit a key, but it also makes it much easier to configure them on the fly and then use them thereafter. the additional keypad/script launchers/editors at the end of this file call the keys by first initial of modifier key (alphabetically--acsw are alt, control, shift, and windows key held simultaneously. add one at a time for fewer than the four, but always add alphabetically) followed by the letter or number of your choice, or f1-f36 to call those function key (regardless of whether you've got them on any of your keyboards). the renaming method is as follows: in the main launcher, enter kl or kg to open up either leafpad or geany at the keys' path. enter the name of the key you want to rename, save the file that opens as the call code you wish to have (one that's shorter and/or easier to remember), enter kch in the main launcher, enter the renamed key. that's it--the key launcher will now open up any menu item on whatever program with the command you gave it. to assign keys in programs that allow customization by recording your key presses, use the key launcher (dragging to the desktop's largely unnecessary unless you want a desktop button for some functions) or k in the main launcher (can't click the items in the folders because the key strokes are sent to rox/your windows manager itself). 
#from http://www.murga-linux.com/puppy/viewtopic.php?p=894826#894826

#comments on that post mistakenly assume an icon conflict--it doesn't exist.

#minimum deps for this more or less stand alone update are xdotool and yad.
#aemenu and wmctrl are highly recommended additions.



#originally used for the 1.2.2 update; only changes to this script are these comments and below:
#no rox or jwm keycuts provided--installation with this script simply moves ./nwp to / as /nwp. you'll need to assign a keyboard shortcut to the p and/or k launcher (main, keys) with your windows or file manager. 
# 24kf --there are over 24000 little files (icons, desktops, scripts) in this update. i recommend using some of the little mini (sub 400B) icons rather than the default set for scripts and xpm files as a result of this update--helps when loading a loaded directory.


# late addition--
echo $'
#!/bin/sh
#print out code that will generate (through vtg or terminal) an icon. they\'re small but expand to the fit the rox panels, or gain the same target area as the panel\'s largest icon. on the pinboards, the icon-target remains tiny. requires text2xpm: http://www.murga-linux.com/puppy/viewtopic.php?p=561822#561822
#print out a desktop template file for the icon you just made. send through a terminal or highlight section and click or otherwise activate the vtg.

xdotool type \'text2xpm "icon-image" >/nwp/keys/icons-sup/(name).xpm\'
xdotool type "
echo $\'
[Desktop Entry]
Encoding=UTF-8
Name=virtual keys
Terminal=false
Type=Application
Exec=/nwp/keys/k/
Icon=/nwp/keys/icons/.xpm
Comment=scripts, keys, macros, masks
Categories=
GenericName=anuupuus keys
\' > /nwp/keys/(name).desktop
"
' > /nwp/txd
chmod 755 /nwp/txd

cp -f /nwp/k /root/my-applications/bin/k
chmod 755 /root/my-applications/bin/k

the following fixes a problem with the t2x2 script:

Code: Select all

#!/bin/sh
echo $'
#!/bin/sh
#print out code that will generate (through vtg or terminal) an icon. they\'re small but expand to the fit the rox panels, or gain the same target area as the panel\'s largest icon. on the pinboards, the icon-target remains tiny. requires text2xpm: http://www.murga-linux.com/puppy/viewtopic.php?p=561822#561822
#print out a desktop template file for the icon you just made. send through a terminal or highlight section and click or otherwise activate the vtg.

xdotool type \'text2xpm "icon-image" >/nwp/keys/icons-sup/(name).xpm\'
xdotool type "
echo $\'
[Desktop Entry]
Encoding=UTF-8
Name=virtual keys
Terminal=false
Type=Application
Exec=/nwp/keys/k/
Icon=/nwp/keys/icons/.xpm
Comment=scripts, keys, macros, masks
Categories=
GenericName=anuupuus keys
\' > /nwp/keys/(name).desktop
"
' > /nwp/txd
chmod 755 /nwp/txd
(it's part of the above but it's also a bug fix if you're not interested in running the rest of the code.)

the next script explains how to set up desktop icons and does so for a few /nwp functions (a bunch of stuff is commented out, but i figure it could serve as ready made templates for what ever seems a useful fit):

Code: Select all


#!/bin/sh
#to quickly generate desktop files from/for nwp call codes and other
mkdir -p  /nwp/keys/icons-{sup,pyg,tl,td,wp-hc,wp-pp}
cp -fRu ./ptext2xpm /root/my-applications/bin/ptext2xpm
cp -fRu ./text2xpm /root/my-applications/bin/text2xpm
cp -fRu ./blktext2xpm /root/my-applications/bin/blktext2xpm
cp -fRu ./wtxt2xpm /root/my-applications/bin/wtxt2xpm
chmod 755 /root/my-applications/bin/ptext2xpm /root/my-applications/bin/text2xpm /root/my-applications/bin/wtxt2xpm /root/my-applications/bin/blktext2xpm
#commented out template on the chance you'd like to batch produce some icons. see comments at the end of script for more.
#~ ptext2xpm "UU" >/nwp/keys/icons-sup/0puu1p.xpm   
#~ ptext2xpm ">_" >/nwp/keys/icons-sup/0pscrp.xpm   
#~ ptext2xpm " _  ">/nwp/keys/icons-sup/0pem21p.xpm   
#~ ptext2xpm "PgBk" >/nwp/keys/icons-sup/0pbk1p.xpm     
#~ ptext2xpm "lu" >/nwp/keys/icons-sup/0plu1p.xpm  
#~ ptext2xpm "1st" >/nwp/keys/icons-sup/0p1st1p.xpm   
#~ ptext2xpm "last" >/nwp/keys/icons-sup/0plast1p.xpm     
#~ ptext2xpm "(/)" >/nwp/keys/icons-sup/0pps2p.xpm   
#~ ptext2xpm "VTG" >/nwp/keys/icons-sup/0vtgp.xpm   
#~ ptext2xpm "PW,N" >/nwp/keys/icons-sup/0pwnp.xpm   
#~ ptext2xpm "AEM" >/nwp/keys/icons-sup/0aemp.xpm 
  
#~ text2xpm "UU" >/nwp/keys/icons-sup/3puu1p.xpm   
#~ text2xpm ">_" >/nwp/keys/icons-sup/3pscrp.xpm   
#~ text2xpm "(/)" >/nwp/keys/icons-sup/3pps2p.xpm   
#~ text2xpm " _  ">/nwp/keys/icons-sup/3pem21p.xpm   
#~ text2xpm "PgBk" >/nwp/keys/icons-sup/3pbk1p.xpm     
#~ text2xpm "lu" >/nwp/keys/icons-sup/3plu1p.xpm  
#~ text2xpm "1st" >/nwp/keys/icons-sup/3p1st1p.xpm   
#~ text2xpm "last" >/nwp/keys/icons-sup/3plast1p.xpm     
#~ text2xpm "VTG" >/nwp/keys/icons-sup/3vtgp.xpm   
#~ text2xpm "PW,N" >/nwp/keys/icons-sup/3pwnp.xpm   
#~ text2xpm "AEM" >/nwp/keys/icons-sup/3aemp.xpm  
  
#~ wtxt2xpm "UU" >/nwp/keys/icons-sup/2puu1p.xpm   
#~ wtxt2xpm ">_" >/nwp/keys/icons-sup/2pscrp.xpm   
#~ wtxt2xpm "(/)" >/nwp/keys/icons-sup/2pps2p.xpm   
#~ wtxt2xpm " _  ">/nwp/keys/icons-sup/2pem21p.xpm   
#~ wtxt2xpm "PgBk" >/nwp/keys/icons-sup/2pbk1p.xpm     
#~ wtxt2xpm "lu" >/nwp/keys/icons-sup/2plu1p.xpm  
#~ wtxt2xpm "1st" >/nwp/keys/icons-sup/2p1st1p.xpm   
#~ wtxt2xpm "last" >/nwp/keys/icons-sup/2plast1p.xpm     
#~ wtxt2xpm "VTG" >/nwp/keys/icons-sup/2vtgp.xpm   
#~ wtxt2xpm "PW,N" >/nwp/keys/icons-sup/2pwnp.xpm   
#~ wtxt2xpm "AEM" >/nwp/keys/icons-sup/aem.xpm 
  
#~ blktext2xpm "UU" >/nwp/keys/icons-sup/1puu1p.xpm   
#~ blktext2xpm ">_" >/nwp/keys/icons-sup/1pscrp.xpm   
#~ blktext2xpm "(/)" >/nwp/keys/icons-sup/1pps2p.xpm   
#~ blktext2xpm " _  ">/nwp/keys/icons-sup/1pem21p.xpm   
#~ blktext2xpm "PgBk" >/nwp/keys/icons-sup/1pbk1p.xpm     
#~ blktext2xpm "lu" >/nwp/keys/icons-sup/1plu1p.xpm  
#~ blktext2xpm "1st" >/nwp/keys/icons-sup/1p1st1p.xpm   
#~ blktext2xpm "last" >/nwp/keys/icons-sup/1plast1p.xpm     
#~ blktext2xpm "(/)" >/nwp/keys/icons-sup/1pps2p.xpm   
#~ blktext2xpm "VTG" >/nwp/keys/icons-sup/1vtgp.xpm   
#~ blktext2xpm "PW,N" >/nwp/keys/icons-sup/1pwnp.xpm   
#~ blktext2xpm "AEM" >/nwp/keys/icons-sup/aem.xpm 

#~ ptext2xpm "(/)" >/nwp/keys/icons-sup/1pps2p.xpm   
#~ ptext2xpm "VTG" >/nwp/keys/icons-sup/1vtgp.xpm   
#~ ptext2xpm "PW,N" >/nwp/keys/icons-sup/1pwnp.xpm   
#~ ptext2xpm "AEM" >/nwp/keys/icons-sup/aem.xpm 
#~ ptext2xpm "(/)k" >/nwp/keys/icons-sup/1k.xpm

#(enter "txd" in main launcher (or use the files in the wrapper/installation folder); example is making a desktop file for the main aem menu, the k launcher, the main pw,n launcher, the vtg and the ae menu that pops up all the pw,n launchers). highlight and middle click to make the needed copies of the desktop template, then fill in the call codes, icon paths, and pick a name for the desktop file (your pop up will give you "icon-image" for the text-picture selection, (name).xpm for the largely filed out icon path, and /nwp/keys/k as the executable path--i figure it's easier to delete the last two sections to execute from nwp than type them to launch from /keys/k. since i built the icon code from the text above, i can delete the template for a new text2xpm icon:
ptext2xpm "(/)" >/nwp/keys/icons/1pps2p.xpm   
ptext2xpm "VTG" >/nwp/keys/icons/1vtgp.xpm   
ptext2xpm "PW,N" >/nwp/keys/icons/1pwnp.xpm   
ptext2xpm "AEM" >/nwp/keys/icons/aem.xpm 
ptext2xpm "(/)k" >/nwp/keys/icons/1k.xpm
#the easiest way to swap icons once sets are already assigned to desktop files is probably to rename the folder that feeds them, then generate or rename a folder containing the other set to the original name.
#this example uses a folder that's empty in 1.3 but full in 1.2--it wasn't a good choice, example or not.
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=virtual keys
Terminal=false
Type=Application
Exec=/nwp/vtg
Icon=/nwp/keys/icons/1vtgp.xpm
Comment=scripts, keys, macros, masks
Categories=
GenericName=anuupuus keys
' > /nwp/keys/vtg.desktop

echo $'
[Desktop Entry]
Encoding=UTF-8
Name=virtual keys
Terminal=false
Type=Application
Exec=/nwp/pwnz
Icon=/nwp/keys/icons/1pwnp.xpm
Comment=scripts, keys, macros, masks
Categories=
GenericName=anuupuus keys
' > /nwp/keys/pw,n-all.desktop

echo $'
[Desktop Entry]
Encoding=UTF-8
Name=virtual keys
Terminal=false
Type=Application
Exec=/nwp/aef
Icon=/nwp/keys/icons/aem.xpm
Comment=scripts, keys, macros, masks
Categories=
GenericName=anuupuus keys
' > /nwp/keys/ae.desktop


echo $'
[Desktop Entry]
Encoding=UTF-8
Name=virtual keys
Terminal=false
Type=Application
Exec=/nwp/k
Icon=/nwp/keys/icons/1k.xpm
Comment=scripts, keys, macros, masks
Categories=
GenericName=anuupuus keys
' > /nwp/keys/k.desktop
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=virtual keys
Terminal=false
Type=Application
Exec=/nwp/p
Icon=/nwp/keys/icons/1pps2p.xpm
Comment=scripts, keys, macros, masks
Categories=
GenericName=anuupuus keys
' > /nwp/keys/p.desktop
i didn't include txt2xpm in the previous update, but you can grab copies here:

text2xpm (set as dark purple characters on a transparent background):
https://drive.google.com/file/d/0ByUDhE ... sp=sharing
ptxt2xpm (yellow-green on purple):
https://drive.google.com/file/d/0ByUDhE ... sp=sharing
wtxt2xpm (white on transparent):
https://drive.google.com/file/d/0ByUDhE ... sp=sharing
blktxt2xpm (black on transparent):
https://drive.google.com/file/d/0ByUDhE ... sp=sharing


the script with the commented out icons is a smaller version of what i used to generate all the icons and desktop files in the previous update. you can see them here.

copy the txt2xpm versions to /root/my-applications/bin, set the permissions, and the code above will generate some icons and desktop files. alter the txt2 scripts to alter the generated icons and rerunning them or dumping sections from them into the terminal will change the appearance of your desktop files as quickly as renaming the generated folders (change the paths to folder you can swap in) does.

the 24k in the name of the update script's a bit of a warning: the files are small, but the new update alone contains over 24000 files (it's quick despite this, but navigation for configuration purposes is best left to the launchers. small icons for script and xpm defaults help considerably from what i've seen, though after a huge folder has been loaded, subsequent visits show little if any lag. initially annoying and still better left unexperienced.) :( :P

here are the build scripts (minus the install and new icon management help file/script) as a compressed folder: bldscr-nwp-1.3.tar.xz

from http://www.murga-linux.com/puppy/viewto ... 477#895477

here's the full update: nwp-1.2.2-upgrade_pack.tar.xz see the bottom of this post for additional info.

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

function key bug fix and an icon pack

#39 Post by Puppus Dogfellow »

some of the function keys from the 1060 virtual keypad upgrade pack are a number off. the following script will fix it by overwriting the mistakes (and the ones that are okay. 35k): nwp-functionkeyfix

a_very_large_pack_of_very_small_icons.tar.xz

if you're using the word processing functions (and therefore presumably a fuller version of the vtg-nwp than previously linked), you may find the above icon pack useful for versioning or mime choices (it contains 74 variations of SAN SER MON (for the three main font types) for you to choose from plus sets for the more common file types). it also contains scripts that may make it easy iconify vtg entries that have been converted to scripts, something i usually accomplish by adding (through the scz command) #!/bin/sh beneath the echo$' part that gets spit out by the launcher's cnt (content) command:

Code: Select all

echo $'
(content--script spits out a sample create-file-with-content template)
' > (path to file)
just add chmod 755 (or hit 7c in the launcher)[path to file] beneath the entry and vtg (v.) the highlighted text. open up an icon making script, get acquainted with the color schemes and how to change them, and use rox right click to assign the new script its new icon.

more info here:
http://www.murga-linux.com/puppy/viewto ... 182#898182
http://www.murga-linux.com/puppy/viewto ... 358#898358

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

new nwp gives you the vtg at a click and some customizable

#40 Post by Puppus Dogfellow »

lost a monitor on an installation recently and as a result the real estate on which some of my custom menu buttons were sitting, so i've now put them on the menus:

Image

Image

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

bb -- spit out bold tags
bb2 -- span tags for bold fonts or other, non default font choices (bold tags don't appear to work though the nwp's underlining and italics tags show the expected results). default is for monospace, same as po1, po2, po4 (the latter two are templates, po1 is an xdotool "spit this code" script/a backup of the main (monospace) template).
book -- older version of one of the tocs/tics--customize if you like
bpo -- open the default template files in a browser so you can see the line spacing, highlighting, etc. use gpo to edit what the command calls and what browser gets opened
bq -- block quote tags
f - findnrun
gpo -- open the browser, leafpad, and geany configuration files for the nwp word processor plus the default default templates in geany.# geany /nwp/po1 /nwp/po2 /nwp/po3 /nwp/po4 /nwp/po5 /nwp/po6 /nwp/gpo /nwp/lpo /nwp/bpo /nwp/bb2
h1-h6 -- print out tags for headings 1-6
her -- open the hr template in geany
herl -- open the hr template in leafpad
hero -- open the hr template in geany
hr -- print out hr tags
hr0 -- open the hr template in geany
hr0l -- open the hr template in leafpad
hr1 -- spit out hr doc template
hrl -- <hr> tag, 35%, grey left side
hrr -- <hr> tag, 10%, grey right side
hrt -- template for autopage breaks with hr tag. called by other scripts.
ii -- italics tags
link -- external form of the toc tags
lp -- launch leafpad
lpo -- leafpad /nwp/po2| leafpad /nwp/po4 /nwp/po5| leafpad /nwp/po6| leafpad /nwp/lpo (open the wp template files in leafpad; open the file that determines what leafpad opens
mono -- open monospace template with geany
mono1 -- spit out monospace doc template
monol -- open monospace template with leafpad
monot -- monospace template
np02 -- pu(/)up launcher (configured to begin with a highlighted /nwp/)
p -- pu(/)up launcher configured to start at the end of /nwp/
pb -- <par style="page-break-after: always"></par>
pba -- <par style="page-break-before: always"></par> (a=above)
po -- open po2
po1 -- print out an improved version of the preotry template
po2 -- (template--po1 without the mini-wait--use Clone (under Documents menu) or SaveAs to preserve the file)
po3 -- geany /nwp/po4 /nwp/po5 /nwp/po6 /nwp/po2
po4 -- template as 14 pt monospace
po5 -- template as 14 pt sans
po6 -- template as 14 pt serif
pr -- print out paragraph tags
prc -- print out paragraph centered tags
prj -- print out paragraph justified tags
prl -- print out paragraph left tags
prr -- print out paragraph right tags
q -- cite tags
san1 -- spit out sans serif doc template
sans -- open sans template with geany
sansl -- open sans template with leafpad
sanst -- sans serif doc template
ser1 -- spit out serif doc template
serf -- open serf template with geany
serfl -- open serf template with leafpad
sert -- serif doc template
sub -- subscript tags
sup -- superscript tags
t -- launch terminal of your choice (delete/comment sakura and uncomment or add your choice)
toc and tic paste bookmark/hyperlink codes. good for tables of contents, master documents, etc. on the editing side, you can make bookmarks in geany with ctrl+m, which will also toggle it off. ctrl plus comma is previous bookmark, control plus period is next bookmark. the plugin for numbered bookmarks makes a list on the side panel (unless that's default and i can't just can't figure out how to work/access the plug in version):
tic -- tic same page template and anchor --new tab
tic1 -- external page or same or external file, no anchor -- same tab
tic2 -- external page or same or external file with anchor -- same tab
toc -- toc same page template and anchor, same tab (general bookmarks). look up your text editor's method for bookmarking for the edit text (also non formatted) view.
toc1 -- external page or same or external file, no anchor -- new tab
toc2 -- external page or same or external file with anchor -- new tab
to open files in geany at specific location, append :line#:column# to the file, i.e. geany /nwp/docs/file1:50:14
ul -- underline
v -- activate vtg
xp -- launch xpad/new xpad
terminal nwp/pwn/pax shortcuts:
s# send active window to desktop#
s#s send next clicked window to desktop#
d# go to desktop#
c plus a single letter is normally a close command--cr, close rox; cu, close urxvt terminals; ct, close rxvt Terminal.
pp# --change pinboard
p# --change/toggle four panel set frame (can be altered down to one)
my# --swap out custom jwm configurations
gea3 --edit custom jwm configurations
la, lb, lm ---layer above, below, middle/normal for active window
las,lbs, lms ---layer above, below, middle/normal for selected window
stk, ustk --stick unstick active (add an s for the click to select version)
pv2--partview and rox /mnt
rr --rox recently visited
rb1 --four (iirc) rungs down on the rox bookmarks menu
rup --three rungs up from the bottom of the rox bookmarks menu (this and rr may need to be adjusted depending on how your rox filer is set up)
pcp --access pup control
fnr --find and run (same as f--fnr is it's traditional short.)
hlx -- htop in an urvxt window and lx task ...
ppm is a built in for package manager (will work in nwp launcher or terminal)
x#-- move to # on x-axis (increments of 5)
y# --move to # on y-axis (increments of 5)
h# --height (increments of 5)
w# --width (increments of 5)
rs --resize
t --terminal (set for my-applications/bin, so launchable from terminal or np/nwp/pxc launcher)
f --findandrun (also set for my-apps/bin)
np --nwpus launcher2 (no sweep right--prehighlighted entry)
sd --speeddials
sdr --speed dials recent list only
gnysys --open a slew of config files in geany
3but -- speed dials and a version of winswitcher
ww -- winswitcher (also ctrl plus spacebar).
galc -- galculator
nc-- notecase
gd -- goldendict
jv -- make java sfs and take you there (thanks, uten. (still there but superseded by rerwin's packages (two installed if you use the -ur version of the nwp))).
##5c -- now the command to make 5 copies of a file by command line.
5ce -- generate drag and drop file in your current working directory and another set to make editing it easier (set for 5 copies with the bulk-renameable extension X(followed by the number of copies). this is an improvement, i think, but you may prefer
mcc -- Make_Concurrent_Copies, which open a directory set for sets of three and five for a fairly wide variety of file types
##5cd -- [obs.]
7c -- print out the command for changing permissions of a script to executable (kind of lazy--chmod 755 isn't that involved...).(sorta made obsolete by the ch launchers (still arguably useful for vtg use)).
1 -- single monitor menu
2 -- double monitor menu
g -- grid menu
x -- x axis menu
y -- y axis menu
w -- width menu
h -- height menu
mv -- move
wn -- windows menu
mn -- minimize
mx -- maximize window
o -- old windows manipulation menu
s -- new version of supplemental menus
n -- the original nwpus menu
n1 -- the full word-processing menu without any of the supplementals. it has n2 and n3 as submenus but gives some prominence to the overall document formatting commands from n3
n2 -- just the highlight and click to apply word processing/html code section
n3 -- the paste and place section of the main (word processing) menu.
slac -- search all databases
sloc -- search selected database with option to print results #sometimes problematic
sluc --update all slocate databases/create databases (thanks to musher0 for the slocate wrapper and the three scripts i've renamed here)
ww - winswitcher
sv -- make a folder a server. open a terminal and sv in the pax launcher (nwp launcher, etc) will print out "python -m SimpleHTTPServerWithUpload"--open a browser in the client computer and input the ipnet address (run ifconfig in a terminal) with :8000 appended to it (i.e. http://192.168.1.66:8000). this will allow you to upload and download files to the directory you ran the sv command (i.e. shift+spacebar (which pops up the modified pexec launcher showing /nwp/ in the entry box) then sv then enter) in.
by rcrsn51. thread here: http://www.murga-linux.com/puppy/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 those function keys
(one of my machines is without) Crying or Very sad(though 1600 virtual key keypad(s) make up for it--not every program will accept all it has to offer, but you can try F36 plus up to four modifiers (k launcher, acswf36 (alt, control, shift, windows key--that's the pattern. from one to four modifiers in alphabetical order for alphanumeric characters and function keys to F36--rename the call codes whatever you like. single digit codes all unused though i've been finding sometimes too cryptic's not much of a help (but the k2 launcher gives you 600 by number--iirc, just the function and numbers starting with the former with four modifiers? (i prefer the other version, but the easiest way to set keycuts for programs may be through a menu you generate for the purpose))))).
elp - help opened up in leafpad (mostly paste and paste cheats until you modify them)
tem - ae templates menu
*********************
AEMENU KEYCUTS:
what it is -- what to enter into the p,wn launcher:
nwp and submenus -- n
word processor without supplemental menus -- n1
paste and place formatting codes only -- n2
highlight and select formatting codes only -- n3
supplemental -- s
single monitors -- 1
double monitors -- 2
aef -- aemenu containing (nearly?) all the aemenus
pw,n launchers for nwp -- pwns
grids (x and y by 100 pixel increments) -- g
extra windows manipulation menu -- o
points on axis y -- y
points on axis x -- x
width by fives -- w
height by fives -- h
templates and dual launchers -- tem
aemenu dual launchers -- dual
aemenu window size and placement -- w1
(new one, "elp," pops up a leafpad document with what's between the asterisk trains. modify to taste)
*********************


new additions:

gg and the key launchers [documentation pending]

http://www.murga-linux.com/puppy/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)
_____

new for 1.9.2:



backup Geany configs -- backg
store Geany configs -- storeg
port Geany configs -- portg
restore original/previous Geanyconfigs -- 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…


_____


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.
vtg help files/base launchers have been backed up to the notecase document in the installation folder--you could use 1-4 as a scrap popup (or add/change vtg5).

more details on the updates from 1.4 to 1.9.1: http://www.murga-linux.com/puppy/viewto ... 726#903726

easiest way to make custom menus for geany is to fill them out first (ae or jwm), then go to help > keyboard shortcuts > edit and then just click your menu entries to set the keys in place. once you've got a configuration you like, you can swap that into other puppies and take the customizations with you.

Post Reply