Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Oct 2018, 13:22
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Geany as Launcher, Bookmarks Manager, and Word Processor
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 5 [62 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Sat 31 Oct 2015, 02:31    Post subject: in Quirky 7.2 64, the script to launch the VTG needs the
Subject description: the following adjustments to work as expected
 

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:
#!/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.


Quote:

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).
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Sat 31 Oct 2015, 23:46    Post subject:  

http://www.murga-linux.com/puppy/viewtopic.php?p=870403#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)
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Mon 09 Nov 2015, 13:38    Post subject: Managing Playlists On External Drives With Find And Replace
Subject description: overcoming puppy's habit of renaming external drives with a few clicks and a builtin function
 

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.)
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Mon 21 Dec 2015, 00:53    Post subject: launcher and the pack that contains it has been upgraded
Subject description: a few times since last posted in this thread; here's the 1157kb package (grew because of c.machue)
 

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.

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


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Mon 04 Jan 2016, 03:45    Post subject: if you're using the launcher for the vgt and word processing
Subject description: functions, the following may be of interest: heaps of keycuts using rox pinboards and panels
 

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).
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Mon 01 Feb 2016, 20:07    Post subject: update of the NWP
Subject description: smaller but more features--66k9 may make the basis of a new vtg launcher
 

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:
#!/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.


Quote:

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




screenshots and info gifs for 669:





more info:

http://www.murga-linux.com/puppy/viewtopic.php?p=885043#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.

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


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Sun 20 Mar 2016, 01:36    Post subject: 1060 key version's better more easily configurable than the
Subject description: 669 key version.
 

Quote:
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:
#!/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:

[...]

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

[...]
#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).
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Mon 21 Mar 2016, 04:46    Post subject:  

Quote:

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:

#!/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:
#!/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:


#!/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/0ByUDhE3nQF8uX2hPUkw3bkZmZjQ/view?usp=sharing
ptxt2xpm (yellow-green on purple):
https://drive.google.com/file/d/0ByUDhE3nQF8uZUN0VFU2SUN3Mk0/view?usp=sharing
wtxt2xpm (white on transparent):
https://drive.google.com/file/d/0ByUDhE3nQF8uMzBoNDlPZXZEbzQ/view?usp=sharing
blktxt2xpm (black on transparent):
https://drive.google.com/file/d/0ByUDhE3nQF8uX2I0MVhEX0VZTTg/view?usp=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.) Sad Razz

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/viewtopic.php?p=895477#895477

here's the full update: nwp-1.2.2-upgrade_pack.tar.xz see the bottom of this post for additional info.
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Mon 25 Apr 2016, 20:19    Post subject: function key bug fix and an icon pack  

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:
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/viewtopic.php?p=898182#898182
http://www.murga-linux.com/puppy/viewtopic.php?p=898358#898358
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Mon 06 Jun 2016, 02:47    Post subject: new nwp gives you the vtg at a click and some customizable
Subject description: geany menus (jwm, aemenu or both--use copies of the geany version for other programs' custom menus.
 

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:





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:

Quote:

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

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


new additions:

gg and the key launchers [documentation pending]

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


_______

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


***

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


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

from the notes file in the recs section:

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

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

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

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

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

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



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

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

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

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


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

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


menu "tray toggles

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


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

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


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

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



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

[my30-49, my30r-my49r were here]

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

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

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



_____________

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

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

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

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/viewtopic.php?p=903726#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.
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Thu 30 Jun 2016, 08:31    Post subject: accidentally left out most of the geany stuff in nwp 192
Subject description: here's a more updated update
 

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

Quote:

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




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




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

x7:


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


u6:

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


p5:

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

common but unlisted:

treesize, megasync, dropbox,

_________

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


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


p.dogfellow, 6/30/16


______

more dopiness:





_____________

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


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



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

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

approximatic for most 32 bit pups:

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

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

nwp64 pet
nwp 64 sfs
nwp32 pet
nwp32 sfs


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

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

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


from http://www.murga-linux.com/puppy/viewtopic.php?p=910183#910183, which also has onsite documentation for the included keyboard shortcuts.
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Mon 01 Aug 2016, 02:01    Post subject: minor update for nwp.64 plus the 64bit versions of the geany
Subject description: plugins (required by the ae and jwm custom menu tweaks).
 

update for the 64bit version of the nwp.pet posted earlier plus the necessary dependencies for the geanytweak script (in /nwp/c):

from here and here:

Quote:

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

Post subject: towards a 64bit version of the spins
Subject description: progress so far (and why i always try to include recoll) since few start with linux, it makes sense to me to allow users to easily search through their non linux created files--unfortunately nothing seems to be in the class of recoll, which isn't always convenient to install (these spins and the approximatic include a fairly old version of it (1.13), which works well enough that i'd be happy to be able to get it consistently working in 64bit, even if i needed to use a compatibility sfs to do so). had a go at getting the era-correct 1.17 to work in tahr64, but only succeeded one in three times. trick may have been to start with the bug fix, then first ppm-install recoll and its dependencies. other orders failed, but i'm not sure if that was necessarily due to sequencing.

anyway, the updated nwp.64 pet below works better than the one i posted earlier, at least in tahr64, but if you already installed the earlier one and want to try out what makes them different, apart from compression used by the somewhat disimilar utilities i used to make them, just install the following xdotoolpet:

xdotool_3.20130111.1-3.1.pet

here's the newer 64bit nwp:
nwp-64.pet

and here are the geany plugins you'll need for the geanytweak script to work (and consequently the custom menus in set1 and/or the installation defaults) in 64bit:

geanytahr64.tar.xz

if you've installed the newer 64bit nwp and want to give the older one a go, just try out this xdotool package (which to work well in slacko64, iirc):

xdotool-2.2-x86_64.pet

speaking of slacko64 and what i said earlier about the jwm management--doesn't appear to be related to jwm desk or sticky jwm or any of that, but until i test the newest version, if you install the pet, manually play with jwm at your own risk (and be aware you may be playing around with the configuration quick switches at an even greater potential risk under that distro).

apart from the difficulties with recoll and the somewhat expected by now loss of some nwp funtions under 64, the tahr64 proto spin/insta-spin seems to have worked well. next reboot i'll test it under xenial64 and see if anything needs to be adjusted.

here's some of the rest (really all as of now but i expect it to grow/change) of the 64 bit spin/upgrade path:
[...]


files extracted from the post:
xdotool_3.20130111.1-3.1.pet
here's the newer 64bit nwp:
nwp-64.pet
geanytahr64.tar.xz
xdotool-2.2-x86_64.pet
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Sat 27 Aug 2016, 04:07    Post subject: nwp update improves config swapping and porting, navigation,
Subject description: word processing, and documentation. uninstalls in parts, but autoinstalls geany and rox tweaks
 

from
update simplifies installation, customization, portability
Subject description: (your original configs become my39 in the launcher--full nwp and functions by default.



Puppus Dogfellow wrote:
(but you can now uninstall aspects of it individually through the piecemeal submenu on mae (launcher code or in your applications folder) or the scripts in /nwp/c)
from minor nwp update (two lines on the pinstall script that lead
into this how-to on the jwm configuration quickswitches
:
Quote:

nwp-6t4.1.pet
nwp32.3.2.pet
nwp64.3.2.pet

only changes since the last batch are an update of the elp help file and the following two lines added to the pinstall scripts (that activate after the pet installation moves in the files you're adding to your system):
Code:

cp -f /root/.jwm/jwmrc-personal /nwp/root3/root39menu/jwmrc-personal
cp -f /etc/xdg/templates/_root_.jwmrc /nwp/root3/root39menu/_root_.jwmrc


these lines make your current jwm configuration (current as of the time of this nwp.pet install) your my39 quickswitch (i.e. "my39" in the launcher activates that particular set of configuration files); my39r reverses it, but only to the previous configuration. this is to say, installing, playing around with the configuration switches, and then getting back to your preinstall config while leaving the rest of the functions in tact may lead to some unfortunate backtracking--making the originals a quickswitch avoids any headaches and brings up a point about customizing your own (or sets of your own) wm features--anything you do to the contents of the root#menus folders in /nwp/root3 and their associated files will stick as a quickswitch and the feature mod (the tray, key, and menu config files for the nine extra menus (x3), the 6 keycentric configs, the thirty or so trays are all there) will be a part of the swapped in customizations, but you must mod the files in nwp/root3/, not the ones in their system-active places in root/.jwm and /etc/xdg/templates to make them portable (though you could always run the above two lines adjusted to the destination folder of your choice (or drag and drop manually--rl in the launcher then c gets you there...there's a keycut...my guess is alt plus j...(woo hoo)(rung is h for keys launcher, j for rox launcher, k for geany, l for leafpad)...---make changes, restart jwm to see if you like them, copy them to those folders in nwp/root3 if you want to make them swappable. the new menus on scroll up and down and mae (ae menu launched by that code in main launcher) have the quickswitches plus links to edit or activate the keys, trays, menus, etc. you can edit the files to include menus from elsewhere, but all the presets are fed from that folder. make a file of the above repeated for menus30-49 and you could vtg in your current settings at any time with a click of the cauliflower (etc).


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

[...]

for the 64 bit geanytweaks to work and match up with the jwm and aemenu menus, install the following plugins:
gny125-vtg64jaewm.tar.xz
gny127-vtg64jaewm.tar.xz

unlike prior updates, this version of the nwp (either 32 or 64 bit) will autoinstall the geany tweaks, rox tweaks, and keycentric configs (my1). pinstall script for 32 bit sets the syntax back to the old style for the unicorn and precise spins. will release pae mature (5p), pae new (7x), non pae (6u, the next version of the unicorn spin), and 64 bit--6t4, which will be based on tahr64. i've been using xenial 64 and 32 on somewhat equivalent machines, and now that i know rox being overloaded is what crashes 701 (and avoid it), i have to say i'm happy with the performance of both. my earlier complaints about 32bit when using over 4gig of ram doesn't seem to hold with this newest pup--going to make a xenial spin based on the earlier x7 package since it's got the light recoll. the 64 bit spin won't include it by default, but it will have most of the features of the 32 bit spins. ETP's get chrome64 package has been modded (as anubis,get(64bit)chrome.pet)in an attempt to add some semblance of unifying theme to pux and 6t4 (or 6d4, since the debian-using xenial707-64 also works well with the nwp); i think it's there. the Word Processor and Ultimatesque Utilities Pack (and the vtg) are the anubis folder...everything's a file, a folder... Laughing Rolling Eyes Wink (...)

here's the contents of the geany64 plugin.xz's--127 is for xenial64, 125 is for tahr64 (and it should work in slacko64 as well, but you may need to add the jwm stuff manually--aemenus will work regardless):


geany-plugin-treebrowser_1.27+dfsg-2.pet
geany-plugin-extrasel_1.27+dfsg-2.pet
geany-plugin-spellcheck_1.27+dfsg-2.pet
geany-plugin-multiterm_1.27+dfsg-2.pet


geany-plugin-extrasel_1.25+dfsg-1_amd64.deb
geany-plugin-macro_1.25+dfsg-1_amd64.deb
geany-plugin-multiterm_1.25+dfsg-1_amd64.deb
geany-plugin-numberedbookmarks_1.25+dfsg-1_amd64.deb
geany-plugin-overview_1.25+dfsg-1_amd64.deb
geany-plugin-spellcheck_1.25+dfsg-1_amd64.deb
(tree browser (included in tahr64) and extrasel are the only ones the menus require, though the spell-check dictionary in nwp/wp is there because of the above plugins and their 32 bit counterparts).


jaewm! documentation and keycuts cheat sheet have been updated both in the package and in the repo's support folder.
[...]


line's boldface because i'm about to post the updated launcher code list, and now that the keycentric configs are activated upon installation by default, that list too. also, since i've got a few keyboards that aren't quite as linux compatible as i'd like (microsoft ergo 400 or something, a logitech wireless that's got no middle button, another that's got at least a dozen currently useless multimedia and/or otherwise gummy buttons), i may post an additional keys insert file with the xev mapping for one or two of them. both time-saving lists are already on the ridiculous side of lengthy or approaching it. ...thing that looks like a light switch doesn't register at all...

Re: some new shortcuts
and the previous post summarized.


Puppus Dogfellow wrote:
serf700 -- spit out serif 700 template
sans700 -- spit out sans 700 template
mono700 -- spit out mono 700 template

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


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

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


Puppus Dogfellow wrote:
nwp-mc2.pet

fixed up some stuff in /root/.../rox..Templates, making the nwp work better as a right click utility in rox. tidying up that folder led me to condense the word processing templates to three, which are all new--they just add a help comment about the use of comments and add the viewport set to 700--Barry Kauler reported that worked well on his phone, and it's what the word processor FocusWriter also uses, and it seems to comfortably give documents a pdf layout that doesn't cut them at the margins, so it's the default, and it's now more easily accessible--the n, n1, n2, and n3 word processing menus (the latter two no longer labled as one another on the jwm and aemenus) all have the dual launchers (for simultaneous text editor plus browser viewing/work) and templates menus, and now so does rox's right click > new menu, and now they all have the 700px viewport by default option (it's a buried option in the templates > new folder--the wp folder now contains a folder of the panel frames, a set of the dual launchers, a set of templates, and a set of aemenu word processing and utilities menus--other than the pet making utilities (a new one added--it has a folder with a puppy skeleton and a drag and drop directory to pet converter), it's pretty much anything in the templates menu that could be construed as helping with word processing). the mcc make concurrent copies function has also undergone a similar cleanup--your customizations, if any, will be in the original folder as mcc-prev. i added a few more unextensioned options, plus a few for .bak and .~; the icons have been left out of the new version in the templates folder--the mc folder in /nwp still has them. all the aemenu functions are now on the baek menu (also a right click new option) as pop-off menus.

your old templates folder gets backed up as Templates-prev in its original location.
here's the new rox right click > new menu:




Puppus Dogfellow wrote:


http://i102.photobucket.com/albums/m90/augienism/nwpmenutemplatesroxjwmae_zpsa01egwnb.gif


the pets don't install the right click options by default, but /nwp/c has some scripts that will swap out (and back up) your menu2 and .gtkrc (etc) files for those necessary to make the letter shortcuts (right side of screenshot) alterable--this has shown limited success for me on existing installations, always seems to work for remastered isos, sometimes works with merely killall and restarting rox, sometimes works after an x restart---it's not included by default for a reason or two, i guess. the templates for the folder of blank word processing templates, the base mono, serif, and sans set ones, those for config2pet and the menu-here items will be available via right click whether or not the keycuts take or even if no effort is made to install them--they're simply additions made to one of rox's templates folder (seems some pups have two (more?) distinct folders for this, others rely on symlinks...anyway, this tweak doesn't work as consistently as the ae or jwm implementations).

if you want the geany customization menus to function properly, you'll need the plugins installed and the geanytweak script clicked or activated (c/geanytweak in the launcher will activate it, c in the rox launcher (rl main launcher or use the new bookmarks menus) will take you to the folder so you can poke around (mostly install scripts and the location of configurations and customizations you store for future ports/installations through the port/store/configure submenus (mae in the launcher brings one up, but there are few floating around as various jwm submenus))--it swaps in the keyboard, gui, and plugin settings they're expecting.

from
Re: composite screeny, which may be deleted due to hugeness...
shows word processing items as rox right click options, jwm and ae bookmarks menus...
nwp-rox-rtclk-new.jpg
 Description   updated rox right click > new menu
 Filesize   40.88 KB
 Viewed   324 Time(s)

nwp-rox-rtclk-new.jpg

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


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Thu 01 Sep 2016, 01:50    Post subject: menu and feature update: adapting keyboards and a menu fix
Subject description: word processing improvements and keyboard remapping
 

from:
Post subject: small update plus how to nwp your auxiliary and media keys
Subject description: partially remapping, for example, a windows natural ergonomic 4000 keyboard




Puppus Dogfellow wrote:
so that you can better process words or do whatever you'd like to do. template below is very heavily modded for nwp functions, though it's got some program specific items (geany's vtg and custom menus) and some mods that should function globally (keyboard as is doesn't really allow you do undo, redo, save, etc, but the jwm file below animates those otherwise dead keys. i left the function lock alone and would have by choice (didn't mess with print screen simply because i like it as screen shot and you could add to it ala key 230 (which you'll soon see)), but i couldn't get xev to identify the light switch or the spell key. messed around with some logitech stuff and it seems to map similar. will test out adesso as well and see how much of the media assignments are universal--on the pups i've used, the volume toggles invariably work, but the browser home buttons are more often than not dead, i find (they work/generally are an unwelcomed shock in xenial64, though).

tems main template menu has been updated and given a prominet key, as have maybe too many nwp codes in general. use the cheat sheet if the function is not immediately clear. use the includes files below (or variations of it) for your own keys, but double check that things are the same with xev even if your keyboard has an envelope button, a house button, etc (identical models should behave the same and not require this step).

from
stock jwm config file has two keyboard shortcuts for default
browser; here's half a dozen for the vtg with potentially hundreds to spare


Code:
<JWM>
<!--replace the mixer lines (or comment them out) and add
this file saved as /nwp/root3/msnatkb with
<Include>/nwp/root3/msnatkb<Include> in their place
 -->
<Key mask="ACS4" keycode="160">exec:amixer sset Master toggle</Key>
<Key mask="ACS4" keycode="176">exec:amixer sset Master 1+,1+</Key>
<Key mask="ACS4" keycode="174">exec:amixer sset Master 1-,1-</Key>
<Key mask="ACS4" keycode="178">exec:defaultbrowser</Key>
<Key mask="ACS4" keycode="176">exec:defaultbrowser</Key>
<!--
<Key keycode="160">exec:amixer sset Master toggle</Key>
<Key keycode="176">exec:amixer sset Master 1+,1+</Key>
<Key keycode="174">exec:amixer sset Master 1-,1-</Key>
<Key keycode="178">exec:/nwp/duals</Key>
<Key keycode="236">exec:defaultbrowser</Key>
 -->
<Key keycode="111">exec:defaultscreenshot</Key>



<Key keycode="178">exec:window</Key>
<Key keycode="229">exec:recoll</Key>
<Key keycode="236">exec:tem</Key>

<Key keycode="183">exec:/nwp/n1</Key>
<Key keycode="184">exec:/nwp/n3</Key>
<Key keycode="93">exec:/nwp/n2</Key>
<Key keycode="131">exec:/nwp/n</Key>
<Key keycode="247">exec:/nwp/baek</Key>

<Key keycode="160">exec:1</Key>
<Key keycode="174">exec:2</Key>
<Key keycode="176">exec:0</Key>
<!--^(single, double, and supplemental windows menus) -->

<Key keycode="162">exec:/nwp/aef</Key>
<Key keycode="161">exec:galculator</Key>
<!--<Key mask="A" keycode="162">exec:/nwp/</Key>
<Key mask="A" keycode="161">window</Key>
^silver rung starting with 1--mag glass is now window button-->

<Key keycode="230">exec:/nwp/v</Key>

<Key mask="A" keycode="230">exec:/nwp/p</Key>
<Key mask="C" keycode="230">exec:/nwp/ch</Key>
<Key mask="S" keycode="230">exec:/nwp/gl</Key>
<Key mask="4" keycode="230">exec:/nwp/k</Key>
<Key mask="AC" keycode="230">exec:/nwp/ll</Key>
<Key mask="AS" keycode="230">exec:/nwp/rl</Key>
<Key mask="A4" keycode="230">exec:/nwp/pwns</Key>
<Key mask="CS" keycode="230">exec:/nwp/keys/2k</Key>
<Key mask="C4" keycode="230">exec:/nwp/keys/kch</Key>
<Key mask="S4" keycode="230">exec:/nwp/keys/kg</Key>
<Key mask="ACS" keycode="230">exec:/nwp/keys/kir</Key>
<Key mask="AC4" keycode="230">exec:/nwp/keys/kl</Key>
<Key mask="CS4" keycode="230">exec:/nwp/keys/kgi</Key>
<Key mask="ACS4" keycode="230">exec:/nwp/vtg5</Key>

<Key keycode="234">prev</Key>
<Key keycode="233">next</Key>

<Key mask="A" keycode="234">prev</Key>
<Key mask="A" keycode="233">next</Key>
<Key mask="C" keycode="234">prevstacked</Key>
<Key mask="C" keycode="233">nextstacked</Key>
<Key mask="S" keycode="234">sendl</Key>
<Key mask="S" keycode="233">sendr</Key>
<Key mask="4" keycode="234">ldesktop</Key>
<Key mask="4" keycode="233">rdesktop</Key>
<!--function rung:-->


<Key keycode="245">exec:/nwp/p</Key>
<Key keycode="135">exec:/nwp/keys/k/cz</Key>
<Key keycode="138">exec:/nwp/keys/k/cy</Key>
<Key keycode="137">exec:/nwp/keys/k/cn</Key>
<Key keycode="191">exec:/nwp/keys/k/co</Key>
<Key keycode="175">exec:/nwp/keys/k/cw</Key>
<Key keycode="228">exec:/nwp/keys/k/acswf16</Key>
<Key keycode="142">exec:/nwp/keys/k/acswf18</Key>
<Key keycode="218">exec:/nwp/keys/k/acswf17</Key>
<!--^set anchor, rectangular select to anchor, select to anchor-->
<Key keycode="213">exec:/nwp/keys/k/cs</Key>
<Key keycode="185">exec:/nwp/keys/k/cp</Key>
<Key keycode="78">exec:/nwp/lpx</Key>
<Key keycode="110">exec:/nwp/v</Key>


<Key keycode="157">exec:/nwp/keys/k/acswf15</Key>
<Key keycode="246">exec:/nwp/keys/k/acswf13</Key>
<Key keycode="251">exec:/nwp/keys/k/acswf14</Key>

<!--^move last, last used, move first-->


<Key mask="A" keycode="245">exec:/nwp/k</Key>
<Key mask="A" keycode="135">exec:/nwp/chab</Key>
<Key mask="A" keycode="138">exec:/nwp/chad</Key>
<Key mask="A" keycode="137">exec:/nwp/gab</Key>
<Key mask="A" keycode="191">exec:/nwp/gad</Key>
<Key mask="A" keycode="175">exec:/nwp/lab</Key>
<Key mask="A" keycode="228">exec:/nwp/lad</Key>
<Key mask="A" keycode="142">exec:/nwp/rab</Key>
<Key mask="A" keycode="218">exec:/nwp/rad</Key>
<Key mask="A" keycode="213">exec:/nwp/tem</Key>
<Key mask="A" keycode="185">exec:tas</Key>
<Key mask="A" keycode="78">exec:geany -i</Key>
<Key mask="A" keycode="110">exec:vtg5</Key>

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

<!--^set anchor, rectangular select to anchor, select to anchor-->
<!--
<Key mask="C" keycode="245">exec:</Key>
<Key mask="C" keycode="135">exec:</Key>
<Key mask="C" keycode="138">exec:</Key>
<Key mask="C" keycode="137">exec:</Key>
<Key mask="C" keycode="191">exec:</Key>
<Key mask="C" keycode="175">exec:</Key>
<Key mask="C" keycode="228">exec:</Key>
<Key mask="C" keycode="142">exec:</Key>
<Key mask="C" keycode="218">exec:</Key>
<Key mask="C" keycode="213">exec:</Key>
<Key mask="C" keycode="185">exec:</Key>
<Key mask="C" keycode="78">exec:</Key>
<Key mask="C" keycode="110">exec:</Key>
<Key mask="C" keycode="157">exec:</Key>
<Key mask="C" keycode="246">exec:</Key>
<Key mask="C" keycode="251">exec:</Key>
-->
<!--
<Key mask="4" keycode="245">exec:</Key>
<Key mask="4" keycode="135">exec:</Key>
<Key mask="4" keycode="138">exec:</Key>
<Key mask="4" keycode="137">exec:</Key>
<Key mask="4" keycode="191">exec:</Key>
<Key mask="4" keycode="175">exec:</Key>
<Key mask="4" keycode="228">exec:</Key>
<Key mask="4" keycode="142">exec:</Key>
<Key mask="4" keycode="218">exec:</Key>
<Key mask="4" keycode="213">exec:</Key>
<Key mask="4" keycode="185">exec:</Key>
<Key mask="4" keycode="78">exec:</Key>
<Key mask="4" keycode="110">exec:</Key>
<Key mask="4" keycode="157">exec:</Key>
<Key mask="4" keycode="246">exec:</Key>
<Key mask="4" keycode="251">exec:</Key>
-->

</JWM>



wasn't able to post either the comment wondering how to post beneath one's attachment or anything below the attachment, but above is a very nwp/pwn anubis heavy jwm keyboard insert file that will get back and multiply the functionality of some aftermarket keyboards (this is set to the ms ergo keyboard above--i'll eventually do remaps for some logitech products i have--an ergo wireless keyboard, a new version that's slim and has a trackpad but had no middle click function, --i figure one set to highlight the word processor/utilities pack and another to just maximize customizability and functionality--just rows of blank templates like i did with the function keys (the physical ones, not those in /nwp/keys/k).

as the comment says,

Quote:
<!--replace the mixer lines (or comment them out) and add
this file saved as /nwp/root3/msnatkb with
<Include>/nwp/root3/msnatkb<Include> in their place
-->


this will get rid of your dublicate browser shortcuts, match up some (i didn't look into send or forward because i don't do that much--those have been remapped to set anchor, rectangular select to anchor, select to anchor) of the labels with reality, and make the nwp pretty easy to use. launcher code cheat sheet should explain program codes that otherwise seem cryptic.(many keys now launch aemenus).

keycuts for keycode 230 (the star button top middle) show how you can expand down on a key just about as easily or conveniently as across--just depends on what you can manage to arrange in a way that will make sense to you.


_________
from
Post subject: reprogramming aftermarket keyboards 1: ms natural ergo 4000
Subject description: noopin' out a great natural/getting use out of some buttons



from http://i102.photobucket.com/albums/m90/augienism/remapping%20ms%20nat%20kb_zpsmtwb0s0t.jpg, an image too big to considerately post, so the text bit:

keys marked with an asterisk (home, envelope, mute toggle, volume up, volume down) are premapped by the keyboard, the machine, or possibly your windows manager. in most cases, pressing a modifier key will reveal what key code is being used--most dedicated function keys seem to be modifiers plus regular keyboard keys. you can either start your modifications with those keys modified or you can remap the originals if possible--xev can't see them when they're pressed on their own, but most reveal the base key when a modifier is added. keys that don't work in this model are the light switch looking thing, the key marked "spell," and the key that toggles the function keys. home, mute, volume up and down are part of jwm's built ins (i intend to demote the original
functions to 4 modifiers. being labeled, they'll be easy to identify, and four is an easy enough number to remember.
Code:
<Key keycode="251">exec:/nwp/keys/k/acswf14</Key>

for modified keys:
<Key mask="A" keycode="245">exec:/nwp/k</Key>

upcoming sample remap leaves a number of the global (but not in linux though many of the call codes are the same) labels active by calling their equivalent in nwp/keys/k, which is the location of the virtual keypad--cn (for control+n for the new key, co for open and the most of the rest of that row in manner called by that nwp subfolder and/or the k launcher) and similar is also a way to transfer your own oft-used keycuts to keyboard buttons. acsw=alt+control+shift+windows key. ACS4 is the jwm version of the same--seems most programs allow up to at least four modifiers...

the illustration bit:
_______

from
forgot to update the tem (templates menu) last time around
save as /nwp/tempa2

Quote:


Quote:
menu "Individual Duals and The Dual Launchers Folder"
cmd "duals folder for drag and drop/batch launching" "/nwp/duals"
cmd "geany, chrome" "/nwp/ggc"
cmd "geany new instance, chrome" "/nwp/gigc"
cmd "geany new instance, opera" "/nwp/gio"
cmd "leafpad, chromium" "/nwp/lgc"
cmd "geany new instance, firefox" "/nwp/gif"
cmd "default text editor, default browser" "/nwp/def"
cmd "geany, firefox" "/nwp/gf"
cmd "default text editor, firefox" "/nwp/tef"
cmd "leafpad, firefox" "/nwp/lff"
cmd "geany, default browser" "/nwp/gb"
cmd "geany new instance, default browser" "/nwp/gib"
cmd "leafpad, default browser" "/nwp/leb"
cmd "leafpad, seamonkey" "/nwp/leafy"
cmd "leafpad, dillo" "/nwp/dlll"
cmd "geany, dillo" "/nwp/ged"
cmd "geany, seamonkey" "nwp/ges"
cmd "leafpad, opera" "/nwp/lop"
cmd "geany, palemoon" "/nwp/gep"
cmd "geany, chromium" "/nwp/gc"
cmd "geany new instance, palemoon" "/nwp/gip"
cmd "geany new instance, chromium" "/nwp/gic"
cmd "leafpad, palemoon" "/nwp/lep"
cmd "geany new instance, dillo" "/nwp/gid"
cmd "leafpad, chromium" "/nwp/lec"
cmd "geany new instance, seamonkey" "/nwp/gis"
cmd "geany new instance, slimjet" "/nwp/gij"
cmd "geany, slimjet" "/nwp/gj"
cmd "geany, netsurf" "/nwp/gn"
cmd "geany new instance, netsurf" "/nwp/gin"
cmd "leafpad, netsurf" "/nwp/lns"
cmd "leafpad, slimjet" "/nwp/lj"
end
cmd "Templates, Two Versions:" "templates: two versions"
cmd "1. Rebuild/Spit Template Code/Convert to NWP (html):" "rebuild/spit template code"
cmd " sans serif template" "/nwp/san1"
cmd " serif template" "/nwp/serf1"
cmd " mono template" "/nwp/mono1"
cmd "spit out serif 700 template" "/nwp/serf700"
cmd "spit out sans 700 template" "/nwp/sans700"
cmd "spit out mono 700 template" "/nwp/mono700"
cmd "2. Rename And Use:" "rename and use:"
cmd " mono  opened in geany" "/nwp/mono"
cmd " mono opened in leafpad" "/nwp/monol"
cmd " sans opened in geany" "/nwp/sans"
cmd " sans opened in leafpad" "/nwp/sansl"
cmd " serif opened in geany" "/nwp/serf"
cmd " serif opened in leafpad" "/nwp/serfl"
cmd "serif opened in leafpad, 700px viewport" "/nwp/serl7"
cmd "serif opened in geany, 700px viewport" "/nwp/serg7"
cmd "sans opened in leafpad, 700px viewport" "/nwp/sanl7"
cmd "sans opened in geany, 700px viewport" "/nwp/sang7"
cmd "mono opened in leafpad, 700px" "/nwp/monol7"
cmd "mono opened in geany, 700px viewport" "/nwp/monog7"



has the updated templates and doesn't need any permissions set. just save as /nwp/tempa2, overwriting your original.


here's a pic of the mapping on the nat ergo 4000:
kbmsn.JPG
 Description   
 Filesize   48.76 KB
 Viewed   302 Time(s)

kbmsn.JPG

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


Joined: 07 Jan 2013
Posts: 1564
Location: nyc

PostPosted: Mon 19 Sep 2016, 20:22    Post subject: nwp32/64.4
Subject description: update, howto, overview and review (all a bit lacking)
 

nwp64.4.pet

nwp32.4.pet


from another nwp update (nwp32/64.4)
Subject description: fix for edpin script (don't use it without the fix)


Puppus Dogfellow wrote:
from nwp32/64.4 --set run actions and icons for your files, some
more about the launchers and file generation, a bug fix that's a how-to for the newest one.
:
Quote:


nwp64.4.pet

nwp32.4.pet

Quote:

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

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

from

Post subject: ~572.64.1/6t4.1: a 64 bit version based on tahrpup64_6.0.5
Subject description: 2 versions are essentially the same--something's up with something's compression settings somewhere
, which has no subtitle but is part of Rattlehead's set run action quickly thread):


Puppus Dogfellow wrote:
Code:
#!/bin/sh
#nwp64.4
echo application/x-def:*.mon >> /usr/share/mime/globs
echo 50:application/x-def:*.mon >> /usr/share/mime/globs2
echo application/x-def text/xml >> /usr/share/mime/subclasses
echo application/x-def >> /usr/share/mime/types
echo application/x-def:*.san >> /usr/share/mime/globs
echo 50:application/x-def:*.san >> /usr/share/mime/globs2
echo application/x-def:*.ser >> /usr/share/mime/globs
echo 50:application/x-def:*.ser >> /usr/share/mime/globs2
echo application/x-def:*.pwn >> /usr/share/mime/globs
echo 50:application/x-def:*.pwn >> /usr/share/mime/globs2
echo application/x-def:*.nwp >> /usr/share/mime/globs
echo 50:application/x-def:*.nwp >> /usr/share/mime/globs2
echo application/x-def:*.mono >> /usr/share/mime/globs
echo 50:application/x-def:*.mono >> /usr/share/mime/globs2
echo application/x-def:*.def >> /usr/share/mime/globs
echo 50:application/x-def:*.def >> /usr/share/mime/globs2
echo application/x-def2:*.def2 >> /usr/share/mime/globs
echo 50:application/x-def2:*.def2 >> /usr/share/mime/globs2
echo application/x-def2 text/xml >> /usr/share/mime/subclasses
echo application/x-def2 >> /usr/share/mime/types
echo application/x-def3:*.def3 >> /usr/share/mime/globs
echo 50:application/x-def3:*.def3 >> /usr/share/mime/globs2
echo application/x-def3 text/xml >> /usr/share/mime/subclasses
echo application/x-def3 >> /usr/share/mime/types
echo application/x-pwp:*.mons >> /usr/share/mime/globs
echo 50:application/x-pwp:*.mons >> /usr/share/mime/globs2
echo application/x-pwp text/xml >> /usr/share/mime/subclasses
echo application/x-pwp >> /usr/share/mime/types
echo application/x-pwp:*.sans >> /usr/share/mime/globs
echo 50:application/x-pwp:*.sans >> /usr/share/mime/globs2
echo application/x-pwp:*.sers >> /usr/share/mime/globs
echo 50:application/x-pwp:*.sers >> /usr/share/mime/globs2
#(copy in def pwp desktop files); fixmenus jwm -restart
#set run action:
mkdir -p /root/.config/rox.sourceforge.net/MIME-types
ln -s /usr/share/applications/pwp /root/.config/rox.sourceforge.net/MIME-types/application_x-pwp
ln -s /usr/share/applications/def /root/.config/rox.sourceforge.net/MIME-types/application_x-def
#set icon:
cp -f //usr/share/applications/icons-alt/inpare9.xpm /root/.config/rox.sourceforge.net/MIME-icons/application_x-def.png
cp -f /usr/share/applications/icons-alt/p2e0.xpm  /root/.config/rox.sourceforge.net/MIME-icons/application_x-pwp.png
[...]

Quote:
Posted: Tue 06 Sep 2016, 20:23 Post subject: alternate version of above
Subject description: untested but i think it will work. am i overlooking something?


had the names on the icons wrong for one thing (left out a -x), but that method of setting them works so inconsistently (or i confused something by repeatedly swapping back and forth so many times) i ended up putting an alt-icons folder in usr//share/applications just so i could easily right-click assign them--it's a useless part of the script. Laughing

maybe messing with that /root/.config/rox.sourceforge.net/ROX-Filer/globicons file is a better way?(
Quote:
Rattlehead
Posted: Wed 07 Sep 2016, 17:44 Post subject:
Speaking of icons...
[...]...
)

anyway, i used it in a pinstall script for a pet that was making most of a remaster and the copies all have the four extensions register as unique entities that can get their own programs and icon assignments (which is cool/i'm over the disappointment and inconvenience). Very Happy


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


nwp64.4.pet

nwp32.4.pet

from
fixing a bug with the auxiliary launchers or keycuts
pruning or setting drive arrays
:
Quote:

Quote:

that emboldened bit of gibberish was meant to say "as an alternative to a geany-vtg type start center." (any of the dual launcher codes prefacing a list of files will open them up in both a browser and editor. other than dragging and dropping files or groups of files onto the scripts or their .desktop representations, this seemed like the easiest way to process words (so to speak, so to speak) with the anuupuus (Word Processor (U..)Utilities Suite). now you get another way and some (i think) relatively nifty icons.

will have a bug fix pet to get rid of the ghost drives on the alternate pinboards and fix up the edit store port scripts (for now, don't use--just had the edpin wig out geany...---had to actually reboot to get out of the loop actually. lost a post and everything.)



there's no reason to issue a pet fix for the edpin problem--just use the auxiliary launchers or built-in keycuts to fix it. method one: main launcher (shift+spacebar), gl (opens the file in geany; use ll if you want to open the file in leafpad), enter, edpin, enter.

this opens up "edpin" for editing (if the file didn't exist, it would make a blank file with that name for you to save in the location of choice--gl and ll are word processing functions at least as much as configuration and maintenance tools) and presents

Code:

#!/bin/sh
geany /root/Choices/ROX-Filer/Pup*
/nwp/edpin
 


to fix it, add a pound sign to or delete the last line, making it
Code:

#!/bin/sh
geany /root/Choices/ROX-Filer/Pup*
#/nwp/edpin #--this was supposed to have been commented out
 


had i just left the /nwp/part off (comment mark would've made it the title), no real harm would've been done--it would've just made a file called "edpin" that had no set location for its contentlessness (beyond /root/edpin--root seems to be geany's default location for files made this way. the ones you create through the file > new dialog i believe get made in /tmp...). as it stood, the file as command continually reactivated itself as the last step. comment makes it back into a tile, and brings up another error, this time in documentation.

maybe i was still in shock at having to reboot (such a simple script (when done right) and geany is normally so reliable...), but i should've pointed out that the bare dual launcher codes need to be prefaced with their full path (/nwp/) because the codes aren't part of the PATH (those that are can be bare. i.e. geany -i /root/1 /etc/2 will open up those files when you activate the vtg (either through the keyboard (alt+z), the menus (vtg or the cauliflower), the tray (cauliflower)...)). so, for example, if you want geany and pale moon to open the files, use

Code:
/nwp/gp /path/to/file /path(s)/to/file(s)


Quote:

method one: main launcher (shift+spacebar), gl (opens the file in geany; use ll if you want to open the file in leafpad), enter, edpin, enter.

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



default shortcuts for most recent spins/nwps use the above, so method two is alt+k (or l, if if you want the file opened in leafpad), add the pound sign, save. that will fix the script so that "edpin" in the launcher opens up the six new pins. (index finger gets k for key launcher because i at one time believed it would see more use, or, if used at all, would be used somewhat heavily). if you want driveless pins, or more control over their placement than normally holds in Puppy, look for the bit that has "args" in it. those are your drive icons (i.e. <icon x="32" y="836" label="sda1" args="drive ext4">/root/.pup_event/drive_sda1</icon>)

delete the lot for driveless, copy your extant set over from PuppyPin (no extra number) to have it on each of the alternate pins. since they are now frozen with the text file, they'll remain in (odd, if you so choose) position(s) even after the auto redrawing of icons that occurs at boot and X restarts.

if you want to automount all your drives, you could drag musher0's monter5 script out of quar in Startup. since alt plus spacebar is root, one of the first things i do on a new install is activate that shortcut, then navigate to startup adn /my-applications/bin and make those (by use of ctrl plus number) rox speed dials 2 and 3. if you want to automount at a click and your discretion, leave monter5 in /quar (alt+t spacebar then 2 to get to its parent folder if you followed the quick links howto above).

rox is cool. Very Happy

(rl, the last launcher in that bank, is rox opened at /nwp/--the short names of the mostly blank directories are to provide quick cover for you and your creations--d plus enter in that one gets you a blank directory, nwp's version of My Documents, my-documents (though there's also a "docs"), etc).

have fun with it.
Very Happy



not sure if this will help clarify things, or from where you need to enter the discussion to be in need of clarification, but this update and bugfix also seems to me to be a howto and an explanation of some more of the nwp's features.

further, while it does get documents created and saved and arguably sorted and stored, and all very quickly, the formatting is best kept for pasting into more proper word processors like google docs, libreoffice, or even notecase (which can also export to html (and therefore pdf)). the print view will give you a scalable interface, but lately isn't heeding the viewport, at least not in 64 bit. haven't tested on 32 bit lately, but it doesn't seem to work as consistently (is it a browser issue?) as i remembered. for my own use, i use the nwp((as in (A NWP/A NWPUS) primarily for document creation and modification and the utilities side of things. if i need to edit more formally, i paste into libre or google. i'll make a return to the minimal versions (under 50k) in a release or two, but these last two are relatively monstrous--14mb. there may be a weight reduction pet in the future to reduce this--there's some redundant documentation and many icons that can be autogenerated if needed...)
the newer tiny noop will be in at least two versions, both smaller than the original: http://www.murga-linux.com/puppy/viewtopic.php?p=860360#860360. i'm thinking at least one version should incorporate the new Quasi-Proprietary File Type feature, possibly as an offshoot of the mcc (make concurrent copies) feature.

mcc: http://www.murga-linux.com/puppy/viewtopic.php?p=902287#902287 (attachment at the end shows it being used for this purpose)




32/64.4 pet puts the alt-icons folder in your usr/share/applications diretory. it contains the drag and drop dual launchers for word processing use and some icons--right click a file to which you added one of those extensions (pwn, pwp, sans, ser, def3, def4, mons, mon...) to set an icon and run action for it. you've got four new categories, none of which have to be actually set for word processor use.
Quote:




the six choices (pp1-6 in the launcher) are really the same 2 three times each. one's more minimal and the other's got some tools useful for getting you first set up, though it's hard for me to say which i'd choose to mod--easier to drag to one or delete from the other...

shown are some of the suggested icons for the word processor (or libre--i actually prefer that odt icon to the regular one as it sets it apart from the docx files better). [...]







from:
a bit more on the pinboards
also a little more on the word processor





d a (nine over the original) menu set) Panels and Pins submenu will overwrite all six with your current pinboard's layout.

well, i'm pretty sure there are launcher codes to make 24 and/or 30 (both, i think) more pinboards, but i can't seem to find them at the moment.

Confused

_____

from  nwp32/64.4 --set run actions and icons for your files, some
Subject description: more about the launchers and file generation, a bug fix that's a how-to for the newest one.
:


Quote:

not sure if this will help clarify things, or from where you need to enter the discussion to be in need of clarification, but this update and bugfix also seems to me to be a howto and an explanation of some more of the nwp's features.

further, while it does get documents created and saved and arguably sorted and stored, and all very quickly, the formatting is best kept for pasting into more proper word processors like google docs, libreoffice, or even notecase (which can also export to html (and therefore pdf)). the print view will give you a scalable interface, but lately isn't heeding the viewport, at least not in 64 bit. haven't tested on 32 bit lately, but it doesn't seem to work as consistently (is it a browser issue?) as i remembered. for my own use, i use the nwp((as in (A NWP/A NWPUS) primarily for document creation and modification and the utilities side of things. if i need to edit more formally, i paste into libre or google. i'll make a return to the minimal versions (under 50k) in a release or two, but these last two are relatively monstrous--14mb. there may be a weight reduction pet in the future to reduce this--there's some redundant documentation and many icons that can be autogenerated if needed...)
the newer tiny noop will be in at least two versions, both smaller than the original: http://www.murga-linux.com/puppy/viewtopic.php?p=860360#860360. i'm thinking at least one version should incorporate the new Quasi-Proprietary File Type feature, possibly as an offshoot of the mcc (make concurrent copies) feature.

mcc:http://www.murga-linux.com/puppy/viewtopic.php?p=902287#902287 (attachment at the end shows it being used for this purpose)


___

will try to find a focuswriter that works in tahr64 without the need for the 32 bit compatibility sfs to further make up for the removal of abiword (and to bring it in line with the other spins). here's the gif using the mcc function:[/quote]


mk24 is the command for the 24 pinboards--it copies your first one and overwrites all the others, so make that the one you'd like to use as a basic template (if you actually want 24 pinboards). there appears to be no built in mk30, which would be cut with the trimming to come if it existed and i remembered. thinking of taking making the deps a separate package (tried out 64.4 just now in xenial64 and had to install the xdotool deps through the ppm--apparently that lib package never madr it in? was working on a windows partition (which i never do but got a new machine...) and certain packaging didn't go as smoothly as in the past. so, stop gap as this update is, the unfixed edpin can ruin your day (or at least force a shut-down) and is present in probably the last six or so noops.

so, an update, a bit of a howto, a bit of an overview.

and review.
(thing's become bloated and needs to be trimmed down somewhat--sub meg xz is now a 14 meg pet. notecase does html better...the file generation aspect's probably the pwp's (puppy word processor) strongest feature, and the vtg arguably does it better. run action/icon through the drag and drop below.
mimetype-icon_change (1).gif
 Description   mcc function (indirectly) setting run action (not shown) and icon
 Filesize   26.14 KB
 Viewed   297 Time(s)

mimetype-icon_change (1).gif

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 5 [62 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

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


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