The time now is Thu 25 Feb 2021, 09:57
All times are UTC - 4 |
Author |
Message |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Sat 08 Sep 2018, 10:48 Post subject:
|
|
Hi Glen.
Thanks for the logging code.
As to your 256 G Sandisk "locked" problem, I'd post it on its own thread in
the forum. You have a much greater chance of drawing attention from
people if it has its own title in the threads list -- than buried here.
As for me, I am pretty much clueless (with a couple of exceptions)
concerning hardware. So... no, I won't give you a bash one-liner for this,
I'm not that sure of myself!!!
However, my initial instinct would be to answer: have you tried to change
the properties of the partition through the ROX-Filer ? Please see attached
capture.
That panel can be obtained by typing Ctrl-P in /mnt; then a crosshair
appears, and then you click on the desired partition with this crosshair.
You should be able to change (tick / un-tick) any of the boxes. But don't
mess with it. The example presented allows read-write-and-execute for
anything on this ram1 partition (in other words: it is the default, as it
should be for regular use partitions).
Perhaps you need to do this from the Puppy or OS the crash occurred on.
(Note the "perhaps".)
I'd also suggest a poweroff and reboot of your Pup with the drive connected.
Sometimes, this by itself is enough to reset the normal partition defaults.
Poweroff, not just reboot. As in:
-- poweroff everything, including turning off the monitor, the speakers, and
any outside drive;
-- wait a couple of minutes;
-- turn everything on again, and then reboot as you normally do.
IHTH.
 |
Description |
|
Filesize |
84.37 KB |
Viewed |
1364 Time(s) |

|
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
glene77is

Joined: 17 Aug 2010 Posts: 200 Location: Memphis, TN, USA
|
Posted: Wed 19 Sep 2018, 09:41 Post subject:
|
|
Musher
Thanks for the tips.
Have tried most, and will go through all again.
Always a possibility,
I may have mounted it away from the fan,
and the 256 GB flashdrive got hot with mass copying.
Normally, I keep the large flashdrives by the fan,
hanging on a USB multiport. Otherwise, they get hot on mass copying.
When I say 'mass copying',
I refer to a mass copy of my 'backup' 256 GB
onto a new 256 GB.
Have gone back to the Hard-Drive and installed puppy distros for :
Lupu 525, Slacko 57, Slacko 632, Tahr 605, Xenial 708.
Have set up Directory version and/or the 4fs version
and plan to have both versions available from menu.lst.
Most function OK now.
I have found I like developing/mucking/tinkering in the Directory version.
I like the security made available by skipping the save2flash function.
When I make a mistake in codework, I just break-out and "reboot"
which reloads the prior version and I can start again.
Since I do frequent save2flash and then xarchive the savefiles
( which include a date-time-stamp in their name )
I noticed that the 256 GB flashdrives can get hot.
So, I hang then from a USB multiport, over the computer fan.
For developing a 4fs version,
to include custom display tracking and logging functions,
I use this technique :
(1) I have been able to load the 4fs version into Geany
( all relevant programs like rc.sysinit, rc.shutdown, sfs_load, fixmenus)
(2) then import (via Geany ) from the Directory version.
It is basically a Careful "copy/paste all" method.
WHEN I do a
(1) Geany "save"
(2) "save2flash"
THEN the 4fs file updates all index and file lengths.
I found an un-suspected feature
when setting pmode = ataflash or atahd or usbflash.
In general :
(1) "ataflash" or 'usbflash' requires a Linux ( ext2,3,4 partition) Directory ,
and allows the 'asktosave' to control saves.
(2) "atahd" can use the current hard-drive NTFS partitiion,
in a 4fs savefile, with 'auto save' .
This little discovery allows me to run Xenial ( both 4fs and Directory)
on my hard-drive system computer.
Prior to this, I had to always run the 4fs version on the hard-drives.
#==============================================================================
#&&& Xenial 7.0.8 GAE sample Log Method
#==============================================================================
### Assume that in rc.sysinit, you echo a little string > to clear/init the LogFile.
### Insert this "sample Library Subroutine"
in the first lines of each file to be logged.
### Each running script file will call itw 'own' logfunk???"
which inserts the script name.
### This example is for "sfs_load", and it titled "logfunksfs" .
### Script for "fixmenus", and all other files is similar ,
### just ID each program: "sfs_load","fixmenus", "rc.sysUP", "rc.sysDN", etc.
### Each of these programs makes many calls to its own "logfunk???"
### This example is for "sfs_load", and it titled "logfunksfs" .
#~ logfunksfs() {
### (1) name of current running script ;
ie, rc.sysUP, rc.sysDN, sfs_load, fixmenus .
#~ lcNameStr="sfs_load"
### (2) incoming parameter message,
#~ lcMsgStr="'$1'"
### (3) date-time-stamp
#~ lcDtsStr="`date -R | cut -f 2-5 -d ' ' | cut -f 1 -d '.' | tr '[a-z]' '[A-Z]'` z"
### (4) logging target file
#~ GaeLogFunkUp="/GAE-log-funk-up.tmp"
### filename copied from /etc/rc.d/GAE/GAE-SPEC
#~ lcFileStr="${GaeLogFunkUp}"
### build final string to write
#~ lcMsgStr="$lcNameStr : $lcMsgStr : $lcDtsStr "
### ( ) echo out to logging file.
#~ echo -e "$lcMsgStr" >> ${lcFileStr}
#~ } ### end logfunksample
###...........................................................................
I don't think I am presenting anything really 'new' for you,
just a 'sharing' exercise.
As always, YMMV ( your milage may vary ) .
_________________ Puppy Linux is more fun than a barrel of M$ monkeys
www.geocities.WS/glene77is
glene77is --- {^,^} --- electricity is shocking, Memphis, TN, USA.
|
Back to top
|
|
 |
glene77is

Joined: 17 Aug 2010 Posts: 200 Location: Memphis, TN, USA
|
Posted: Thu 04 Oct 2018, 11:35 Post subject:
|
|
Guys,
I have resolved "my" problems with HardDrive Xenial 7.0.8
not reading a Directory SaveFile.
My old eyes did not see the difference between "," or "."
and sometimes I just imagined that there was a "," or "." written in place
--- yuk!.
So, Xenial frugal alongside M$XP :
(1) The SaveFile.4fs are installed on sda1 ( format NTFS )
(2) The SaveFile Directory are installed on sda5 ( format EXT2 )
I find that Xenial is the more tolerant of errors,
compared to Slacko 632.
YMMV !
Thanks for a place to write my little adventures.
_________________ Puppy Linux is more fun than a barrel of M$ monkeys
www.geocities.WS/glene77is
glene77is --- {^,^} --- electricity is shocking, Memphis, TN, USA.
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Thu 04 Oct 2018, 16:02 Post subject:
|
|
Hi glen!
Thanks for the infos.
And thanks for the thanks about the writing space! (Although those should
actually be directed to forum moderator Flash and forum owner John Murga.)
BFN.
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Sun 21 Oct 2018, 03:25 Post subject:
|
|
Hello all.
I recompiled the Sound eXchange (aka sox or SoX) version 14.4.2 (2015;
latest v. as of this writing) for xenialPup-706. It is available at:
https://augras.eu/puppy_linux/musher0/xenialPup-706-k41/Multim%C3%A9dias/SoX-14.4.2.pet
Those of you who do not know SoX, please head for:
http://sox.sourceforge.net
In short, SoX is a sound suite in CLI that can generate sounds, play a wide
range of music formats, and process tags of music pieces. But please go
read the docs? No summary can do it justice.
Enjoy!
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
glene77is

Joined: 17 Aug 2010 Posts: 200 Location: Memphis, TN, USA
|
Posted: Sat 29 Dec 2018, 23:45 Post subject:
Xenial Editing and Experimenting |
|
Guys,
I have been tracking the functional flow of the rc.sysinit and rc.shutdown
and several other scripts that are involved.
This activity has been with Tahrpup 605 and Xenialpup 708.
In the process I noticed several differences :
Tahr savefile size (without internet activity) is small about 19 MB.
( when IRON browser loaded special, then the size is about 64 MB )
( I check and edit the save-file directly /root/.cache
( to clear out any residual files from internet activity )
( I noticed that several websites flood my OS with advertisements
( which can lock up my system with CPU 100% )
...
Tahr savefile must be 'copied' to a new savefile with a different name.
... if you want a new-named-date-time-stamped file to edit.
Tahr savefiles are locked to 'rename' or 'move' operations.
Tahr rc.sysinit is written as !/bin/ash
Tahr rc.shutdown is written as !/bin/sh
Xenial savefile size ( without internet activity) is larger about 280MB
( only IRON browser loaded special )
( I check and edit the save-file directly /root/.cache
( to clear out any residual files from internet activity )
( I noticed that several websites flood my OS with advertisements
( which can lock up my system with CPU 100% )
...
Xenial savefile can be "copied" to a new savefile with different name.
... if you want a new-named-date-time-stamped file to edit.
Xenial savefiles are not locked to 'rename' nor 'move' operations.
Xenial rc.sysinit is written as !/bin/ash
Xenial rc.shutdown is written as !/bin/sh
So, as I try writing BASH code, mostly it works.
But,
WHEN I strike-out references to !/bin/sh
(1) change rc.sysinit to !/bin/bash.
(2) change rc.shutdown to !/bin/bash.
(3) change rc.update to no language declaration
(4) check/change any other related script
(5) leave my rc.sysvar and rc.syslib with no language declaration
THEN the result is that
my BASH code functions work almost as written in the manual.
As I check around, I find that one /bin script will grep into rc.sysinit
to find some text ... but that is all.
There is No Other script that I have found
that greps nor calls functions out of rc.sysinit nor rc.shutdown.
As an experiment I replaced the 'asktosave' function
with a totally script text-mode function.
Just as an exercise.
Works OK ... if you like that sort of thing
... all the BASH code works ... that was the point.
As an experiment, , in both Tahr and Xenial ,
I opened "/" and called "select all" and called "count" = 71 Gig Bytes.
Must be expanding everything in the system files ! for the "count" .
So, savefiles : the Tahr is about 64 MB vs. Xenial about 274 MB.
If I load more, then the size increases.
I already 'expect' that one of our script-coding experts will point out
that I am only working with a "frugal" install,
and
that these little findings are not adequately representative of Puppy Linux.
Are there other comments about these findings ?
.
_________________ Puppy Linux is more fun than a barrel of M$ monkeys
www.geocities.WS/glene77is
glene77is --- {^,^} --- electricity is shocking, Memphis, TN, USA.
Last edited by glene77is on Sat 29 Dec 2018, 23:56; edited 1 time in total
|
Back to top
|
|
 |
glene77is

Joined: 17 Aug 2010 Posts: 200 Location: Memphis, TN, USA
|
Posted: Sat 29 Dec 2018, 23:53 Post subject:
Xenial editing and experiments |
|
Fellows:
Little mis-writing on the previous post
... but I found the "edit" button and fixed it.
.
As I continued embedding calls to my BASH subroutines
located in a script file '/etc/rc.d/rc.syslib' and '/etc/rc.d/rc.sysvar'
I uncovered what appear to be "scope" related issues.
.
These "encapsulation" issues can be quickly worked-round
by back-stepping to the vintage "cut-n-paste" method
of simulating subroutine calls.
.
_________________ Puppy Linux is more fun than a barrel of M$ monkeys
www.geocities.WS/glene77is
glene77is --- {^,^} --- electricity is shocking, Memphis, TN, USA.
Last edited by glene77is on Wed 09 Jan 2019, 21:16; edited 1 time in total
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Sun 30 Dec 2018, 15:37 Post subject:
Re: Xenial editing and experiments |
|
glene77is wrote: | Fellows:
Little mis-writing on the previous post
... but I found the "edit" button and fixed it. |
Yeah, little miss Edit(h) is a sweetheart!
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
mikeslr

Joined: 16 Jun 2008 Posts: 3913 Location: 500 seconds from Sol
|
Posted: Sun 30 Dec 2018, 15:58 Post subject:
Re: Xenial editing and experiments |
|
musher0 wrote: |
Yeah, little miss Edit(h) is a sweetheart!  |
That's a matter of opinion. Archie always told her to "Stifle it!"
By the bye, Have a Happy New Year.
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Sun 30 Dec 2018, 16:31 Post subject:
Re: Xenial editing and experiments |
|
mikeslr wrote: | musher0 wrote: |
Yeah, little miss Edit(h) is a sweetheart!  |
That's a matter of opinion. Archie always told her to "Stifle it!"
By the bye, Have a Happy New Year. |
You too!
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
glene77is

Joined: 17 Aug 2010 Posts: 200 Location: Memphis, TN, USA
|
Posted: Mon 15 Apr 2019, 17:56 Post subject:
editing and experiments |
|
MusherO
Here is a little message routine :
#######################################
#
### rc.str2msg
### usage:
### . /etc/rc.d/rc.str2msg "string" "color" "margin"
### . /etc/rc.d/rc.str2msg "string" "3" "10"
### capture all params to local lcVar
lcParam1=${1}
lcParam2=${2}
lcParam3=${3}
### trap margin
case "${lcParam3}" in
1)
/bin/echo -n -e "\\033[1G" >/dev/console ;;
2)
/bin/echo -n -e "\\033[10G" >/dev/console ;;
3)
/bin/echo -n -e "\\033[15G" >/dev/console ;;
4)
/bin/echo -n -e "\\033[20G" >/dev/console ;;
5)
/bin/echo -n -e "\\033[25G" >/dev/console ;;
6)
/bin/echo -n -e "\\033[30G" >/dev/console ;;
7)
/bin/echo -n -e "\\033[35G" >/dev/console ;;
*) ### default
/bin/echo -n -e "\\033[15G" >/dev/console ;;
esac
### defaults for common
lcMsgMgn="\\033[15G"
lcMsgClr="\\033[1;32m"
### trap color
case "${lcParam2}" in
1)
/bin/echo -n -e "\\033[1;31m" >/dev/console ;;
2)
/bin/echo -n -e "\\033[1;32m" >/dev/console ;;
3)
/bin/echo -n -e "\\033[1;33m" >/dev/console ;;
4)
/bin/echo -n -e "\\033[1;34m" >/dev/console ;;
5)
/bin/echo -n -e "\\033[1;35m" >/dev/console ;;
6)
/bin/echo -n -e "\\033[1;36m" >/dev/console ;;
7)
/bin/echo -n -e "\\033[1;37m" >/dev/console ;;
*)
/bin/echo -n -e "\\033[1;38m" >/dev/console ;;
esac
### send message
/bin/echo -n "$1" >>/dev/console
### send clear color
/bin/echo -e "\\033[0;m" >>/dev/console
return $1
}
##### end: rc.str2msg #######################################
Here is another to do a standard banner
which I use to show flow of program code
as it passes down past each one of PeaBee "######## title #####" :
#--- rc.str2banner -------------------------------------------------------------
### 33 36 33
lcMsgStr1="$1"
lcMsgStr2="$2"
lcMsgStr3="$3"
/bin/echo -e "\\033[13G\\033[1;33m $lcMsgStr1 \\033[1;36m $lcMsgStr2 \\033[1;33m $lcMsgStr3 \\033[0;39m" > /dev/console
#------------------------------------------------------------------------------
Sends a left margin-str , central message , right margin-str .
***
_________________ Puppy Linux is more fun than a barrel of M$ monkeys
www.geocities.WS/glene77is
glene77is --- {^,^} --- electricity is shocking, Memphis, TN, USA.
|
Back to top
|
|
 |
nbah07
Joined: 28 Apr 2018 Posts: 18
|
Posted: Tue 07 May 2019, 17:14 Post subject:
much action over here Subject description: bad news coming through |
|
Hey bosses,
In order to accomplish unregular cpu routines like evaluate a new email provider or view my finance scores, etc. Much of them are both not frequent usage, every month at least. So it easily places a barreer when user changes OS'es and scrap reckoners year basis once minimum.
Last year I had a desktop, functionality broke, moved to a 2010' 10" netbook, which made me look as a squinted-eye huntchback for quite time. Ditched the spine ruiner and got a 2008' 15" "the" notebook. I forgot to mention, the VGA screen kaput while working with the 10" ordinator, so no pron cinema session again. Just to thinly ilustrate what said above.
Ok enough of indulgence,
(1.) Native Palemoon *sigh*, recaptcha js doesn't like it, some websites either. glene77is'd mentioned it peaks 100% CPU usage happens on that last case, confirm?... he's right. ~ pkill -9 palemoon is already key binded to wm conf.
Following 'a_salty_dogg''s post on palemoon's topic about update with the tarball should go in /opt/palemoon (bkup before overwrite), the graphics got a nasty behave though; and a windows glitch doesn't update its interface when clicking tabs, boxes, etc.
Webpages with ReCaptcha js have been working apparently (with that fear symptom of ruined business catched when you are browsing the support forums for half day)
Update: the interface glitch may be unoticed if close and reopen said window or do some tricky sequence of gui actions, if lucky.
1.1. Why Palemoon runs so many PIDs according to htop ?
(2.) Except this email provider returns "techincal error" after applying 'ok, create inbox' (all the forms and ReCaptcha were filled).
Quote: | A technical error has occurred
Error: Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src https://signup.mail.com 'unsafe-inline' https://*.ui-portal.de https://*.uicdn.com https://*.tifbs.net https://*.web.de https://*.server.lan https://www.googleadservices.com/pagead/ https://googleads.g.doubleclick.net/pagead/ https://www.google.com/pagead/ https://tagmanager.google.com/ https://*.googletagmanager.com https://*.google-analytics.com https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/”). Source: call to eval() or related function blocked by CSP.
Source File: https://www.googletagmanager.com/gtm.js?id=GTM-KF5RH5&l=gtmDataLayer
Line: 3
Source Code:
call to eval() or related function blocked by CSP |
Clearly fog embraced my mind, this seems way other CSP issue, not STFW'ed before. Still in hope of a tip if a kind tail biter have gone through this before.
(3.) Another webpage, one of those bank operations analyzers (good/bad payer), after login in, the profile page loaded but inner contents did not, CPU % went high, locked out any response of the browser, only after its restarts (kill -9), the page loaded correctly.
(4.) Code: | #!/bin/sh
chvt 2
sync
echo -n mem > /sys/power/state
chvt 4 |
Set to run this sleepfile with /usr/local/pup_event/frontend_timeout
in line 70: [ $MOUSECNT -gt $POWERTIMEOUT ] && /root/Desktop/sleepfile &
instead of wmpoweroff .
This produce the notebook to sleep "in loop" after 1 minute it's been woke. Restart of X ends this hickup.
(5.) Can one confirm this works in musher's xenialpup?
hplip-print-scan_3.17.9_i386.deb
Know that I'd spent some fingers days in pursuit of solution.
musher0 wrote: | glene77is wrote: | heywoodj wrote: | paulh177 wrote: | nbah07 wrote: | oh boy, is this allowed? |
|
|
|
|
I truely want to regret this: Time to move to another pup?
*Don't think I am asking for the easy road over a naive way of questioning.
*Mind the grammatics, ESL here. Still learning afer all.
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Thu 06 Jun 2019, 12:46 Post subject:
|
|
Hello nbah07.
I apologize for the delay.
-- I cannot answer all questions. Perhaps I knew the answers at the time, but now only
God knows them!
-- I have no recollection of PaleMoon itself asking for ReCapcha's answers.
-- Please remember that you cannot blame the behavior of a badly-designed web site
on the browser.
-- Try another browser?
-- What does the hplip-scan package do? If for a scanner, I do not have one.
-- It is possible that "putting the portable to sleep" does not work properly. I built this
XenialPup from the woof-CE recipe on a desktop computer. Obviously, I cannot test
"portable mode" on a desktop, sorry. I apologize for any inconvenience, but perhaps
ask someone who uses a portable. I have no way of counter-testing your experiment.
-- Why change virtual terminal? One is enough, yes? In my experience, reading
messages in /tmp/xerrs.log and from dmesg should give you good indication of what
is going wrong.
IHTH.
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
musher0
Joined: 04 Jan 2009 Posts: 15041 Location: Gatineau (Qc), Canada
|
Posted: Thu 06 Jun 2019, 14:50 Post subject:
|
|
Hello again, nbah07.
About many threads in htop for a browser:
In htop, you can "condense" the various userland threads for any browser into one:
-- hit F2 (settings) from main htop view
-- in the settings panel, highlight the 2nd item in the left column (display options)
-- go to the right column with right arrow on keyboard
-- scroll down to the line that mentions "userland process threads"
-- press space bar to activate (an "x" will show for this line)
-- press F10 to save the setting.
Then you will have only one process thread for the browser.
Please see illustration attached.
IHTH.
Description |
(Partial view) |
Filesize |
245.54 KB |
Viewed |
516 Time(s) |

|
_________________ musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
|
Back to top
|
|
 |
nbah07
Joined: 28 Apr 2018 Posts: 18
|
Posted: Sun 14 Jul 2019, 17:36 Post subject:
pull the best from miserables Subject description: what's up boss? |
|
musher0 wrote: | enjoy, musher. no regrets on time compliance. we could think it's by our side, instead of rushing ahead, as many 4 pads friends endear when out for a walk. |
Pointing again the possibility of a regret,
what project, distro-wise, have you working on? Still rowing (if reads offensive, quit) along the elder machines? specially laptops since it's my current piece. I honestly didn't want to search/test related distros again in manner to drive the end of other computer tasks. yes, i [s]was[/s] am poorly diagnosed with "task jitterer" - like it would be any relevant an opnion of frivolous peers, but heh, they ones who call the rules.
it's great you still read this thread.
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|