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

The time now is Fri 13 Dec 2019, 18:05
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
~572, p575, and p57577: three spins/updates of Precise 5.7.1
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 17 of 18 [259 Posts]   Goto page: Previous 1, 2, 3, ..., 15, 16, 17, 18 Next
Author Message
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Sun 10 Jun 2018, 21:17    Post subject: large and small word processor updates
Subject description: libre office and ewp-The Emergency Word Processor (bwp, mcbwpt, micro nwp, etc)
 

libre office updates:
LibreOffice-6.0.4_en-US_xz.sfs, LibreOffice-6.0.4_en-US_xz.pet, LibreOffice-6.0.4_64_en-US_xz.pet, LibreOffice-6.0.4_64_en-US_xz.sfs

and thanks to mow9902 for a fix for unresponsive hyperlinks:
dump the following into a terminal and press enter, or copy it into a geany document and press the cauliflower:
Code:

ln -s /usr/local/bin/xdg-open /usr/bin

(adapted from 2 annoying problems with Libreoffice - SOLVED by mow9902)

i can recall an earlier pup refusing to allow a symbolic link unless i used mkdir -p (/already/ existing/ directory's /path)--if you find the above doesn't work, use the mkdir -p line or do it manually as outlined in the above thread.

mini word processor also updated:

bwp1.5 (46k)
mcbwp1 (12k)

ewp--EmergencyWordProcessor.html (159k)
ewp--EmergencyWordProcessor.html.gz (25k)

box1.1.html (159k)
box1.1.html.xz (18k)

more info: PostPosted: Fri 25 May 2018, 18:39 Post subject: space bar keybank toggle and mini word processor
Subject description: bwp1.5 and mcbwp1 use a browser and/or text editor as a word processor, but can't key in a tab space
___

the various versions of the browser based word processor appear to also work on my android phone, which gives more options to play with when downloading, but so far saving to pdf works, saving as html doesn't seem to preserve your changes...that's actually as far as i've gotten (testers welcome--you can just download the html files from the bwp folder in the nwp+vtg folder in word processing and related (in pupli repo)).

(more vtg-centric version of the linked help/"help" post upcoming, but the short version is you add commented out commands to the scripts and use the vtg to change the keys on the fly)(not that that's really faster than having swap folders, but it's probably just as fast and allows for perhaps quicker on-the-fly customization than the geany and leafpad launchers could add--just rerun the echo/shebang/chmod chunks after swapping the # or making your change(s)).

___
(second annoying problem mentioned in mow9902's helpful thread is related to language packs and offline help. check it out if your installation is giving you some sort of grief that relates).
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Wed 22 Aug 2018, 02:01    Post subject: java, libre office, and rox filer updates
Subject description: 6.1.0 and 6.6 sfs and pet for 32 and 64 bit. most recent java and a rox rec for all the spins
 

first the libre office updates:

LibreOffice-6.1.0_64_en-US_xz.sfs

LibreOffice-6.1.0_64_en-US_xz.pet

LibreOffice-6.0.6_64_en-US_xz.pet

LibreOffice-6.0.6_64_en-US_xz.sfs

LibreOffice-6.1.0_en-US_xz.pet

LibreOffice-6.1.0_en-US_xz.sfs

LibreOffice-6.0.6_en-US_xz.pet

LibreOffice-6.0.6_en-US_xz.sfs
___

java:

jre-8u181-i586 and jre-10.0.2-x64 (sfs+pet)

____

rox:

from http://murga-linux.com/puppy/viewtopic.php?p=995815#995815
Puppus Dogfellow wrote:
thanks for this, woodenshoe-wi.

working well in an old xenial32 spin (based on 704) and a few tahr64 spins (based on 605).

had backups of the pinboard(s) so having mine reset to the alien default wasn't a problem; being able to remove and move columns is great; the installation preserved all my other rox mods (custom icons and the ability to set right click shortcuts were added to the original iso and not lost when the new items were added to the tool bar and menus); the clipboard is great....


mirrored your efforts here: rox filer 4 by woodenshoe (32/64)

thanks again!

-pd

woodenshoe has continued to update it (i think it's up to version eight), but i like version four and have been testing it for a while while simultaneously not keeping up with that thread, so maybe there are better changes out there, but as it stands it's an improvement and i recommend it for both the 32 and 64 bit spins. before you install, enter n in the nwp/pwn launcher (shift plus spacebar) to call up the main/original nwp menu. go to the rox slot, go to pinboards, and select "make 6 puppy pins for the pp series." restart x after the pet installation, navigate to ~/Choices and copy one of the 2-6 Puppy Pins as PuppyPin. if you're actually using the pp series to swap between distinct pins, go to choices and rename the one you're using as the PuppyPin before the installation--the pet will overwrite the main pinboard and reset all of your keyboard in-rox-folder shortcuts (o for odt, f for file, s for script, d for directory, etc), but you can easily reset them--the function is preserved even if the keycuts themselves are not (hover the cursor, select a letter for the function or to change one that's already set by default).

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


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Sun 06 Jan 2019, 18:00    Post subject: some updates
Subject description: word processor, browser, general
 

libreoffice updates:

LibreOffice-6.1.4_64_en-US_xz.sfs
LibreOffice-6.1.4_64_en-US_xz.pet

LibreOffice-6.1.4_en-US_xz.sfs
LibreOffice-6.1.4_en-US_xz.pet

here's a firefox update (firefox64 32/64) thanks to fredx181.

from the notes and links document in the above folder:

Quote:

if you've installed the nwp, you may've noticed the (likely) dead firefox entry on the alt+1/left click menu. if you enter

geany /nwp/root3/9/root1menu

into a terminal and scroll down to the bottom of the document, you'll see something like the following (yours may be set to /opt):

<Program label="Firefox Web Browser" icon="/nwp/root3/icons/Appfffirefox.png">/mnt/sda1/firefox/firefox</Program>

fred's version uses a script called ff to launch the browser, and when you download and extract the archive you'll find it somewhere like

/mnt/home/firefox-64.0-64-bit.tar.gz_extracted/firefox64/ff

highlight the ff script wherever you've downloaded it, copy that path into the geany document you opened to replace the bold faced path above (which might say /opt/firefox[…] on your version), save and close the document, and enter fixmenus; jwm -reload in a terminal (or use the entry for it that's also on that left click menu).

_____________


tried doing an x75 spin but the ppm broke, the extend select geany plug in didn't work correctly, and the the cnt nwp shortcut (at the very least) appears broken, but here are links to folders for xdotool and xpad and their dependencies (contains the gtk3 dependency some installations may need for the recent firefoxes (among other things)), the main workshop folder, and the geany plugins i snagged from ubuntu after my ppm went down (i was able to use an older version of sc0ttman's pkg to install sakura....

Pkg - CLI package manager

(as i said, it was an early version but it looks promising. added repos (seems easier than doing so though the ppm), but failed to install either recoll or vlc, both of which can be dependency hell...)).


anyway, i'll likely move to bionic beaver (32 by peebee and 64bit by 666philb) next (though i have an x75 running that --has been taken over), but you're welcome to treat it like a mystery to solve (post the solution when you find it). here are the folders:
xpadandxdotool
x7.64.5
geany127plugins


using a working cnt shortcut, i made the update from nwp9 to nwp10, ewp1.pet
(it's also a standalone (update aspects will just fail if there's nothing to update)--83k).

here's its pinstall script:

Code:

#!/bin/sh
mv /usr/share/applications/icons-alt/desktops /nwp/wp/desktops
#fix for redundant menu entries (sometimes docs, sometimes utilities, sometimes both)
#rm -rf  /usr/share/applications/icons-alt/desktops
#swap to # from the rm line to the mv line if you'd like to just delete the offending folder rather than save it for future mods/launchers
echo $'
#!/bin/sh
ln -s /usr/local/bin/defaultbrowser /root/Choices/URI/https
ln -s /usr/local/bin/xdg-open /usr/bin
' > /nwp/lolf
chmod 755 /nwp/lolf
#nwp shortcut for libreoffice unresponsive hyperlink fix --lolf is the shortcut; copy the ewp over to nwp/wp/ and make desktop files and icons for both launchers:
echo $'
 /* XPM */
static char *tmp_xpm[] = {
"21 13 4 1",
"    c None",
".    c #000000",
",   c #00FF00",
"#   c #00FF5F",
".....................",
".....................",
".....................",
".....................",
"..####...#...#.#.###.",
".#....#..#...#.##...#",
".#....#..#.#.#.#....#",
".######..#.#.#.#....#",
".#.......#.#.#.#....#",
".#....#..#.#.#.##...#",
"..####....#.#..#.###.",
"...............#.....",
"...............#.....",
""};
' > /root/puppy-reference/mini-icons/ewpa.xpm
echo $'
/* XPM */
static char *tmp_xpm[] = {
"21 13 4 1",
"    c None",
".    c #000000",
",   c #00FF00",
"#   c #00FF5F",
".....................",
".######..#...#.#####.",
".#.......#...#.#....#",
".#.......#...#.#....#",
".#.......#...#.#....#",
".####....#...#.#....#",
".#.......#...#.#####.",
".#.......#.#.#.#.....",
".#.......#.#.#.#.....",
".#.......#.#.#.#.....",
".######...#.#..#.....",
".....................",
".....................",
""};
' > /root/puppy-reference/mini-icons/ewpnwp.xpm
cp -f /root/my-applications/ewp--EmergencyWordProcessor.html /nwp/wp/ewp--EmergencyWordProcessor.html
#copy the file/word processor to the nwp itself (it'll be in the wp folder set to launch with your default browser.)
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=EWP
Icon=/root/puppy-reference/mini-icons/ewpnwp.xpm
Comment=ewp out of /nwp/wp
Exec=defaultbrowser /nwp/wp/ewp--EmergencyWordProcessor.html
Terminal=false
Type=Application
Categories=WordProcessor
GenericName=ewp--EmergencyWordProcessor.html
' > /usr/share/applications/ewp-nwp.desktop
#EWP outta nwp, ewp outta /root//my-apps
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=ewp
Icon=/root/puppy-reference/mini-icons/ewpa.xpm
Comment=ewp out of my apps bin
Exec=defaultbrowser /root/my-applications/ewp--EmergencyWordProcessor.html
Terminal=false
Type=Application
Categories=WordProcessor
GenericName=ewp--EmergencyWordProcessor.html
' > /usr/share/applications/ewp-a.desktop
#this stand alone is also an update and fix for the nwp (9 to 10), which would include the following two pets:
petget /tmp/bwp1.5.pet
petget /tmp/mcbwp1.pet
fixmenus
jwm -reload


pet is last couple of updates and will fix the redundant launcher entries you may have on various root menus. it also installs the ewp and copies it over to nwp/wp--you get one version to launch from /root/my-applications/bin and one version to launch from /nwp/wp. if you haven't installed mcbwp1 or bwp1.5, you'll get pop ups asking if you'd like to.

lolf (libre office link fix) is a new shortcut--run it if you notice your hyperlinks not opening correctly in libreoffice (see link to mow9902's post above for more).



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


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Thu 06 Jun 2019, 11:25    Post subject: word processor updates
Subject description: libre office 624 32/64 and a lightweight rtf editor
 

LibreOffice-6.2.4_en-US_xz.pet

LibreOffice-6.2.4_en-US_xz.sfs

LibreOffice-6.2.4_64_en-US_xz.sfs

LibreOffice-6.2.4_64_en-US_xz.pet

____

thanks to smithy, jrb and webmayo, there's also a lightweight rtf editor available (unlike roughdraft, it doesn't require wine): http://www.murga-linux.com/puppy/viewtopic.php?p=1029936#1029936
link in the thread is down so here it is from my repo: rtfed-word-processor.pet
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Wed 19 Jun 2019, 10:19    Post subject: Nanoi 293 32/64
Subject description: nano improved (sorta)
 

nano293-32md.pet
nano293-32.pet
nano293-64md.pet
nano293-64.pet
tmux_1.8-5-32.pet
tmux_1.8-5_i386.deb
tmux_2.1-3build1_amd64.pet
tmux_2.6-3ubuntu0.1_amd64.pet

from pupli repo/word processing and related/nwp+vtg/recs and notes/notes2:

Quote:


6/19/19

all my 32 bit machines are dead but i've included the bionic era nanos and the tahr era tmux here for precise and similar vintage pups. tmux plus nano is like a suped up version of those first word processors by brother and magnavox from the mid eighties or so, but instead of one 5 by 8 inch screen, you can have unlimited pages of unlimited screens, each opened to a hundred or so documents that you can flip through with a press of of alt+> or< (which the documentation calls M plus those keys--M is meta, and the pets install nanoh and nanoc; the latter is just nano's main configuration file, the one with the H has help for nano being run, nano before it's run, and markdown, in case you want to try to make a word processor of the nanos. for a better experience, in all but that older 32 bit tmux package, tmux set -g mouse on will allow you resize the panes and hop around with the mouse. next version will have tmux help, too, but ctrl+b is the default to activate commands, and once there you'll be using ctrl+b: new -s (name) to make a new session (like a new desktop in puppy) and ctrl+b s to switch to it. more on that later, or maybe in the help file for nanoi.1, but i believe these packages will work in all the spins as long as you pick the right one. tahr couldn't use xenial's tmux, and ubuntu has taken the tahr repo down, so i got that package from http://archive.ubuntu.com/ubuntu/pool/main/t/tmux/


the md nano packages have mouse support disabled, which means you can highlight select and middle click paste between tmux (or general terminal) windows.

nanotes in the terminal or cd (location); nanotes will give you a 1kb archive that has scripts for it to be opened in nano or concatenated (either as a running tab of your notes or overwriting the choices). here's one of the pinstall scripts:

#!/bin/sh
cp -f /bin/nano /bin/nano-old
cp -f /etc/nanorc /etc/nanorc-old
cp -f /tmp/nano/etc/nanorc /etc/nanorc
cp -f /tmp/nano/bin/nano /bin/nano
cp -f /tmp/nano/bin/rnano /bin/rnano
cp -fR /root/.config/rox.sourceforge.net/Templates/0n4n /nwp/wp/0n4n
cp -f /root/my-applications/bin/nanoc /nwp/nanoc
#^r for new file /default nano insertation behavior removed
#alt 6 for copy is nwp incompatible but alt caret (M^) works and is a built in alternative
#you may want to toggle mouse support
cp -f /tmp/nano/markdownhelp /usr/share/doc/nano/markdownhelp
cp -f /tmp/nano/nano_help /usr/share/doc/nano/nano_help
cp -f /root/my-applications/bin/nanoc /nwp/nanoc
cp -f /root/my-applications/bin/nanoh /nwp/nanoh
#nanotes is a call to a directory from the terminal so no nwp shortcut (cd /path; nanotes)
echo $'#!/bin/sh
rxvt -e nano /nwp/wp/0n4n/1/*
' > /nwp/nan1
chmod 755 /nwp/nan1
echo $'#!/bin/sh
rxvt -e nano /nwp/wp/0n4n/2/*
' > /nwp/nan2
chmod 755 /nwp/nan2
echo $'#!/bin/sh
rxvt -e nano /nwp/wp/0n4n/a/*
' > /nwp/nana
chmod 755 /nwp/nana
echo $'#!/bin/sh
rxvt -e nano /nwp/wp/0n4n/b/*
' > /nwp/nanb
chmod 755 /nwp/nanb


_________

i made the notes folders with the mcc utility, but you could do it with the vtg as well (put this text in a geany doc and hit the cauliflower):

mkdir -p /tmp/nwp/wp/0n4n/b/
mkdir -p /tmp/nwp/wp/0n4n/a/
touch /tmp/nwp/wp/0n4n/b/00{1..10}
touch /tmp/nwp/wp/0n4n/a/0{1..10}


mkdir -p /tmp/nwp/wp/0n4n/c/
mkdir -p /tmp/nwp/wp/0n4n/1/
mkdir -p /tmp/nwp/wp/0n4n/2/
touch /tmp/nwp/wp/0n4n/1/{a..z}
touch /tmp/nwp/wp/0n4n/2/a{a..z}
touch /tmp/nwp/wp/0n4n/c/{1..10}

(change the test directory to the path of your choice. clicking the tilde/back tick/grave in a rox folder and typing nanotes will give you two folders of 27 blanks and 2 folders of 11 blanks (more or less a,b and 1,2 from above). the nanb nana scripts work on their specific directories--it'll work on the copied set from the set but not from a menu. for this reason, making menu entries for this stuff might be better if calling the directory to be opened rather than a specific script or action chosen.

anyway, tmux plus nano (and i've downloaded emacs and vim but they're even more annoying to get started with than these weirdly shortcutted unix fossils) has made my android boxes shitloads more fun so i thought i'd share.

another tip--making tmux windows is a way to avoid the disaster of screwing up your present one, in addition to making the interface overall better (especially if you're going to be sticking to mostly cli). so, ^Cb (control b in most lingo from what i've been seeing lately) " (double quotes) and you'll split a window vertically. same prefix plus % and you'll split it horizontally. you can drag with the mouse--it's so much faster i'm going to leave it up to you to find the shortcut to do it with the keys (ctrl b ? gives you a bunch, on line you'll find more, not every tip and code from the newest tmuxes works on the 1.8 (android boxes have 4-something and i don't notice the 2-something from bionic lacking for lag. yet.)

so that's that. i'm running 6t4 and 64 bit xenial and bionic pups with the nwp installed. geany vtg stuff works great in bionic, but i've had to disable some of the jwm stuff. a second run of part of the pinstall script fixed some stuff that appeared not to work correctly with regard to rox tweaks (keyboard shortcuts mostly), but i'm on 798 which is more or less a pre-release…

mcedit and joe's own editor are other micro editors worth checking out--the former's part of mc, which is a terminal file manager without the weird ass vim shortcuts (unlike ranger)
(they seem worth learning (something to read on the kindle); i'll save so many minutes in the future dd ing ...and escape escape escaping…

(mouse made the tmux navigation, selection, and workspace creation experience better. same with the transferring text between nano documents experience, though opening up dozens of documents isn't a bad work around if you do have the mouse "enabled" (you can select and mark but in a limited, confined to nano-box way).
)
_______

tests were mostly done on the most limited terminal i could find (rxvt). your experience on better terminals (sakura, roxterm, lxterminal, ...urxvt..) should be even better.

--puppus dogfellow, four thirty in the morning.
Smile

***


in pups that have the nwp installed with the default jwm stuff in place, alt+6 for the sixth menu (or fifth extra since these documents frequently refer to the 10 total as 9 extra without telling...that there are three sets of them--) is also nano's version of copy. you don't need a work around for either since it's got the alternate of control caret, which the main help (second help you'll see after the default bottom row help--press ^G and you'll get the longer list with the alternates if any exist) shows after a little scroll down. nanoh in the terminal or in the nwp/pwn launcher get you the nano help printed out in an editable file (move around and group what's most relevant as you learn the interface).

those of you who like the default nano setup might be upset to find it opens new files now without wearing a disguise and creating a diversion--^r opens a dialog for a new file in a new space, not the contents of a file to be dumped into the current one. (same nanoh opens the config file and help file. change the defaults and learn the preloads that override them).

...it's unfortunate that the workaround for copy involves an extra key stroke, but it's kind of a visual and musical aid if you think of it in terms of marking with an A and copying with a ^ as pencil shaped letters/characters leading into some assonance, consonance.



--puppus dogfellow, 544 in the morning (took some time out from some terminal multiplexing to tend to pupli repo). will update the threads with this, and maybe make a thread for the nanos once i remove the nwp specific stuff. and if you haven't played around with tmux on puppy or android, give it a shot.

--one last tip (unless i'm so sleepy that it's merely a redundancy)--if you've got your 20 or 200 documents open and you're worried about zipping through the closings with a held down control-x, any unsaved changes will prompt you before continuing with the few-per second closings. keep track of yourself or make a tmux window watch the progress of a networked file. set nano to make backups. or not. (if you install both versions of the nano pet, you'll get a backed up main configuration file to play around with).



if i want to get rid of the window quickly, i usually just control b x it in tmux rather than hold down the control x for nano's interface (making sure there's another pane to go to). i also do this when i make changes to a configuration file that's for a program i'm actively using in a pane elsewhere--that version is in the past, and even if you close the window, the terminal is in the past. you'll need a newer pane to get the newer configuration for whatever it is you've just modded.

--p. dogfellow, 1008, tuesday, 6.19.2019

***




short version: use tmux plus nano to get endless grids of text editor interfaces. some help files and other tweaks to the nano bits, maybe that old 386 tmux pet will work in precise. tmux/termux combo is helping my pups get along with my android boxes.

enjoy

--p. dogfellow

(nano is up to 4.2 but the 293 is from the bionic repo and appears to be the newest version the pups can use. somewhere in the twos it gained the ability to undo and then it gained a more colorful help menu--not sure what improved from 293 to present, but this plus tmux is a pretty cool notetaker and text editor combo. oldest tmux pet in this post is a suggestion for precise. newest one came from bionic, the 2.1 came from xenial64, and i forgot to get the 1.8 from tahr, which couldn't take any of the newer versions but shares a lot of compatibility with precise from what i remember, so i tracked down a 386 version of it. use scottman's pkg to get the 1.8 or the deb from the link if your ppm is dead (my tahr has a dead ppm)).
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Sun 30 Jun 2019, 20:33    Post subject: micro text editor 1.4.1. for all pups and tmux for tahr64
Subject description: micro's got shortcuts that are likely more familar to most people and some other nice features
 

https://micro-editor.github.io/

the pups might not be up to date with the nanos, but they can have the latest micros:
micro1.4.1-nuup.pet

(pet gives a note folder function like the nano pet above and gives a nwp and terminal command for downloading the binary to the PATH and setting permissions)

here's one with the micro binary already installed--for tahr 64 but works in xenial and bionic 64:

micro1.4.1-t64.1.pet

here's the tahr 64 tmux pet i should've posted in the previous post, but which makes a nice segue to the rewrite of the terminal and launcher short cuts for these things:
tmux_1.8-5_amd64.pet

, which is to say there at the moment are no desktop files for these pets. at first i thought it made sense to assign the nanb, mica, etc scripts to specific terminals and/or tmux sessions within them, but i think that can be set more easily and flexibly through the desktop files themselves (though the scripts in the folders shouldn't need to be called from a terminal to open their batches, so i'm leaving those as is (swap the rxvt for the terminal of your choice).

urxvt's tab switching shortcuts interfere with nano's buffer switching shortcuts (which is basically nano's tabs), so if you want to mix and match which terminal launches what batch in which terminal text editor, you may want to avoid that particular combination.

notesm and notesn entered in a terminal or called from a script put the micro and nano folders, files, and scripts in that working directory. note is notesm plus notesn. you can also get a new default set by clicking a blank spot in a rox folder, clicking new, and selecting either the 0n4n or 0m4u folder. new micro pet moves moves your original /nwp/wp/0n4n if present as 0n4n-0. any text file put in the folder will be launched or concatenated with the rest of them when the scripts in their folder are activated. deleting files from the folders or renaming them should also work.

"getmicro" in the launcher or a terminal should download and install/update micro for all pups that use the script (nwp stuff will just fail without doing harm on non nwp pups).


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


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Sun 30 Jun 2019, 21:56    Post subject: making the scripts that may replace or be called by the
Subject description: desktop files (panels over menus)
 

Quote:

[...]the rewrite of the terminal and launcher short cuts for these things:

here's the basic reason i no longer want to scripts to call the batch of files and the terminal to run the text editor:

Code:

[Desktop Entry]
Encoding=UTF-8
Name=tmux thru rxvt
Icon=mini-Utility.xpm
Comment=tmux through rxvt
Exec=/usr/bin/rxvt -e tmux new-session \; send-keys '/nwp/nana' C-m \; split-window -v \;   send-keys '/nwp/nanb' C-m \; split-window -h \;   send-keys '/nwp/nanc' C-m \; split-window -h \;   send-keys '/nwp/nan1' C-m \; split-window -h \;   send-keys '/nwp/nan2' C-m \; split-window -v \; send-keys 'date' C-m \; select-layout tiled \; attach
Terminal=false
Type=Application
Categories=TextEditor;TerminalEmulator
GenericName=tmux-rxvt

--i don't want the tmux windows launching external terminals. batch of 6 batches above--tiled. here are some templates for the sets of files the two recent text editor pets make:

Code:


echo $'#!/bin/sh
nano /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/nan1
chmod 755 /root/my-applications/bin/nan1
echo $'#!/bin/sh
nano /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/nan2
chmod 755 /root/my-applications/bin/nan2
echo $'#!/bin/sh
nano /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/nana
chmod 755 /root/my-applications/bin/nana
echo $'#!/bin/sh
nano /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/nanb
chmod 755 /root/my-applications/bin/nanb
echo $'#!/bin/sh
nano /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/nanc
chmod 755 /root/my-applications/bin/nanc

echo $'#!/bin/sh
micro /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/mic1
chmod 755 /root/my-applications/bin/mic1
echo $'#!/bin/sh
micro /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/mic2
chmod 755 /root/my-applications/bin/mic2
echo $'#!/bin/sh
micro /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/mica
chmod 755 /root/my-applications/bin/mica
echo $'#!/bin/sh
micro /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/micb
chmod 755 /root/my-applications/bin/micb
echo $'#!/bin/sh
micro /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/micc
chmod 755 /root/my-applications/bin/micc

echo $'#!/bin/sh
micro /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/mnan1
chmod 755 /root/my-applications/bin/mnan1
echo $'#!/bin/sh
micro /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/mnan2
chmod 755 /root/my-applications/bin/mnan2
echo $'#!/bin/sh
micro /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/mnana
chmod 755 /root/my-applications/bin/mnana
echo $'#!/bin/sh
micro /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/mnanb
chmod 755 /root/my-applications/bin/mnanb
echo $'#!/bin/sh
micro /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/mnanc
chmod 755 /root/my-applications/bin/mnanc
echo $'#!/bin/sh
nano /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/nmic1
chmod 755 /root/my-applications/bin/nmic1
echo $'#!/bin/sh
nano /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/nmic2
chmod 755 /root/my-applications/bin/nmic2
echo $'#!/bin/sh
nano /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/nmica
chmod 755 /root/my-applications/bin/nmica
echo $'#!/bin/sh
nano /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/nmicb
chmod 755 /root/my-applications/bin/nmicb
echo $'#!/bin/sh
nano /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/nmicc
chmod 755 /root/my-applications/bin/nmicc

echo $'#!/bin/sh
mp /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/mpn1
chmod 755 /root/my-applications/bin/mpn1
echo $'#!/bin/sh
mp /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/mpn2
chmod 755 /root/my-applications/bin/mpn2
echo $'#!/bin/sh
mp /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/mpna
chmod 755 /root/my-applications/bin/mpna
echo $'#!/bin/sh
mp /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/mpnb
chmod 755 /root/my-applications/bin/mpnb
echo $'#!/bin/sh
mp /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/mpnc
chmod 755 /root/my-applications/bin/mpnc
echo $'#!/bin/sh
mp /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/mpu1
chmod 755 /root/my-applications/bin/mpu1
echo $'#!/bin/sh
mp /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/mpu2
chmod 755 /root/my-applications/bin/mpu2
echo $'#!/bin/sh
mp /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/mpua
chmod 755 /root/my-applications/bin/mpua
echo $'#!/bin/sh
mp /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/mpub
chmod 755 /root/my-applications/bin/mpub
echo $'#!/bin/sh
mp /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/mpuc
chmod 755 /root/my-applications/bin/mpuc

echo $'#!/bin/sh
geany /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/gn1
chmod 755 /root/my-applications/bin/gn1
echo $'#!/bin/sh
geany /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/gn2
chmod 755 /root/my-applications/bin/gn2
echo $'#!/bin/sh
geany /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/gna
chmod 755 /root/my-applications/bin/gna
echo $'#!/bin/sh
geany /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/gnb
chmod 755 /root/my-applications/bin/gnb
echo $'#!/bin/sh
geany /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/gnc
chmod 755 /root/my-applications/bin/gnc
echo $'#!/bin/sh
geany /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/gu1
chmod 755 /root/my-applications/bin/gu1
echo $'#!/bin/sh
geany /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/gu2
chmod 755 /root/my-applications/bin/gu2
echo $'#!/bin/sh
geany /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/gua
chmod 755 /root/my-applications/bin/gua
echo $'#!/bin/sh
geany /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/gub
chmod 755 /root/my-applications/bin/gub
echo $'#!/bin/sh
geany /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/guc
chmod 755 /root/my-applications/bin/guc

echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/gin1
chmod 755 /root/my-applications/bin/gin1
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/gin2
chmod 755 /root/my-applications/bin/gin2
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/gina
chmod 755 /root/my-applications/bin/gina
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/ginb
chmod 755 /root/my-applications/bin/ginb
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/ginc
chmod 755 /root/my-applications/bin/ginc
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/giu1
chmod 755 /root/my-applications/bin/giu1
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/giu2
chmod 755 /root/my-applications/bin/giu2
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/giua
chmod 755 /root/my-applications/bin/giua
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/giub
chmod 755 /root/my-applications/bin/giub
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/giuc
chmod 755 /root/my-applications/bin/giuc
#
#reverse: same as above but with nano opening micro's default folder and files and micro opening nano's folders and files:
echo $'#!/bin/sh
micro /nwp/wp/0n4n/1/*
' > /nwp/mnan1
chmod 755 /nwp/mnan1
echo $'#!/bin/sh
micro /nwp/wp/0n4n/2/*
' > /nwp/mnan2
chmod 755 /nwp/mnan2
echo $'#!/bin/sh
micro /nwp/wp/0n4n/a/*
' > /nwp/mnana
chmod 755 /nwp/mnana
echo $'#!/bin/sh
micro /nwp/wp/0n4n/b/*
' > /nwp/mnanb
chmod 755 /nwp/mnanb
echo $'#!/bin/sh
micro /nwp/wp/0n4n/c/*
' > /nwp/mnanc
chmod 755 /nwp/mnanc
echo $'#!/bin/sh
nano /nwp/wp/0m4u/1/*
' > /nwp/nmic1
chmod 755 /nwp/nmic1
echo $'#!/bin/sh
nano /nwp/wp/0m4u/2/*
' > /nwp/nmic2
chmod 755 /nwp/nmic2
echo $'#!/bin/sh
nano /nwp/wp/0m4u/a/*
' > /nwp/nmica
chmod 755 /nwp/nmica
echo $'#!/bin/sh
nano /nwp/wp/0m4u/b/*
' > /nwp/nmicb
chmod 755 /nwp/nmicb
echo $'#!/bin/sh
nano /nwp/wp/0m4u/c/*
' > /nwp/nmicc
chmod 755 /nwp/nmicc
echo $'#!/bin/sh
nano /nwp/wp/0n4n/1/*
' > /nwp/nan1
chmod 755 /nwp/nan1
echo $'#!/bin/sh
nano /nwp/wp/0n4n/2/*
' > /nwp/nan2
chmod 755 /nwp/nan2
echo $'#!/bin/sh
nano /nwp/wp/0n4n/a/*
' > /nwp/nana
chmod 755 /nwp/nana
echo $'#!/bin/sh
nano /nwp/wp/0n4n/b/*
' > /nwp/nanb
chmod 755 /nwp/nanb
echo $'#!/bin/sh
nano /nwp/wp/0n4n/c/*
' > /nwp/nanc
chmod 755 /nwp/nanc
echo $'#!/bin/sh
micro /nwp/wp/0m4u/1/*
' > /nwp/mic1
chmod 755 /nwp/mic1
echo $'#!/bin/sh
micro /nwp/wp/0m4u/2/*
' > /nwp/mic2
chmod 755 /nwp/mic2
echo $'#!/bin/sh
micro /nwp/wp/0m4u/a/*
' > /nwp/mica
chmod 755 /nwp/mica
echo $'#!/bin/sh
micro /nwp/wp/0m4u/b/*
' > /nwp/micb
chmod 755 /nwp/micb
echo $'#!/bin/sh
micro /nwp/wp/0m4u/c/*
' > /nwp/micc
chmod 755 /nwp/micc




it's easier to plug the names of the scripts in than their contents (though you can do that, too.). the -h and -v are guides--the tiled at the end over rule them. swap out the rxvt for the terminal emulator of your choice, and one of the text editor selections for anything other than the geany varieties above (geany and mp allow easy, gui perusing of these files (though mp has a terminal interface option).

here's the same as above but with rxvt swapped for sakura and the nano scripts swapped for the micros (dependent on the above being run).
Code:

[Desktop Entry]
Encoding=UTF-8
Name=tmux thru rxvt
Icon=mini-Utility.xpm
Comment=tmux through sakura
Exec=/usr/bin/sakura -e tmux new-session \; send-keys '/nwp/mica' C-m \; split-window -v \;   send-keys '/nwp/micb' C-m \; split-window -h \;   send-keys '/nwp/micc' C-m \; split-window -h \;   send-keys '/nwp/mic1' C-m \; split-window -h \;   send-keys '/nwp/mic2' C-m \; split-window -v \; send-keys 'date' C-m \; select-layout tiled \; attach
Terminal=false
Type=Application
Categories=TextEditor;TerminalEmulator
GenericName=tmux-rxvt




so, that's a lot of potential menu items that may be better placed on panels (you can still link them to specific icons as if they were desktop files by right clicking them and selecting icon), the desktop, or left as terminal or launcher calls.

you could always just add the terminal to the shorts of your choice by using the ll launcher. ll in the main launcher, the name of the short cut, then preface the code with terminalchoice -e or terminalchoice -e tmux. ll launcher is set to act on/create in /nwp. to work on the files in my applications/bin, use lab instead of ll as the code in the main launcher (shift plus spacebar).

permissions launcher is ch for the nwp folder and chab for my applications bin (which you might need if micro doesn't launch for you)

that script was part of the pinstall for the previous micro pets:
Code:

#!/bin/sh
mv /nwp/wp/0n4n /nwp/wp/0n4n-0
cd /root/.config/rox.sourceforge.net/Templates/
note
cd /nwp/wp
note
echo $'#!/bin/sh
cd  /root/my-applications/bin/
curl https://getmic.ro | bash
chmod 755 /root/my-applications/bin/micro
' > /root/my-applications/bin/getmicro
chmod 755 /root/my-applications/bin/getmicro
echo $'#!/bin/sh
cd  /root/my-applications/bin/
curl https://getmic.ro | bash
chmod 755 /root/my-applications/bin/micro
' > /nwp/getmicro
chmod 755 /nwp/getmicro

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


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Wed 03 Jul 2019, 07:00    Post subject: notesn, notesm, and the scripts that make the next batch of
Subject description: launcher shortcuts (all of which are here for you to modify on the fly with the vtg)
 

the templates for the batches launched by (mainly) nano and/or micro (there are a few new launcher calls to geany and mp) can be changed live or when created. the name of the directory can be changed but all the scripts that it need to be aware of it. the following gives an overview of what's looking for what where. first is the creation of the blank pages, or notebooks, or file cabinet--however you want to look at it.

notesn:
Code:

#!/bin/sh
#swap rxvt for terminal of your choice
#(search and replace) micro/nano for text editor of your choice
mkdir -p ./0n4n/a/
mkdir -p ./0n4n/b/
mkdir -p ./0n4n/c/
mkdir -p ./0n4n/1/
mkdir -p ./0n4n/2/
touch  ./0n4n/b/00{1..10}
touch  ./0n4n/a/0{1..10}
touch  ./0n4n/1/{a..z}
touch  ./0n4n/2/a{a..z}
touch ./0n4n/c/{1..10}
echo $'#!/bin/sh
#cat4n
#no overwrite by incoming/running tabs
cat ./a/* >> ./4nal.txt
cat ./b/* >> ./4nbl.txt
cat ./1/* >> ./4n1l.txt
cat ./2/* >> ./4n2l.txt
cat ./c/* >> ./4ncl.txt
' > ./0n4n/cat4n
chmod 755 ./0n4n/cat4n
echo $'#!/bin/sh
#cat4n0
#incoming 0verwrites contents
cat ./a/* > ./4na.txt
cat ./b/* > ./4nb.txt
cat ./1/* > ./4n1.txt
cat ./2/* > ./4n2.txt
cat ./c/* > ./4nc.txt
' > ./0n4n/cat4n0
chmod 755 ./0n4n/cat4n0
echo $'#!/bin/sh
cat ./a/* > ./4na.txt
cat ./b/* > ./4nb.txt
cat ./1/* > ./4n1.txt
cat ./2/* > ./4n2.txt
cat ./c/* > ./4nc.txt
cat 4n*  > ./4cat.txt
' > ./0n4n/allcat
chmod 755 ./0n4n/allcat
echo $'#!/bin/sh
cat ./a/* >> ./4na.txt
cat ./b/* >> ./4nb.txt
cat ./1/* >> ./4n1.txt
cat ./2/* >> ./4n2.txt
cat ./c/* >> ./4nc.txt
cat 4n*  >> ./4cata.txt
' >> ./0n4n/allcatted
chmod 755 ./0n4n/allcatted
echo $'#!/bin/sh
rxvt -e nano ./1/*
' > ./0n4n/nan1
chmod 755  ./0n4n/nan1
echo $'#!/bin/sh
rxvt -e nano ./2/* 
' > ./0n4n/nan2
chmod 755  ./0n4n/nan2
echo $'#!/bin/sh
rxvt -e nano ./a/* 
' > ./0n4n/nana
chmod 755  ./0n4n/nana
echo $'#!/bin/sh
rxvt -e nano ./b/*
' > ./0n4n/nanb
chmod 755  ./0n4n/nanb
echo $'#!/bin/sh
rxvt -e nano ./c/*
' > ./0n4n/nanc
chmod 755  ./0n4n/nanc


notesm:
Code:

#!/bin/sh
#swap rxvt for terminal of your choice
#(search and replace) micro/nano for text editor of your choice
mkdir -p ./0m4u/a/
mkdir -p ./0m4u/b/
mkdir -p ./0m4u/c/
mkdir -p ./0m4u/1/
mkdir -p ./0m4u/2/
touch  ./0m4u/b/00{1..10}
touch  ./0m4u/a/0{1..10}
touch  ./0m4u/1/{a..z}
touch  ./0m4u/2/a{a..z}
touch ./0m4u/c/{1..10}
echo $'#!/bin/sh
#cat4n
#no overwrite by incoming/running tabs
cat ./a/* >> ./4nal.txt
cat ./b/* >> ./4nbl.txt
cat ./1/* >> ./4n1l.txt
cat ./2/* >> ./4n2l.txt
cat ./c/* >> ./4ncl.txt
' > ./0m4u/cat4n
chmod 755 ./0m4u/cat4n
echo $'#!/bin/sh
#cat4n0
#incoming 0verwrites contents
cat ./a/* > ./4na.txt
cat ./b/* > ./4nb.txt
cat ./1/* > ./4n1.txt
cat ./2/* > ./4n2.txt
cat ./c/* > ./4nc.txt
' > ./0m4u/cat4n0
chmod 755 ./0m4u/cat4n0
echo $'#!/bin/sh
cat ./a/* > ./4na.txt
cat ./b/* > ./4nb.txt
cat ./1/* > ./4n1.txt
cat ./2/* > ./4n2.txt
cat ./c/* > ./4nc.txt
cat 4n*  > ./4cat.txt
' > ./0m4u/allcat
chmod 755 ./0m4u/allcat
echo $'#!/bin/sh
cat ./a/* >> ./4na.txt
cat ./b/* >> ./4nb.txt
cat ./1/* >> ./4n1.txt
cat ./2/* >> ./4n2.txt
cat ./c/* >> ./4nc.txt
cat 4n*  >> ./4cata.txt
' >> ./0m4u/allcatted
chmod 755 ./0m4u/allcatted
echo $'#!/bin/sh
rxvt -e micro ./1/*
' > ./0m4u/mic1
chmod 755  ./0m4u/mic1
echo $'#!/bin/sh
rxvt -e micro ./2/* 
' > ./0m4u/mic2
chmod 755  ./0m4u/mic2
echo $'#!/bin/sh
rxvt -e micro ./a/* 
' > ./0m4u/mica
chmod 755  ./0m4u/mica
echo $'#!/bin/sh
rxvt -e micro ./b/*
' > ./0m4u/micb
chmod 755  ./0m4u/micb
echo $'#!/bin/sh
rxvt -e micro ./c/*
' > ./0m4u/micc
chmod 755  ./0m4u/micc


default is to open up with rxvt (which you can swap out above) and to open the templates as created by the micro pet's pinstall script. you can change that too--overwrite the nwp and regular PATH versions with your custom jobbies.

i'm in the process of releasing a general/migration (anuupuus) update for the recent additions and changes, so some of this stuff may seem redundant, but the extra's to be altered (or maybe i've abandoned an idea and left part of it in...)

the next batch of launcher shortcuts are still focused on the terminal text editors. most of them will either launch a batch from the desktop or terminal, but some will launch batches of batches in tmux windows. the basic breakdown of that launcher code is the first number is how many tmux panels will be filled with text editors launching batches of files; second is n for nano or m for micro as the coices for editor; next is version number (for either nwp/pwn or regular terminal--i.e. your renaming scheme goes here; letter that follows version number is s for sakura, u for urxvt, r for rxvt, rx for roxterm, l for txterminal; last letter is an optional n to say whether the version of, for example, nanb in my apps bin is being called or the one in nwp is being called. default is they're the same. alter for your placement of the (renamable) 0n4n/0m4u folders (scripts within folders are ignorant of of their parent folder and launch differently than the nwp and PATH versions (i.e. they're portable).

___

next bit is

Code:


#tebatches
echo $'#!/bin/sh
nano /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/nan1
chmod 755 /root/my-applications/bin/nan1
echo $'#!/bin/sh
nano /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/nan2
chmod 755 /root/my-applications/bin/nan2
echo $'#!/bin/sh
nano /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/nana
chmod 755 /root/my-applications/bin/nana
echo $'#!/bin/sh
nano /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/nanb
chmod 755 /root/my-applications/bin/nanb
echo $'#!/bin/sh
nano /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/nanc
chmod 755 /root/my-applications/bin/nanc

echo $'#!/bin/sh
micro /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/mic1
chmod 755 /root/my-applications/bin/mic1
echo $'#!/bin/sh
micro /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/mic2
chmod 755 /root/my-applications/bin/mic2
echo $'#!/bin/sh
micro /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/mica
chmod 755 /root/my-applications/bin/mica
echo $'#!/bin/sh
micro /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/micb
chmod 755 /root/my-applications/bin/micb
echo $'#!/bin/sh
micro /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/micc
chmod 755 /root/my-applications/bin/micc

echo $'#!/bin/sh
micro /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/mnan1
chmod 755 /root/my-applications/bin/mnan1
echo $'#!/bin/sh
micro /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/mnan2
chmod 755 /root/my-applications/bin/mnan2
echo $'#!/bin/sh
micro /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/mnana
chmod 755 /root/my-applications/bin/mnana
echo $'#!/bin/sh
micro /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/mnanb
chmod 755 /root/my-applications/bin/mnanb
echo $'#!/bin/sh
micro /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/mnanc
chmod 755 /root/my-applications/bin/mnanc
echo $'#!/bin/sh
nano /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/nmic1
chmod 755 /root/my-applications/bin/nmic1
echo $'#!/bin/sh
nano /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/nmic2
chmod 755 /root/my-applications/bin/nmic2
echo $'#!/bin/sh
nano /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/nmica
chmod 755 /root/my-applications/bin/nmica
echo $'#!/bin/sh
nano /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/nmicb
chmod 755 /root/my-applications/bin/nmicb
echo $'#!/bin/sh
nano /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/nmicc
chmod 755 /root/my-applications/bin/nmicc

echo $'#!/bin/sh
mp /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/mpn1
chmod 755 /root/my-applications/bin/mpn1
echo $'#!/bin/sh
mp /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/mpn2
chmod 755 /root/my-applications/bin/mpn2
echo $'#!/bin/sh
mp /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/mpna
chmod 755 /root/my-applications/bin/mpna
echo $'#!/bin/sh
mp /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/mpnb
chmod 755 /root/my-applications/bin/mpnb
echo $'#!/bin/sh
mp /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/mpnc
chmod 755 /root/my-applications/bin/mpnc
echo $'#!/bin/sh
mp /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/mpu1
chmod 755 /root/my-applications/bin/mpu1
echo $'#!/bin/sh
mp /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/mpu2
chmod 755 /root/my-applications/bin/mpu2
echo $'#!/bin/sh
mp /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/mpua
chmod 755 /root/my-applications/bin/mpua
echo $'#!/bin/sh
mp /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/mpub
chmod 755 /root/my-applications/bin/mpub
echo $'#!/bin/sh
mp /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/mpuc
chmod 755 /root/my-applications/bin/mpuc

echo $'#!/bin/sh
geany /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/gn1
chmod 755 /root/my-applications/bin/gn1
echo $'#!/bin/sh
geany /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/gn2
chmod 755 /root/my-applications/bin/gn2
echo $'#!/bin/sh
geany /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/gna
chmod 755 /root/my-applications/bin/gna
echo $'#!/bin/sh
geany /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/gnb
chmod 755 /root/my-applications/bin/gnb
echo $'#!/bin/sh
geany /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/gnc
chmod 755 /root/my-applications/bin/gnc
echo $'#!/bin/sh
geany /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/gu1
chmod 755 /root/my-applications/bin/gu1
echo $'#!/bin/sh
geany /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/gu2
chmod 755 /root/my-applications/bin/gu2
echo $'#!/bin/sh
geany /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/gua
chmod 755 /root/my-applications/bin/gua
echo $'#!/bin/sh
geany /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/gub
chmod 755 /root/my-applications/bin/gub
echo $'#!/bin/sh
geany /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/guc
chmod 755 /root/my-applications/bin/guc

echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/gin1
chmod 755 /root/my-applications/bin/gin1
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/gin2
chmod 755 /root/my-applications/bin/gin2
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/gina
chmod 755 /root/my-applications/bin/gina
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/ginb
chmod 755 /root/my-applications/bin/ginb
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/ginc
chmod 755 /root/my-applications/bin/ginc
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/giu1
chmod 755 /root/my-applications/bin/giu1
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/giu2
chmod 755 /root/my-applications/bin/giu2
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/giua
chmod 755 /root/my-applications/bin/giua
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/giub
chmod 755 /root/my-applications/bin/giub
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/giuc
chmod 755 /root/my-applications/bin/giuc
#
#reverse: same as above but with nano opening micro's default folder and files and micro opening nano's folders and files:
echo $'#!/bin/sh
micro /nwp/wp/0n4n/1/*
' > /nwp/mnan1
chmod 755 /nwp/mnan1
echo $'#!/bin/sh
micro /nwp/wp/0n4n/2/*
' > /nwp/mnan2
chmod 755 /nwp/mnan2
echo $'#!/bin/sh
micro /nwp/wp/0n4n/a/*
' > /nwp/mnana
chmod 755 /nwp/mnana
echo $'#!/bin/sh
micro /nwp/wp/0n4n/b/*
' > /nwp/mnanb
chmod 755 /nwp/mnanb
echo $'#!/bin/sh
micro /nwp/wp/0n4n/c/*
' > /nwp/mnanc
chmod 755 /nwp/mnanc
echo $'#!/bin/sh
nano /nwp/wp/0m4u/1/*
' > /nwp/nmic1
chmod 755 /nwp/nmic1
echo $'#!/bin/sh
nano /nwp/wp/0m4u/2/*
' > /nwp/nmic2
chmod 755 /nwp/nmic2
echo $'#!/bin/sh
nano /nwp/wp/0m4u/a/*
' > /nwp/nmica
chmod 755 /nwp/nmica
echo $'#!/bin/sh
nano /nwp/wp/0m4u/b/*
' > /nwp/nmicb
chmod 755 /nwp/nmicb
echo $'#!/bin/sh
nano /nwp/wp/0m4u/c/*
' > /nwp/nmicc
chmod 755 /nwp/nmicc
echo $'#!/bin/sh
nano /nwp/wp/0n4n/1/*
' > /nwp/nan1
chmod 755 /nwp/nan1
echo $'#!/bin/sh
nano /nwp/wp/0n4n/2/*
' > /nwp/nan2
chmod 755 /nwp/nan2
echo $'#!/bin/sh
nano /nwp/wp/0n4n/a/*
' > /nwp/nana
chmod 755 /nwp/nana
echo $'#!/bin/sh
nano /nwp/wp/0n4n/b/*
' > /nwp/nanb
chmod 755 /nwp/nanb
echo $'#!/bin/sh
nano /nwp/wp/0n4n/c/*
' > /nwp/nanc
chmod 755 /nwp/nanc
echo $'#!/bin/sh
micro /nwp/wp/0m4u/1/*
' > /nwp/mic1
chmod 755 /nwp/mic1
echo $'#!/bin/sh
micro /nwp/wp/0m4u/2/*
' > /nwp/mic2
chmod 755 /nwp/mic2
echo $'#!/bin/sh
micro /nwp/wp/0m4u/a/*
' > /nwp/mica
chmod 755 /nwp/mica
echo $'#!/bin/sh
micro /nwp/wp/0m4u/b/*
' > /nwp/micb
chmod 755 /nwp/micb
echo $'#!/bin/sh
micro /nwp/wp/0m4u/c/*
' > /nwp/micc
chmod 755 /nwp/micc

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

#activate the cat scripts then open the catted .txt files in batches with micro or nano


echo $'#!/bin/sh
cd /nwp/wp/0m4u/
./allcat
./allcatted
./cat4n
./cat4n0
nano ./*.txt
' > /nwp/nantxt2
chmod 755 /nwp/nantxt2

echo $'#!/bin/sh
cd /nwp/wp/0n4n/
./allcat
./allcatted
./cat4n
./cat4n0
micro ./*.txt
' > /nwp/mitxt2
chmod 755 /nwp/mitxt2

echo $'#!/bin/sh
cd /nwp/wp/0n4n/
./allcat
./allcatted
./cat4n
./cat4n0
nano ./*.txt
' > /nwp/nantxt1
chmod 755 /nwp/nantxt1

echo $'#!/bin/sh
cd /nwp/wp/0m4u/
./allcat
./allcatted
./cat4n
./cat4n0
micro ./*.txt
' > /nwp/mitxt1
chmod 755 /nwp/mitxt1

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

echo $'#!/bin/sh
cd /nwp/wp/0m4u/
./allcat
./allcatted
./cat4n
./cat4n0
nano ./*.txt
' > /root/my-applications/bin/nantxt2
chmod 755 /root/my-applications/bin/nantxt2

echo $'#!/bin/sh
cd /nwp/wp/0n4n/
./allcat
./allcatted
./cat4n
./cat4n0
micro ./*.txt
' > /root/my-applications/bin/mitxt2
chmod 755 /root/my-applications/bin/mitxt2

echo $'#!/bin/sh
cd /nwp/wp/0n4n/
./allcat
./allcatted
./cat4n
./cat4n0
nano ./*.txt
' > /root/my-applications/bin/nantxt1
chmod 755 /root/my-applications/bin/nantxt1

echo $'#!/bin/sh
cd /nwp/wp/0m4u/
./allcat
./allcatted
./cat4n
./cat4n0
micro ./*.txt
' > /root/my-applications/bin/mitxt1
chmod 755 /root/my-applications/bin/mitxt1





\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\


________________________________

echo $"#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys 'nana' C-m \; split-window -v \;   send-keys 'nanb' C-m \; split-window -h \;   send-keys 'nanc' C-m \; split-window -h \;   send-keys 'nan1' C-m \; split-window -h \;   send-keys 'nan2' C-m \; split-window -v \; send-keys 'nmic1' C-m \; select-layout tiled \; attach
" > /nwp/6n1s
chmod 755 /nwp/6n1s


echo $"#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys 'mica' C-m \; split-window -v \;   send-keys 'micb' C-m \; split-window -h \;   send-keys 'micc' C-m \; split-window -h \;   send-keys 'mic1' C-m \; split-window -h \;   send-keys 'mic2' C-m \; split-window -v \; send-keys 'mnan1' C-m \; select-layout tiled \; attach
" > /nwp/6m1s
chmod 755 /nwp/6m1s


echo $"#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys 'mnana' C-m \; split-window -v \;   send-keys 'mnanb' C-m \; split-window -h \; send-keys 'mnanc' C-m \; split-window -h \;   send-keys 'mnan2' C-m \; select-layout tiled \; attach
" > /nwp/4m1s
chmod 755 /nwp/4m1s

echo $"#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys 'nmica' C-m \; split-window -v \;   send-keys 'nmicb' C-m \; split-window -h \; send-keys 'nmicc' C-m \; split-window -h \;   send-keys 'nmic2' C-m \; select-layout tiled \; attach
" > /nwp/4n1s
chmod 755 /nwp/4n1s

echo $"#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys 'mitxt1' C-m \; split-window -v \;   send-keys 'mitxt2' C-m \; attach
" > /nwp/2m1s
chmod 755 /nwp/2m1s

echo $"#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys 'nantxt1' C-m \; split-window -h \;   send-keys 'nantxt2' C-m \; attach
" > /nwp/2n1s
chmod 755 /nwp/2n1s




\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
#nwp calls main systems version fo the batches

..

___


________________________________
echo $"#!/bin/sh
/usr/bin/rxvt -e tmux new-session \; send-keys 'nana' C-m \; split-window -v \;   send-keys 'nanb' C-m \; split-window -h \;   send-keys 'nanc' C-m \; split-window -h \;   send-keys 'nan1' C-m \; split-window -h \;   send-keys 'nan2' C-m \; split-window -v \; send-keys 'nmic1' C-m \; select-layout tiled \; attach
" > /nwp/6n1r
chmod 755 /nwp/6n1r
echo $"#!/bin/sh
/usr/bin/rxvt -e tmux new-session \; send-keys 'mica' C-m \; split-window -v \;   send-keys 'micb' C-m \; split-window -h \;   send-keys 'micc' C-m \; split-window -h \;   send-keys 'mic1' C-m \; split-window -h \;   send-keys 'mic2' C-m \; split-window -v \; send-keys 'mnan1' C-m \; select-layout tiled \; attach
" > /nwp/6m1r
chmod 755 /nwp/6m1r
echo $"#!/bin/sh
/usr/bin/rxvt -e tmux new-session \; send-keys 'mnana' C-m \; split-window -v \;   send-keys 'mnanb' C-m \; split-window -h \; send-keys 'mnanc' C-m \; split-window -h \;   send-keys 'mnan2' C-m \; select-layout tiled \; attach
" > /nwp/4m1r
chmod 755 /nwp/4m1r
echo $"#!/bin/sh
/usr/bin/rxvt -e tmux new-session \; send-keys 'nmica' C-m \; split-window -v \;   send-keys 'nmicb' C-m \; split-window -h \; send-keys 'nmicc' C-m \; split-window -h \;   send-keys 'nmic2' C-m \; select-layout tiled \; attach
" > /nwp/4n1r
chmod 755 /nwp/4n1r
echo $"#!/bin/sh
/usr/bin/rxvt -e tmux new-session \; send-keys 'mitxt1' C-m \; split-window -v \;   send-keys 'mitxt2' C-m \; attach
" > /nwp/2m1r
chmod 755 /nwp/2m1r
echo $"#!/bin/sh
/usr/bin/rxvt -e tmux new-session \; send-keys 'nantxt1' C-m \; split-window -h \;   send-keys 'nantxt2' C-m \; attach
" > /nwp/2n1r
chmod 755 /nwp/2n1r
________________________________
________________________________
echo $"#!/bin/sh
/usr/bin/urxvt -e tmux new-session \; send-keys 'nana' C-m \; split-window -v \;   send-keys 'nanb' C-m \; split-window -h \;   send-keys 'nanc' C-m \; split-window -h \;   send-keys 'nan1' C-m \; split-window -h \;   send-keys 'nan2' C-m \; split-window -v \; send-keys 'nmic1' C-m \; select-layout tiled \; attach
" > /nwp/6n1u
chmod 755 /nwp/6n1u
echo $"#!/bin/sh
/usr/bin/urxvt -e tmux new-session \; send-keys 'mica' C-m \; split-window -v \;   send-keys 'micb' C-m \; split-window -h \;   send-keys 'micc' C-m \; split-window -h \;   send-keys 'mic1' C-m \; split-window -h \;   send-keys 'mic2' C-m \; split-window -v \; send-keys 'mnan1' C-m \; select-layout tiled \; attach
" > /nwp/6m1u
chmod 755 /nwp/6m1u
echo $"#!/bin/sh
/usr/bin/urxvt -e tmux new-session \; send-keys 'mnana' C-m \; split-window -v \;   send-keys 'mnanb' C-m \; split-window -h \; send-keys 'mnanc' C-m \; split-window -h \;   send-keys 'mnan2' C-m \; select-layout tiled \; attach
" > /nwp/4m1u
chmod 755 /nwp/4m1u
echo $"#!/bin/sh
/usr/bin/urxvt -e tmux new-session \; send-keys 'nmica' C-m \; split-window -v \;   send-keys 'nmicb' C-m \; split-window -h \; send-keys 'nmicc' C-m \; split-window -h \;   send-keys 'nmic2' C-m \; select-layout tiled \; attach
" > /nwp/4n1u
chmod 755 /nwp/4n1u
echo $"#!/bin/sh
/usr/bin/urxvt -e tmux new-session \; send-keys 'mitxt1' C-m \; split-window -v \;   send-keys 'mitxt2' C-m \; attach
" > /nwp/2m1u
chmod 755 /nwp/2m1u
echo $"#!/bin/sh
/usr/bin/urxvt -e tmux new-session \; send-keys 'nantxt1' C-m \; split-window -h \;   send-keys 'nantxt2' C-m \; attach
" > /nwp/2n1u
chmod 755 /nwp/2n1u
________________________________
echo $"#!/bin/sh
/usr/bin/lxterminal -e tmux new-session \; send-keys 'nana' C-m \; split-window -v \;   send-keys 'nanb' C-m \; split-window -h \;   send-keys 'nanc' C-m \; split-window -h \;   send-keys 'nan1' C-m \; split-window -h \;   send-keys 'nan2' C-m \; split-window -v \; send-keys 'nmic1' C-m \; select-layout tiled \; attach
" > /nwp/6n1l
chmod 755 /nwp/6n1l
echo $"#!/bin/sh
/usr/bin/lxterminal -e tmux new-session \; send-keys 'mica' C-m \; split-window -v \;   send-keys 'micb' C-m \; split-window -h \;   send-keys 'micc' C-m \; split-window -h \;   send-keys 'mic1' C-m \; split-window -h \;   send-keys 'mic2' C-m \; split-window -v \; send-keys 'mnan1' C-m \; select-layout tiled \; attach
" > /nwp/6m1l
chmod 755 /nwp/6m1l
echo $"#!/bin/sh
/usr/bin/lxterminal -e tmux new-session \; send-keys 'mnana' C-m \; split-window -v \;   send-keys 'mnanb' C-m \; split-window -h \; send-keys 'mnanc' C-m \; split-window -h \;   send-keys 'mnan2' C-m \; select-layout tiled \; attach
" > /nwp/4m1l
chmod 755 /nwp/4m1l
echo $"#!/bin/sh
/usr/bin/lxterminal -e tmux new-session \; send-keys 'nmica' C-m \; split-window -v \;   send-keys 'nmicb' C-m \; split-window -h \; send-keys 'nmicc' C-m \; split-window -h \;   send-keys 'nmic2' C-m \; select-layout tiled \; attach
" > /nwp/4n1l
chmod 755 /nwp/4n1l
echo $"#!/bin/sh
/usr/bin/lxterminal -e tmux new-session \; send-keys 'mitxt1' C-m \; split-window -v \;   send-keys 'mitxt2' C-m \; attach
" > /nwp/2m1l
chmod 755 /nwp/2m1l
echo $"#!/bin/sh
/usr/bin/lxterminal -e tmux new-session \; send-keys 'nantxt1' C-m \; split-window -h \;   send-keys 'nantxt2' C-m \; attach
" > /nwp/2n1l
chmod 755 /nwp/2n1l
________________________________________________________________
echo $"#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys 'nana' C-m \; split-window -v \;   send-keys 'nanb' C-m \; split-window -h \;   send-keys 'nanc' C-m \; split-window -h \;   send-keys 'nan1' C-m \; split-window -h \;   send-keys 'nan2' C-m \; split-window -v \; send-keys 'nmic1' C-m \; select-layout tiled \; attach
" > /nwp/6n1s
chmod 755 /nwp/6n1s
echo $"#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys 'mica' C-m \; split-window -v \;   send-keys 'micb' C-m \; split-window -h \;   send-keys 'micc' C-m \; split-window -h \;   send-keys 'mic1' C-m \; split-window -h \;   send-keys 'mic2' C-m \; split-window -v \; send-keys 'mnan1' C-m \; select-layout tiled \; attach
" > /nwp/6m1s
chmod 755 /nwp/6m1s
echo $"#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys 'mnana' C-m \; split-window -v \;   send-keys 'mnanb' C-m \; split-window -h \; send-keys 'mnanc' C-m \; split-window -h \;   send-keys 'mnan2' C-m \; select-layout tiled \; attach
" > /nwp/4m1s
chmod 755 /nwp/4m1s
echo $"#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys 'nmica' C-m \; split-window -v \;   send-keys 'nmicb' C-m \; split-window -h \; send-keys 'nmicc' C-m \; split-window -h \;   send-keys 'nmic2' C-m \; select-layout tiled \; attach
" > /nwp/4n1s
chmod 755 /nwp/4n1s
echo $"#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys 'mitxt1' C-m \; split-window -v \;   send-keys 'mitxt2' C-m \; attach
" > /nwp/2m1s
chmod 755 /nwp/2m1s
echo $"#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys 'nantxt1' C-m \; split-window -h \;   send-keys 'nantxt2' C-m \; attach
" > /nwp/2n1s
chmod 755 /nwp/2n1s
________________________________________________________________
echo $"#!/bin/sh
/usr/bin/roxterm -e tmux new-session \; send-keys 'nana' C-m \; split-window -v \;   send-keys 'nanb' C-m \; split-window -h \;   send-keys 'nanc' C-m \; split-window -h \;   send-keys 'nan1' C-m \; split-window -h \;   send-keys 'nan2' C-m \; split-window -v \; send-keys 'nmic1' C-m \; select-layout tiled \; attach
" > /nwp/6n1rx
chmod 755 /nwp/6n1rx
echo $"#!/bin/sh
/usr/bin/roxterm -e tmux new-session \; send-keys 'mica' C-m \; split-window -v \;   send-keys 'micb' C-m \; split-window -h \;   send-keys 'micc' C-m \; split-window -h \;   send-keys 'mic1' C-m \; split-window -h \;   send-keys 'mic2' C-m \; split-window -v \; send-keys 'mnan1' C-m \; select-layout tiled \; attach
" > /nwp/6m1rx
chmod 755 /nwp/6m1rx
echo $"#!/bin/sh
/usr/bin/roxterm -e tmux new-session \; send-keys 'mnana' C-m \; split-window -v \;   send-keys 'mnanb' C-m \; split-window -h \; send-keys 'mnanc' C-m \; split-window -h \;   send-keys 'mnan2' C-m \; select-layout tiled \; attach
" > /nwp/4m1rx
chmod 755 /nwp/4m1rx
echo $"#!/bin/sh
/usr/bin/roxterm -e tmux new-session \; send-keys 'nmica' C-m \; split-window -v \;   send-keys 'nmicb' C-m \; split-window -h \; send-keys 'nmicc' C-m \; split-window -h \;   send-keys 'nmic2' C-m \; select-layout tiled \; attach
" > /nwp/4n1rx
chmod 755 /nwp/4n1rx
echo $"#!/bin/sh
/usr/bin/roxterm -e tmux new-session \; send-keys 'mitxt1' C-m \; split-window -v \;   send-keys 'mitxt2' C-m \; attach
" > /nwp/2m1rx
chmod 755 /nwp/2m1rx
echo $"#!/bin/sh
/usr/bin/roxterm -e tmux new-session \; send-keys 'nantxt1' C-m \; split-window -h \;   send-keys 'nantxt2' C-m \; attach
" > /nwp/2n1rx
chmod 755 /nwp/2n1rx
________________________________

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\



the portable folders made by note, notesm, and notesn have "cat" scripts.

catted as opposed to cat on a script or .txt file means it was concatenated without overwriting (has past)
the other version only differs in catting all the cats or not. for that pair, the one with the 0 (cat4n0) overwrites. alter to call notesn/m folders elsewhere or delete. hold down control x in in nano or control q in micro to quickly close a batch. add any readable file to the folders and the text editors will open them when that folder's batch is called.

enjoy.

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


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Wed 03 Jul 2019, 07:28    Post subject: suggested icon batch for launchers
Subject description: dump in terminal or alter and use vtg
 

Code:
#!/bin/sh
#thanks to technosaurus for text2xpm: http://www.murga-linux.com/puppy/viewtopic.php?p=561822#561822
#template example for txt2xpm scripts i used to make the icons--this one's set up for "mcc" in both lowercase and caps--change the file name (bit just before the .xpm since the rest identifies the creating script and that the content).

#odt txt doc docx pdf mon san ser pwn lpx nwp vtg rtf [h] [x] [p] [o] [d] bae mae n n1 n2 n3 n4 ae-p >x<  >d<  >o< [   ] {   } |  |  | 1 2 3 4 5 6 7 8 9 0 !# >_  [=] () )(  [!] [...] [.] [..] (/) ( / )  ODT TXT DOC DOCX PDF MON SAN SER PWN LPX NWP VTG RTF [H] [X] [P] [O] [D] BAE MAE N N1 N2 N3 N4 AE-P >X<  >D<  >O<
#mkdir -p /usr/share/applications/icons-alt/lab
mkdir -p /root/Desktop/desktops/icons/
0artxpm "MICRO" >/root/Desktop/desktops/icons/0artlmicro.xpm
0atxpm "MICRO" >/root/Desktop/desktops/icons/0atlmicro.xpm
0rwtxpm "MICRO" >/root/Desktop/desktops/icons/0rwtlmicro.xpm
0txpm "0MICRO" >/root/Desktop/desktops/icons/0tlmicro.xpm
1txpm "1MICRO" >/root/Desktop/desktops/icons/1tlmicro.xpm
2txpm "2MICRO" >/root/Desktop/desktops/icons/2tlmicro.xpm
3txpm "3MICRO" >/root/Desktop/desktops/icons/3tlmicro.xpm
4txpm "4MICRO" >/root/Desktop/desktops/icons/4tlmicro.xpm
5txpm "5MICRO" >/root/Desktop/desktops/icons/5tlmicro.xpm
6txpm "6MICRO" >/root/Desktop/desktops/icons/6tlmicro.xpm
7txpm "7MICRO" >/root/Desktop/desktops/icons/7tlmicro.xpm
8txpm "8MICRO" >/root/Desktop/desktops/icons/8tlmicro.xpm
9txpm "9MICRO" >/root/Desktop/desktops/icons/9tlmicro.xpm
bltxpm "MICRO" >/root/Desktop/desktops/icons/bltlmicro.xpm
botxpm "MICRO" >/root/Desktop/desktops/icons/botlmicro.xpm
btxpm "MICRO" >/root/Desktop/desktops/icons/btlmicro.xpm
bwtxpm "MICRO" >/root/Desktop/desktops/icons/bwtlmicro.xpm
deftxpm "MICRO" >/root/Desktop/desktops/icons/deftlmicro.xpm
defxpm "MICRO" >/root/Desktop/desktops/icons/deflmicro.xpm
gbtxpm "MICRO" >/root/Desktop/desktops/icons/gbtlmicro.xpm
gwtxpm "MICRO" >/root/Desktop/desktops/icons/gwtlmicro.xpm
kwtxpm "MICRO" >/root/Desktop/desktops/icons/kwtlmicro.xpm
lbtxpm "MICRO" >/root/Desktop/desktops/icons/lbtlmicro.xpm
lotxpm "MICRO" >/root/Desktop/desktops/icons/lotlmicro.xpm
obtxpm "MICRO" >/root/Desktop/desktops/icons/obtlmicro.xpm
oltxpm "MICRO" >/root/Desktop/desktops/icons/oltlmicro.xpm
prtext2xpm "MICRO" >/root/Desktop/desktops/icons/prtext2lmicro.xpm
prtxpm "MICRO" >/root/Desktop/desktops/icons/prtlmicro.xpm
ptxpm "MICRO" >/root/Desktop/desktops/icons/ptlmicro.xpm
rdbltxpm "MICRO" >/root/Desktop/desktops/icons/rdbltlmicro.xpm
rdltxpm "MICRO" >/root/Desktop/desktops/icons/rdltlmicro.xpm
rldtxpm "MICRO" >/root/Desktop/desktops/icons/rldtlmicro.xpm
rrdbltxpm "MICRO" >/root/Desktop/desktops/icons/rrdbltlmicro.xpm
text2xpm "MICRO" >/root/Desktop/desktops/icons/text2lmicro.xpm
wbtxpm "MICRO" >/root/Desktop/desktops/icons/wbtlmicro.xpm
wgtxpm "MICRO" >/root/Desktop/desktops/icons/wgtlmicro.xpm
wktxpm "MICRO" >/root/Desktop/desktops/icons/wktlmicro.xpm
wtxpm "MICRO" >/root/Desktop/desktops/icons/wtlmicro.xpm
wtxt2xpm "MICRO" >/root/Desktop/desktops/icons/wtxt2lmicro.xpm
0artxpm "NANO" >/root/Desktop/desktops/icons/0artnano.xpm
0atxpm "NANO" >/root/Desktop/desktops/icons/0atnano.xpm
0rwtxpm "NANO" >/root/Desktop/desktops/icons/0rwtnano.xpm
0txpm "0NANO" >/root/Desktop/desktops/icons/0tnano.xpm
1txpm "1NANO" >/root/Desktop/desktops/icons/1tnano.xpm
2txpm "2NANO" >/root/Desktop/desktops/icons/2tnano.xpm
3txpm "3NANO" >/root/Desktop/desktops/icons/3tnano.xpm
4txpm "4NANO" >/root/Desktop/desktops/icons/4tnano.xpm
5txpm "5NANO" >/root/Desktop/desktops/icons/5tnano.xpm
6txpm "6NANO" >/root/Desktop/desktops/icons/6tnano.xpm
7txpm "7NANO" >/root/Desktop/desktops/icons/7tnano.xpm
8txpm "8NANO" >/root/Desktop/desktops/icons/8tnano.xpm
9txpm "9NANO" >/root/Desktop/desktops/icons/9tnano.xpm
bltxpm "NANO" >/root/Desktop/desktops/icons/bltnano.xpm
botxpm "NANO" >/root/Desktop/desktops/icons/botnano.xpm
btxpm "NANO" >/root/Desktop/desktops/icons/btnano.xpm
bwtxpm "NANO" >/root/Desktop/desktops/icons/bwtnano.xpm
deftxpm "NANO" >/root/Desktop/desktops/icons/deftnano.xpm
defxpm "NANO" >/root/Desktop/desktops/icons/defnano.xpm
gbtxpm "NANO" >/root/Desktop/desktops/icons/gbtnano.xpm
gwtxpm "NANO" >/root/Desktop/desktops/icons/gwtnano.xpm
kwtxpm "NANO" >/root/Desktop/desktops/icons/kwtnano.xpm
lbtxpm "NANO" >/root/Desktop/desktops/icons/lbtnano.xpm
lotxpm "NANO" >/root/Desktop/desktops/icons/lotnano.xpm
obtxpm "NANO" >/root/Desktop/desktops/icons/obtnano.xpm
oltxpm "NANO" >/root/Desktop/desktops/icons/oltnano.xpm
prtext2xpm "NANO" >/root/Desktop/desktops/icons/prtext2nano.xpm
prtxpm "NANO" >/root/Desktop/desktops/icons/prtnano.xpm
ptxpm "NANO" >/root/Desktop/desktops/icons/ptnano.xpm
rdbltxpm "NANO" >/root/Desktop/desktops/icons/rdbltnano.xpm
rdltxpm "NANO" >/root/Desktop/desktops/icons/rdltnano.xpm
rldtxpm "NANO" >/root/Desktop/desktops/icons/rldtnano.xpm
rrdbltxpm "NANO" >/root/Desktop/desktops/icons/rrdbltnano.xpm
text2xpm "NANO" >/root/Desktop/desktops/icons/text2nano.xpm
wbtxpm "NANO" >/root/Desktop/desktops/icons/wbtnano.xpm
wgtxpm "NANO" >/root/Desktop/desktops/icons/wgtnano.xpm
wktxpm "NANO" >/root/Desktop/desktops/icons/wktnano.xpm
wtxpm "NANO" >/root/Desktop/desktops/icons/wtnano.xpm
wtxt2xpm "NANO" >/root/Desktop/desktops/icons/wtxt2nano.xpm
#mixbyname12abc
0artxpm "NAN2" >/root/Desktop/desktops/icons/0artumicro.xpm
0atxpm "NAN2" >/root/Desktop/desktops/icons/0atumicro.xpm
0rwtxpm "NAN2" >/root/Desktop/desktops/icons/0rwtumicro.xpm
0txpm "NAN2" >/root/Desktop/desktops/icons/0tumicro.xpm
1txpm "NAN1" >/root/Desktop/desktops/icons/1tumicro.xpm
2txpm "NAN1" >/root/Desktop/desktops/icons/2tumicro.xpm
3txpm "NAN1" >/root/Desktop/desktops/icons/3tumicro.xpm
4txpm "NAN1" >/root/Desktop/desktops/icons/4tumicro.xpm
5txpm "NAN1" >/root/Desktop/desktops/icons/5tumicro.xpm
6txpm "NANC" >/root/Desktop/desktops/icons/6tumicro.xpm
7txpm "NANC" >/root/Desktop/desktops/icons/7tumicro.xpm
8txpm "NANC" >/root/Desktop/desktops/icons/8tumicro.xpm
9txpm "NANC" >/root/Desktop/desktops/icons/9tumicro.xpm
bltxpm "NANB" >/root/Desktop/desktops/icons/bltumicro.xpm
botxpm "NANB" >/root/Desktop/desktops/icons/botumicro.xpm
btxpm "NANB" >/root/Desktop/desktops/icons/btumicro.xpm
bwtxpm "NANA" >/root/Desktop/desktops/icons/bwtumicro.xpm
deftxpm "NANA" >/root/Desktop/desktops/icons/deftumicro.xpm
defxpm "MIC2" >/root/Desktop/desktops/icons/defumicro.xpm
gbtxpm "MIC2" >/root/Desktop/desktops/icons/gbtumicro.xpm
gwtxpm "MIC2" >/root/Desktop/desktops/icons/gwtumicro.xpm
kwtxpm "MIC2" >/root/Desktop/desktops/icons/kwtumicro.xpm
lbtxpm "MIC2" >/root/Desktop/desktops/icons/lbtumicro.xpm
lotxpm "MIC1" >/root/Desktop/desktops/icons/lotumicro.xpm
obtxpm "MICC" >/root/Desktop/desktops/icons/obtumicro.xpm
oltxpm "MICC" >/root/Desktop/desktops/icons/oltumicro.xpm
prtext2xpm "MICC" >/root/Desktop/desktops/icons/prtext2umicro.xpm
prtxpm "MICC" >/root/Desktop/desktops/icons/prtumicro.xpm
ptxpm "MICC" >/root/Desktop/desktops/icons/ptumicro.xpm
rdbltxpm "MICC" >/root/Desktop/desktops/icons/rdbltumicro.xpm
rdltxpm "MICB" >/root/Desktop/desktops/icons/rdltumicro.xpm
rldtxpm "MICB" >/root/Desktop/desktops/icons/rldtumicro.xpm
rrdbltxpm "MICB" >/root/Desktop/desktops/icons/rrdbltumicro.xpm
text2xpm "MICB" >/root/Desktop/desktops/icons/text2umicro.xpm
wbtxpm "MICB" >/root/Desktop/desktops/icons/wbtumicro.xpm
wgtxpm "MICA" >/root/Desktop/desktops/icons/wgtumicro.xpm
wktxpm "MICA" >/root/Desktop/desktops/icons/wktumicro.xpm
wtxpm "MICA" >/root/Desktop/desktops/icons/wtumicro.xpm
wtxt2xpm "MICA" >/root/Desktop/desktops/icons/wtxt2umicro.xpm
#tmuxes
0artxpm "TMUX" >/root/Desktop/desktops/icons/0arttmux.xpm
0atxpm "TMUX" >/root/Desktop/desktops/icons/0attmux.xpm
0rwtxpm "TMUX" >/root/Desktop/desktops/icons/0rwttmux.xpm
0txpm "0TMUX" >/root/Desktop/desktops/icons/0ttmux.xpm
1txpm "1TMUX" >/root/Desktop/desktops/icons/1ttmux.xpm
2txpm "2TMUX" >/root/Desktop/desktops/icons/2ttmux.xpm
3txpm "3TMUX" >/root/Desktop/desktops/icons/3ttmux.xpm
4txpm "4TMUX" >/root/Desktop/desktops/icons/4ttmux.xpm
5txpm "5TMUX" >/root/Desktop/desktops/icons/5ttmux.xpm
6txpm "6TMUX" >/root/Desktop/desktops/icons/6ttmux.xpm
7txpm "7TMUX" >/root/Desktop/desktops/icons/7ttmux.xpm
8txpm "8TMUX" >/root/Desktop/desktops/icons/8ttmux.xpm
9txpm "9TMUX" >/root/Desktop/desktops/icons/9ttmux.xpm
bltxpm "TMUX" >/root/Desktop/desktops/icons/blttmux.xpm
botxpm "TMUX" >/root/Desktop/desktops/icons/bottmux.xpm
btxpm "TMUX" >/root/Desktop/desktops/icons/bttmux.xpm
bwtxpm "TMUX" >/root/Desktop/desktops/icons/bwttmux.xpm
deftxpm "TMUX" >/root/Desktop/desktops/icons/defttmux.xpm
defxpm "TMUX" >/root/Desktop/desktops/icons/deftmux.xpm
gbtxpm "TMUX" >/root/Desktop/desktops/icons/gbttmux.xpm
gwtxpm "TMUX" >/root/Desktop/desktops/icons/gwttmux.xpm
kwtxpm "TMUX" >/root/Desktop/desktops/icons/kwttmux.xpm
lbtxpm "TMUX" >/root/Desktop/desktops/icons/lbttmux.xpm
lotxpm "TMUX" >/root/Desktop/desktops/icons/lottmux.xpm
obtxpm "TMUX" >/root/Desktop/desktops/icons/obttmux.xpm
oltxpm "TMUX" >/root/Desktop/desktops/icons/olttmux.xpm
prtext2xpm "TMUX" >/root/Desktop/desktops/icons/prtext2tmux.xpm
prtxpm "TMUX" >/root/Desktop/desktops/icons/prttmux.xpm
ptxpm "TMUX" >/root/Desktop/desktops/icons/pttmux.xpm
rdbltxpm "TMUX" >/root/Desktop/desktops/icons/rdblttmux.xpm
rdltxpm "TMUX" >/root/Desktop/desktops/icons/rdlttmux.xpm
rldtxpm "TMUX" >/root/Desktop/desktops/icons/rldttmux.xpm
rrdbltxpm "TMUX" >/root/Desktop/desktops/icons/rrdblttmux.xpm
text2xpm "TMUX" >/root/Desktop/desktops/icons/text2tmux.xpm
wbtxpm "TMUX" >/root/Desktop/desktops/icons/wbttmux.xpm
wgtxpm "TMUX" >/root/Desktop/desktops/icons/wgttmux.xpm
wktxpm "TMUX" >/root/Desktop/desktops/icons/wkttmux.xpm
wtxpm "TMUX" >/root/Desktop/desktops/icons/wttmux.xpm
wtxt2xpm "TMUX" >/root/Desktop/desktops/icons/wtxt2tmux.xpm
wtxpm "3TMUX" >/root/Desktop/desktops/icons/wtt3mux.xpm
wtxt2xpm "2TMUX" >/root/Desktop/desktops/icons/wtxt2tm2ux.xpm
deftxpm "6TMUX" >/root/Desktop/desktops/icons/def6ttmux.xpm
defxpm "4TMUX" >/root/Desktop/desktops/icons/deft4mux.xpm
gbtxpm "2TMUX" >/root/Desktop/desktops/icons/gbttmu2x.xpm
gwtxpm "6TMUX" >/root/Desktop/desktops/icons/gwttm6ux.xpm
kwtxpm "4TMUX" >/root/Desktop/desktops/icons/kwt4tmux.xpm
lbtxpm "2TMUX" >/root/Desktop/desktops/icons/lbttm2ux.xpm
lotxpm "6TMUX" >/root/Desktop/desktops/icons/lot6tmux.xpm
obtxpm "4TMUX" >/root/Desktop/desktops/icons/obt4tmux.xpm
oltxpm "3TMUX" >/root/Desktop/desktops/icons/oltt3mux.xpm
#smaller direcotry icons:
bltxpm " /  " >/root/Desktop/desktops/icons/bltdir.xpm
botxpm " /  " >/root/Desktop/desktops/icons/botdir.xpm
btxpm " /  " >/root/Desktop/desktops/icons/btdir.xpm
bwtxpm " /  " >/root/Desktop/desktops/icons/bwtdir.xpm
deftxpm " /  " >/root/Desktop/desktops/icons/deftdir.xpm
defxpm " /  " >/root/Desktop/desktops/icons/defdir.xpm
gbtxpm " /  " >/root/Desktop/desktops/icons/gbtdir.xpm
gwtxpm " /  " >/root/Desktop/desktops/icons/gwtdir.xpm
kwtxpm " /  " >/root/Desktop/desktops/icons/kwtdir.xpm
lbtxpm " /  " >/root/Desktop/desktops/icons/lbtdir.xpm
lotxpm " /  " >/root/Desktop/desktops/icons/lotdir.xpm
obtxpm " /  " >/root/Desktop/desktops/icons/obtdir.xpm
oltxpm " /  " >/root/Desktop/desktops/icons/oltdir.xpm
prtext2xpm " /  " >/root/Desktop/desktops/icons/prtext2dir.xpm
prtxpm " /  " >/root/Desktop/desktops/icons/prtdir.xpm
ptxpm " /  " >/root/Desktop/desktops/icons/ptdir.xpm
rdbltxpm " /  " >/root/Desktop/desktops/icons/rdbltdir.xpm
rdltxpm " /  " >/root/Desktop/desktops/icons/rdltdir.xpm
rldtxpm " /  " >/root/Desktop/desktops/icons/rldtdir.xpm
rrdbltxpm " /  " >/root/Desktop/desktops/icons/rrdbltdir.xpm
text2xpm " /  " >/root/Desktop/desktops/icons/text2dir.xpm
wbtxpm " /  " >/root/Desktop/desktops/icons/wbtdir.xpm
wgtxpm " /  " >/root/Desktop/desktops/icons/wgtdir.xpm
wktxpm " /  " >/root/Desktop/desktops/icons/wktdir.xpm
wtxpm " /  " >/root/Desktop/desktops/icons/wtdir.xpm
wtxt2xpm " /  " >/root/Desktop/desktops/icons/wtxt2dir.xpm


subtitle to the post talks of vtg (through geany--the cauliflower on the interface) but i've recently discovered that built in mp has a nifty way of deleting and/or renaming files in a directory.

a little more (plus directory and panel icons in the mode of above):
http://murga-linux.com/puppy/viewtopic.php?p=1031444#1031444
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Sun 07 Jul 2019, 01:51    Post subject: newest batch of launcher (and terminal) shortcuts/codes
Subject description: also, the newest libre offices
 

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


micro1.4.1-nuupn32n64.pet: https://drive.google.com/file/d/11xAyVXFrM7hvSQ64h8yqaYhcBm9_HeVv/view?usp=sharing
---
from Re: newest batch of launcher (and terminal) shortcuts/codes (http://murga-linux.com/puppy/viewtopic.php?p=1031689#1031689)

Puppus Dogfellow wrote:
Quote:

i'll add a more concise list of the launcher and terminal shortcuts (names of the scripts generated above), but for now here's the most recent one explained as a guide:



Code:

echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/1/*
' > /nwp/mic1d
chmod 755 /nwp/mic1d
echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/2/*
' > /nwp/mic2d
chmod 755 /nwp/mic2d
echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/a/*
' > /nwp/micad
chmod 755 /nwp/micad
echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/b/*
' > /nwp/micbd
chmod 755 /nwp/micbd
echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/c/*
' > /nwp/miccd
chmod 755 /nwp/miccd


there are five subfolders (1,2,a,b,c) that get generated with the note(sm,n) scripts. each is filled with blank documents. you can add to, delete, or rename what's there and still batch launch and combine them with the helper scripts. this one's got the mic for micro and the d- because i generated the folders in my-documents with a call to "note" in the pinstall script. the letter/number in between that last d and the the mic is which batch is being called. versions without a terminal (as in that ..sakura -e bit) are better suited to be called in tmux panes, and there are templates for a number of those as well (get tmux through your ppm before trying the ones in the link at the top of this post).


that's the launcher version. the terminal version has no addition terminal as part of the launch command. helpful to know: control q in micro and control x in nano will rapidly close all your open documents (unless there's an unsaved change). another tip is that you can move the default folders anywhere you like and rename them--just symlink back to the original location and rename the symlink back to the original folder (0n4n/0m4u) or just recopy the pinstall in a text editor, do search and replace, and resend through the terminal or vtg it in geany.

use ll or gl (name) to edit the individual sets (for instance, keep the name, swap the terminal you don't use out, swap in a new set (like nand), or substitute custom commands in those nan/mic slots):



(nwp only:)
6--open all defaults of one plus one of the other
4 the rest of the five from the one not covered by the 6tmux series
2 catted files from micro set or nano set
rx - roxterm
l - lxterminal
u - urxvt
r - rxvt
s - sakura
m - micro
n - nano
6,4,2 --how many panes; defaults are:

6n1rx
6m1rx
4n1rx
4m1rx
2n1rx
2m1rx

6n1r
6m1r
4n1r
4m1r
2n1r
2m1r

6n1s
6m1s
4n1s
4m1s
2n1s
2m1s

6n1u
6m1u
4n1u
4m1u
2n1u
2m1u

6n1l
6m1l
4n1l
4m1l
2n1l
2m1l


in terminal launches subfolder named out of /root/my-documtents/(0n4n/0m4u)
in launcher opens terminal to do it (set for sakura)(most things default to rxvt.
nanad
nanbd
nancd
nan1d
nan2d
micad
micbd
miccd
mic1d
mic2d


____


in nwp/pwn (p in terminal) launcher,
nana --open the txt file batch in nwp/wp/0nan4/a with nano
mnana --same but with micro
nanb --open the txt file batch in nwp/wp/0nan4/b with nano
mnanb --same but with micro
nanc --open the txt file batch in nwp/wp/0nan4/c with nano
mnanc --same but with micro
nan1 --open the txt file batch in nwp/wp/0nan4/1 with nano
mnan1 --same but with micro
nan2 --open the txt file batch in nwp/wp/0nan4/2 with nano
mnan2 --same but with micro
#(0nan4 was nano's default folder from the earlier nano293 pets, now part of notesn,note)
#
in nwp/pwn (p in terminal) launcher,
mica --open the txt file batch in nwp/wp/0m4u/a with micro
nmica --same but with nano
micb --open the txt file batch in nwp/wp/0m4u/b with micro
nmicb --same but with nano
micc --open the txt file batch in nwp/wp/0m4u/c with micro
nmicc --same but with nano
mic1 --open the txt file batch in nwp/wp/0m4u/1 with micro
nmic1 --same but with nano
mic2 --open the txt file batch in nwp/wp/0m4u/2 with micro
nmic2 --same but with nano
#(0m4u was micro's default folder from the earlier nano 293 pets, now part of notesm,note)
#

non terminal perusal:
same as the micro nano sets for nwp/wp but with gui based editors. mp is minimum profit, gi is geany new instance, g is geany. the 12abc are the same convention as above. the ones tith the n use nano, the ones with t u use micro.
mpu1
mpn1
gin1
giu1
gn1
gu1
mpu2
mpn2
gin2
giu2
gn2
gu2
mpua
mpna
gina
giua
gna
gua
mpub
mpnb
ginb
giub
gnb
gub
mpuc
mpnc
ginc
giuc
gnc
guc


send template to directory through terminal:
notesn
notesm
note
nanotes (nano directory as xz compressed file)
nanoh -nano config and help and markdown help
nanoc -just nano config file

nan + a,b,c,1, or 2 --open the sub folder in nano
mic + a,b,c,1, or 2 -- open that subfolder in micro
(terminal and nwp are laid out the same way, but the nwp one makes no sense to call from the launcher--modify and use in scripts (such as the tmux batch launches).

getmicro -- install or update micro text editor
____

for desktop files you can either use the file manager to open the directory where you keep/move the defaults--the scripts inside can be clicked or just use cd (new directory); script in that folder, or make separate ones for the terminal opening up either a subdirectory (terminal e- nan/mic (a,b,c,1,2,) or a group of them (terminal e- tmux nan/mic (a,b,c,1, or 2).




Code:


#nwp and my apps bin set to launch a set in root/my-documents with nano and micro
#swap to suit
#tebatches2-my Documents (..d)
echo $'#!/bin/sh
nano /root/my-documents/0n4n/1/*
' > /root/my-applications/bin/nan1d
chmod 755 /root/my-applications/bin/nan1d
echo $'#!/bin/sh
nano /root/my-documents/0n4n/2/*
' > /root/my-applications/bin/nan2d
chmod 755 /root/my-applications/bin/nan2d
echo $'#!/bin/sh
nano /root/my-documents/0n4n/a/*
' > /root/my-applications/bin/nanad
chmod 755 /root/my-applications/bin/nanad
echo $'#!/bin/sh
nano /root/my-documents/0n4n/b/*
' > /root/my-applications/bin/nanbd
chmod 755 /root/my-applications/bin/nanbd
echo $'#!/bin/sh
nano /root/my-documents/0n4n/c/*
' > /root/my-applications/bin/nancd
chmod 755 /root/my-applications/bin/nancd

echo $'#!/bin/sh
micro /root/my-documents/0m4u/1/*
' > /root/my-applications/bin/mic1d
chmod 755 /root/my-applications/bin/mic1d
echo $'#!/bin/sh
micro /root/my-documents/0m4u/2/*
' > /root/my-applications/bin/mic2d
chmod 755 /root/my-applications/bin/mic2d
echo $'#!/bin/sh
micro /root/my-documents/0m4u/a/*
' > /root/my-applications/bin/micad
chmod 755 /root/my-applications/bin/micad
echo $'#!/bin/sh
micro /root/my-documents/0m4u/b/*
' > /root/my-applications/bin/micbd
chmod 755 /root/my-applications/bin/micbd
echo $'#!/bin/sh
micro /root/my-documents/0m4u/c/*
' > /root/my-applications/bin/miccd
chmod 755 /root/my-applications/bin/miccd

#tebatches-my Documents (..d)
echo $'#!/bin/sh
/usr/bin/sakura -e nano  /root/my-documents/0n4n/1/*
' > /nwp/nan1d
chmod 755 /nwp/nan1d
echo $'#!/bin/sh
/usr/bin/sakura -e nano  /root/my-documents/0n4n/2/*
' > /nwp/nan2d
chmod 755 /nwp/nan2d
echo $'#!/bin/sh
/usr/bin/sakura -e nano  /root/my-documents/0n4n/a/*
' > /nwp/nanad
chmod 755 /nwp/nanad
echo $'#!/bin/sh
/usr/bin/sakura -e nano  /root/my-documents/0n4n/b/*
' > /nwp/nanbd
chmod 755 /nwp/nanbd
echo $'#!/bin/sh
/usr/bin/sakura -e nano  /root/my-documents/0n4n/c/*
' > /nwp/nancd
chmod 755 /nwp/nancd

echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/1/*
' > /nwp/mic1d
chmod 755 /nwp/mic1d
echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/2/*
' > /nwp/mic2d
chmod 755 /nwp/mic2d
echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/a/*
' > /nwp/micad
chmod 755 /nwp/micad
echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/b/*
' > /nwp/micbd
chmod 755 /nwp/micbd
echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/c/*
' > /nwp/miccd
chmod 755 /nwp/miccd



run the green bit in the terminal to give the my-documents version of the batches something to refer to.


micro1.4.1-nuupn32n64.pet: https://drive.google.com/file/d/11xAyVXFrM7hvSQ64h8yqaYhcBm9_HeVv/view?usp=sharing

(green bit comes from the pinstall in the above pet)
______

here are the newest libre offices:

LibreOffice-6.2.5_en-US_xz.sfs
LibreOffice-6.2.5_en-US_xz.pet
LibreOffice-6.2.5_64_en-US_xz.sfs
LibreOffice-6.2.5_64_en-US_xz.pet
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Fri 12 Jul 2019, 15:22    Post subject: tnux.pet updates/improves micro1..-nuupn3264n.pet above
Subject description: menu entry for my-docs set; update mmv; individual and batch launch batches from folder..
 

tnux.pet will back up your folders if you've installed the earlier version. as above, say no to the wrong architecture when the nano pop ups appear (or both as that's the same as above--293. if you've got newer, say no to all). menu entry opens up /root/my-documents to the folders with the scripts and blanks. you could change the exec line to point to specific scripts inside those folders depending on how you want to run things. the pinstall script:

Code:

#!/bin/sh
mv /nwp/wp/0n4n /nwp/wp/0n4n-00
mv /nwp/wp/0m4u /nwp/wp/0m4u-0
mv /root/my-documents/0m4u /root/my-documents/0m4u-0
mv /root/my-documents/0n4n /root/my-documents/0n4n-0
cd /root/.config/rox.sourceforge.net/Templates/
note
cd /nwp/wp
note
cd /root/my-documents/
note
echo $'#!/bin/sh
cd /root/my-applications/bin/
curl https://getmic.ro | bash
chmod 755 /root/my-applications/bin/micro
' > /root/my-applications/bin/getmicro
chmod 755 /root/my-applications/bin/getmicro
echo $'#!/bin/sh
cd /root/my-applications/bin/
curl https://getmic.ro | bash
chmod 755 /root/my-applications/bin/micro
' > /nwp/getmicro
chmod 755 /nwp/getmicro

#[...]
#default is to open up with rxvt (which you can swap out above) and to open the templates as created by the micro pet's pinstall script. you can change that too--overwrite the nwp and regular PATH versions with your custom jobbies.#
##
#i'm in the process of releasing a general/migration (anuupuus) update for the recent additions and changes, so some of this stuff may seem redundant, but the extra's to be altered (or maybe i've abandoned an idea and left part of it in...)#
#
#the next batch of launcher shortcuts are still focused on the terminal text editors. most of them will either launch a batch from the desktop or terminal, but some will launch batches of batches in tmux windows. the basic breakdown of that launcher code is the first number is how many tmux panels will be filled with text editors launching batches of files; second is n for nano or m for micro as the coices for editor; next is version number (for either nwp/pwn or regular terminal--i.e. your renaming scheme goes here; letter that follows version number is s for sakura, u for urxvt, r for rxvt, rx for roxterm, l for txterminal; last letter is an optional n to say whether the version of, for example, nanb in my apps bin is being called or the one in nwp is being called. default is they're the same. alter for your placement of the (renamable) 0n4n/0m4u folders (scripts within folders are ignorant of of their parent folder and launch differently than the nwp and PATH versions (i.e. they're portable).#
##
#___#
##
#next bit is#
##
#Code:   
#tebatches
echo $'#!/bin/sh
nano /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/nan1
chmod 755 /root/my-applications/bin/nan1
echo $'#!/bin/sh
nano /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/nan2
chmod 755 /root/my-applications/bin/nan2
echo $'#!/bin/sh
nano /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/nana
chmod 755 /root/my-applications/bin/nana
echo $'#!/bin/sh
nano /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/nanb
chmod 755 /root/my-applications/bin/nanb
echo $'#!/bin/sh
nano /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/nanc
chmod 755 /root/my-applications/bin/nanc

echo $'#!/bin/sh
micro /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/mic1
chmod 755 /root/my-applications/bin/mic1
echo $'#!/bin/sh
micro /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/mic2
chmod 755 /root/my-applications/bin/mic2
echo $'#!/bin/sh
micro /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/mica
chmod 755 /root/my-applications/bin/mica
echo $'#!/bin/sh
micro /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/micb
chmod 755 /root/my-applications/bin/micb
echo $'#!/bin/sh
micro /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/micc
chmod 755 /root/my-applications/bin/micc

echo $'#!/bin/sh
micro /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/mnan1
chmod 755 /root/my-applications/bin/mnan1
echo $'#!/bin/sh
micro /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/mnan2
chmod 755 /root/my-applications/bin/mnan2
echo $'#!/bin/sh
micro /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/mnana
chmod 755 /root/my-applications/bin/mnana
echo $'#!/bin/sh
micro /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/mnanb
chmod 755 /root/my-applications/bin/mnanb
echo $'#!/bin/sh
micro /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/mnanc
chmod 755 /root/my-applications/bin/mnanc
echo $'#!/bin/sh
nano /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/nmic1
chmod 755 /root/my-applications/bin/nmic1
echo $'#!/bin/sh
nano /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/nmic2
chmod 755 /root/my-applications/bin/nmic2
echo $'#!/bin/sh
nano /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/nmica
chmod 755 /root/my-applications/bin/nmica
echo $'#!/bin/sh
nano /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/nmicb
chmod 755 /root/my-applications/bin/nmicb
echo $'#!/bin/sh
nano /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/nmicc
chmod 755 /root/my-applications/bin/nmicc

echo $'#!/bin/sh
mp /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/mpn1
chmod 755 /root/my-applications/bin/mpn1
echo $'#!/bin/sh
mp /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/mpn2
chmod 755 /root/my-applications/bin/mpn2
echo $'#!/bin/sh
mp /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/mpna
chmod 755 /root/my-applications/bin/mpna
echo $'#!/bin/sh
mp /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/mpnb
chmod 755 /root/my-applications/bin/mpnb
echo $'#!/bin/sh
mp /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/mpnc
chmod 755 /root/my-applications/bin/mpnc
echo $'#!/bin/sh
mp /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/mpu1
chmod 755 /root/my-applications/bin/mpu1
echo $'#!/bin/sh
mp /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/mpu2
chmod 755 /root/my-applications/bin/mpu2
echo $'#!/bin/sh
mp /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/mpua
chmod 755 /root/my-applications/bin/mpua
echo $'#!/bin/sh
mp /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/mpub
chmod 755 /root/my-applications/bin/mpub
echo $'#!/bin/sh
mp /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/mpuc
chmod 755 /root/my-applications/bin/mpuc

echo $'#!/bin/sh
geany /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/gn1
chmod 755 /root/my-applications/bin/gn1
echo $'#!/bin/sh
geany /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/gn2
chmod 755 /root/my-applications/bin/gn2
echo $'#!/bin/sh
geany /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/gna
chmod 755 /root/my-applications/bin/gna
echo $'#!/bin/sh
geany /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/gnb
chmod 755 /root/my-applications/bin/gnb
echo $'#!/bin/sh
geany /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/gnc
chmod 755 /root/my-applications/bin/gnc
echo $'#!/bin/sh
geany /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/gu1
chmod 755 /root/my-applications/bin/gu1
echo $'#!/bin/sh
geany /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/gu2
chmod 755 /root/my-applications/bin/gu2
echo $'#!/bin/sh
geany /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/gua
chmod 755 /root/my-applications/bin/gua
echo $'#!/bin/sh
geany /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/gub
chmod 755 /root/my-applications/bin/gub
echo $'#!/bin/sh
geany /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/guc
chmod 755 /root/my-applications/bin/guc

echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/gin1
chmod 755 /root/my-applications/bin/gin1
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/gin2
chmod 755 /root/my-applications/bin/gin2
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/gina
chmod 755 /root/my-applications/bin/gina
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/ginb
chmod 755 /root/my-applications/bin/ginb
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/ginc
chmod 755 /root/my-applications/bin/ginc
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/giu1
chmod 755 /root/my-applications/bin/giu1
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/giu2
chmod 755 /root/my-applications/bin/giu2
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/giua
chmod 755 /root/my-applications/bin/giua
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/giub
chmod 755 /root/my-applications/bin/giub
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/giuc
chmod 755 /root/my-applications/bin/giuc
#
#reverse: same as above but with nano opening micro's default folder and files and micro opening nano's folders and files:
echo $'#!/bin/sh
micro /nwp/wp/0n4n/1/*
' > /nwp/mnan1
chmod 755 /nwp/mnan1
echo $'#!/bin/sh
micro /nwp/wp/0n4n/2/*
' > /nwp/mnan2
chmod 755 /nwp/mnan2
echo $'#!/bin/sh
micro /nwp/wp/0n4n/a/*
' > /nwp/mnana
chmod 755 /nwp/mnana
echo $'#!/bin/sh
micro /nwp/wp/0n4n/b/*
' > /nwp/mnanb
chmod 755 /nwp/mnanb
echo $'#!/bin/sh
micro /nwp/wp/0n4n/c/*
' > /nwp/mnanc
chmod 755 /nwp/mnanc
echo $'#!/bin/sh
nano /nwp/wp/0m4u/1/*
' > /nwp/nmic1
chmod 755 /nwp/nmic1
echo $'#!/bin/sh
nano /nwp/wp/0m4u/2/*
' > /nwp/nmic2
chmod 755 /nwp/nmic2
echo $'#!/bin/sh
nano /nwp/wp/0m4u/a/*
' > /nwp/nmica
chmod 755 /nwp/nmica
echo $'#!/bin/sh
nano /nwp/wp/0m4u/b/*
' > /nwp/nmicb
chmod 755 /nwp/nmicb
echo $'#!/bin/sh
nano /nwp/wp/0m4u/c/*
' > /nwp/nmicc
chmod 755 /nwp/nmicc
echo $'#!/bin/sh
nano /nwp/wp/0n4n/1/*
' > /nwp/nan1
chmod 755 /nwp/nan1
echo $'#!/bin/sh
nano /nwp/wp/0n4n/2/*
' > /nwp/nan2
chmod 755 /nwp/nan2
echo $'#!/bin/sh
nano /nwp/wp/0n4n/a/*
' > /nwp/nana
chmod 755 /nwp/nana
echo $'#!/bin/sh
nano /nwp/wp/0n4n/b/*
' > /nwp/nanb
chmod 755 /nwp/nanb
echo $'#!/bin/sh
nano /nwp/wp/0n4n/c/*
' > /nwp/nanc
chmod 755 /nwp/nanc
echo $'#!/bin/sh
micro /nwp/wp/0m4u/1/*
' > /nwp/mic1
chmod 755 /nwp/mic1
echo $'#!/bin/sh
micro /nwp/wp/0m4u/2/*
' > /nwp/mic2
chmod 755 /nwp/mic2
echo $'#!/bin/sh
micro /nwp/wp/0m4u/a/*
' > /nwp/mica
chmod 755 /nwp/mica
echo $'#!/bin/sh
micro /nwp/wp/0m4u/b/*
' > /nwp/micb
chmod 755 /nwp/micb
echo $'#!/bin/sh
micro /nwp/wp/0m4u/c/*
' > /nwp/micc
chmod 755 /nwp/micc

#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

#activate the cat scripts then open the catted .txt files in batches with micro or nano
echo $'#!/bin/sh
cd /nwp/wp/0m4u/
./allcat
./allcatted
./cat4n
./cat4n0
nano ./*.txt
' > /nwp/nantxt2
chmod 755 /nwp/nantxt2

echo $'#!/bin/sh
cd /nwp/wp/0n4n/
./allcat
./allcatted
./cat4n
./cat4n0
micro ./*.txt
' > /nwp/mitxt2
chmod 755 /nwp/mitxt2

echo $'#!/bin/sh
cd /nwp/wp/0n4n/
./allcat
./allcatted
./cat4n
./cat4n0
nano ./*.txt
' > /nwp/nantxt1
chmod 755 /nwp/nantxt1

echo $'#!/bin/sh
cd /nwp/wp/0m4u/
./allcat
./allcatted
./cat4n
./cat4n0
micro ./*.txt
' > /nwp/mitxt1
chmod 755 /nwp/mitxt1
#
echo $'#!/bin/sh
cd /nwp/wp/0m4u/
./allcat
./allcatted
./cat4n
./cat4n0
nano ./*.txt
' > /root/my-applications/bin/nantxt2
chmod 755 /root/my-applications/bin/nantxt2

echo $'#!/bin/sh
cd /nwp/wp/0n4n/
./allcat
./allcatted
./cat4n
./cat4n0
micro ./*.txt
' > /root/my-applications/bin/mitxt2
chmod 755 /root/my-applications/bin/mitxt2

echo $'#!/bin/sh
cd /nwp/wp/0n4n/
./allcat
./allcatted
./cat4n
./cat4n0
nano ./*.txt
' > /root/my-applications/bin/nantxt1
chmod 755 /root/my-applications/bin/nantxt1

echo $'#!/bin/sh
cd /nwp/wp/0m4u/
./allcat
./allcatted
./cat4n
./cat4n0
micro ./*.txt
' > /root/my-applications/bin/mitxt1
chmod 755 /root/my-applications/bin/mitxt1
#
#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\#
##
##
#________________________________

echo $'#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys \'nana\' C-m \; split-window -v \; send-keys \'nanb\' C-m \; split-window -h \; send-keys \'nanc\' C-m \; split-window -h \; send-keys \'nan1\' C-m \; split-window -h \; send-keys \'nan2\' C-m \; split-window -v \; send-keys \'nmic1\' C-m \; select-layout tiled \; attach
' > /nwp/6n1s
chmod 755 /nwp/6n1s
echo $'#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys \'mica\' C-m \; split-window -v \; send-keys \'micb\' C-m \; split-window -h \; send-keys \'micc\' C-m \; split-window -h \; send-keys \'mic1\' C-m \; split-window -h \; send-keys \'mic2\' C-m \; split-window -v \; send-keys \'mnan1\' C-m \; select-layout tiled \; attach
' > /nwp/6m1s
chmod 755 /nwp/6m1s
echo $'#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys \'mnana\' C-m \; split-window -v \; send-keys \'mnanb\' C-m \; split-window -h \; send-keys \'mnanc\' C-m \; split-window -h \; send-keys \'mnan2\' C-m \; select-layout tiled \; attach
' > /nwp/4m1s
chmod 755 /nwp/4m1s

echo $'#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys \'nmica\' C-m \; split-window -v \; send-keys \'nmicb\' C-m \; split-window -h \; send-keys \'nmicc\' C-m \; split-window -h \; send-keys \'nmic2\' C-m \; select-layout tiled \; attach
' > /nwp/4n1s
chmod 755 /nwp/4n1s

echo $'#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys \'mitxt1\' C-m \; split-window -v \; send-keys \'mitxt2\' C-m \; attach
' > /nwp/2m1s
chmod 755 /nwp/2m1s

echo $'#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys \'nantxt1\' C-m \; split-window -h \; send-keys \'nantxt2\' C-m \; attach
' > /nwp/2n1s
chmod 755 /nwp/2n1s

#
#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\#
##nwp calls main systems version fo the batches#
##
#..#
##
#___#
##
##
#________________________________
echo $'#!/bin/sh
/usr/bin/rxvt -e tmux new-session \; send-keys \'nana\' C-m \; split-window -v \; send-keys \'nanb\' C-m \; split-window -h \; send-keys \'nanc\' C-m \; split-window -h \; send-keys \'nan1\' C-m \; split-window -h \; send-keys \'nan2\' C-m \; split-window -v \; send-keys \'nmic1\' C-m \; select-layout tiled \; attach
' > /nwp/6n1r
chmod 755 /nwp/6n1r
echo $'#!/bin/sh
/usr/bin/rxvt -e tmux new-session \; send-keys \'mica\' C-m \; split-window -v \; send-keys \'micb\' C-m \; split-window -h \; send-keys \'micc\' C-m \; split-window -h \; send-keys \'mic1\' C-m \; split-window -h \; send-keys \'mic2\' C-m \; split-window -v \; send-keys \'mnan1\' C-m \; select-layout tiled \; attach
' > /nwp/6m1r
chmod 755 /nwp/6m1r
echo $'#!/bin/sh
/usr/bin/rxvt -e tmux new-session \; send-keys \'mnana\' C-m \; split-window -v \; send-keys \'mnanb\' C-m \; split-window -h \; send-keys \'mnanc\' C-m \; split-window -h \; send-keys \'mnan2\' C-m \; select-layout tiled \; attach
' > /nwp/4m1r
chmod 755 /nwp/4m1r
echo $'#!/bin/sh
/usr/bin/rxvt -e tmux new-session \; send-keys \'nmica\' C-m \; split-window -v \; send-keys \'nmicb\' C-m \; split-window -h \; send-keys \'nmicc\' C-m \; split-window -h \; send-keys \'nmic2\' C-m \; select-layout tiled \; attach
' > /nwp/4n1r
chmod 755 /nwp/4n1r
echo $'#!/bin/sh
/usr/bin/rxvt -e tmux new-session \; send-keys \'mitxt1\' C-m \; split-window -v \; send-keys \'mitxt2\' C-m \; attach
' > /nwp/2m1r
chmod 755 /nwp/2m1r
echo $'#!/bin/sh
/usr/bin/rxvt -e tmux new-session \; send-keys \'nantxt1\' C-m \; split-window -h \; send-keys \'nantxt2\' C-m \; attach
' > /nwp/2n1r
chmod 755 /nwp/2n1r
#________________________________##
##________________________________
echo $'#!/bin/sh
/usr/bin/urxvt -e tmux new-session \; send-keys \'nana\' C-m \; split-window -v \; send-keys \'nanb\' C-m \; split-window -h \; send-keys \'nanc\' C-m \; split-window -h \; send-keys \'nan1\' C-m \; split-window -h \; send-keys \'nan2\' C-m \; split-window -v \; send-keys \'nmic1\' C-m \; select-layout tiled \; attach
' > /nwp/6n1u
chmod 755 /nwp/6n1u
echo $'#!/bin/sh
/usr/bin/urxvt -e tmux new-session \; send-keys \'mica\' C-m \; split-window -v \; send-keys \'micb\' C-m \; split-window -h \; send-keys \'micc\' C-m \; split-window -h \; send-keys \'mic1\' C-m \; split-window -h \; send-keys \'mic2\' C-m \; split-window -v \; send-keys \'mnan1\' C-m \; select-layout tiled \; attach
' > /nwp/6m1u
chmod 755 /nwp/6m1u
echo $'#!/bin/sh
/usr/bin/urxvt -e tmux new-session \; send-keys \'mnana\' C-m \; split-window -v \; send-keys \'mnanb\' C-m \; split-window -h \; send-keys \'mnanc\' C-m \; split-window -h \; send-keys \'mnan2\' C-m \; select-layout tiled \; attach
' > /nwp/4m1u
chmod 755 /nwp/4m1u
echo $'#!/bin/sh
/usr/bin/urxvt -e tmux new-session \; send-keys \'nmica\' C-m \; split-window -v \; send-keys \'nmicb\' C-m \; split-window -h \; send-keys \'nmicc\' C-m \; split-window -h \; send-keys \'nmic2\' C-m \; select-layout tiled \; attach
' > /nwp/4n1u
chmod 755 /nwp/4n1u
echo $'#!/bin/sh
/usr/bin/urxvt -e tmux new-session \; send-keys \'mitxt1\' C-m \; split-window -v \; send-keys \'mitxt2\' C-m \; attach
' > /nwp/2m1u
chmod 755 /nwp/2m1u
echo $'#!/bin/sh
/usr/bin/urxvt -e tmux new-session \; send-keys \'nantxt1\' C-m \; split-window -h \; send-keys \'nantxt2\' C-m \; attach
' > /nwp/2n1u
chmod 755 /nwp/2n1u
#________________________________
echo $'#!/bin/sh
/usr/bin/lxterminal -e tmux new-session \; send-keys \'nana\' C-m \; split-window -v \; send-keys \'nanb\' C-m \; split-window -h \; send-keys \'nanc\' C-m \; split-window -h \; send-keys \'nan1\' C-m \; split-window -h \; send-keys \'nan2\' C-m \; split-window -v \; send-keys \'nmic1\' C-m \; select-layout tiled \; attach
' > /nwp/6n1l
chmod 755 /nwp/6n1l
echo $'#!/bin/sh
/usr/bin/lxterminal -e tmux new-session \; send-keys \'mica\' C-m \; split-window -v \; send-keys \'micb\' C-m \; split-window -h \; send-keys \'micc\' C-m \; split-window -h \; send-keys \'mic1\' C-m \; split-window -h \; send-keys \'mic2\' C-m \; split-window -v \; send-keys \'mnan1\' C-m \; select-layout tiled \; attach
' > /nwp/6m1l
chmod 755 /nwp/6m1l
echo $'#!/bin/sh
/usr/bin/lxterminal -e tmux new-session \; send-keys \'mnana\' C-m \; split-window -v \; send-keys \'mnanb\' C-m \; split-window -h \; send-keys \'mnanc\' C-m \; split-window -h \; send-keys \'mnan2\' C-m \; select-layout tiled \; attach
' > /nwp/4m1l
chmod 755 /nwp/4m1l
echo $'#!/bin/sh
/usr/bin/lxterminal -e tmux new-session \; send-keys \'nmica\' C-m \; split-window -v \; send-keys \'nmicb\' C-m \; split-window -h \; send-keys \'nmicc\' C-m \; split-window -h \; send-keys \'nmic2\' C-m \; select-layout tiled \; attach
' > /nwp/4n1l
chmod 755 /nwp/4n1l
echo $'#!/bin/sh
/usr/bin/lxterminal -e tmux new-session \; send-keys \'mitxt1\' C-m \; split-window -v \; send-keys \'mitxt2\' C-m \; attach
' > /nwp/2m1l
chmod 755 /nwp/2m1l
echo $'#!/bin/sh
/usr/bin/lxterminal -e tmux new-session \; send-keys \'nantxt1\' C-m \; split-window -h \; send-keys \'nantxt2\' C-m \; attach
' > /nwp/2n1l
chmod 755 /nwp/2n1l
#________________________________________________________________
echo $'#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys \'nana\' C-m \; split-window -v \; send-keys \'nanb\' C-m \; split-window -h \; send-keys \'nanc\' C-m \; split-window -h \; send-keys \'nan1\' C-m \; split-window -h \; send-keys \'nan2\' C-m \; split-window -v \; send-keys \'nmic1\' C-m \; select-layout tiled \; attach
' > /nwp/6n1s
chmod 755 /nwp/6n1s
echo $'#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys \'mica\' C-m \; split-window -v \; send-keys \'micb\' C-m \; split-window -h \; send-keys \'micc\' C-m \; split-window -h \; send-keys \'mic1\' C-m \; split-window -h \; send-keys \'mic2\' C-m \; split-window -v \; send-keys \'mnan1\' C-m \; select-layout tiled \; attach
' > /nwp/6m1s
chmod 755 /nwp/6m1s
echo $'#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys \'mnana\' C-m \; split-window -v \; send-keys \'mnanb\' C-m \; split-window -h \; send-keys \'mnanc\' C-m \; split-window -h \; send-keys \'mnan2\' C-m \; select-layout tiled \; attach
' > /nwp/4m1s
chmod 755 /nwp/4m1s
echo $'#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys \'nmica\' C-m \; split-window -v \; send-keys \'nmicb\' C-m \; split-window -h \; send-keys \'nmicc\' C-m \; split-window -h \; send-keys \'nmic2\' C-m \; select-layout tiled \; attach
' > /nwp/4n1s
chmod 755 /nwp/4n1s
echo $'#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys \'mitxt1\' C-m \; split-window -v \; send-keys \'mitxt2\' C-m \; attach
' > /nwp/2m1s
chmod 755 /nwp/2m1s
echo $'#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys \'nantxt1\' C-m \; split-window -h \; send-keys \'nantxt2\' C-m \; attach
' > /nwp/2n1s
chmod 755 /nwp/2n1s
#________________________________________________________________
echo $'#!/bin/sh
/usr/bin/roxterm -e tmux new-session \; send-keys \'nana\' C-m \; split-window -v \; send-keys \'nanb\' C-m \; split-window -h \; send-keys \'nanc\' C-m \; split-window -h \; send-keys \'nan1\' C-m \; split-window -h \; send-keys \'nan2\' C-m \; split-window -v \; send-keys \'nmic1\' C-m \; select-layout tiled \; attach
' > /nwp/6n1rx
chmod 755 /nwp/6n1rx
echo $'#!/bin/sh
/usr/bin/roxterm -e tmux new-session \; send-keys \'mica\' C-m \; split-window -v \; send-keys \'micb\' C-m \; split-window -h \; send-keys \'micc\' C-m \; split-window -h \; send-keys \'mic1\' C-m \; split-window -h \; send-keys \'mic2\' C-m \; split-window -v \; send-keys \'mnan1\' C-m \; select-layout tiled \; attach
' > /nwp/6m1rx
chmod 755 /nwp/6m1rx
echo $'#!/bin/sh
/usr/bin/roxterm -e tmux new-session \; send-keys \'mnana\' C-m \; split-window -v \; send-keys \'mnanb\' C-m \; split-window -h \; send-keys \'mnanc\' C-m \; split-window -h \; send-keys \'mnan2\' C-m \; select-layout tiled \; attach
' > /nwp/4m1rx
chmod 755 /nwp/4m1rx
echo $'#!/bin/sh
/usr/bin/roxterm -e tmux new-session \; send-keys \'nmica\' C-m \; split-window -v \; send-keys \'nmicb\' C-m \; split-window -h \; send-keys \'nmicc\' C-m \; split-window -h \; send-keys \'nmic2\' C-m \; select-layout tiled \; attach
' > /nwp/4n1rx
chmod 755 /nwp/4n1rx
echo $'#!/bin/sh
/usr/bin/roxterm -e tmux new-session \; send-keys \'mitxt1\' C-m \; split-window -v \; send-keys \'mitxt2\' C-m \; attach
' > /nwp/2m1rx
chmod 755 /nwp/2m1rx
echo $'#!/bin/sh
/usr/bin/roxterm -e tmux new-session \; send-keys \'nantxt1\' C-m \; split-window -h \; send-keys \'nantxt2\' C-m \; attach
' > /nwp/2n1rx
chmod 755 /nwp/2n1rx
#
#________________________________#
##
#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\#
##
##
##
#the portable folders made by note, notesm, and notesn have "cat" scripts.#
##
#catted as opposed to cat on a script or .txt file means it was concatenated without overwriting (has past)#
#the other version only differs in catting all the cats or not. for that pair, the one with the 0 (cat4n0) overwrites. alter to call notesn/m folders elsewhere or delete. hold down control x in in nano or control q in micro to quickly close a batch. add any readable file to the folders and the text editors will open them when that folder's batch is called.#
##
#enjoy.#
##
#p. dogfellow
#nwp and my apps bin set to launch a set in root/my-documents with nano and micro
#swap to suit
#tebatches2-my Documents (..d)
echo $'#!/bin/sh
nano /root/my-documents/0n4n/1/*
' > /root/my-applications/bin/nan1d
chmod 755 /root/my-applications/bin/nan1d
echo $'#!/bin/sh
nano /root/my-documents/0n4n/2/*
' > /root/my-applications/bin/nan2d
chmod 755 /root/my-applications/bin/nan2d
echo $'#!/bin/sh
nano /root/my-documents/0n4n/a/*
' > /root/my-applications/bin/nanad
chmod 755 /root/my-applications/bin/nanad
echo $'#!/bin/sh
nano /root/my-documents/0n4n/b/*
' > /root/my-applications/bin/nanbd
chmod 755 /root/my-applications/bin/nanbd
echo $'#!/bin/sh
nano /root/my-documents/0n4n/c/*
' > /root/my-applications/bin/nancd
chmod 755 /root/my-applications/bin/nancd

echo $'#!/bin/sh
micro /root/my-documents/0m4u/1/*
' > /root/my-applications/bin/mic1d
chmod 755 /root/my-applications/bin/mic1d
echo $'#!/bin/sh
micro /root/my-documents/0m4u/2/*
' > /root/my-applications/bin/mic2d
chmod 755 /root/my-applications/bin/mic2d
echo $'#!/bin/sh
micro /root/my-documents/0m4u/a/*
' > /root/my-applications/bin/micad
chmod 755 /root/my-applications/bin/micad
echo $'#!/bin/sh
micro /root/my-documents/0m4u/b/*
' > /root/my-applications/bin/micbd
chmod 755 /root/my-applications/bin/micbd
echo $'#!/bin/sh
micro /root/my-documents/0m4u/c/*
' > /root/my-applications/bin/miccd
chmod 755 /root/my-applications/bin/miccd

#tebatches-my Documents (..d)
echo $'#!/bin/sh
/usr/bin/sakura -e nano /root/my-documents/0n4n/1/*
' > /nwp/nan1d
chmod 755 /nwp/nan1d
echo $'#!/bin/sh
/usr/bin/sakura -e nano /root/my-documents/0n4n/2/*
' > /nwp/nan2d
chmod 755 /nwp/nan2d
echo $'#!/bin/sh
/usr/bin/sakura -e nano /root/my-documents/0n4n/a/*
' > /nwp/nanad
chmod 755 /nwp/nanad
echo $'#!/bin/sh
/usr/bin/sakura -e nano /root/my-documents/0n4n/b/*
' > /nwp/nanbd
chmod 755 /nwp/nanbd
echo $'#!/bin/sh
/usr/bin/sakura -e nano /root/my-documents/0n4n/c/*
' > /nwp/nancd
chmod 755 /nwp/nancd

echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/1/*
' > /nwp/mic1d
chmod 755 /nwp/mic1d
echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/2/*
' > /nwp/mic2d
chmod 755 /nwp/mic2d
echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/a/*
' > /nwp/micad
chmod 755 /nwp/micad
echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/b/*
' > /nwp/micbd
chmod 755 /nwp/micbd
echo $'#!/bin/sh
/usr/bin/sakura -e micro /root/my-documents/0m4u/c/*
' > /nwp/miccd
chmod 755 /nwp/miccd


wktxpm "TMUX" >/root/puppy-reference/mini-icons/wkttnu.xpm
gbtxpm "TMUX" >/root/puppy-reference/mini-icons/gbttnu.xpm
rdltxpm "TMUX" >/root/puppy-reference/mini-icons/rdlttnu.xpm
rldtxpm "TMUX" >/root/puppy-reference/mini-icons/rldttnu.xpm
1txpm "DOCS 0,0" >/root/puppy-reference/mini-icons/1ttnut.xpm
echo $'
[Desktop Entry]
Encoding=UTF-8
Name=TNUT--DOCS00
Icon=1ttnut.xpm
Comment=open panel main directory
Exec=rox  /root/my-documents
Terminal=false
Type=Application
Categories=TextEditor;TerminalEmulator
GenericName=TNUT

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


#install nano
petget /tmp/nano293-32md.pet
petget /tmp/nano293-32.pet
petget /tmp/nano293-64md.pet
petget /tmp/nano293-64.pet
#the md packages have mouse support disabled, which may allow it to keep some of its expected terminal behavior--you cna install both versions of a given architecture and the second one will backup the earlier one's rc file (but don't install 32 bit in 64 bit or 64 bit in 32 bit--say no to the popups)

fixmenus
jwm -restart




the new notesm:

Code:

#!/bin/sh
#nano batches (0n4n) still set for rxvt
#micro batches (0m4u) now set for sakura
#tmux 6grid of text editor banks as part of improved
#notesn, notesm, and notes scripts
#last box is the other five catted in a number of ways
#use ctrl b +z to toggle zooming of one specific panel
#use ctrl b +x to close a panel
#remove "send-keys \'micro/nano ./a-c,1-2/*\' C-m \; split-window -v \;" type chunks to
#make smaller grid presets
#notesm:

#swap rxvt for terminal of your choice
#(search and replace) micro/nano for text editor of your choice
mkdir -p ./0m4u/a/
mkdir -p ./0m4u/b/
mkdir -p ./0m4u/c/
mkdir -p ./0m4u/1/
mkdir -p ./0m4u/2/
touch ./0m4u/b/00{1..10}
touch ./0m4u/a/0{1..10}
touch ./0m4u/1/{a..z}
touch ./0m4u/2/a{a..z}
touch ./0m4u/c/{1..10}
echo $'#!/bin/sh
#cat4n
#no overwrite by incoming/running tabs
cat ./a/* >> ./4nal.txt
cat ./b/* >> ./4nbl.txt
cat ./1/* >> ./4n1l.txt
cat ./2/* >> ./4n2l.txt
cat ./c/* >> ./4ncl.txt
' > ./0m4u/cat4n
chmod 755 ./0m4u/cat4n
echo $'#!/bin/sh
#cat4n0
#incoming 0verwrites contents
cat ./a/* > ./4na.txt
cat ./b/* > ./4nb.txt
cat ./1/* > ./4n1.txt
cat ./2/* > ./4n2.txt
cat ./c/* > ./4nc.txt
' > ./0m4u/cat4n0
chmod 755 ./0m4u/cat4n0
echo $'#!/bin/sh
cat ./a/* > ./4na.txt
cat ./b/* > ./4nb.txt
cat ./1/* > ./4n1.txt
cat ./2/* > ./4n2.txt
cat ./c/* > ./4nc.txt
cat 4n* > ./4cat.txt
' > ./0m4u/allcat
chmod 755 ./0m4u/allcat
echo $'#!/bin/sh
cat ./a/* >> ./4na.txt
cat ./b/* >> ./4nb.txt
cat ./1/* >> ./4n1.txt
cat ./2/* >> ./4n2.txt
cat ./c/* >> ./4nc.txt
cat 4n* >> ./4cata.txt
' >> ./0m4u/allcatted
chmod 755 ./0m4u/allcatted
echo $'#!/bin/sh
rxvt -e micro ./1/*
' > ./0m4u/mic1
chmod 755 ./0m4u/mic1
echo $'#!/bin/sh
rxvt -e micro ./2/*
' > ./0m4u/mic2
chmod 755 ./0m4u/mic2
echo $'#!/bin/sh
rxvt -e micro ./a/*
' > ./0m4u/mica
chmod 755 ./0m4u/mica
echo $'#!/bin/sh
rxvt -e micro ./b/*
' > ./0m4u/micb
chmod 755 ./0m4u/micb
echo $'#!/bin/sh
rxvt -e micro ./c/*
' > ./0m4u/micc
chmod 755 ./0m4u/micc
#addon1:
echo $'#!/bin/sh
#cd ./0n4n/
./allcat
./allcatted
./cat4n
./cat4n0
micro ./*.txt
' > ./0m4u/mitxt
chmod 755 ./0m4u/mitxt
#addon2:
echo $'#!/bin/sh
/usr/bin/sakura -e tmux new-session \; send-keys \'micro ./a/*\' C-m \; split-window -v \;  send-keys \'micro ./b/*\' C-m \; split-window -h \;  send-keys \'micro ./c/*\' C-m \; split-window -h \;  send-keys \'micro ./1/*\' C-m \; split-window -h \;  send-keys \'micro ./2/*\' C-m \; split-window -v \; send-keys \'./mitxt\' C-m \; select-layout tiled \; attach
' > ./0m4u/6m1s
chmod 755 ./0m4u/6m1s
#if not symlinking back, replace the dot with the rest of your real path to make launcher codes or terminal calls for them. for a desktop file you could do the same or just open the folder in your file manager and click on individual or group launch for the subfolders.


the new notesn:

Code:

#!/bin/sh
#swap rxvt for terminal of your choice
#(search and replace) micro/nano for text editor of your choice
mkdir -p ./0n4n/a/
mkdir -p ./0n4n/b/
mkdir -p ./0n4n/c/
mkdir -p ./0n4n/1/
mkdir -p ./0n4n/2/
touch ./0n4n/b/00{1..10}
touch ./0n4n/a/0{1..10}
touch ./0n4n/1/{a..z}
touch ./0n4n/2/a{a..z}
touch ./0n4n/c/{1..10}
echo $'#!/bin/sh
#cat4n
#no overwrite by incoming/running tabs
cat ./a/* >> ./4nal.txt
cat ./b/* >> ./4nbl.txt
cat ./1/* >> ./4n1l.txt
cat ./2/* >> ./4n2l.txt
cat ./c/* >> ./4ncl.txt
' > ./0n4n/cat4n
chmod 755 ./0n4n/cat4n
echo $'#!/bin/sh
#cat4n0
#incoming 0verwrites contents
cat ./a/* > ./4na.txt
cat ./b/* > ./4nb.txt
cat ./1/* > ./4n1.txt
cat ./2/* > ./4n2.txt
cat ./c/* > ./4nc.txt
' > ./0n4n/cat4n0
chmod 755 ./0n4n/cat4n0
echo $'#!/bin/sh
cat ./a/* > ./4na.txt
cat ./b/* > ./4nb.txt
cat ./1/* > ./4n1.txt
cat ./2/* > ./4n2.txt
cat ./c/* > ./4nc.txt
cat 4n* > ./4cat.txt
' > ./0n4n/allcat
chmod 755 ./0n4n/allcat
echo $'#!/bin/sh
cat ./a/* >> ./4na.txt
cat ./b/* >> ./4nb.txt
cat ./1/* >> ./4n1.txt
cat ./2/* >> ./4n2.txt
cat ./c/* >> ./4nc.txt
cat 4n* >> ./4cata.txt
' >> ./0n4n/allcatted
chmod 755 ./0n4n/allcatted
echo $'#!/bin/sh
rxvt -e nano ./1/*
' > ./0n4n/nan1
chmod 755 ./0n4n/nan1
echo $'#!/bin/sh
rxvt -e nano ./2/*
' > ./0n4n/nan2
chmod 755 ./0n4n/nan2
echo $'#!/bin/sh
rxvt -e nano ./a/*
' > ./0n4n/nana
chmod 755 ./0n4n/nana
echo $'#!/bin/sh
rxvt -e nano ./b/*
' > ./0n4n/nanb
chmod 755 ./0n4n/nanb
echo $'#!/bin/sh
rxvt -e nano ./c/*
' > ./0n4n/nanc
chmod 755 ./0n4n/nanc
echo $'#!/bin/sh
#cd ./0n4n/
./allcat
./allcatted
./cat4n
./cat4n0
nano ./*.txt
' > ./0n4n/nantxt
chmod 755 ./0n4n/nantxt

echo $'#!/bin/sh
/usr/bin/rxvt -e tmux new-session \; send-keys \'nano ./a/*\' C-m \; split-window -v \;  send-keys \'nano ./b/*\' C-m \; split-window -h \;  send-keys \'nano ./c/*\' C-m \; split-window -h \;  send-keys \'nano ./1/*\' C-m \; split-window -h \;  send-keys \'nano ./2/*\' C-m \; split-window -v \; send-keys \'./nantxt\' C-m \; select-layout tiled \; attach
' > ./0n4n/6n1r
chmod 755 ./0n4n/6n1r

#if not symlinking back, replace the dot with the rest of your real path to make launcher codes or terminal calls for them. for a desktop file you could do the same or just open the folder in your file manager and click on individual or group launch for the subfolders.



and something in what should be in the icon path for most pups, an on the spot version of the earler icon scripts, iconshere:

Code:

#!/bin/sh
#mkdir -p /root/Desktop/desktops/{scripts,icons/{pans,defaults,dirs,conf,cus}}
#requires mcc http://murga-linux.com/puppy/viewtopic.php?p=884162#884162
#or some later for of nwp/anuupuus: http://murga-linux.com/puppy/viewtopic.php?p=850270#850270
#mkdir -p ./[add/subfolders]icon.xpm
#search and replace TMUX to change the icon, tnu to change the icon's name
#/root/puppy-reference/mini-icons/ should be in your icon path
#so you'd only need to name of the icon to get it to show up on desktop files.
#(you could also skip that part and right click associate icons with files--no menu
#entries, but you can still use them on the panels and desktops and assign
#keyboard shortcuts to them
0artxpm "TMUX" >./0arttnu.xpm
0atxpm "TMUX" >./0attnu.xpm
0rwtxpm "TMUX" >./0rwttnu.xpm
0txpm "TMUX" >./0ttnu.xpm
1txpm "TMUX" >./1ttnu.xpm
2txpm "TMUX" >./2ttnu.xpm
3txpm "TMUX" >./3ttnu.xpm
4txpm "TMUX" >./4ttnu.xpm
5txpm "TMUX" >./5ttnu.xpm
6txpm "TMUX" >./6ttnu.xpm
7txpm "TMUX" >./7ttnu.xpm
8txpm "TMUX" >./8ttnu.xpm
9txpm "TMUX" >./9ttnu.xpm
bltxpm "TMUX" >./blttnu.xpm
botxpm "TMUX" >./bottnu.xpm
btxpm "TMUX" >./bttnu.xpm
bwtxpm "TMUX" >./bwttnu.xpm
deftxpm "TMUX" >./defttnu.xpm
defxpm "TMUX" >./deftnu.xpm
gbtxpm "TMUX" >./gbttnu.xpm
gwtxpm "TMUX" >./gwttnu.xpm
kwtxpm "TMUX" >./kwttnu.xpm
lbtxpm "TMUX" >./lbttnu.xpm
lotxpm "TMUX" >./lottnu.xpm
obtxpm "TMUX" >./obttnu.xpm
oltxpm "TMUX" >./olttnu.xpm
prtext2xpm "TMUX" >./prtext2tnu.xpm
prtxpm "TMUX" >./prttnu.xpm
ptxpm "TMUX" >./pttnu.xpm
rdbltxpm "TMUX" >./rdblttnu.xpm
rdltxpm "TMUX" >./rdlttnu.xpm
rldtxpm "TMUX" >./rldttnu.xpm
rrdbltxpm "TMUX" >./rrdblttnu.xpm
text2xpm "TMUX" >./text2tnu.xpm
wbtxpm "TMUX" >./wbttnu.xpm
wgtxpm "TMUX" >./wgttnu.xpm
wktxpm "TMUX" >./wkttnu.xpm
wtxpm "TMUX" >./wttnu.xpm
wtxt2xpm "TMUX" >./wtxt2tnu.xpm
1txpm "DOCS 0,0" >./1ttnut.xpm
#swap tmux for icon and tnu for name of icon
#TMUX NANO MICRO
#recs: pinks for sakura:  rldttnu.xpm     rdlttnu.xpm
# black and white for rxvt: wkttnu.xpm
# green and black in general for tmux: gbttnu.xpm
#mkdir -p ./cus/cus{1..4}
#wktxpm "TMUX" >/root/puppy-reference/mini-icons/wkttnu.xpm
#gbtxpm "TMUX" >/root/puppy-reference/mini-icons/gbttnu.xpm
#rdltxpm "TMUX" >/root/puppy-reference/mini-icons/rdlttnu.xpm
#rldtxpm "TMUX" >/root/puppy-reference/mini-icons/rldttnu.xpm
#1txpm "DOCS 0,0" >/root/puppy-reference/mini-icons/1ttnut.xpm
#echo $'
#[Desktop Entry]
#Encoding=UTF-8
#Name=TNUT--DOCS00
#Icon=1ttnut.xpm
#Comment=open panel main directory
#Exec=rox  /root/my-documents
#Terminal=false
#Type=Application
#Categories=TextEditor;TerminalEmulator
#GenericName=TNUT

#' > /usr/share/applications/DOCS00.desktop
#fixmenus
#jwm -reload


the last icon making bit's not activated by default, but you can click it to get TMUXes in all the default colors. it's set for /root/puppy-reference/mini-icons/, and the above script has the uncommented out version activated at installation--swap out the exec=rox line for one of the scripts in the folders (wherever you drag them--they're portable from within, but external calls need to know the absolute path(s)) if you want a specific script called (..nanb, 6m2s1) rather than the platter of choices.

---

here's the pet again:
tnux.pet


(TNUX --text editors, nano, micro (u), tmu(x) terminal multiplexer)
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Mon 29 Jul 2019, 22:50    Post subject: an update and fix for tnux.pet
Subject description: more launcher shortcuts and a fix the 0- folders' catted scripts
 

i mistakenly left out some launcher shortcuts and made files with duplicate names. fix by dumping the following into a terminal:

Code:

#!/bin/sh
#launcher shortcuts (name of the script) for mp editor and other gui text editors opening the cli/0- folders as launcher shortcuts:
echo $'#!/bin/sh
mp /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/mpn1
chmod 755 /root/my-applications/bin/mpn1
echo $'#!/bin/sh
mp /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/mpn2
chmod 755 /root/my-applications/bin/mpn2
echo $'#!/bin/sh
mp /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/mpna
chmod 755 /root/my-applications/bin/mpna
echo $'#!/bin/sh
mp /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/mpnb
chmod 755 /root/my-applications/bin/mpnb
echo $'#!/bin/sh
mp /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/mpnc
chmod 755 /root/my-applications/bin/mpnc
echo $'#!/bin/sh
mp /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/mpu1
chmod 755 /root/my-applications/bin/mpu1
echo $'#!/bin/sh
mp /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/mpu2
chmod 755 /root/my-applications/bin/mpu2
echo $'#!/bin/sh
mp /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/mpua
chmod 755 /root/my-applications/bin/mpua
echo $'#!/bin/sh
mp /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/mpub
chmod 755 /root/my-applications/bin/mpub
echo $'#!/bin/sh
mp /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/mpuc
chmod 755 /root/my-applications/bin/mpuc
#geany
echo $'#!/bin/sh
geany /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/gn1
chmod 755 /root/my-applications/bin/gn1
echo $'#!/bin/sh
geany /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/gn2
chmod 755 /root/my-applications/bin/gn2
echo $'#!/bin/sh
geany /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/gna
chmod 755 /root/my-applications/bin/gna
echo $'#!/bin/sh
geany /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/gnb
chmod 755 /root/my-applications/bin/gnb
echo $'#!/bin/sh
geany /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/gnc
chmod 755 /root/my-applications/bin/gnc
echo $'#!/bin/sh
geany /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/gu1
chmod 755 /root/my-applications/bin/gu1
echo $'#!/bin/sh
geany /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/gu2
chmod 755 /root/my-applications/bin/gu2
echo $'#!/bin/sh
geany /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/gua
chmod 755 /root/my-applications/bin/gua
echo $'#!/bin/sh
geany /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/gub
chmod 755 /root/my-applications/bin/gub
echo $'#!/bin/sh
geany /nwp/wp/0m4u/c/*
' > /root/my-applications/bin/guc
chmod 755 /root/my-applications/bin/guc
#geany new instance
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/1/*
' > /root/my-applications/bin/gin1
chmod 755 /root/my-applications/bin/gin1
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/2/*
' > /root/my-applications/bin/gin2
chmod 755 /root/my-applications/bin/gin2
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/a/*
' > /root/my-applications/bin/gina
chmod 755 /root/my-applications/bin/gina
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/b/*
' > /root/my-applications/bin/ginb
chmod 755 /root/my-applications/bin/ginb
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/c/*
' > /root/my-applications/bin/ginc
chmod 755 /root/my-applications/bin/ginc
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/1/*
' > /root/my-applications/bin/giu1
chmod 755 /root/my-applications/bin/giu1
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/2/*
' > /root/my-applications/bin/giu2
chmod 755 /root/my-applications/bin/giu2
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/a/*
' > /root/my-applications/bin/giua
chmod 755 /root/my-applications/bin/giua
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/b/*
' > /root/my-applications/bin/giub
chmod 755 /root/my-applications/bin/giub


#mp editor
echo $'#!/bin/sh
mp /nwp/wp/0n4n/1/*
' > /nwp/mpn1
chmod 755 /nwp/mpn1
echo $'#!/bin/sh
mp /nwp/wp/0n4n/2/*
' > /nwp/mpn2
chmod 755 /nwp/mpn2
echo $'#!/bin/sh
mp /nwp/wp/0n4n/a/*
' > /nwp/mpna
chmod 755 /nwp/mpna
echo $'#!/bin/sh
mp /nwp/wp/0n4n/b/*
' > /nwp/mpnb
chmod 755 /nwp/mpnb
echo $'#!/bin/sh
mp /nwp/wp/0n4n/c/*
' > /nwp/mpnc
chmod 755 /nwp/mpnc
echo $'#!/bin/sh
mp /nwp/wp/0m4u/1/*
' > /nwp/mpu1
chmod 755 /nwp/mpu1
echo $'#!/bin/sh
mp /nwp/wp/0m4u/2/*
' > /nwp/mpu2
chmod 755 /nwp/mpu2
echo $'#!/bin/sh
mp /nwp/wp/0m4u/a/*
' > /nwp/mpua
chmod 755 /nwp/mpua
echo $'#!/bin/sh
mp /nwp/wp/0m4u/b/*
' > /nwp/mpub
chmod 755 /nwp/mpub
echo $'#!/bin/sh
mp /nwp/wp/0m4u/c/*
' > /nwp/mpuc
chmod 755 /nwp/mpuc

echo $'#!/bin/sh
geany /nwp/wp/0n4n/1/*
' > /nwp/gn1
chmod 755 /nwp/gn1
echo $'#!/bin/sh
geany /nwp/wp/0n4n/2/*
' > /nwp/gn2
chmod 755 /nwp/gn2
echo $'#!/bin/sh
geany /nwp/wp/0n4n/a/*
' > /nwp/gna
chmod 755 /nwp/gna
echo $'#!/bin/sh
geany /nwp/wp/0n4n/b/*
' > /nwp/gnb
chmod 755 /nwp/gnb
echo $'#!/bin/sh
geany /nwp/wp/0n4n/c/*
' > /nwp/gnc
chmod 755 /nwp/gnc
echo $'#!/bin/sh
geany /nwp/wp/0m4u/1/*
' > /nwp/gu1
chmod 755 /nwp/gu1
echo $'#!/bin/sh
geany /nwp/wp/0m4u/2/*
' > /nwp/gu2
chmod 755 /nwp/gu2
echo $'#!/bin/sh
geany /nwp/wp/0m4u/a/*
' > /nwp/gua
chmod 755 /nwp/gua
echo $'#!/bin/sh
geany /nwp/wp/0m4u/b/*
' > /nwp/gub
chmod 755 /nwp/gub
echo $'#!/bin/sh
geany /nwp/wp/0m4u/c/*
' > /nwp/guc
chmod 755 /nwp/guc

echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/1/*
' > /nwp/gin1
chmod 755 /nwp/gin1
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/2/*
' > /nwp/gin2
chmod 755 /nwp/gin2
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/a/*
' > /nwp/gina
chmod 755 /nwp/gina
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/b/*
' > /nwp/ginb
chmod 755 /nwp/ginb
echo $'#!/bin/sh
geany -i /nwp/wp/0n4n/c/*
' > /nwp/ginc
chmod 755 /nwp/ginc
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/1/*
' > /nwp/giu1
chmod 755 /nwp/giu1
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/2/*
' > /nwp/giu2
chmod 755 /nwp/giu2
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/a/*
' > /nwp/giua
chmod 755 /nwp/giua
echo $'#!/bin/sh
geany -i /nwp/wp/0m4u/b/*
' > /nwp/giub
chmod 755 /nwp/giub


sed -i 's/\.txt/a\.txt/' /nwp/wp/0n4n/allcatted
sed -i 's/cataa/cata/' /nwp/wp/0n4n/allcatted
sed -i 's/\.txt/a\.txt/' /nwp/wp/0m4u/allcatted
sed -i 's/cataa/cata/' /nwp/wp/0m4u/allcatted

sed -i 's/\.txt/a\.txt/' /root/.config/rox.sourceforge.net/Templates/0n4n/allcatted
sed -i 's/cataa/cata/' /root/.config/rox.sourceforge.net/Templates/0n4n/allcatted
sed -i 's/\.txt/a\.txt/' /root/.config/rox.sourceforge.net/Templates/0m4u/allcatted
sed -i 's/cataa/cata/' /root/.config/rox.sourceforge.net/Templates/0m4u/allcatted
sed -i 's/\.txt/a\.txt/' /root/my-documents/0n4n/allcatted
sed -i 's/cataa/cata/' /root/my-documents/0n4n/allcatted
sed -i 's/\.txt/a\.txt/' /root/my-documents/0m4u/allcatted
sed -i 's/cataa/cata/' /root/my-documents/0m4u/allcatted

#hit ` and enter the following two lines into the terminal wherever you've copied the template folders or activated the note scripts
#sed -i 's/\.txt/a\.txt/' ./allcatted
#sed -i 's/cataa/cata/' ./allcatted

i'm updating tnux.pet to include mcedit and lxterminal in its tmux launch (third folder), but i'll include that along with the other tweaks in the next post (rather than making a pet that backs up/replaces 0n4u for a third time).

the basic code for the batches and tmux works in android, but i'm getting different results in different devices--for some the asterisk launches everything in a folder but for others (amazon product) it just opens up a file named "*"--i think i remember seeing similar inconsistent behavior through various terminals and editor combos, but i've been through so many lately i'm not sure if including the code is relevant to puppy beyond a way to search and replace to call directly and instantly the batches or block of batches from wherever you places them--just do a substitution of nwp/wp (or /data/com/storage/0/ --i may not adjust it back from the android paths to give more utility and a template that shows a more unpuppy/custom location) for your path--i plan to make swapping of the shortcuts to my-documents (etc) easier in the next pet (and maybe just post the androido scripts --i'm synced between puppy and my android boxes now the same the way i use geany to link up notes and text between my pups (i'm using syncthing folders since looking at the ssh stuff is still like deciphering alien artwork and in jokes to me).

if you've activated note or used the new > template function to create the 0m4u or 0n4n folders, go to the location and dump

sed -i 's/\.txt/a\.txt/' ./allcatted
sed -i 's/cataa/cata/' ./allcatted

into a terminal in that folder (hit the ` key to open a terminal or do a substitution --doubt you have as many all over the place as i do ...

Laughing

enjoy

--p. dogfellow
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Sun 18 Aug 2019, 00:31    Post subject: some updates: tnux gets better android compatibility, geany
Subject description: gets a theme changer pet, libre office stopped shipping 32 bit...
 

LibreOffice-6.3.0_64_en-US_xz.pet
LibreOffice-6.3.0_64_en-US_xz.sfs
libre6.3.desktops.pet
geanythemes.pet
tnux.1.pet
___

you can see the contents of the tnux pet in the anuupus thread ( http://murga-linux.com/puppy/viewtopic.php?p=1034386#1034386), but it's basically the above tnux.0 plus androido/tnux-a, which i'll post below (as mentioned above, it's the android version of the nano and micro utilities).

___

use the desktops pet if your LibreOffice gives you no menu entries

____

from the vtg thread:

Puppus Dogfellow wrote:
i like geany's right click /open/file/given/full/path/ feature, but often found myself using the vtg and geany -i [path] to open file in a new window. turns out there's a faster way. go to Edit>Preferences>Tools and enter
Code:
geany -i %s
in the box labeled Command, and you can do it throught right click>Context Action (you could obviously program it to do something else with the file or text, but this is a use for that menu item).

------
geanythemes.pet

with the above pet (compatible with 1.22 and above) you can change geany's color scheme through view>change color scheme (or alt+v, c).

enjoy.
Very Happy



screenshots:
https://www.geany.org/download/themes/


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

from themes and a tip

***
from pupli repo/word processing and related/nwp+vtg/recs and notes/Androido!/notes3:
Quote:

here's a general use version of the script i've been using (piecemeal) to configure my android devices to use the tnux text editor utilities (it's not a typo--text editors, nano, micro (u), tmu(x) terminal multiplexer; sometimes the little red line's more annoying than others) and be more useable in general. the .. business moves up directories (rather than cd /path to where you were), but the everything else should be fairly heavily commented (it started out as Androido but is now tnux-a):

#!/bin/sh
#androido/tnux-a. tnux0.pet as a script to configure android devices to use binder like batches of text editor files launched in tmux or terminal
#text editors used are nano, mc edit, and micro; terminal app and tmux req.
#android version gets rid of calls to specific consoles since you have to be in the terminal to use in the first place
#i perhaps mistakenly use terminal and console interchangeably.
echo $'#!/bin/sh
notesn
notesm
notesmcx
#seems that in android/termux/tmux you need to call bash to run scripts not in the path. i.e. bash ./ thishere.sh.
#try changing permissions or preceeding the call with bash if things aren\'t working as expected. this script is the
#android device version of tnux.0 and the other On4n/0m4u grids of text editor notebooks in tmux (nano, micro, and now mc edit).
# call with notesn, note (all at once), notesmcx, or notesm (there\'s no lpx conflict but i named things the same way in the android version anyway). in testing i used puppy to make the folders i tried out on the android boxes, phone, and kindle, but this newest version can make the folders in the android device itself (in theory--i haven\'t actually tested it yet--at worse it\'ll just fail and you can make it in linux and access them in the networked android folder)
#some of the bits that are commented probably should be uncommented out and their versions taken off bash.bashrc, but calling cd /path scripts wasnt working on the kindle originally (i think a bash update fixed that and opening the asterisk weirdness (opening a file named * rather than all the files in a directory). if not, i\'ll post the longer version at some later time. (all files listed and you don\'t get auto inclusion of whatever you put in that folder or syncing conflicts, etc--it\'s not preferable).
' > /data/data/com.termux/files/usr/bin/applets/note
chmod 755 /data/data/com.termux/files/usr/bin/applets/note
###
#above refers to scripts not yet included, but first i want to get the bashrc stuff out of the way (mostly stuff to make navigation and editing of configuration files easier):
#back up bash profile and add some stuff to it:
cp -f /data/data/com.termux/files/usr/etc/bash.bashrc /data/data/com.termux/files/usr/etc/bash.bashrc-bk
echo $'
alias .....=\'cd ../../../../\'
alias ....=\'cd ../../../\'
alias ...=\'cd ../../\'
alias ..=\'cd ..\'
alias ll=\'ls -sa\'
alias ls=\'ls --color=auto\'
#(can\'t find the specific original source, but) the above bit is pretty common--hop up the directory tree and make ls a little more user friendly. more navigation shorts:
alias usr=\'cd /data/data/com.termux/files/usr/\'
alias config=\'cd /data/data/com.termux/files/home/.config/\'
alias etc=\'cd /data/data/com.termux/files/usr/etc/\'
alias home=\'cd /data/data/com.termux/files/home/\'
alias home2=\'cd /storage/emulated/0/CUS/\'
alias sto=\'cd /storage/emulated/0/\'
#these next two are uncommented but you should either swap in your dropbox stuff and card details or comment them out:
alias cardb=\'cd /storage/emulated/0/Android/data/com.dropbox.android/files/[]/\'
alias card=\'cd /storage/[somenumber]\'
path1=\'cd /data/data/com.termux/files/usr/bin/\'
path2=\'cd /data/data/com.termux/files/usr/bin/applets/\'
#you could add a path and do other bash tricks, many or all of which may be better than having to remember to not update the bash profile when you update bash (the reason some of the individual scripts this script makes duplicate some of these functions--you may forget and need to get back in here (or you can just rerun this bit).
alias microno=\'nano /data/data/com.termux/files/usr/etc/nanorc /data/data/com.termux/files/home/.config/micro/settings.json /data/data/com.termux/files/usr/etc/bash.bashrc\'
alias microc=\'micro /data/data/com.termux/files/usr/etc/nanorc /data/data/com.termux/files/home/.config/micro/settings.json /data/data/com.termux/files/usr/etc/bash.bashrc\'
#^main configuration files i seem to find myself tweaking, opened in your choice of nano or micro.
#i put cd ../[sto]/0n4n (etc) on the bash profile as well for easy access, but i no longer think the cd /path scripts would be a problem--i may have forgotten to add some authorization package first time around.
' >> /data/data/com.termux/files/usr/etc/bash.bashrc
#sto and home2 (swap out CUS or the rest of the path) are set for where android seems to prefer you store your stuff.
#
#the rest of my original config script (assumes you made the text editor batch launch folders already and placed them ..storage/../CUS:
#
#
#swap out the CUS for the folder if using sto; swap out whole path if using some other location
#(though you could just ignore the defaults and use the note(s- n,m,mcx) scripts)
# for easy filling of the tmux grids with text editor/document batches:
echo $'#!/bin/sh
nano /storage/emulated/0/CUS/0n4n/1/*
' > /data/data/com.termux/files/usr/bin/applets/na1
chmod 755 /data/data/com.termux/files/usr/bin/applets/na1
echo $'#!/bin/sh
nano /storage/emulated/0/CUS/0n4n/2/*
' > /data/data/com.termux/files/usr/bin/applets/na2
chmod 755 /data/data/com.termux/files/usr/bin/applets/na2
echo $'#!/bin/sh
nano /storage/emulated/0/CUS/0n4n/a/*
' > /data/data/com.termux/files/usr/bin/applets/naa
chmod 755 /data/data/com.termux/files/usr/bin/applets/naa
echo $'#!/bin/sh
nano /storage/emulated/0/CUS/0n4n/b/*
' > /data/data/com.termux/files/usr/bin/applets/nab
chmod 755 /data/data/com.termux/files/usr/bin/applets/nab
echo $'#!/bin/sh
nano /storage/emulated/0/CUS/0n4n/c/*
' > /data/data/com.termux/files/usr/bin/applets/nac
chmod 755 /data/data/com.termux/files/usr/bin/applets/nac
echo $'#!/bin/sh
micro /storage/emulated/0/CUS/0m4u/1/*
' > /data/data/com.termux/files/usr/bin/applets/mi1
chmod 755 /data/data/com.termux/files/usr/bin/applets/mi1
echo $'#!/bin/sh
micro /storage/emulated/0/CUS/0m4u/2/*
' > /data/data/com.termux/files/usr/bin/applets/mi2
chmod 755 /data/data/com.termux/files/usr/bin/applets/mi2
echo $'#!/bin/sh
micro /storage/emulated/0/CUS/0m4u/a/*
' > /data/data/com.termux/files/usr/bin/applets/mia
chmod 755 /data/data/com.termux/files/usr/bin/applets/mia
echo $'#!/bin/sh
micro /storage/emulated/0/CUS/0m4u/b/*
' > /data/data/com.termux/files/usr/bin/applets/mib
chmod 755 /data/data/com.termux/files/usr/bin/applets/mib
echo $'#!/bin/sh
micro /storage/emulated/0/CUS/0m4u/c/*
' > /data/data/com.termux/files/usr/bin/applets/mic
chmod 755 /data/data/com.termux/files/usr/bin/applets/mic
echo $'#!/bin/sh
/storage/emulated/0/CUS/0n4n/allcat
/storage/emulated/0/CUS/0n4n/allcatted
/storage/emulated/0/CUS/0n4n/cat4n
/storage/emulated/0/CUS/0n4n/cat4n0
nano /storage/emulated/0/CUS/0n4n/*.txt
' > /data/data/com.termux/files/usr/bin/applets/natxt
chmod 755 /data/data/com.termux/files/usr/bin/applets/natxt
echo $'#!/bin/sh
/storage/emulated/0/CUS/0n4n/allcat
/storage/emulated/0/CUS/0n4n/allcatted
/storage/emulated/0/CUS/0n4n/cat4n
/storage/emulated/0/CUS/0n4n/cat4n0
micro /storage/emulated/0/CUS/0n4n/*.txt
' > /data/data/com.termux/files/usr/bin/applets/mnatxt
chmod 755 /data/data/com.termux/files/usr/bin/applets/mnatxt
echo $'#!/bin/sh
/storage/emulated/0/CUS/0m4u/allcat
/storage/emulated/0/CUS/0m4u/allcatted
/storage/emulated/0/CUS/0m4u/cat4n
/storage/emulated/0/CUS/0m4u/cat4n0
micro /storage/emulated/0/CUS/0m4u/*.txt
' > /data/data/com.termux/files/usr/bin/applets/mitxt
chmod 755 /data/data/com.termux/files/usr/bin/applets/mitxt
echo $'#!/bin/sh
/storage/emulated/0/CUS/0m4u/allcat
/storage/emulated/0/CUS/0m4u/allcatted
/storage/emulated/0/CUS/0m4u/cat4n
/storage/emulated/0/CUS/0m4u/cat4n0
nano /storage/emulated/0/CUS/0m4u/*.txt
' > /data/data/com.termux/files/usr/bin/applets/nmitxt
chmod 755 /data/data/com.termux/files/usr/bin/applets/nmitxt
echo $'#!/bin/sh
tmux new-session \; send-keys \'naa\' C-m \; split-window -v \; send-keys \'nab\' C-m \; split-window -h \; send-keys \'nac\' C-m \; split-window -h \; send-keys \'na1\' C-m \; split-window -h \; send-keys \'na2\' C-m \; split-window -v \; send-keys \'natxt\' C-m \; select-layout tiled \; attach
' > /data/data/com.termux/files/usr/bin/applets/6ny2
chmod 755 /data/data/com.termux/files/usr/bin/applets/6ny2
echo $'#!/bin/sh
tmux new-session \; send-keys \'mia\' C-m \; split-window -v \; send-keys \'mib\' C-m \; split-window -h \; send-keys \'mic\' C-m \; split-window -h \; send-keys \'mi1\' C-m \; split-window -h \; send-keys \'mi2\' C-m \; split-window -v \; send-keys \'mitxt\' C-m \; select-layout tiled \; attach
' > /data/data/com.termux/files/usr/bin/applets/6my2
chmod 755 /data/data/com.termux/files/usr/bin/applets/6my2
echo $'#!/bin/sh
tmux new-session \; send-keys \'naa\' C-m \; split-window -v \; send-keys \'nab\' C-m \; split-window -h \; send-keys \'nac\' C-m \; split-window -h \; send-keys \'na1\' C-m \; split-window -h \; send-keys \'na2\' C-m \; split-window -v \; send-keys \'mnatxt\' C-m \; select-layout tiled \; attach
' > /data/data/com.termux/files/usr/bin/applets/6nCUS
chmod 755 /data/data/com.termux/files/usr/bin/applets/6nCUS
echo $'#!/bin/sh
tmux new-session \; send-keys \'mia\' C-m \; split-window -v \; send-keys \'mib\' C-m \; split-window -h \; send-keys \'mic\' C-m \; split-window -h \; send-keys \'mi1\' C-m \; split-window -h \; send-keys \'mi2\' C-m \; split-window -v \; send-keys \'nmitxt\' C-m \; select-layout tiled \; attach
' > /data/data/com.termux/files/usr/bin/applets/6mCUS
chmod 755 /data/data/com.termux/files/usr/bin/applets/6mCUS
#--------------6-------------------------
echo $'#!/bin/sh
tmux new-session \; send-keys \'naa\' C-m \; split-window -v \; send-keys \'nab\' C-m \; split-window -h \; send-keys \'nac\' C-m \; split-window -h \; send-keys \'na1\' C-m \; split-window -h \; send-keys \'na2\' C-m \; split-window -v \; send-keys \'natxt\' C-m \; select-layout tiled \; attach
' > /data/data/com.termux/files/usr/bin/applets/6n
chmod 755 /data/data/com.termux/files/usr/bin/applets/6n
echo $'#!/bin/sh
tmux new-session \; send-keys \'mia\' C-m \; split-window -v \; send-keys \'mib\' C-m \; split-window -h \; send-keys \'mic\' C-m \; split-window -h \; send-keys \'mi1\' C-m \; split-window -h \; send-keys \'mi2\' C-m \; split-window -v \; send-keys \'mitxt\' C-m \; select-layout tiled \; attach
' > /data/data/com.termux/files/usr/bin/applets/6m
chmod 755 /data/data/com.termux/files/usr/bin/applets/6m
#---------------4-------------------------
echo $'#!/bin/sh
tmux new-session \; send-keys \'naa\' C-m \; split-window -v \; send-keys \'nab\' C-m \; split-window -h \; send-keys \'nac\' C-m \; split-window -h \; send-keys \'na1\' C-m \; select-layout tiled \; attach
' > /data/data/com.termux/files/usr/bin/applets/4n
chmod 755 /data/data/com.termux/files/usr/bin/applets/4n
echo $'#!/bin/sh
tmux new-session \; send-keys \'mia\' C-m \; split-window -v \; send-keys \'mib\' C-m \; split-window -h \; send-keys \'mic\' C-m \; split-window -h \; send-keys \'mi1\' C-m \; select-layout tiled \; attach
' > /data/data/com.termux/files/usr/bin/applets/4m
chmod 755 /data/data/com.termux/files/usr/bin/applets/4m
#---------------2-------------------------
echo $'#!/bin/sh
tmux new-session \; send-keys \'na2\' C-m \; split-window -v \; send-keys \'natxt\' C-m \; attach
' > /data/data/com.termux/files/usr/bin/applets/2n
chmod 755 /data/data/com.termux/files/usr/bin/applets/2n
echo $'#!/bin/sh
tmux new-session \; send-keys \'mi2\' C-m \; split-window -v \; send-keys \'mitxt\' C-m \; attach
' > /data/data/com.termux/files/usr/bin/applets/2m
chmod 755 /data/data/com.termux/files/usr/bin/applets/2m
echo $'#!/bin/sh
tmux kill-server
#To close a specific session, use tmux list-sessions to identify the session you want to kill, and then use tmux kill-session -t targetSession to kill that specific session.
' > /data/data/com.termux/files/usr/bin/applets/kil
chmod 755 /data/data/com.termux/files/usr/bin/applets/kil
echo $'#!/bin/sh
tmux kill-session -a
' > /data/data/com.termux/files/usr/bin/applets/kila
chmod 755 /data/data/com.termux/files/usr/bin/applets/kila
#
echo $'#!/bin/sh
tmux new-session \; send-keys \'naa\' C-m \; split-window -v \; send-keys \'nab\' C-m \; split-window -h \; send-keys \'nac\' C-m \; split-window -h \; send-keys \'na1\' C-m \; split-window -h \; send-keys \'na2\' C-m \; split-window -v \; send-keys \'mnatxt\' C-m \; select-layout tiled \; attach
' > /data/data/com.termux/files/usr/bin/applets/6nm
chmod 755 /data/data/com.termux/files/usr/bin/applets/6nm
echo $'#!/bin/sh
tmux new-session \; send-keys \'mia\' C-m \; split-window -v \; send-keys \'mib\' C-m \; split-window -h \; send-keys \'mic\' C-m \; split-window -h \; send-keys \'mi1\' C-m \; split-window -h \; send-keys \'mi2\' C-m \; split-window -v \; send-keys \'nmitxt\' C-m \; select-layout tiled \; attach
' > /data/data/com.termux/files/usr/bin/applets/6mn
chmod 755 /data/data/com.termux/files/usr/bin/applets/6mn
#
#presets/quick calls have no mcedit version, but you can navigate to the 0mce folder to batch launch those versions
echo $'#!/bin/sh
micro /data/data/com.termux/files/usr/etc/nanorc /data/data/com.termux/files/home/.config/micro/settings.json /data/data/com.termux/files/usr/etc/bash.bashrc
' > /data/data/com.termux/files/usr/bin/applets/bashm
chmod 755 /data/data/com.termux/files/usr/bin/applets/bashm
echo $'#!/bin/sh
nano /data/data/com.termux/files/usr/etc/nanorc /data/data/com.termux/files/home/.config/micro/settings.json /data/data/com.termux/files/usr/etc/bash.bashrc
' > /data/data/com.termux/files/usr/bin/applets/bashn
chmod 755 /data/data/com.termux/files/usr/bin/applets/bashn
#end of original file. here's the bit that makes the folders and tmux grids from the terminal (and which will attempt to run them in the ../CUS/.. folder--do a search and replace before running this script):

echo $'
#!/bin/sh
#swap rxvt for terminal of your choice
#(search and replace) micro/nano for text editor of your choice
mkdir -p ./0n4n/a/
mkdir -p ./0n4n/b/
mkdir -p ./0n4n/c/
mkdir -p ./0n4n/1/
mkdir -p ./0n4n/2/
touch ./0n4n/b/00{1..10}
touch ./0n4n/a/0{1..10}
touch ./0n4n/1/{a..z}
touch ./0n4n/2/a{a..z}
touch ./0n4n/c/{1..10}
echo $\'#!/bin/sh
#cat4n
#no overwrite by incoming/running tabs
cat ./a/* >> ./4nal.txt
cat ./b/* >> ./4nbl.txt
cat ./1/* >> ./4n1l.txt
cat ./2/* >> ./4n2l.txt
cat ./c/* >> ./4ncl.txt
\' > ./0n4n/cat4n
chmod 755 ./0n4n/cat4n
echo $\'#!/bin/sh
#cat4n0
#incoming 0verwrites contents
cat ./a/* > ./4na.txt
cat ./b/* > ./4nb.txt
cat ./1/* > ./4n1.txt
cat ./2/* > ./4n2.txt
cat ./c/* > ./4nc.txt
\' > ./0n4n/cat4n0
chmod 755 ./0n4n/cat4n0
echo $\'#!/bin/sh
cat ./a/* > ./4na.txt
cat ./b/* > ./4nb.txt
cat ./1/* > ./4n1.txt
cat ./2/* > ./4n2.txt
cat ./c/* > ./4nc.txt
cat 4n* > ./4cat.txt
\' > ./0n4n/allcat
chmod 755 ./0n4n/allcat
echo $\'#!/bin/sh
cat ./a/* >> ./4naa.txt
cat ./b/* >> ./4nba.txt
cat ./1/* >> ./4n1a.txt
cat ./2/* >> ./4n2a.txt
cat ./c/* >> ./4nca.txt
cat 4n* >> ./4cata.txt
\' >> ./0n4n/allcatted
chmod 755 ./0n4n/allcatted
echo $\'#!/bin/sh
nano ./1/*
\' > ./0n4n/nan1
chmod 755 ./0n4n/nan1
echo $\'#!/bin/sh
nano ./2/*
\' > ./0n4n/nan2
chmod 755 ./0n4n/nan2
echo $\'#!/bin/sh
nano ./a/*
\' > ./0n4n/nana
chmod 755 ./0n4n/nana
echo $\'#!/bin/sh
nano ./b/*
\' > ./0n4n/nanb
chmod 755 ./0n4n/nanb
echo $\'#!/bin/sh
nano ./c/*
\' > ./0n4n/nanc
chmod 755 ./0n4n/nanc
echo $\'#!/bin/sh
#cd ./0n4n/
./allcat
./allcatted
./cat4n
./cat4n0
nano ./*.txt
\' > ./0n4n/nantxt
chmod 755 ./0n4n/nantxt
echo $\'#!/bin/sh
tmux new-session \\; send-keys \\\'nano ./a/*\\\' C-m \\; split-window -v \\; send-keys \\\'nano ./b/*\\\' C-m \\; split-window -h \\; send-keys \\\'nano ./c/*\\\' C-m \\; split-window -h \\; send-keys \\\'nano ./1/*\\\' C-m \\; split-window -h \\; send-keys \\\'nano ./2/*\\\' C-m \\; split-window -v \\; send-keys \\\'./nantxt\\\' C-m \\; select-layout tiled \\; attach
\' > ./0n4n/6n1r
chmod 755 ./0n4n/6n1r
#if not symlinking back, replace the dot with the rest of your real path to make launcher codes or terminal calls for them. for a desktop file you could do the same or just open the folder in your file manager and click on individual or group launch for the subfolders.
' > /data/data/com.termux/files/usr/bin/applets/notesn
chmod 755 /data/data/com.termux/files/usr/bin/applets/notesn

echo $'
#!/bin/sh
#nano batches (0n4n) still set for rxvt
#micro batches (0m4u) now set for sakura
#tmux 6grid of text editor banks as part of improved
#notesn, notesm, and notes scripts
#last box is the other five catted in a number of ways
#use ctrl b +z to toggle zooming of one specific panel
#use ctrl b +x to close a panel
#remove "send-keys \\\'micro/nano ./a-c,1-2/*\\\' C-m \\; split-window -v \\;" type chunks to
#make smaller grid presets
#notesm:
#swap rxvt for terminal of your choice
#(search and replace) micro/nano for text editor of your choice
mkdir -p ./0m4u/a/
mkdir -p ./0m4u/b/
mkdir -p ./0m4u/c/
mkdir -p ./0m4u/1/
mkdir -p ./0m4u/2/
touch ./0m4u/b/00{1..10}
touch ./0m4u/a/0{1..10}
touch ./0m4u/1/{a..z}
touch ./0m4u/2/a{a..z}
touch ./0m4u/c/{1..10}
echo $\'#!/bin/sh
#cat4n
#no overwrite by incoming/running tabs
cat ./a/* >> ./4nal.txt
cat ./b/* >> ./4nbl.txt
cat ./1/* >> ./4n1l.txt
cat ./2/* >> ./4n2l.txt
cat ./c/* >> ./4ncl.txt
\' > ./0m4u/cat4n
chmod 755 ./0m4u/cat4n
echo $\'#!/bin/sh
#cat4n0
#incoming 0verwrites contents
cat ./a/* > ./4na.txt
cat ./b/* > ./4nb.txt
cat ./1/* > ./4n1.txt
cat ./2/* > ./4n2.txt
cat ./c/* > ./4nc.txt
\' > ./0m4u/cat4n0
chmod 755 ./0m4u/cat4n0
echo $\'#!/bin/sh
cat ./a/* > ./4na.txt
cat ./b/* > ./4nb.txt
cat ./1/* > ./4n1.txt
cat ./2/* > ./4n2.txt
cat ./c/* > ./4nc.txt
cat 4n* > ./4cat.txt
\' > ./0m4u/allcat
chmod 755 ./0m4u/allcat
echo $\'#!/bin/sh
cat ./a/* >> ./4naa.txt
cat ./b/* >> ./4nba.txt
cat ./1/* >> ./4n1a.txt
cat ./2/* >> ./4n2a.txt
cat ./c/* >> ./4nca.txt
cat 4n* >> ./4cata.txt
\' >> ./0m4u/allcatted
chmod 755 ./0m4u/allcatted
echo $\'#!/bin/sh
micro ./1/*
\' > ./0m4u/mic1
chmod 755 ./0m4u/mic1
echo $\'#!/bin/sh
micro ./2/*
\' > ./0m4u/mic2
chmod 755 ./0m4u/mic2
echo $\'#!/bin/sh
micro ./a/*
\' > ./0m4u/mica
chmod 755 ./0m4u/mica
echo $\'#!/bin/sh
micro ./b/*
\' > ./0m4u/micb
chmod 755 ./0m4u/micb
echo $\'#!/bin/sh
micro ./c/*
\' > ./0m4u/micc
chmod 755 ./0m4u/micc
#addon1:
echo $\'#!/bin/sh
#cd ./0n4n/
./allcat
./allcatted
./cat4n
./cat4n0
micro ./*.txt
\' > ./0m4u/mitxt
chmod 755 ./0m4u/mitxt
#addon2:
echo $\'#!/bin/sh
tmux new-session \\; send-keys \\\'micro ./a/*\\\' C-m \\; split-window -v \\; send-keys \\\'micro ./b/*\\\' C-m \\; split-window -h \\; send-keys \\\'micro ./c/*\\\' C-m \\; split-window -h \\; send-keys \\\'micro ./1/*\\\' C-m \\; split-window -h \\; send-keys \\\'micro ./2/*\\\' C-m \\; split-window -v \\; send-keys \\\'./mitxt\\\' C-m \\; select-layout tiled \\; attach
\' > ./0m4u/6m1s
chmod 755 ./0m4u/6m1s
#if not symlinking back, replace the dot with the rest of your real path to make launcher codes or terminal calls for them. for a desktop file you could do the same or just open the folder in your file manager and click on individual or group launch for the subfolders.
' > /data/data/com.termux/files/usr/bin/applets/notesm
chmod 755 /data/data/com.termux/files/usr/bin/applets/notesm
echo $'
#!/bin/sh
#swap /usr/bin/lxterminal for terminal of your choice
#(search and replace) micro/mcedit -x for text editor of your choice
mkdir -p ./0mce/a/
mkdir -p ./0mce/b/
mkdir -p ./0mce/c/
mkdir -p ./0mce/1/
mkdir -p ./0mce/2/
touch ./0mce/b/00{1..10}
touch ./0mce/a/0{1..10}
touch ./0mce/1/{a..z}
touch ./0mce/2/a{a..z}
touch ./0mce/c/{1..10}
echo $\'#!/bin/sh
#cat4n
#no overwrite by incoming/running tabs
cat ./a/* >> ./4nal.txt
cat ./b/* >> ./4nbl.txt
cat ./1/* >> ./4n1l.txt
cat ./2/* >> ./4n2l.txt
cat ./c/* >> ./4ncl.txt
\' > ./0mce/cat4n
chmod 755 ./0mce/cat4n
echo $\'#!/bin/sh
#cat4n0
#incoming 0verwrites contents
cat ./a/* > ./4na.txt
cat ./b/* > ./4nb.txt
cat ./1/* > ./4n1.txt
cat ./2/* > ./4n2.txt
cat ./c/* > ./4nc.txt
\' > ./0mce/cat4n0
chmod 755 ./0mce/cat4n0
echo $\'#!/bin/sh
cat ./a/* > ./4na.txt
cat ./b/* > ./4nb.txt
cat ./1/* > ./4n1.txt
cat ./2/* > ./4n2.txt
cat ./c/* > ./4nc.txt
cat 4n* > ./4cat.txt
\' > ./0mce/allcat
chmod 755 ./0mce/allcat
echo $\'#!/bin/sh
cat ./a/* >> ./4naa.txt
cat ./b/* >> ./4nba.txt
cat ./1/* >> ./4n1a.txt
cat ./2/* >> ./4n2a.txt
cat ./c/* >> ./4nca.txt
cat 4n* >> ./4cata.txt
\' >> ./0mce/allcatted
chmod 755 ./0mce/allcatted
echo $\'#!/bin/sh
mcedit -x ./1/*
\' > ./0mce/mcx1
chmod 755 ./0mce/mcx1
echo $\'#!/bin/sh
mcedit -x ./2/*
\' > ./0mce/mcx2
chmod 755 ./0mce/mcx2
echo $\'#!/bin/sh
mcedit -x ./a/*
\' > ./0mce/mcxa
chmod 755 ./0mce/mcxa
echo $\'#!/bin/sh
mcedit -x ./b/*
\' > ./0mce/mcxb
chmod 755 ./0mce/mcxb
echo $\'#!/bin/sh
mcedit -x ./c/*
\' > ./0mce/mcxc
chmod 755 ./0mce/mcxc
echo $\'#!/bin/sh
#cd ./0mce/
./allcat
./allcatted
./cat4n
./cat4n0
mcedit -x ./*.txt
\' > ./0mce/mcxtxt
chmod 755 ./0mce/mcxtxt
echo $\'#!/bin/sh
tmux new-session \\; send-keys \\\'mcedit -x ./a/*\\\' C-m \\; split-window -v \\; send-keys \\\'mcedit -x ./b/*\\\' C-m \\; split-window -h \\; send-keys \\\'mcedit -x ./c/*\\\' C-m \\; split-window -h \\; send-keys \\\'mcedit -x ./1/*\\\' C-m \\; split-window -h \\; send-keys \\\'mcedit -x ./2/*\\\' C-m \\; split-window -v \\; send-keys \\\'./mcxtxt\\\' C-m \\; select-layout tiled \\; attach
\' > ./0mce/6mx
chmod 755 ./0mce/6mx
#if not symlinking back, replace the dot with the rest of your real path to make launcher codes or terminal calls for them. for a desktop file you could do the same or just open the folder in your file manager and click on individual or group launch for the subfolders.
' > /data/data/com.termux/files/usr/bin/applets/notesmcx
chmod 755 /data/data/com.termux/files/usr/bin/applets/notesmcx
#make a copy of the three defaults (0n4n, 0m4u, 0mce) in the CUS folder:
cd /storage/emulated/0/CUS/
note

#deps:
#pkg install tmux
#pkg install nano
#pkg install micro
#pkg install mc
#(xsel and/or xclip and some repos that need to be added (termux opens with suggestions) could also be helpful)
#i'm leaving this part commented out as you may already have some/all of it.

#the android/termux version of pkg is backwards compared to sc0ttman's; if you haven't got micro/nano/tmux installed but have installed his gui/cli package manager (http://murga-linux.com/puppy/viewtopic.php?p=985531#985531) the above (uncommented and with the install swapped to add would add those packages in puppy (but for this to work in puppy, you'd still need to swap the path1 path2 matches (see the cd bash shortcuts) for that stuff to work (/root/my-applications/bin is where i usually send the non-nwp nwp stuff)).

#in nano, use alt plus < > to cycle through the batch of documents in a given pane; in micro use , .; in mcedit use F9 w l (unless you know of a faster way to get the document list). alt+g is help in both nano and micro. alt+m toggles mouse support in nano.


#swap out the names/locations of the default folders and text editors (nano, micro, and/or mcedit -x) before running and those changes will be present as the new defaults
#enjoy.
#
#---puppus dogfellow, 8/12/19
#

__________

(440 pm edt)

____

some of android's configuration files end up in /../home/.config and others in ../etc. mcedit's configuration folder is in .config/../mcedit, but its .config (which would need to be created) is not one of the configuration files that pops open with the bashn or bashm command (nano or micro opening their configuration files and bash.bashrc). as the comments say,

enjoy.

____

almost forgot: the tnux.0 pet is just a fix of the earlier tnux.pet: i accidently had some files with duplicate names and i left out the nwp shortcuts for the gui text editors opening these files.

tnux.1 will include (a possibly compressed to keep deactivated..paths are different so it shouldn't cause a problem regardless...) version of this script--swap the paths and it's puppy friendly without forcing specific terminals on your batch and editor choices.

..

before i realized you had to use bash /path/to/script to call non-PATH scripts in android, i was saving the scripts to a folder, catting them (cat ./script), and then using highlight middle click paste to run the contents. sometimes the non terminal android editors are better at making a highlight to select and middle click to dump in a terminal script, but as long as you remember to toggle the mouse on and off in nano (alt m) and install xsel or xclip, moving the text around isn't too awkward (compared to what it was like the last time i tried to write using terminal text editors). last box in the six grid updates each time it's run, so holding down ctrl x in nano or ctrl q in micro to clear it and then arrowing back up to rerun the box gets the updated versions. control s is save in both. tmux has its own clipboard function, but it still seems a bit awkward to me compared to highlighting to select and middle clicking to paste (or relying on the android clipboard. control+b (then) = will get you what you've managed to grab with the tmux clipboard).

..




script for android gets copied to /nwp/wp. intstall termux (or equivalent), uncomment the dependencies bit (or run pkg install nano micro tmux in addition to the above script). swap out (search androido for for cardb) the storage card ID number, your actual dropbox location, and what you want to call the CUS directory (home2, which you should personalize before running the thing).

if syncing the folders between your pup and an android device, be aware the puppy versions usually call a terminal then tmux and the android versions assume you're calling from a terminal. n for nano, mx for mcedit, mi or mic for micro, and abc12 for the five folders is the basic idea behind the launch codes for these things (see the names of the scripts--that's why they're so short and seemingly cryptic all the time--they're usually made to launch from shift plus spacebar (nwp/pwn launcher). the ny# and my# scripts are calling grids through tmux. the batches and cat scripts can be run without it. you can zoom with the mouse or touch screen, and toggle the view to to one specific pane (you can use six tiny panes even on a phone). both nano and micro (i haven't tested mcedit as much so i'm not sure off hand if this holds true--the zipping through the close by holding the close shortcut doesn't seem to work as well from what i recall..) will warn you if a change has been made (or the document so much as looked at it seems), but it won't offer to reload it for you like geany does (so hold down close, arrow up, and press enter to reload a batch (including the 6th box, which is the others catted/combined) manually).

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


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Sun 18 Aug 2019, 05:23    Post subject: panels and pins on the jwm menus  

Code:

echo $'<JWM>
<Menu label="Panels and Pins" icon="" height="16">
<Program label="panel frame set1" icon="">/nwp/p1</Program>
<Program label="panel frame set2" icon="">/nwp/p2</Program>
<Program label="panel frame set3" icon="">/nwp/p3</Program>
<Program label="panel frame set4" icon="">/nwp/p4</Program>
<Program label="panel frame set5" icon="">/nwp/p5</Program>
<Program label="panel frame set6" icon="">/nwp/p6</Program>
<Program label="panel frame set7" icon="">/nwp/p7</Program>
<Program label="panel frame set8" icon="">/nwp/p8</Program>
<Program label="panel frame set9" icon="">/nwp/p9</Program>
<Menu label="Pins" icon="" height="16">
<Program label="pinboard 1" icon="">/nwp/pp1</Program>
<Program label="pinboard 2" icon="">/nwp/pp2</Program>
<Program label="pinboard 3" icon="">/nwp/pp3</Program>
<Program label="pinboard 4" icon="">/nwp/pp4</Program>
<Program label="pinboard 5" icon="">/nwp/pp5</Program>
<Program label="pinboard 6" icon="">/nwp/pp6</Program>
<Program label="make  6 puppy pins for pp# series" icon="">/nwp/mk6p</Program>
</Menu>
</Menu>

<!--  you could use any name for the icon then make the scripts to match after the fact-->
</JWM>
' > /root/.jwm/pansnpins
sed -i 's/<Menu label="Shutdown/<Include>\/root\/.jwm\/pansnpins<\/Include>\n<Menu label="Shutdown/' /etc/xdg/templates/_root_.jwmrc
jwm -reload

#to add the <Include>/root/.jwm/pansnpins</Include> to one of the other menus, uncomment the line below pick a spot in one of the other menus:
#geany -i /nwp/root3/9/root0menu /nwp/root3/9/root1menu /nwp/root3/9/root2menu /nwp/root3/9/root4menu /nwp/root3/9/root5menu /nwp/root3/9/root6menu /nwp/root3/9/root7menu /nwp/root3/9/root8menu /nwp/root3/9/root9menu
#the -i opens it in a new window (search and replace by session to work on these files in a new window without affecting your other stuff.)
#geany -i /etc/xdg/templates/_root_.jwmrc #to change the location of the line added by the above script



#menu is already under rox in the n aemenu (n in the launcher >rox> panels and pins)
#for icons see http://www.murga-linux.com/puppy/viewtopic.php?p=1031459#1031459
#for more on panels, see http://www.murga-linux.com/puppy/viewtopic.php?p=1031770#1031770
#non anuupuus/approximatic (these spins) setups can use either of the above posts for the panel part of the scripts.
#and grab the pinboard codes from: http://www.murga-linux.com/puppy/viewtopic.php?p=1034601#1034601



dump the above into a terminal to get the aemenu rox submenu for the panels and pins (n in launcher) on the right click menu. see
http://www.murga-linux.com/puppy/viewtopic.php?p=1034601#1034601
http://www.murga-linux.com/puppy/viewtopic.php?p=1031770#1031770
http://www.murga-linux.com/puppy/viewtopic.php?p=1031459#103145

for more on icons, panels, and the pinboard swaps. you don't have to follow any of those directions except to get icons since the swapping scripts exist in /nwp, but the general purpose versions (linked and in the comments) use the terminal instead of the launcher so work out of /root/my-applications/bin. the icon making scripts are built in--just run the code in the link and pick your icons (you could also reuse the pinboard icons in /usr/share/applications/icons-alt). if you put them in an icon path (like /root/puppy-reference/mini-icons) you only need the name in the icon="" field. if in some random spot on your system, use the full path between the quotation marks.

...

the four hundred or so icons (0-9 in the default mcc colors) are only about 11k gz compressed, so i'll add them at the end of this post.


default location for menu and submenu is above the shutdown menu (right click/alt+3)
pans.tar.gz
Description  sets of icons for the panels and pins (0-9) as " # "
gz

 Download 
Filename  pans.tar.gz 
Filesize  10.7 KB 
Downloaded  132 Time(s) 
Back to top
View user's profile Send private message 
Puppus Dogfellow


Joined: 07 Jan 2013
Posts: 1633
Location: nyc

PostPosted: Thu 19 Sep 2019, 15:07    Post subject: new libre office packages and a large fonts pet
Subject description: 627 for 32 bit, 631 for 64 bit; fonts'll work for both
 

LibreOffice 6.2.7-32.pet
LibreOffice 6.2.7-32.sfs
LibreOffice 6.3.1-64.sfs
LibreOffice 6.3.1-64.pet

mswebfonts pet (don't know the original author), vicmz's extra fonts pet, John Biles' Superfonts package, and icake's CJk pet combined:

manyfonts.pet
_____

hashes::

LibreOffice 6.2.7-32.sfs:
md5: 6ddb8aa9e3a92e2796ac54bc6aa49560
sha1:a2a48c09ae7f63fc88be2fe0321c9f373243e105
sha256:10054ae9dd76ef48aca11318e90d49597cec8631146e95511edfd9705f780541
____
LibreOffice 6.2.7-32.pet:

md5: c2e2462cd855be39c00f87758fb9ef9b
sha1: 96269e10102ad11f27e0d8c9f630f0e62289a871
sha256: 02374bc96b2e19a526947c384d150fb97a4c01e92605543c709f24d4ca08dd2c
_____

LibreOffice 6.3.1-64.pet
md5: 0387820693c25e7d0d363783d12a6f7e
sha1: cfd36fc91dcf3cf06395318e0081368b8a211673
sha256: a91de8470045bba096a9b5b4b4a1172e2125153ee9bc92645c4f4f5cbc18bb62
crc32: 6d420ea5
_____

LibreOffice 6.3.1-64.sfs
md5: 1d7c859fd1fc9a8961132ea236a496c7
sha1: 0abfeb820270796fb08c692ee84a54623479bb0d
sha256: 64c47e21d27a508bc126c580e845064bf7ab77e94279d50f0907dab57e5d709a
crc32: 4d134fad
_____
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 17 of 18 [259 Posts]   Goto page: Previous 1, 2, 3, ..., 15, 16, 17, 18 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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.3812s ][ Queries: 13 (0.0310s) ][ GZIP on ]