Slackster-700

For talk and support relating specifically to Puppy derivatives
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#16 Post by musher0 »

Hello all.

The following would also go in the jwm development thread, but now only
God knows where it is...

In file /usr/local/jwm_config/menu_build_places_drives,
line 36 should read

Code: Select all

echo "<Program label=\"${PARTITION}   ${FILESYSTEM}   ${INFO}\" icon=\"/usr/local/lib/X11/pixmaps/${MEDIA}48.png\">rox /mnt/${PARTITION}</Program>"
As it is currently, in the "Places" menu, when you click
Places -> Drives -> a partition,
nothing happens. The change in the line above solves that.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#17 Post by tallboy »

I suspect that this concept could be used in a CD plus thumbdrive frugal setup.
That may be so, but that has absolutely nothing to do with running it from - and saving to - a multisession live CD.
True freedom is a live Puppy on a multisession CD/DVD.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#18 Post by musher0 »

tallboy wrote:
I suspect that this concept could be used in a CD plus thumbdrive frugal setup.
That may be so, but that has absolutely nothing to do with running it from - and saving to - a multisession live CD.
You are right, tallboy.

I apologize for my short-sightedness.

A couple of things that I see right off the bat, were I to implement
a parallel "metal disc" version of this concept, are:

-- no CD, only DVD, because of space concerns;
-- access times to the material on the disc will be much slower.
Would users be ok with that?

Unless we say: the user needs a DVD burner plus 4G of RAM. Then we
transfer / unpack the lrzip'ed archives in a RAM-disk at boot-up, and this
RAM-disk becomes somehow /mnt/home for the duration of the session.

(The above is not a promise. I'm just juggling with ideas at this time. I'd
need your input and that of Puppy-on-a-DVD users, too.)

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

Re: Slackster-700

#19 Post by sheldonisaac »

musher0 wrote:Hello, and a Happy and Prosperous New Year 2019 to all!
Same to you, musher0, and thanks for this Slackster, as well as for your many other works!
Pls download from here.
I did that. At present, this is as far as I've gone: put some of the files into /mnt/sda1/slackster/
-rw-r--r-- 1 root root 2633900 Jan 1 20:27 initrd.gz
-rw-r--r-- 1 root root 144060416 Jan 1 20:27 puppy_slacko_6.9.9.9.sfs
drwxr-xr-x 13 root root 4096 Jan 4 16:06 slackosave-jan4
-rw-r--r-- 1 root root 4993008 Jan 1 20:27 vmlinuz
It seems better after I copied 3.16.45-puppy-32-4g from somewhere into /lib/modules/

Can't do any more tonight.

THANKS AGAIN!
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#20 Post by musher0 »

You're welcome, Sheldon!

If it may help you, and perhaps others, get better bearings, here is how
my slackster directory is set up.
Please note it is called: /mnt/home/slacko-6.9.9.9-uefi
This is very important for the symlinks.

Code: Select all

First and 2nd level tree of /mnt/home/slacko-6.9.9.9-uefi
=====================================

.cache/ # directory for some browsers and other programs

devx_slacko_6.9.9.9.sfs # Development archive

fdrv_slacko_6.9.9.9.sfs # 2nd modules archive, from peebee

.mhwaveedit/ # work directory for mhwaveedit
.mozilla/ # work directory for firefox and/or seamonkey

puppy_slacko_6.9.9.9.sfs

python2.7 # Unpacked directory from MntHomeSlacko-700_optional archive
python3.5 # Same

run/ # directory
     boot.cat # boot utility
     boot.msg # various messages
     help2.msg
     help.msg
     initrd.gz # this Puppy's initrd
     isolinux.bin # for people who boot from DVD
     isolinux.cfg # ditto
     logo.16
     README.HTM
     vmlinuz # the linux kernel
     # (There is nothing wrong with leaving these files at first level.
     # I simply find this more convenient, personally.)

seamonkey # Unpacked directory from MntHomeSlacko-700
                  # (and then its archive itself, unpacked)

slackosave-JdelAn.2fs # My pupsave

s_puppylogo48.png # Icon
s_puppylogo96.png # Same

.thumbnails/ # storage directory for GTK2 thumbnails

Windows_Installer # Ex-factory directory, for WhineDose refugees

zdrv_slacko_6.9.9.9.sfs # Original modules archive
BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#21 Post by tallboy »

musher0 wrote:-- no CD, only DVD, because of space concerns;
-- access times to the material on the disc will be much slower.
Would users be ok with that?
No.
What you mention above, plus a reintroduction of the /Archive, is unfortunately included in all the latest versions of the code for functions4puppy and savesessionDVD in woofCE. The code to save to a CD was removed at some point, I don't know why. The dir /Archive may have been relative in the past, but the need to automatically place all files over 90Mb and all compressed files into /Archive at a session save, is beyond my imagination, because /Archive is not included at next bootup! :roll:

Space concerns are not that relevant for a remastered .iso on a CD, I remaster to shrink it to make it fit on a CD, with extra space to save some sessions. Space concerns shall be up to a user to take into consideration, when choosing a medium.
I can remaster with all prefs set as I want them, but there are always some small changes to be made, maybe some programs or scripts to be added, and saved as a session.
True freedom is a live Puppy on a multisession CD/DVD.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#22 Post by musher0 »

Hello all.

I installed Midnight Commander from PPM, only to discover that it
provided v. 4.8.16, which is almost 3 years old.

So I went through the trouble of compiling the latest version of mc as of
this writing (Jan. 1 2019!).

I compiled it on the slacksterPup-700. If you wish to use it on another
Pup, you do so at your peril!

It may take a while for a newbie to appreciate it, but this old standard still
looks great, and works as well as it ever did. You get it by going through
here. I included a nice screen cap there, too.

Enjoy.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#23 Post by musher0 »

Hi.

I made the same reasoning about bash. Slackster-700 had a version from
2016.

So the next version of slackster (probably v. 700.1) will have the
bash-5.00-rc1 version, published a couple of weeks ago, as well as the
recent Midnight Commander.

I will not publish separately the pet archives related to bash-5, because it's
a bit like the kernel. One cannot overwrite the new bash version over the
old one as for versions of e.g., mc. Rather it has to be integrated to the
puppy_slacko sfs from another Pup.

However, if you wish to have a copy of those bash archives for a project,
please ask me by PM, I will gladly send them to you.

Good news, eh? :)

BFN.
Attachments
bash-5.0_rc1.jpg
(168.31 KiB) Downloaded 527 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#24 Post by musher0 »

Hi.

Nothing's too good for our doggie! :) These two pet archives contain:
1) the basic gtk+3 AND libs (AIUI), plus 2), the locales.

Nothing original. You could as well install it via the slacko's ppm. But
I think having gtk+3 and its libs in a single archive makes it simpler
and clearer for everyone.

Pls download this gtk+3 package from here, if you need it.

The obvious advantage is that having gtk+3 on board enables
the user to run more recent apps on his Pup.

Do not enjoy, do not pass Go, do not collect $200! ;)

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#25 Post by musher0 »

Edit, later in the day:
Hi, all.

Yes, I had to add it, rather re-add it, because I had done a silly erase
motion earlier while developing. I double-checked, and the slacko-6.9.9.9
implementation in the woof-CE does provide the exact same version of
rsync as I reinstalled.

Please disregard my note below and accept my apologies for any
inconvenience.

musher0

~~~~~~~~~~~~~~~
Hi.

This rsync added. It did not have one, AFAICT.

It worked well OOTB, even if compiled originally for a xenialPup-7.0.6.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#26 Post by musher0 »

Hello all.

An update, for slacko-6.9.9.9 and slackster-700, of the ex-factory included
transmission BitTorrent client, from version 2.60 to version 2.94, is now
available through here.

Thanks to forum member Fishy for this request.

Enjoy!
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#27 Post by musher0 »

Edit, the day after.
Please use version 0.2 in the next post. In GPL spirit, this script is kept for
historical reasons only.
Thanks for your understanding.
musher0

~~~~~~~
Hello.

After several tests, I had to conclude that pman, the man page reader,
did not work on this slackster-700.

Please find attached the replacement I came up with.

The script is as follows:

Code: Select all

#!/bin/bash
# /bin/man-m0.sh
# Avec lien symbolique à | With symbolic link at | /bin/man
#
# Requiert : basename, busybox man, man2html (déjà dans le Puppy)
# ------------ en ajout : le navigateur léger links.
#~~~~~~~~~~~~~
# Requires: basename, busybox man, man2html (already in the Pup)
# ----------- add-on : the links light browser.
#
# Voir note au bas du script. | See note at bottom of script.
#
# Usage : man-m0.sh $1, ou | or
# --------- man $1
#
# Ex. : man-m0.sh rsync, ou | or
# ----- man rsync
#
# (c) musher0, 12 janv. 2019. GPL3
####
Z="`busybox man -w $1 2>/dev/null`"
if [ "$?" -gt "0" ];then
     echo -e "
     \e[33mIl n'existe pas de manuel pour cet utilitaire.
     Veuillez essayer plutôt avec < utilité --help >.
                       \e[1m~~~~~~~~~~~\e[21m
      There is no manual entry for this utility.
      Please try with < utility --help > instead.\e[0m\n"
else

     NoM="`basename $Z`"
     if [ "${NoM: -2}" = "gz" ];then
          gunzip -N -k $Z
          NoM="${NoM:0: -3}"
          Z="${Z:0: -3}"
     fi
     man2html $Z > /tmp/$NoM.html
# en option :
# urxvt -g 90x45+180+48 -sr -fg black \
# -bg snow -e links /tmp/$NoM.html
     links -g /tmp/$NoM.html
     [ "${Z:0: -1}" != "z" ] && rm -f $Z
fi
exit

# Note -- FR --
# Fonctionne sur slacko-6.9.9.9 et slackster-700.
# Non testé sur d'autres Puppys.
#
# Remplace le pman de BarryK fourni sortie usine.
#
#~~~~~~~~~~~~~
# Note -- EN --
# Works on slacko-6.9.9.9 and slackster-700.
# Untested on other Pups.
#
# Replaces BarryK's pman provided ex-factory.
#
#~~~~~~~~~~~~~
BFN.
Last edited by musher0 on Sun 13 Jan 2019, 20:06, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#28 Post by musher0 »

Hello all.

Already an update of the above, because < busybox man -w name-of-utility >,
started playing fussy.
(Jan. 14, 2019.
Code removed. Pls see more complete version 3 posts down. Thanks.)

It also gave me a chance to discover the long list of configuration possibilities that
links has to offer. Please have a look at the links line above and at the attached
screen capture. Impressive, for such a light browser.

~~~~~~~

Don't forget to make a symbolic link from < man-m0-0.2.sh > to < man > in the
/bin dir. Like so:

Code: Select all

cd /bin
ln -s man-m0-0.2.sh man
~~~~~~~

This version also comes with an error message based on vovchik's bcm utility. If you
ever get an error message to the effect that there is no man file for utility X, but you
know there is one
, please make sure that:

-- 1) ALL your man files are in /usr/share/man. Some man files end up in /usr/man,
which is incorrect.

-- 2) All your man files are gzipped. The script will run without a glitch if they are.
Otherwise, gzip will interrupt the flow of things to ask you if it's ok to continue.
You should answer "yes".

~~~~~~~

An important thing that I also discovered is that the man2html utility is in slacko's
devx. So you'd be out of luck if you did not load the devx. This is such a useful
utility it should be in the main pupy sfs, IMO. So I have attached it below.

~~~~~~~

I might consider a pseudo-GUI wrapper if there are requests. As it is, I am happy
with the CLI version: it certainly does the job.

Bye for now.
Attachments
links-as-man-page-reader.jpg
(170.51 KiB) Downloaded 268 times
man2html.zip
(24.81 KiB) Downloaded 107 times
Last edited by musher0 on Mon 14 Jan 2019, 14:32, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#29 Post by musher0 »

Hello again all.

Quebecers and French-Canadians generally may wish to re-install their usual
qc keyboard from here. The woof-CE'd ex-factory slacko-6.9.9.9 does NOT
provide it anymore.

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#30 Post by musher0 »

After this, I'll leave you folks in peace for the day, I promise!!! :)

One thing out of the many that I'm learning doing this project, is that the only
font required for a Pup to show characters DejaVuSans.ttf. Period. It's here.

AND for the cairo lib to work properly, unless forum member vovchik, our cairo
specialist, comes up with a compilation trick on the cairo libs to base them on
a less gigantic font! ;)

I will agree that DejaVu is nicely done. Not bad to look at. Does the job. Some
people are great fans of it.

I'm not, and here's why:
-- it takes a lot of room, ~ 11 Mb if you incorporate the whole series;

-- the complete Liberation font is half that size and much more significant for Linux'
history: as its name implies it freed Linux from the yoke of WhineDose fonts.

-- the room freed by having only the basic DejaVuSans font can be filled with nicer
and perhaps more inventive fonts from FontSquirrel or other foundries, like ADF
(Arkandis Digital Foundry) and others.

If the subject of fonts in Linux is of interest to you, there is a great thread on
LinuxQuestions about this, 36 pages long. Yep, 36 pages!

Luckily for us, someone provided a summary. It's an interesting read, really.

Enjoy.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#31 Post by musher0 »

Hello all.

Here is an improved (IMO) version of my man reader script.

This one :
-- can now go online if the page is not on your machine.
For French-speaking users: http://jp.barralis.com/linux-man
For English-speaking users: http://man7.org/linux/man-pages

-- offers to display the page in txt format, single spaced, via less, or the customary
double-spaced html man page;

-- applies ANSI codes to messages.

Enjoy.
Attachments
man-m0-0.3.pet
(3.34 KiB) Downloaded 117 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#32 Post by musher0 »

Hello all.

Please find attached the very convenient RenameUtilities, compiled for slacko /
slackster, 32 bits, from the source at https://www.nongnu.org/renameutils.

In particular, the qmv command this set contains allows the user to rename a set
of files using a text editor. You are of course encouraged to try out and use the other
utilities in the package.

A ready-made script called qmv.sh is provided in /root/my-applications/bin.

Usage:
In console, "cd" to the directory that contains the file(s) you wish to rename and
type qmv.sh. The leafpad editor pops up with the file names, and you're in an
easy position to edit them. When finished, you save your changes, exit the editor,
and the qmv utility does the renaming. This is a very cleverly designed app.

Enjoy.
Attachments
qmv-example.jpg
(171.45 KiB) Downloaded 259 times
renameutils-0.12.0.pet
(131.39 KiB) Downloaded 116 times
renameutils-0.12.0_NLS.pet
Thirty-six locales for this set of utilities. Optional package.
(40.14 KiB) Downloaded 119 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply