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

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

built in shortcuts for the new series(launcher and keyboard)

#81 Post by Puppus Dogfellow »

~572.1 adds: nwp, vgt, some menu tweaks, the return of the/a bottom tray.


from /nwp/root3/vtg3:

keyboard shortcuts:

major changes from stock puppies: alt plus 1-0 is root menus 1-(1)0.

alt+z is the vtg, which will launch a line in a geany document as if it were entered into a terminal. it goes with alt+g, which calls geany and opens 4 files, one blank (it's a word processor with the nwp functions, so it starts with a place for you to write in addition to:) vtg1, "combination crib sheet for useful codes, menu/bookmarks launcher, scrap, VGT and NWP help. first, some useful codes...place cursor and press VGT button or shortcut to launch code or program"; vtg2, "execs stripped from an installation of `572/~572:...feast puppy and fat puppy...grave puppy, dead serious puppy....anyway, the execs are stock plus a little:"; vtg3, which is this, the shift plus spacebar activated launcher's shortcuts, and the keyboard shortcuts that are a work in progress...

well, this seems like as good a place to place what i've got documented so far as far as the shortcuts go. three of the four that pop up with alt+g (which was formerly alt+ctrl+g and a different set of help files):


vtg3:
terminal nwp/pwn/pax shortcuts:


s# send active window to desktop#
s#s send next clicked window to desktop#
d# go to desktop#
c plus a single letter is normally a close command--cr, close rox; cu, close urxvt terminals; ct, close rxvt Terminal.
pp# --change pinboard
p# --change/toggle four panel set frame (can be altered down to one)
my# --swap out custom jwm configurations
gea3 --edit custom jwm configurations
la, lb, lm ---layer above, below, middle/normal for active window
las,lbs, lms ---layer above, below, middle/normal for selected window
stk, ustk --stick unstick active (add an s for the click to select version)
pv2--partview and rox /mnt
rr --rox recently visited
rb1 --four (iirc) rungs down on the rox bookmarks menu
rup --three rungs up from the bottom of the rox bookmarks menu
wp-- access the nwp area of one of the root menus
w5 --access the quadrants, halves, and wholes area of one of the root (jwm) menus
pcp --access pup control
fnr --find and run
hlx -- htop in an urvxt window and lx task ...
ppm is a built in for package manager (will work without pxc launcher or anything having been symlinked to /root/my-applications/bin)
x#-- move to # on x-axis (increments of 5)
y# --move to # on y-axis (increments of 5)
h# --height (increments of 5)
w# --width (increments of 5)
rs --resize
t --terminal (set for my-applications/bin, so launchable from terminal or np/nwp/pxc launcher)
f --findandrun (also set for my-apps/bin)
np --nwpus launcher2
sd --speeddials
sdr --speed dials recent list only
gnysys --open a slew of config files in geany
3but -- speed dials and a version of winswitcher
ws -- winswitcher (also ctrl plus spacebar).
galc -- galculator
nc-- notecase
gd -- goldendict
5c -- print out the template command for making multiple copies of a file
5cd -- print out the template command for making multiple copies of a directory
7c -- print out the command for changing permissions of a script to executable (kind of lazy--chmod 755 isn't that involved...).
1 -- single monitor menu
2 -- double monitor menu
g -- grid menu
x -- x axis menu
y -- y axis menu
w -- width menu
h -- height menu
mv -- move
wn -- windows menu
mn -- minimize
mx -- maximize window
o -- old windows manipulation menu
s -- new version of supplemental menus
n -- the original nwpus menu
n1 -- the full word-processing menu without any of the supplementals. it has n2 and n3 as submenus but gives some prominence to the overall document formatting commands from n3
n2 -- just the highlight and click to apply word processing/html code section
n3 -- the paste and place section of the main (word processing) menu.
slac -- search all databases
sloc -- search selected database with option to print results #sometimes problematic
sluc --update all slocate databases/create databases (thanks to musher0 for the slocate wrapper and the three scripts i've renamed here)

sv -- make a folder a server. open a terminal and sv in the pax launcher (nwp launcher, etc) will print out "python -m SimpleHTTPServerWithUpload"--open a browser in the client computer and input the ipnet address (run ifconfig in a terminal) with :8000 appended to it (i.e. http://192.168.1.66:8000). this will allow you to upload and download files to the directory you ran the sv command (i.e. shift+spacebar (which pops up the modified pexec launcher showing /nwp/ in the entry box) then sv then enter) in.
by rcrsn51. thread here: http://www.murga-linux.com/puppy/viewto ... 132#415132

fw -- toggle firewall on off (actually give a pop up that provides the function. requires the pet by tronkel you can find at
http://murga-linux.com/puppy/viewtopic. ... 9ea478cf1f). rcrsn51's SimpleHTTPServerWithUpload won't run with the firewall in place and this is a convenient way to temporarily disable it.

these last two don't yet currently exist in the upped iso or any nwp-vtg package. the scripts for /nwp are

_______________sv________________
#!/bin/sh


xdotool type 'python -m SimpleHTTPServerWithUpload'
#"http:[inetaddress]:8000" in browser on client. requires python and by to rcrsn51.
# use ifconfig to get inetaddress. thread: http://www.murga-linux.com/puppy/viewto ... 132#415132

__________________________________


_____________fw_______
#!/bin/sh


/usr/bin/FirewallToggle.sh

__________________________________

____ ___ _____ ______ ______ _____ ______

keyboard shortcuts:

major changes from stock puppies: alt plus 1-0 is root menus 1-(1)0.

alt+z is the vtg, which will launch a line in a geany document as if it were entered into a terminal. it goes with alt+g, which calls geany and opens 4 files, one blank (it's a word processor with the nwp functions, so it starts with a place for you to write in addition to:) vtg1, "combination crib sheet for useful codes, menu/bookmarks launcher, scrap, VGT and NWP help. first, some useful codes...place cursor and press VGT button or shortcut to launch code or program"; vtg2, "execs stripped from an installation of `572/~572:...feast puppy and fat puppy...grave puppy, dead serious puppy....anyway, the execs are stock plus a little:"; vtg3, which is this, the shift plus spacebar activated launcher's shortcuts, and the keyboard shortcuts that are a work in progress...

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

update: following has been added:

sv-- make a folder a server
fw --toggle firewall


sk - sakura (also t in nwp/pwn/pax or any terminal for most of them (some may be set to urxvt or rxvt--they all have sakura though)
rn - gfnrename (batchrenamer)
hlx - htop (through urxvt) and lxtask
bh - adds bold tags around a selection of text in any text editor
uh - adds underline tags around a selection of text in any text editor
sth - add strikethrough tags around a selection of text in any editor or window that can receive text input
ih - add italics tags around a selection of text in any editor or window that can receive text input
bb - print out bold tags
cmt - print out comment (<!-- -->) tags
ii - print out italics tags
st - print out strikethrough tags
ul - print out underline tags


vtg2: (maybe useful to others looking for run commands :?: )
execs are stock plus a little:

/root/my-applications/SLocate/SrchFilesLst-01l.sh
/root/my-applications/SLocate/MntFilesLst-01l.sh
lxtask
/root/.Pup-Shots/.PupShots
urxvtset
parcellite
sfs_load
/usr/local/automated-frugal-install/automated_frugal_install
alsawizard
asunder
puppydownload
baconrecorder
defaultbrowser /usr/doc/bash/advanced/index.html
defaulthtmlviewer /usr/doc/bash/advanced/xrefindex.html
bcrypt_gui
/usr/sbin/bootflash
bootmanager
bulldog-finder
burniso2cd
cdburner-wizard
cgtkcalc
chooselocale
/usr/local/bin/chrome2pet
chromium
/usr/bin/compression.sh
copy
cups_shell
defaultmediaplayer
defaultbrowser
defaultchmviewer
defaultimageviewer
defaultmediaplayer
defaults-chooser
defaultspreadsheet
defaulttexteditor
defaultwordprocessor
eventmanager desktop
didiwiki-gui
dropbox
rxvt -geometry 80x25 -e e3ne
epdfview
evilvte
f2fs-installer
ffconvert

filemnt
rox -d /root/File-Sharing
findnrun
firefox
firefox -new-window
firefox -private-window
flash-player-properties
flsynclient
fontwizard
floppy-format.sh
fpm2
gadmin-rsync
galculator
gcolor2
gdmap
geany %F
geany
getflash
get_libreoffice
gexec
gfnrename
gfontsel
gftp
ghostview
glade %F
glipper_shell
gmeasures
gnewpet-wrapper
gnomemplayershell
gnumeric
goldendict
google-chrome-stable
google-chrome-stable --incognito
gparted_shell
gpptp
Graphpaper.sh
grub4dosconfig
gtkam
gtk_chtheme_wrapper
rox -d /usr/share/doc/gtkdialog/examples
defaulthtmlviewer /usr/share/doc/gtkdialog/examples/reference/link-list.html
defaultbrowser /usr/doc/gtkdialog/tutorial-manual/HTML/index.html
/usr/bin/gtkhash
gtkthememaker
guvcview
guvcview
gwhere
gwhere
hardinfo
/usr/bin/HFS_image
rxvt -e /usr/bin/htop
hydrogen
hydrogen
iconfinder
icon_switcher
inkscapelite
connectwizard
ipinfo
isomaster
jwmconfig
jwmthememaker
leafpad
legacy_grub_2013
libreoffice4.4 --base
libreoffice4.4 --base
libreoffice4.4 --calc
libreoffice4.4 --calc
libreoffice4.4 --draw
libreoffice4.4 --draw
libreoffice4.4 --impress
libreoffice4.4 --impress
libreoffice4.4 --math
libreoffice4.4 --math
libreoffice4.4
libreoffice4.4 --writer
libreoffice4.4 --calc
libreoffice4.4 --impress
libreoffice4.4 --draw
libreoffice4.4 --base
libreoffice4.4 --math
libreoffice4.4 --writer
libreoffice4.4 --writer
libreoffice4.4
rxvt -e firewallinstallshell
rxvt -e firewallinstallshell
loginmanager
/usr/local/pd2sfsgui/petsNdebs2sfsgui
lxtask
lxterminal
lxterminal
markup
measur3r
megasync
megasync
mhwaveedit
momanager
input-wizard
rxvt -geometry 80x25 -e mp
mtpaint
/usr/bin/mtpaintsnapshot.sh
Multiple-Sound-Card-Wizard
mupdf
notecase
notecase
/usr/local/apps/PackIt/AppRun
palemoon
parcellite
parchive_wrapper
partview
/usr/bin/pavrecord
pbackup
pburn
pcd
/usr/sbin/pcdripper
pclock
/usr/sbin/pcreatetorrent
/usr/sbin/pctorrent
pcur
pdict
Pdisk
pdvdrsab
peasyglue
peasypdf
peasyport
/usr/sbin/peasyprint
peasyscale
/usr/local/peasyscan/peasyscan
peekapet
/usr/local/pequalizer/pequalizer
petget
petmaker
pexec
pfind
pic2txt
picpuz
pidginshell
/usr/sbin/pmetatagger
/usr/local/pmirror/pmirror
pmount
pmusic_CD
pmusic
pmwget
pnethood
pplog_gui
pprocess
/usr/bin/precord
cups_shell
/usr/local/bin/pschedule
psip32
/usr/local/psync/psync
ptiming
ptmtimer
Pudd
pup-advert-blocker
pupcamera
pupmd5sum.sh
eventmanager
/usr/local/petget/check_deps.sh
/usr/local/petget/pkg_chooser.sh
puppypdf
/usr/local/bin/ppg-gui.sh
puppy-rsync
PuppyUnits.sh
/usr/sbin/puppyinstaller
pupradio
pupscan
pupx
pupzip
run-pureftpd
pwebcam
pwsget
/usr/bin/python2.7
quickpet
quicksetup
recoll
defaultbrowser /usr/doc/bash/advanced/HTML/refcards.html
/usr/sbin/remasterpup2
/usr/sbin/remove_builtin
/usr/sbin/report-system -r
resizepfile.sh
retrovol
rox
/root/my-applications/bin/roxicon
roxterm
roxterm
sakura
sakura
/usr/local/yassm/samba-login
/usr/local/yassm/samba-search
/usr/local/yassm/samba-select
/usr/bin/screenshotbrowser.sh
screeny
mozaddressbook
mozedit
mozchat
mozmail
mozilla
securetelnetshell
set-time-for-puppy
set-xftdpi
set_hwclock_type
timezone-set
/usr/local/sfsconvert/sfsconvert
sfs_load
simplescreenrecorder --logfile
/root/my-applications/SLocate/SrchFilesLst-01l.sh
/root/my-applications/SLocate/MntFilesLst-01l.sh
spacefm
SpiderOakONE
ssh-gui
/usr/sbin/gtk.icons
jcontrol
swapfilemanager
sysprof
/root/.Pup-Shots/.PupShots
tas
teamviewer
teamviewer
Ted
/usr/bin/terminatorX
tile
rxvt -font 7x14 -bg "#c0c0c0" -fg black -T Top -n Top -e top
transmission-gtk
transmission-gtk
treesize
/usr/local/apps/UExtract/AppRun
uget-gtk %u
/usr/local/UrxvtControl/urxvtcontrol
urxvtset
urxvt
/root/my-applications/SLocate/MntFilesLst-01l.sh
valide %F
video_upgrade_wizard
viewnior
/usr/bin/vlc
/usr/bin/vlc
wakepup2
pwallpaper
wcpufreq
/usr/sbin/clock
/usr/local/WineColorSetter/run-WineColorSetter
/usr/sbin/winecfg
/usr/sbin/control
wine start /unix
/usr/sbin/winefile
/usr/sbin/iexplore
/usr/local/winenv/winemenuentry
/usr/sbin/winemine
/usr/sbin/notepad
/usr/sbin/progman
/usr/sbin/regedit
/usr/sbin/taskmgr
/usr/sbin/winetricks
/usr/sbin/uninstaller
/usr/local/winenv/winenv
/usr/sbin/winhlp32
/usr/sbin/winver
/usr/sbin/wordpad
/usr/sbin/write
wizardwizard
woofy
xarchive
xcalc
xclipboard
xconsole -verbose
xdelta_gui
xfdiff-cut
xfontsel -bg "#e0ffe0"
/usr/local/apps/Xlock/AppRun -locknow
/usr/local/apps/Xlock/AppRun -configure
xnview
xnview
xorgwizard
xpad
xsaneshell
xsoldier
ycalc
zarfy
zathura
/usr/sbin/zathura_gui "$@"
zensound
vtg1:
nwp http://murga-linux.com/puppy/viewtopic. ... 270#850270
vtg http://www.murga-linux.com/puppy/viewto ... 182#834182



Quote:

combination crib sheet for useful codes, menu/bookmarks launcher, scrap, VGT and NWP help. first, some useful codes:
place cursor and press VGT button or shortcut to launch code or program

-------codes-------

treesize| rox /mnt| partview
^overview 1

lxtask| PupControl
^overview 2
(when programs are linked on a line as above, place cursor to launch all or highlight one to launch it on its lonesome)




rox -D /
^close all rox windows

rox -D /close/this/directory/&subs


for f in TTT{2..6}.txt ; do cp TTT.txt $f ; done
#make multiple copies of a file^
for f in TTT{2..6} ; do cp -r TTT $f ; done
#make multiple copies of a directory^
#see line 69 for details (ctrl+l 69 enter)
^you can use ctrl+l or ctrl+f to go to line or find...you can also navigate/placehold by bracket, brace, or marker through the built in shortcut keys.

this is living scrap--there's really no reason to comment anything out--you can also highlight sections of code to see if they work--handy when putting menus together, etc...

find $PWD /root/my-applications/bin > /root/myapbin1; geany /root/myapbin1

^the above line of code launched with VTG will make a text file of all the files/paths in /root/my-applications/bin (swap out the first path for the location of your choice) and then open it (named on the fly--choose whatever you like for the location and name for the final two paths given).

ls /usr/share/applications > /root/pupaps1; geany /root/pupaps1

^gives you most as a list opened in geany, but you'll need to ditch the .desktop part of the file names and the capitalization.
edit > select all > format > toggle case and search > find and replace > [.desktop] [space, blank, return all work] > whole document
and you be able to launch puppy's apps from menus that can be altered and expanded as you're using them.
to get an idea of the control this gives you, play around with the following code:

[...]




---bookmarks and programs---

hardinfo
htop
gexec
df -h

^i have RoxTerminal set to autostart with four open tabs. you can highlight and middle click a tab to paste a name change/middle click in the tab to run the code (as with any terminal, use the arrow keys to scroll back through past entries or tab tab to autocomplete). activated with the vtg, df -h (drive sizes and free space in human readable form) and htop will output in the terminal window, and gexec and hardinfo will pop up their respective guis. (i'd've made one of them the PupControl center, but i made a scriptlet to call it and renamed it pcp--keyboard shortcut to the terminal and muscle memory actually makes that faster for me, but that's another strategy for quickly launching programs you use often/often enough.) use ctrl+7 to toggle the view back to the terminal and see the output/return to the document.



findnrun
grun


geany

geany /root/nwp.readme /root/vgtmenu2


geany /root/custombkmk1sc.txt /root/714.jwmrc /root/.jwmrc /root/.gexec_history /root/.gexec /root/.jwm/jwmrc-personal /root/.jwm/jwmrc-personal2 /root/.config/rox.sourceforge.net/ROX-Filer/Bookmarks.xml /root/.config/rox.sourceforge.net/ROX-Filer/Groups.xml /etc/xdg/templates/_root_.jwmrc /root/.gtk-bookmarks

geany /root/root0menu /root/root1menu /root/root2menu /root/root4menu /root/root5menu /root/root6menu /root/root7menu /root/root8menu /root/root9menu


rox /mnt /mnt/home /root

rox

^setting up combinations of folders and documents to be opened. for websites use browsername url1 url2 url3---this will open it in tabs usually. check your browser's options for details (type, for example, "firefox --help" into a terminal)



leafpad path/file1| leafpad path/file2| leafpad path/to/file3

change directories, run the path-getting script, make geany open the file:

cd /root/my-applications/bin
find $PWD > /mnt/sda1/myapps22est.txt
geany /mnt/sda1/myapps22est22est.txt


same as one line/step:

find $PWD /root/my-applications/bin > /root/fnddestfi1; geany /root/fnddestfi1

ls /usr/share/applications > /root/pupaps1; geany /root/pupaps1
^ list by title, which is enough to launch most things...




line 66piece line 66 piece line 66 piece line 66 piece line 66 piece line 66 piece 66 piece line 66 piece
#!/bin/sh

#make multiple copies of a file:


#for f in TTT{2..6}.txt ; do cp TTT.txt $f ; done

#for f in PPP{2..6}.png ; do cp PPP.png $f ; done
#for f in DDD{2..6}.docx ; do cp DDD.docx $f ; done
#for f in OOO{2..6}.odt ; do cp OOO.odt $f ; done

#for f in TTT{2..6} ; do cp -r TTT $f ; done
#^for directories
# swap out file name (the all caps and extension bits should match the
# file you want to copy--change the brace contents to change the amount and range/the titles of the copies--you can swap the numbers for a..z or A..Z, or add sets of braces one after the other for multiple variables.
# no extension given in the directories version and the recursive command is added. you can add text after the variables in the brackets in either and it will be part of the new file/folder name.
#more on brace expansion: http://wiki.bash-hackers.org/syntax/expansion/brace
# http://stackoverflow.com/questions/5580 ... -expansion (from Michael Krelin); orig: for f in test{2..4}.txt ; do cp file.txt $f ; done)--can anyone make this a script that works for files dragged to it?


#--------------------------------------------
#!/bin/sh
# name 5copiesDir and place in /root/my-applications/bin
#make multiple copies of a file:
# nwpt menu entry <Program label="5 copies template--directories">5copiesDir</Program>
xdotool type "for f in TTT{2..6} ; do cp -r TTT $f ; done"



for f in N{2..6}.x ; do cp N.x ; done
for f in dir{2..6} ; do cp -r dir ; done
(5c and 5cd in the pax/nwp/pwd launcher spit out above version…)

6666666N=name…..dot.eks.equals.extension...666666666666666666666666666666666


/root/my-applications/SLocate/auto-updatedb-slocate.sh
^update slocate, though better in a terminal other than vte as it's relatively time consuming. use

rox /root/my-applications/SLocate
and the / function (or the arrow keys--better if everything in a folder has virtually the same name) plus Enter instead. i actually like it so much i gave it an easier to key entry (copied and renamed a desktop file) by adding "uu" to the title. below is a version that will launch it and a version that will select it (select it version requires you rename a copy of the desktopfile or a symlink to the script):

rox /usr/share/applications; xdotool type 'auto-updatedb-slocate.sh'; xdotool key Return

^keeping it a one liner means you don't have to highlight to launch it--just placing the cursor anywhere on the line (plus the vgt shortcut however you trigger it) is enough.

rox /usr/share/applications; xdotool type '/11u'

^ no Return/Enter, no launch. you could add ctrl+q at the end to automatically close the rox window the line opened (for the second version, you'd need to add ;xdotool key Return ctrl+q)..



slocate --database=[specify path] [search term]
[you can also use --database=path1:path2:path3]

slocate --database=/mnt/sda1/slocate-sda1.db

slocate --database=/mnt/sda2/slocate-sda2.db
slocate --database=/mnt/sda3/slocate-sda3.db
slocate --database=/mnt/sda4/slocate-sda4.db
slocate --database=/mnt/sda5/slocate-sda5.db



slocate --database=/mnt/sdb1/slocate-sdb1.db
slocate --database=/mnt/sdb2/slocate-sdb2.db
slocate --database=/mnt/sdb3/slocate-sdb3.db
slocate --database=/mnt/sdb4/slocate-sdb4.db
slocate --database=/mnt/sdb5/slocate-sdb5.db


slocate --database=/mnt/sdc1/slocate-sdc1.db
slocate --database=/mnt/sdc2/slocate-sdc2.db
slocate --database=/mnt/sdc3/slocate-sdc3.db
slocate --database=/mnt/sdc4/slocate-sdc4.db
slocate --database=/mnt/sdc5/slocate-sdc5.db

slocate --database=/mnt/sdd1/slocate-sdd1.db
slocate --database=/mnt/sdd2/slocate-sdd2.db
slocate --database=/mnt/sdd3/slocate-sdd3.db
slocate --database=/mnt/sdd4/slocate-sdd4.db
slocate --database=/mnt/sdd5/slocate-sdd5.db

slocate --database=slocate-loop1.db

[i'd add text like the following to one of the documents/the document that opens when you call geany in this capacity]:

rox /mnt; xdotool key ctrl+b

rox /tmp; xdotool key ctrl+b Down Down Down Down Down Down Down Down

^quickly access your rox bookmarks. you can designate what folder you want to extend its bookmarks menu by adding a path after a space after the rox; you can position the select-highlight by adding (a series of) Down to the latter part of the line (without it, the position defaults to Add New Bookmark).

rox /mnt/home; xdotool key ctrl+b Up Up Up
^three up from last bookmark

rox /usr/share; xdotool key ctrl+b Down Down Right Down
^one down on the recently visited list

tips/reminders: escape will shut the list, ctrl+Home takes you to /root(~), and Backspace moves to parent folder--you don't really need a speed dial (designate by ctrl+0-9, access by 0-9) for / or ~ because of this (ctrl+Home followed by Backspace reaches / from any folder). call the bookmarks list with ctrl+b; left click and enter close the original, middle and right click open the bookmark as an additional folder. \ is the right click menu, / opens the path search bar at the bottom of the window.


geany /root/.bashrc /root/custombkmk1sc.txt /root/.jwmrc /etc/xdg/templates/_root_.jwmrc /root/.jwm/jwmrc-personal /root/.jwm/jwmrc-personal2 /root/.config/rox.sourceforge.net/ROX-Filer/Bookmarks.xml /root/.config/rox.sourceforge.net/ROX-Filer/Groups.xml /etc/xdg/templates/_root_.jwmrc /root/.gtk-bookmarks /root/Choices/ROX-Filer/PuppyPin3 /etc/X11/xorg.conf /root/.history /root/root9menu /root/root8menu /root/root7menu /root/root6menu /root/root5menu /root/root4menu /root/root2menu /root/root1menu /root/root0menu /root/.gexec_history /root/.pexec_history /root/my-documents/Text/vgtapps /root/scrap /root/notes /root/.jwmrc-tray /root/.config/geany/geany.conf /root/.config/geany/keybindings.conf /root/my-applications/bin/nwp.readme /root/my-documents/Text/nwp.2 /root/.jwm/jwmrc-theme
/nwp/root3/menu3 /nwp/root3/vtg1 /nwp/root3/vtg2 /nwp/root3/vtg3 /nwp/root3/vtg4


^open a bunch of useful files in geany. this is the same group i used for the recent files list in the geany.config file i'm attaching. rename/replace yours to have spell check, tree browser, the virtual terminal, and the general layout seen in the pic in the first post. swap out the recents for your own to save yourself a potential inconvenience (look around line 150 or so for your document history).


to compile (from Barry K in another thread):


# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i686-pc-linux-gnu
Or
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=x86_64-pc-linux-gnu

But you should always run --help to find out all options:
# ./configure --help

A problem that often comes up with Quirky and many earlier pups is due to Xorg being in /usr/X11/R7. Here is a bunch of stuff that you can do prior to running configure:

export LIBS='-I/usr/X11R7/include'
export CPPFLAGS='-I/usr/X11R7/include'
export CFLAGS='-I/usr/X11R7/include'
export LDFLAGS='-L/usr/X11R7/lib'
export CPLUS_INCLUDE_PATH=/usr/X11R7/include
export C_INCLUDE_PATH=/usr/X11R7/include

...most often not needed, certainly not all of that.

(and then i guess:)
make
make install

___


[program_name] -h > /root/my-documents/Text/[program_help]; geany /root/my-documents/Text/[program_help]

or
[program_name] --help > /root/my-documents/Text/[program_help]; geany /root/my-documents/Text/[program_help]

^to make a help file of many if not most programs

active and select resize scripts, active send-to, stick, and layer scripts, plus the code i found that made it easy to put together and why i recommend gexec:

grep -lr --exclude-dir=".excludedsub(repeat for each subtree)" -e "SELECT" . | xargs sed -i "s/SELECT/ACTIVE/g"

i used the above to flip a directory worth of files from select scripts to active scripts. here's the reverse, in case you find yourself making your own versions and want to spare yourself from needlessly doubling the effort involved getting a set for each:

grep -lr --exclude-dir=".excludedsub" -e "ACTIVE" . | xargs sed -i "s/ACTIVE/SELECT/g"

adapted from here:

http://www.isaacsukin.com/news/2013/06/ ... -directory

(i used the built-in gnfrename to batch rename a directory of copies, then copied the new scripts back into /root/my-applications/bin. remember to check the permissions if something won't run.)


--------------------
#!/bin/sh
for file in *
do
cat negones >> $file
done#!/bin/sh

#(negones being a file in the same directory consisting of:

#!/bin/sh
wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz && wmctrl -r :ACTIVE: -e 0,-1,-1,-1,-1

# --a general way to make template files/fill a directory of files with given content)

#adapted from http://www.unix.com/shell-programming-a ... files.html
--------------------

find and replace (space) with (space)/root/my-applications/bin/
touch command to make them real files. [i typed out a series of numbers (200 -1800 by 25s; echo {200..1800..25} would've produced the same sequence), replaced the space (through geany's find and replace function) with space plus path, added touch in front of the resulting list, and got a batch of files that way. used gfnrename to rename copies of the originals in separate folders for height, width, select, and active (the included active send-tos were done with the grep line that starts this readme). included the content with the little script above, placed in and activated from the same folder that held the originals (spare yourself some work and copy them after the content's been added. to do: learn the code for transposing values after commas--that'd make the process more automated still...you could also i'm sure have sed/awk/grep (tr, cut?) take the values from a list and put them in the proper place in each file. this'll do for now...)

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

gfnrename
--------------------

#!/bin/sh
#name fnr
findnrun
#--------------------
#^findnrun is probably the best thing to choose when you can only remember three characters in the title of the program, but it appears to only search the desktops files and so can't launch the terminal shortcuts. it gets a launch shortcut of its own, but i recommend gexec to launch the mini-scripts, whether resize, reposition, or just in general. the lack of a zealous highlight/replace-predict action may mean you need an extra tab-press to complete something like sak into sakura compared to say, gRun, but that same thing allows shorter two and three character scripts to be run without the launcher automatically predicting some longer-titled items, apparently by default interpreting those titles as fragments of longer titles outside /root/my-applications/bin--you won't be able to access them if there's a conflict. gexec's dropdown history window (which you can preload and make into a menu of sorts) also appears to work better than gRun's. i haven't done much testing with Prun, but it seems to work very well for all the non-resize/reposition shortcuts--it fails with them in the same way the terminals do (as discussed earlier, terminals are out for launching the resize reposition scripts on active windows since they'll only be resizing/repositioning themselves).

(findandrun found (gfnrename) pretty easily (top of the list by third character) and allows you to grab the launch name for the vgt...)

worth knowing: pexec works as well as gexec (and also has a pull down menu you can preload).


Code:
cd /usr/share/applications; grep Exec= *.desktop | grep -o 'Exec=.*' | cut -f2- -d'=' > /root/my-documents/Text/execs2; geany /root/my-documents/Text/execs2


Code:
grep Exec= *.desktop /usr/share/applications | grep -o 'Exec=.*' | cut -f2- -d'=' > /root/my-documents/Text/vtgapps; geany /root/my-documents/Text/vtgapps


^ build/rebuild list

Code:
geany /root/my-documents/Text/vtgapps


Batch convert in libreoffice to pdf:

for F in *.doc; do libreoffice --convert-to pdf $F; done
for F in *.odt; do libreoffice --convert-to pdf $F; done

from rcrsn51 thread: http://www.murga-linux.com/puppy/viewto ... 5060#82506

should work for all combinations and in both directions with: odt doc docx txt rtf ...

for F in *.doc; do libreoffice --convert-to odt $F; done
for F in *.odt; do libreoffice --convert-to pdf $F; done
for F in *.odt; do libreoffice --convert-to doc $F; done
for F in *.odt; do libreoffice --convert-to docx $F; done
for F in *.html; do libreoffice --convert-to odt $F; done
for F in *.html; do libreoffice --convert-to pdf $F; done
for F in *.html; do libreoffice --convert-to rtf $F; done
for F in *.html; do libreoffice --convert-to doc $F; done
for F in *.html; do libreoffice --convert-to docx $F; done
for F in *.rtf; do libreoffice --convert-to odt $F; done

[trying for nwp html to wp functionality without having to use box, zoho, google, etc. if libre doesn't work out, abiword, ted, --there are a few others that can possibly lend their off-line capabilities to the cause…]

cd /nwp/
chmod -R 755 *

cd /root/my-applications/bin
chmod -R 755 *

cd /path/to/file
chmod -R 755 *

chmod -R 755 /nwp/
(easy way to set the permissions for an entire utility suite or directory...likely frowned upon by those more security conscious/aware...but root works out fine under puppy despite the warnings so here it is.)



[just been adding shiny codey things...like i said, scrap, but it's alive...and i'm a squirrel...]
corvus wrote:
[...]
Yes, I think it's enough.

I really appreciate your work. Thanks for your time and effort spent on this project! :D

Regards

corvus
you're welcome, corvus, glad you like it.


-----------

post is already kind of long--i'll make another in a bit with the keyboard shortcuts as they stand in ~571.1-~571.4--there are actually fewer than there'd be if you started with an earlier series and added them as i placed them in this this thread. i noticed the launcher shortcuts list is missing a1-a10 and the same for b--it's the double monitors menu as individual commands. a is for quadrants (5 and ten place the quadrant-sized window in the center of monitors 1 and 2 respectively (more or less--they're not based on absolute screen dimensions like the single monitor menu is) and the b series does halves and wholes. single monitor menu is more accurate, double monitor menu has more build in shortcuts for the launcher--both should have their share of shortcuts on the keyboard, the number row iirc, which brings me to the following point: in the long run it may be easier to remember the shortcuts called by letter combinations rather than ones that require multiple modifiers. spacebar also flows well, but sometimes can be pressed accidentally.
Last edited by Puppus Dogfellow on Fri 07 Aug 2015, 11:14, edited 2 times in total.

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

keyboard shortcuts

#82 Post by Puppus Dogfellow »

geany /root/.jwm/jwmrc-personal or leafpad /root/.jwm/jwmrc-personal in a terminal, launcher, or geany document+alt+z or button press will open up the file that contains all the keyboard shortcuts. A is alt, C is ctrl, S is shift, and 4 is the windows key. among what you see there are


1. space bar shortcuts:


<Key mask="A" key="space">exec:rox</Key>
<Key mask="C" key="space">exec:winswitcher</Key>
<Key mask="S" key="space">exec:pwn</Key>
<Key mask="CA" key="space">exec:sd</Key>
<Key mask="CS" key="space">exec:gexec</Key>
<Key mask="AS" key="space">exec:lp5a</Key>
<Key mask="CAS" key="space">exec:cr</Key>



lp5a is "turn the active window into a box a quarter size of the screen and place it somewhere in the center of the screen." it's from the single monitors menu. cr is close all rox and pwn is the launcher that does all the /nwp shortcuts from the previous post. i switch these out fairly frequently--only the alt (rox, rox history, or rox bookmarks), shift (a terminal or launcher) and ctrl (MochiMoppel's winswitcher) say more or less consistent. i think these past two months i've stuck with the three above--some sort of record of late.


---------

this next batch is a bit haphazard and mostly exists because i needed a way to call stuff from pwn and the menus and assigning it to keys and then calling the keys with xdotool proved a workable solution.

2. Escape key cuts:

<Key mask="A" key="Escape">fullscreen</Key>
<Key mask="C" key="Escape">showdesktop</Key>
<Key mask="S" key="Escape">window</Key>
<Key mask="AC" key="Escape">move</Key>
<Key mask="AS" key="Escape">minimize</Key>
<Key mask="CS" key="Escape">maximize</Key>
<Key mask="SAC" key="Escape">resize</Key>


3. number key cuts:


<Key mask="A" key="1">root:1</Key>
<Key mask="A" key="2">root:2</Key>
<Key mask="A" key="3">root:3</Key>
<Key mask="A" key="4">root:4</Key>
<Key mask="A" key="5">root:5</Key>
<Key mask="A" key="6">root:6</Key>
<Key mask="A" key="7">root:7</Key>
<Key mask="A" key="8">root:8</Key>
<Key mask="A" key="9">root:9</Key>
<Key mask="A" key="0">root:0</Key>

<Key mask="AC" key="1">exec:a1</Key>
<Key mask="AC" key="2">exec:a2</Key>
<Key mask="AC" key="3">exec:a3</Key>
<Key mask="AC" key="4">exec:a4</Key>
<Key mask="AC" key="5">exec:a5</Key>
<Key mask="AC" key="6">exec:a6</Key>
<Key mask="AC" key="7">exec:a7</Key>
<Key mask="AC" key="8">exec:a8</Key>
<Key mask="AC" key="9">exec:a9</Key>
<Key mask="AC" key="0">exec:a10</Key>

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


<Key mask="AS" key="1">exec:b1</Key>
<Key mask="AS" key="2">exec:b2</Key>
<Key mask="AS" key="3">exec:b3</Key>
<Key mask="AS" key="4">exec:b4</Key>
<Key mask="AS" key="5">exec:b5</Key>
<Key mask="AS" key="6">exec:b6</Key>
<Key mask="AS" key="7">exec:b7</Key>
<Key mask="AS" key="8">exec:b8</Key>
<Key mask="AS" key="9">exec:b9</Key>
<Key mask="AS" key="0">exec:b10</Key>
(
-3--------------------------- 6
1 2----------------------- 8 9
-4 ----------------------------7

b5=full screen left, b10=full screen right
)
<Key mask="SC" key="1">exec:winswitcher</Key>
<Key mask="SC" key="2">exec:vgt</Key>
<Key mask="SC" key="3">exec:3but</Key>
<Key mask="SC" key="4">window</Key>
<Key mask="SC" key="5">move</Key>
<Key mask="SC" key="6">resize</Key>
<Key mask="SC" key="7">minimize</Key>
<Key mask="SC" key="8">maximize</Key>
<Key mask="SC" key="9">prev</Key>
<Key mask="SC" key="0">next</Key>


<Key mask="SAC" key="1">exec:laa</Key>
<Key mask="SAC" key="2">exec:lma</Key>
<Key mask="SAC" key="3">exec:lba</Key>
<Key mask="SAC" key="4">exec:wmctrl -r :ACTIVE: -b add,sticky</Key>
<Key mask="SAC" key="5">exec:wmctrl -r :ACTIVE: -b remove,sticky</Key>
<Key mask="SAC" key="6">exec:wmctrl -r :ACTIVE: -b toggle,shaded</Key>
<Key mask="SAC" key="7">showdesktop</Key>
<Key mask="SAC" key="8">fullscreen</Key>
<Key mask="SAC" key="9">minimize</Key>
<Key mask="SAC" key="0">maximize</Key>



4. dexter homerow:


<Key key="h">left</Key>
<Key key="j">down</Key>
<Key key="k">up</Key>
<Key key="l">right</Key>

<Key mask="A" key="h">move</Key>
<Key mask="A" key="j">resize</Key>
<Key mask="A" key="k">prev</Key>
<Key mask="A" key="l">next</Key>

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

(laa lba layer above and below^)


<Key mask="SC" key="h">exec:upperleftquadrant2</Key>
<Key mask="SC" key="j">exec:upperrightquadrant2</Key>
<Key mask="SC" key="k">exec:lowerleftquadrant2</Key>
<Key mask="SC" key="l">exec:lowerrightquadrant2</Key>


<Key mask="SA" key="h">exec:ccdi</Key>
<Key mask="SA" key="j">close</Key>
<Key mask="SA" key="k">exec:kill</Key>
<Key mask="SA" key="l">exec:cadi</Key>



<Key mask="SAC" key="h">exec:3but</Key>
<Key mask="SAC" key="j">exec:cr</Key>
<Key mask="SAC" key="k">showdesktop</Key>
<Key mask="SAC" key="l">window</Key>


normally i use the function keys for the 24 desktops, but it's recently occurred to me i actually more often use s# and d# for send to and go to so i didn't copy all the function shortcuts over, just these:

<Key mask="C" key="Tab">prev</Key>
<Key mask="A" key="Tab">next</Key>
<Key mask="A" key="F4">close</Key>

<Key mask="A" key="F1">root:3</Key>
<Key mask="A" key="F2">window</Key>
<Key mask="A" key="F3">root:1</Key>

<Key mask="S" key="F2">root:2</Key>
<Key mask="S" key="F1">showdesktop</Key>
<Key mask="S" key="F3">exec:winswitcher</Key>
<Key mask="S" key="F4">exec:sd</Key>
<Key mask="C" key="F12">exec:lp25</Key
<Key mask="C" key="F11">exec:lp24</Key>
<Key mask="C" key="F10">exec:lp23</Key>
<Key mask="C" key="F9">exec:lp22</Key
<Key mask="C" key="F8">exec:lp21</Key>
<Key mask="C" key="F7">exec:righthalf2</Key>
<Key mask="C" key="F6">exec:lefthalf2</Key
<Key mask="C" key="F5">exec:bottomhalf2</Key>
<Key mask="C" key="F4">exec:tophalf2</Key>
<Key mask="C" key="F3">exec:sakura</Key
<Key mask="C" key="F2">exec:cr</Key>
<Key mask="C" key="F1">exec:3but</Key>
<Key mask="4" key="v">exec:partview</Key>


that's about it--down over fifty or so...really only use shift, alt, ctrl plus space and the ask to kill dexter homerow shortcuts. (cadi is close all instances on all desktops of a given program and ccdi is the same for current...alt+shift+j (the whole row shuts stuff down) to close is pretty handy once you get the hang of using the row that way). little by little, everything seems to be more easily launched and remembered through/ everything seems to have been replaced by the pwn/nwp combo.

maybe i should hype it as a senility aid. or is it a senility product?
:?:
:wink:

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

palemoon updated to 25.6.0

#83 Post by Puppus Dogfellow »

palemoon-25.6.0-i686.sfs and palemoon-25.6.0-i686.pet

thanks again to OscarTalks, as are this upated (11-11.2.202.491) flash pet and this dillo-3.0.4.1-precise pet (it's a minimalistic browser--super light).

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

new libreoffice packages, the section of the shortcut keys

#84 Post by Puppus Dogfellow »

LibreOffice-4.4.5_en-US_xz.sfs and LibreOffice-4.4.5_en-US_xz.pet


-------
that's about it--
missed a batch of built in short cut keys:

arrow key cuts:
<Key mask="A" key="Up">exec:supup</Key>
<Key mask="A" key="Down">exec:supdown</Key>
<Key mask="A" key="Right">exec:supright</Key>
<Key mask="A" key="Left">exec:supleft</Key>

<Key mask="AC" key="Up">maximize</Key>
<Key mask="AC" key="Down">minimize</Key>
<Key mask="AC" key="Right">resize</Key>
<Key mask="AC" key="Left">move</Key>

<Key mask="AS" key="Up">fullscreen</Key>
<Key mask="AS" key="Down">showdesktop</Key>
<Key mask="AS" key="Right">next</Key>
<Key mask="AS" key="Left">prev</Key>

<Key mask="SAC" key="Up">exec:/nwp/2</Key>
<Key mask="SAC" key="Down">exec:/nwp/n</Key>
<Key mask="SAC" key="Right">exec:/nwp/g</Key>
<Key mask="SAC" key="Left">exec:/nwp/s</Key>
the last section is aemenu popus--2 for double monitor menu, n for nwp main menu, g for a pop up that grids out the screen in 100 pixel increments, s for the supplemental nwp menu.

supleft et al are for grabbing and scooting (roughly six times regular speed) the active window--handy for when the grid or some other feature sends windows to pixels beyond what your setup actually has--retrieve them from neverland or just roughly (compared to the mv shortcut or move through the windows menu--they fly, but they don't fly true) position them without the mouse or the usual sloth of the keyboard.

---------

working on two new versions--updated 5724 with the late additions to the nwp, tronkel's firewall toggle, and rcrsn51's simple server program, and i reduced the size by removing java, using a stripped version of qt, and swapping ardour for audacity. it still has wine 1747, but it's now got libreoffice 4.4.5. clicking uten's java-sfs script in /root/my-applications/bin will make you a new java sfs and deposit it in /tmp/java-sfs.

~572.11adds the following to ~572.1:

dillo-3.0.4.1-precise.pet LP2_XorgHigh.pet
findnrun-1.10.5.pet megasync-xUbuntu_12.04_i386.deb
FirewallToggle-1.0.pet mupdf-1.4.pet
get_libreoffice-0.30.1.pet mycp-1.0_noarch.pet
glipper-lite.pet mydbox-1.2_noarch.pet
GTKplayYT-2.3.2.pet peasypdf-3.3.pet
guvcview-1.5.3.pet PuppyTerrier-01g_BIL.pet
img2pdf_tahrpup-1.1.pet python-2.7.pet
lib6+libstdc6-4.9.2.pet SimpleHTTPServerWithUpload-1.0.pet
libc-ares2_1.10.0-2_i386.deb tas-1.9.pet
libicu48_4.8.1.1-3ubuntu0.1_i386.deb treesize-0.54.1.pet
libnss3_3.17.1-0ubuntu0.12.04.2_i386.deb UrxvtControl-1.1.pet

177mb.
(
~572.1 adds: nwp, vgt, some menu tweaks, the return of the/a bottom tray.
)



some other browser options for 572.11 and the cloud service that was too big to include (adding it would bring the total free cloud syncable storage to 69 gigs (2 each for spider oak and dropbox, 15 from copy, 50 from megasync).:


firefox.pet

chromium-40.0.2214.91.pet

palemoon-25.6.0-i686.sfs

palemoon-25.6.0-i686.pet

spideroakone_6.0_i386.deb
Last edited by Puppus Dogfellow on Mon 03 Aug 2015, 02:06, edited 5 times in total.

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

~572.41

#85 Post by Puppus Dogfellow »

audacity-2.0.5-i686.pet mupdf-1.4.pet
findnrun-1.10.5.pet mycp-1.0_noarch.pet
firefox.pet mydbox-1.2_noarch.pet
FirewallToggle-1.0.pet peasypdf-3.3.pet
flashplayer11-11.2.202.491-i386.pet PuppyTerrier-01g_BIL.pet
get_libreoffice-0.30.1.pet python-2.7.pet
gimp-painter-2.8.pet qt-4.8.2-stripped.pet
glipper-lite.pet rakarrack-0.6.1-i686.pet
goldendict-1.0.2-precise.pet rakarrack_DOC-0.6.1-i686.pet
goldendict-wordnet_3.0-26.1_all.deb rassam-paint-1.0.pet
GTKplayYT-2.3.2.pet rosegarden-13.10-i686.pet
guvcview-1.5.3.pet seq24_0.9.2.pet
hydrogen-0.9.5.1-s-i686-precise.pet SimpleHTTPServerWithUpload-1.0.pet
img2pdf_tahrpup-1.1.pet spideroakone_6.0_i386.deb
lib6+libstdc6-4.9.2.pet tas-1.9.pet
libc-ares2_1.10.0-2_i386.deb treesize-0.54.1.pet
libicu48_4.8.1.1-3ubuntu0.1_i386.deb UrxvtControl-1.1.pet
libnss3_3.17.1-0ubuntu0.12.04.2_i386.deb vlc-2.0.7-i686.pet
LibreOffice-4.4.5_en-US_xz.pet vlc_DEV-2.0.7-i686.pet
LP2_sooperlooper_1.6.14dfsg-1.pet vlc_DOC-2.0.7-i686.pet
LP2_XorgHigh.pet w1747.pet
megasync-xUbuntu_12.04_i386.deb

~574.11adds the above to the base ~572.1. 477 mb.

----------

to have the update and ardour, too/to not lose any functionality compared to ~572.4, you can add the following pets:

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


jre1.8.0_51.pet

-------

here's the above jre package as an sfs:


jre1.8.0_51.sfs

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

~572.311 (385 MB) and ~572.31 (293 MB)

#86 Post by Puppus Dogfellow »

~572.31 and ~572.311 add the following to ~572.11:


audacity-2.0.5-i686.pet rakarrack-0.6.1-i686.pet
firefox.pet rakarrack_DOC-0.6.1-i686.pet
flashplayer11-11.2.202.491-i386.pet rassam-paint-1.0.pet
gimp-painter-2.8.pet rosegarden-13.10-i686.pet
goldendict-1.0.2-precise.pet seq24_0.9.2.pet
goldendict-wordnet_3.0-26.1_all.deb vlc-2.0.7-i686.pet
hydrogen-0.9.5.1-s-i686-precise.pet vlc_DEV-2.0.7-i686.pet
LP2_sooperlooper_1.6.14dfsg-1.pet vlc_DOC-2.0.7-i686.pet
qt-4.8.2-stripped.pet

~572.311 contains gzipped rather than xzipped sfs files--it's larger but should load and possibly save faster--contents are exactly the same apart from compression used.


i'm presently running ~572 but am about to install all four new versions of the spin using RSH and stu90's AFI (automatic frugal installer--all the spins have it). right click an iso, say yes, run grub4dos--all four will be installed in under five minutes. i'm generally loath to reboot, so i'm not sure when i'll get around to playing with them, but it's nice to know they're there/will very likely be there should i need them.


~572.41.iso 477 MB (500,326,400 bytes)

~572.31.iso 293 MB (307,752,960 bytes)

~572.311.iso 385 MB (403,677,184

~572.11.iso 177 MB (185,487,360 bytes)


available here


---------

if you want to add the vlc from ~572.31-41 to ~572.11, use:


qt-4.8.2-stripped.pet

vlc-2.0.7-i686.pet

vlc_DOC-2.0.7-i686.pet

vlc_DEV-2.0.7-i686.pet

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

updated skype packages by OscarTalks now available

#87 Post by Puppus Dogfellow »

skype-4.3.0.37-apulse3-precise.sfs

skype-4.3.0.37-apulse3-precise.pet

skype-4.3.0.37-pulseaudio-precise.pet

skype-4.3.0.37-pulseaudio-precise.sfs

i believe apulse is recommended unless you know you're going to be messing around with sound cards.

this is an active skype thread.


(thanks yet again, OscarTalks).


--------

i'm getting some weird behavior from one 571 machine running palemoon--flash/html5 videos won't play if flashblock is enabled unless you disable it first with the button on the menu--you can still use it to "load" tabs with memory heavy content and suffer no penalty, but to actually play the video and still (mostly--this is admittedly not as convenient as it actually working correctly) use the flashblock feature, you may need to click the Fx green, reload the page, re-enable flashblock, repeat.

in firefox in ~572, the flashblock works correctly but the browser doesn't want to take my word for it that i in fact actually want to use the flashplayer i have installed and i don't want to be asked about it any more.

the palemoon issue is probably more annoying, but neither problem occurs on two other machines (essentially) running the same spin.

:?

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

bug fix for the newest batch

#88 Post by Puppus Dogfellow »

you can open the files in need of a fix with

Code: Select all

geany /root/2.jwmrc-tray /root/topright 
or

Code: Select all

leafpad /root/2.jwmrc-tray| leafpad /root/topright 

change the line (near the top, line five or so) from

Code: Select all

 <TrayButton label="vtg">vtg</TrayButton> 
to

Code: Select all

<TrayButton label="vtg">exec:vtg</TrayButton>
or, if you have the other version, add the "exec:" to

Code: Select all

 <TrayButton label="vtg">xdotool key alt+1 Down Return</TrayButton>
, making it

Code: Select all

<TrayButton label="vtg">exec:xdotool key alt+1 Down Return</TrayButton>
(i think in that file it's line three).

restart jwm for the fix to take effect.

(jwm -restart in a terminal or use the gui).

the latter tray is commented out and is meant for the right hand monitor of a dual screen set up. change the "x=#" in line two to the width of your left side monitor plus a pixel or so (for whatever buffer you want between the monitors, if any) and get rid of the <!-- --> bit (or just recopy the part between them) and restart jwm to use it.


[the vtg button (along with alt+z or "vtg" in the nwp/pwn launcher) will take a line or highlighted bit in geany and send it to the terminal, allowing you to open files and programs and launch scripts from the document you're working in.

see here.

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

some more shortcuts for the pax launcher (shift plus space)

#89 Post by Puppus Dogfellow »

sv -- make a folder a server. open a terminal and sv in the pax launcher (nwp launcher, etc) will print out "python -m SimpleHTTPServerWithUpload"--open a browser in the client computer and input the ipnet address (run ifconfig in a terminal) with :8000 appended to it (i.e. http://192.168.1.66:8000). this will allow you to upload and download files to the directory you ran the sv command (i.e. shift+spacebar (which pops up the modified pexec launcher showing /nwp/ in the entry box) then sv then enter) in.
by rcrsn51. thread here: http://www.murga-linux.com/puppy/viewto ... 132#415132

fw -- toggle firewall on off (actually give a pop up that provides the function. requires the pet by tronkel you can find at
http://murga-linux.com/puppy/viewtopic. ... 9ea478cf1f). rcrsn51's SimpleHTTPServerWithUpload won't run with the firewall in place and this is a convenient way to temporarily disable it.

these last two don't yet currently exist in the upped iso or any nwp-vtg package. the scripts for /nwp are

they exist now and the post from which this was taken edited to reflect that (that vtg help file is still behind the times with those and the following:


sk - sakura (also t in nwp/pwn/pax or any terminal for most of them (some may be set to urxvt or rxvt--they all have sakura though)
rn - gfnrename (batchrenamer)
hlx - htop (through urxvt) and lxtask
bh - adds bold tags around a selection of text in any text editor
uh - adds underline tags around a selection of text in any text editor
sth - add strikethrough tags around a selection of text in any editor or window that can receive text input
ih - add italics tags around a selection of text in any editor or window that can receive text input
bb - print out bold tags
cmt - print out comment (<!-- -->) tags
ii - print out italics tags
st - print out strikethrough tags
ul - print out underline tags

)
------

Geoffrey's got a new way to update your flashplayer. it runs at startup, but if you like, you can drag the script that the pet deposits there to quar (a "quarantined" folder in Startup), rename it uf (or fu), copy it to /nwp, and run it the the pax launcher with uf (or fu). anyway, it's recommended and i wish i had done something similar for uten's get most recent java script, something like:

/root/my-applications/bin/sfs-java.sh; rox /tmp/java-sfs #name jv or launch with vtg (it will take you to the folder after the script makes the sfs).


from here/credits

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

new libre office packages

#90 Post by Puppus Dogfellow »

LibreOffice-5.0.0_en-US_xz.pet (223mb) and LibreOffice-5.0.0_en-US_xz.sfs (183mb)

____

geany update:

geany 1.25 and plugins from corvus
____

screeny showing root menus 1, 2, and 3, the normally commented out bottom tray for the right side monitor, and the two pop up hidden trays (top (vtg, show desktop, root menus 6-10, dock and clock) and vertical left (clock, pager, tasklist)).

Image


the long vertical line allows winswitcher to be accessed from either monitor--it's just an underline in place of the original text. you can make a sliver or blank icon to set the height--the link icon in the pic is actually in the buffer between my monitors and not ordinarily visible--and give your desktop huge icons. you can also shrink the standard set and get relatively tiny ones (such as those seen around the drive icons, themselves reduced to about half original size).

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

not sure how widespread this problem is

#91 Post by Puppus Dogfellow »

desktop restore

my most recent installation of ~572.11 was losing most of its puppypin customizations at every reboot, so i installed jpep's desktop restore pet, having remembered it solved the problem on the precise 5.5 i was running on this machine. much to my delight, it not only fixed that problem, it fixed some other, far more annoying glitch--the monitor settings were lost at every reboot (three for three), necessitating an exit to prompt and and a visit to the xorg screen (at least you start getting faster at it). i don't recall this being stated as a cure for that problem, but it apparently is.

:)

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

bugfix for the missing bottom tray

#92 Post by Puppus Dogfellow »

just tried out 573.11--it boots fast but it has no bottom tray because i can't tell twos from threes apparently.

open up root/.jwm/jwmrc-personal and change the three to a two and vice versa to have the bottom tray these spins were intended to have.

Code: Select all

	<Include>/root/2.jwmrc-tray</Include>
		<Include>/root/3.jwmrc-tray</Include>
(three was supposed to have been the right side of a dual--comment out two and uncomment three if you are without a bottom tray and would like to add one.)

____________

here's megasync-precise.tar.gz and Whitesnow's mycopy and mydb.

radky's pup control somehow failed to get installed. same with RSH's AFI...

:?

everything else appears to be working fine/the next bug fix is its own post.

:wink:
Last edited by Puppus Dogfellow on Tue 11 Aug 2015, 10:25, edited 2 times in total.

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

impovements to the /nwp word processing scripts

#93 Post by Puppus Dogfellow »

nwp-improvement_pack


included nwp commands:

bb2 -- span tags for bold fonts or other, non default font choices (bold tags don't appear to work though the nwp's underlining and italics tags show the expected results). default is for monospace, same as po1, po2, po4 (the latter two are templates, po1 is an xdotool "spit this code" script/a backup of the main (monospace) template).

gpo -- open the browser, leafpad, and geany configuration files for the nwp word processor plus the default default templates in geany.# geany /nwp/po1 /nwp/po2 /nwp/po3 /nwp/po4 /nwp/po5 /nwp/po6 /nwp/gpo /nwp/lpo /nwp/bpo /nwp/bb2

pb -- closest i can come to html page breaks--doesn't appear this bit will translate well to pdf conversions--more a visual aid and bookmark than anything.

po -- open po2
po1 -- print out an improved version of the preotry template
po2 -- (template--po1 without the mini-wait--use clone (under documents menu) or save as to preserve the file)
po3 -- geany /nwp/po4 /nwp/po5 /nwp/po6 /nwp/po2
po4 -- template as 14 pt monospace
po5 -- template as 14 pt sans
po6 -- template as 14 pt serif

pr -- print out paragraph tags
prc -- print out paragraph centered tags
prj -- print out paragraph justified tags
prl -- print out paragraph left tags
prr -- print out paragraph right tags

v -- activate vtg

lpo -- leafpad /nwp/po2| leafpad /nwp/po4 /nwp/po5| leafpad /nwp/po6| leafpad /nwp/lpo (open the wp template files in leafpad; open the file that determines what leafpad opens

bpo -- open the default template files in a browser so you can see the line spacing, highlighting, etc. use gpo to edit what the command calls and what browser gets opened.

Code: Select all

#! /bin/sh
#bb2
#print out bold span tags--change for the font family, size, color or your choice. the underline and italics tags use what ever the outermost span tag is set to.
xdotool type '<span style="font-size: 14pt; color:black; font-weight:bold; font-family: monospace new">
</span>'

Code: Select all

#!/bin/sh
#pb
#admittedly not much of a solution to the problem, but it should help you find where they should be come editing time. there's also the double down arrow. that's supposed to do something...

xdotool type '<<<<<<<p__a___g__e___<!-- find by bbbb (etc) -->↡______b_r__e__a__k_______>>>>>>>'

Code: Select all

#!/bin/sh
#bpo
#you may want to open the files in dillo or another lightweight, not-necessarily-primary browser (swap out dillo for your choice). left click select and middle click paste/copy-paste in general from the browser's view to the word processor (online or otherwise) of your choice. lpo and gpo mostly open up template files in geany, but the files needed to configure what gets opened are also opened. po1 spits out the template code, and while xdotool types at about eight words a second, it's still faster to open a file with the necessary formatting in already in place. use save as or clone (under document) to preserve the included templates. alter the gpo, lpo, and bpo scripts that pop up with the gpo command to reflect your stash of files and their locations. 
dillo /nwp/po2 /nwp/po4 /nwp/po5 /nwp/po6
what po1 spits out:
<!DOCTYPE HTML>
<html>
<head>
<title></title>

</head>
<body>
<pre>
<span style="font-size: 14pt; color:black; font-weight:normal; font-family: monospace">



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




</span>
</pre>
</body>
</html>
see toward bottom of this post for the line spacing issue

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

page break issue in pax/nwp basically solved

#94 Post by Puppus Dogfellow »


Code:
#!/bin/sh
#pb
#admittedly not much of a solution to the problem, but it should help you find where they should be come editing time. there's also the double down arrow. that's supposed to do something...

xdotool type '<<<<<<<p__a___g__e___<!-- find by bbbb (etc) -->↡______b_r__e__a__k_______>>>>>>>'
this is pretty terrible. it's better to use a template that has a built in function for creating page breaks (from what i've seen, the browser (i.e. you) can only see the page breaks in print preview (accessible in firefox through the file menu). if you want to use a visual aid to demarcate where the breaks are or should be, the <hr> tag puts a line across the width of the screen. the following template creates a page break every time <hr> is placed.
<!DOCTYPE HTML>
<html>
<head>
<title></title>
<style>
hr {page-break-before: always;}
</style>
</head>
<body>
<pre>
<span style="font-size: 14pt; color:black; font-weight:normal; font-family: monospace">



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




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

the placement for the page break is set for just before the line the hr tag creates. because of this (and the fact i don't want a line going across the top of every page), i use

Code: Select all

#!/bin/sh
#hr1--10%, grey right side
xdotool type '<hr size="2" align="right" width="20%" color="grey">'
in place of <hr>. hr in the nwp/pwn/pax launcher spits out <hr>, hr1 spits out the above template, hrt is a sample of the template (these and the others from this post will be included in the next pack). here's the left side version (hrl. right side can be called with hrr.)

Code: Select all

#!/bin/sh
#hrl
xdotool type 'xdotool type '<hr size="2" align="left" width="35%" color="grey">''
you can use <hr> for a marker you can see when looking at the document with formatting in effect, but if you want to place invisible page breaks, use

Code: Select all

#!/bin/sh
#page break. name pb (replace older version)
xdotool type '<par style="page-break-after: always"></par>'
or

Code: Select all

#!/bin/sh
#page break above tag. name pbb.
xdotool type '<par style="page-break-before: always"></par>'
not sure what printers and pdf (etc) converters can read the syntax, but the page breaking function appears to be working.

for a visual marker inside the document in text view (i.e. when a given file is being viewed in a text editor rather than a web browser), use the launcher plus "cmt"--this will give you blank comments as a search anchor or visual aid (you could also dual purpose them by adding whatever you like--it won't be visible in the web browser view though).


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

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

#95 Post by Puppus Dogfellow »

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


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

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

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

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

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

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


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


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


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

***




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

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


........

dependencies: dash, xdotool

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

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

***

also of potential use/interest:

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


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


---p.dogfellow, 8/15

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

good to know: most browsers can save as pdf it seems.



from http://www.murga-linux.com/puppy/viewto ... 360#860360


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

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

fix for possible dual monitor bug, /nwp and puup updates

#96 Post by Puppus Dogfellow »

of bad advice:
Puppus Dogfellow wrote: for these spins it's just a drop in improvement pack--add to nwp, overwrite conflicts. if you know in advance rox's asking if it's okay to overwrite will get on your nerves (it shouldn't--i think there are fewer than ten conflicts) use spacefm for the move.
don't copy over sup, use sp and sb (for super and subscript) instead; both are included in the attached upgrade pack. the fixed sup menu is also included in the update in case you overwrote it or want a bug fix (some of the entries called scripts from /my-applications/bin instead of /nwp/).

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


bugfix:

there's a problem with a spacer tray on dual monitor setups. to fix it, change x from -1 (in /root/.jwm/jwmrc-personal--it's towards the end) to the width of your screens in pixels minus one--it's for the right side spacer that allows access to the five mouse root menus, the panels, or whatever icons or windows you let lie there. before the fix, one of my machines had a black dot at about 900x,200y (which i thankfully noticed--having that unseen ceiling every time i tried i maximize anything or resize anything on the left monitor was like contantly striking my head on a cabinet or something. not sure if all dual setups are affected or if all spins are afflicted, but that's the problem and the fix.


pepperflash 18: http://www.murga-linux.com/puppy/viewto ... 241#834241

freshplayer plugin mirrored

first install of the pet on will get you pepperflash 18 on palemoon and firefox but chromium 40 appears stuck at 16. upgrading older pepperflash players involves more than just overwriting the old version it appears.

see http://www.murga-linux.com/puppy/viewto ... 869#835869 for the updated (non pepperflash) flash updater--works well. as does the html5 option most browsers seem to offer as add-ons or plug-ins.

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

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


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

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

i.e. browser (options) (or [file path]). ______________ her ... sp=sharing

it's got some icons for the launcher, the templates, the folders, as templates for you to alter, ...



----------

a couple of screen shots. first one shows the icons (can't tell transparent from white in the shot)

Image

and the second one shows the scale:

Image


-----

to activate the ten jwm menus with the laucher, r1-0= roots 1-(1)0.


____

edit: the included update pack also includes alternate versions of the a1-10 (quadrant sized windows) and b1-10 (half and whole screen sized windows) dual monitor menu shortcuts/nwp-called scripts based on 3433x1080 resolution, up from 2900x990 or so (also, i believe the little black box bug was more likely placed at 1400--that's the width of the primary monitor (the one that came with the notebook) and why the -1 code for x works on single monitor setups....some connection, i think. not feeling up to reglitch it to double check). if you've overwritten the older version and prefer the older settings back,

Code: Select all

geany /nwp/a0 /nwp/a1 /nwp/a2 /nwp/a3 /nwp/a4 /nwp/a5 /nwp/a6 /nwp/a7 /nwp/a8 /nwp/a9 
and/or

Code: Select all

geany /nwp/b0 /nwp/b1 /nwp/b2 /nwp/b3 /nwp/b4 /nwp/b5 /nwp/b6 /nwp/b7 /nwp/b8 /nwp/b9 
in a terminal will open each series up in geany. swap the # from one line to the other to get the older versions back.

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

big improvement for the ultra tiny word processor

#97 Post by Puppus Dogfellow »

from word processing three: open file(s) in editing mode,
get view (read) mode and view (print) modes free (no extra effort or clicking)

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

Code: Select all

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


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

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

:D

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

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

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

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


[...]
(you've already seen the screenshots).

to quickly reach the print preview with the keyboard, try alt+f,v--few have a built in for preview, but the built in for print (ctrl+p) works in most browsers and is what you'll need to actually remove the url and file addresses and time and page stamps (etc) from your printed documents. or add custom headers and footers if you like. the included peasy pdf by rcrsn51 should make it easy to combine the pdfs the browsers save the html files as. here are a couple of extensions that may be helpful for this project or in general:

http://kb.mozillazine.org/Keyconfig_extension

and the slightly more involved:
https://addons.mozilla.org/en-US/firefo ... t-preview/

(in the end, if you want a slew of keyboard and menu modifications specific to firefox or multiple browsers and text editors as helpers for pwp, you may be better off using the included gea3 shortcut to edit the customization templates in /nwp/root3.)


----

that enormous menus submenu on root0 should have been given it's own short cut key...in the works along with a reworking of some of the number key shortcuts. for now, use

Code: Select all

#!/bin/sh
xdotool key alt+0 Down Down
name wm, set the permissions, place in /nwp/, launch with whichever shift-plus-spacebar activated launcher you're using.

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

tips and previews.

#98 Post by Puppus Dogfellow »

from Geany as Launcher, Bookmarks Manager, and Word Processor

Re: word processing four
also, rox is a file navigation and creation powerhouse.
Puppus Dogfellow wrote:i suppose it's more of a typewriter...


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

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


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

Code: Select all

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

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

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

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

to navigate them in geany:

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

-----------

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

---

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

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

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

--------

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

Image


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

:)

______


folder view shows more versions:

Image

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

________


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


documentation fix 2:

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

-----

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

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

adding an autotext feature to nwp and its utilities pack

#99 Post by Puppus Dogfellow »

setup custom system-wide autotext entries and give them easy to remember and type shortcuts. to get 11 blanks and autotext for the /nwp launcher, run the following in a terminal:

Code: Select all

echo $'#!/bin/sh
xdotool type \'\'
#Place desired text output between the single quotes above.
#at -- autotext---place in /nwp or a bin. make a series and activate with at...' > /nwp/at
cd /nwp; for f in at{1..10} ; do cp at $f ; done
chmod 755 /nwp/at1 /nwp/at2 /nwp/at3 /nwp/at4 /nwp/at5 /nwp/at6 /nwp/at7 /nwp/at8 /nwp/at9 /nwp/at10  /nwp/at
geany  /nwp/at1 /nwp/at2 /nwp/at3 /nwp/at4 /nwp/at5 /nwp/at6 /nwp/at7 /nwp/at8 /nwp/at9 /nwp/at10 /nwp/at
and then fill in the text in between the apostrophes in the ten geany documents that popped open. this way, shift plus spacebar followed by at[1-10] can serve as the nwp's autotext feature. rename the files to get additional sets (create them through the vgt/a page in geany by copying and altering their names on the same page--probably easiest method. call the last line (geany /nwp/at1 /nwp/at2 /nwp/at3 /nwp/at4 /nwp/at5 /nwp/at6 /nwp/at7 /nwp/at8 /nwp/at9 /nwp/at10 /nwp/at) ate or atm (at edit, at master) and place in /nwp in order to easily call the lot for future additions and adjustments.)


---

make an xdotool autotype/autotext script:

Code: Select all

#!/bin/sh
xdotool type "
#!/bin/sh
xdotool type ''
"
#you need the double quotation marks to have the singles from the code show (same thing the $ \ \ in the first script in the post does).
enjoy.
:D

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

update script that will accomplish most of what will be in

#100 Post by Puppus Dogfellow »

enter the following in a terminal or run it as a script to update nwp/pw(,)n, etc.

Code: Select all

#!/bin/sh

cp /nwp/tophalf2 /nwp/q8
cp /nwp/bottomhalf2 /nwp/q9
cp /nwp/lefthalf2 /nwp/q6
cp /nwp/righthalf2 /nwp/q7
cp /nwp/fulla  /nwp/q10
cp /nwp/upperleftquadrant2 /nwp/q1
cp /nwp/upperrightquadrant2 /nwp/q2
cp /nwp/lowerleftquadrant2 /nwp/q3
cp /nwp/lowerrightquadrant2 /nwp/q4
cp /nwp/lp5a  /nwp/q5
 echo $'#!/bin/sh
xdotool type \'<pre></pre>\'
' > /nwp/pre
cp /nwp/xpad-clear /nwp/xpc
cp /nwp/xpad-backup /nwp/xpb
 echo $'#!/bin/sh
xdotool key alt+0 Down Down Right
#large menu submenu on the root0 menu
' > /nwp/wm
chmod 755 /nwp/pre /nwp/xpb /nwp/xpc  /nwp/wm /nwp/q1 /nwp/q2 /nwp/q3 /nwp/q4 /nwp/q5 /nwp/q6 /nwp/q7 /nwp/q8 /nwp/q9 /nwp/q10


#fixes mistake in pre script, gives quick call names to some of the shortcuts for single monitors.
#q series is quarter sized up to five (which is configurable and centrally placed); 
#q6 and q7 set the active window to left and right halves of the screen respectively
#q8 and q9 are top and bottom. q10 is full/maximized (as is mx). 
#q1     q2                    q8                         
#     q5                    q6    q7          
#q3     q4                    q9

#alter the last part of the cp lines to change the name of the new file being created

minus the icons and the new structure of some of the file tree, the above gives most of what i plan on including in the new pack (in case you were getting anxious).

:wink:

Post Reply