site  contact  history  index

Puppy moving to Xwayland

May 18, 2021 — BarryK

Forum members 'dimkr' and '01micko' are doing great things at "woof-CE-testing". I posted about dimkr's elimination of the 'initrd' file:

https://bkhome.org/news/202103/puppy-linux-without-an-initrd.html

There are other developments underway, including a move to using Xwayland instead of Xorg. If you would like to give it a go, see here:

https://forum.puppylinux.com/viewtopic.php?f=40&t=2967

Very early days though, so many things broken. Probably best restricted to people who can fix bugs, rather than just report them.

I haven't tried it myself, but interested as it looks like the way we will have to go, eventually. 'dimkr' posted a screenshot:

img1

I have not studied anything about Wayland or Xwayland, so don't understand why "cage" is used. Cage project:

https://github.com/Hjdskes/cage

...it looks like cage is an easy way to get an X app to run on Xwayland. So dimkr is running jwm, and from that rox, etc. See this:

https://github.com/puppylinux-woof-CE/woof-CE/pull/2265    

Tags: linux

TH1P mark-1 simple tarp

May 18, 2021 — BarryK

I have posted about interesting ideas for a tent, that I named "TreeHugger 1P":

https://bkhome.org/news/202105/th1p-tent-design-using-solvespace.html

However, as I am a neophyte at tent construction, and indeed anything to do with sewing and fabrics, I decided that baby-steps are in order...

So have modified the outer skin of the tent to not have the spreader-pole, and just be a simple tarpaulin. I made the foot-end a bit higher -- want poles that fold to no more than 25cm long, but can have two poles at the foot-end, that lock together, achieving about 49cm length.

This simple tarp can still be tied up as a "tree hugger", and later could add an inner mesh tent. Just want to create this tarp first, to learn how to do it.

So, from SolveSpace, figured out the required dimensions of the tarp. Here they are, and sequence of marking the fabric shown in green:

img1

I marked it with a clay fabric pencil, this one, which marks OK on the silicone surface:

https://www.spotlightstores.com/sewing-fabrics/scissors-dyes-accessories/sewing-tools-accessories/fabric-markers/semco-fabric-pencils/BP80401344

Used normal general-purpose scissors, new and sharp, to cut out. It isn't easy, this stuff is so slippery, can't cut very straight. It doesn't have to be a perfect straight line, as all edges will be folded.

I bought new scissors, as they have to be sharp. Scissors get blunted when used to cut paper. These ones:

https://www.bunnings.com.au/trojan-240mm-general-purpose-scissors_p0191105

The fabric is 10D silnylon, silicone-coated on both sides. In fact, it is impregnated right through with silicone. So it is not only incredibly thin, but also incredibly slippery. I wasn't able to source it in Australia, so bought it from these guys (7 metres):

https://www.adventurexpert.com/product/10d-silnylon-fabric/

I then used the first one as a template for the second:

img2

Marked out with fabric pencil and cut the second. Very difficult, as my lounge room is too small. A large floor area is required, so can walk all around the sides.

Next step will probably be to sew or glue the side and bottom hems. After that, join the two pieces together along the ridgeline. Note, the reason that the ridgeline has to be cut along the side of the fabric, is that ripstop fabric is more stretchy when pulled diagonally. We want minimum stretch along the ridgeline.  

Tags: light

5V linear regulator with L4940V5

May 17, 2021 — BarryK

I built a little 5V linear regulator for a "5W" solar panel in 2016:

https://bkhome.org/light/solar/panels-small-2016.htm

Fast forward to 2021, and I am building another, using a low-dropout linear regulator with higher current rating, 1.5A compared to 1.0A previously. This new regulator is the ST-Microelectronics L4940V5, that I posted about recently:

https://bkhome.org/news/202104/some-considerations-for-5v-solar-charging.html

I used the same circuit as in 2016, with 0.47 microfarad and 22 microfarad capacitors on input and output.

This time though, I have placed the USB Type-A female socket inside the toothbrush-head holder, and twin wires coming out to directly solder onto the solar panel. This is to reduce weight.

I constructed it in the same manner as in 2016, just soldering wires together, no circuit-board, and construction was well underway when I realised that the USB socket is not sufficiently anchored.

Considerable force is required to insert and remove a USB male plug. I fixed it by firstly shaping a small piece of plastic that the USB socket can grip onto. This is to prevent the socket from being pulled out of the housing when the plug is extracted:

img1

Another problem is that is is very fiddly soldering the wires directly together, without a circuit board substrate, particularly the pins of the USB socket.

The other thing I did to hold the USB socket in place, and also to anchor the twin flex, was to inject some potting adhesive into the bottom of the housing, after it was closed up. I used K-705, which is clear adhesive:

https://www.aliexpress.com/item/4000959632758.html

img3

The clear one is quite runny, and stays runny for an hour or so after pouring. It doesn't skin quickly like silicone sealant that we buy in hardware stores. Has to be left overnight.

From the photo, it looks like the black and white ones are less runny. Interesting.

Anyway, next day it was ready for testing. It doesn't look pretty with the holes I burnt into it with a soldering iron, but it functions, and the USB socket stays in place:

img3

Weight is 14g. It would probably have turned out lighter if I had used a piece of veroboard. Like this one from Altronics, could just cut a tiny piece off it:

https://www.altronics.com.au/p/h0714-75-x-100mm-0.1-inch-pitch-vero-board-pcb/

...hmmm, will do it that way next time.

The test was conducted yesterday, and we are mid-winter here. Sky was cloudy, but was thinning out briefly, and I took readings as quickly as possible. The panel is the CLAITE "10W", and plugged into a small lithium battery bank, via a voltage & current monitor.

The sunlight kept changing, but averaging, managed to get a reasonable reading. Got a 0.2V drop, from input to output, 4.5V into the battery bank, at 0.5A.

What that means, is the regulator is dissipating 0.1W (watts) as heat. It feels slightly warm to the finger, after running for several minutes.

The power coming from the panel is 4.7V times 0.5A, which is 2.35W.

That means the regulator is running at a percentage loss of (0.1 / 2.35) * 100, which is 4.2%. That means the regulator is running at 95.8% efficiency, which rivals the switching regulators.

Another thing I mentioned in a previous post, if you are hiking and carrying this on your backpack, near your head, the linear regulator will not be radiating RF (Radio Frequency) waves into your head.  

Tags: light

TH1P tent design using SolveSpace

May 13, 2021 — BarryK

The first post about the new project, "TreeHugger 1P" tent, was about short carbon-fibre poles:

https://bkhome.org/news/202105/poles-for-treehugger-1p-tent.html

Now, I have used SolveSpace to create 2-dimensional and 3-dimensional views. I must preface this post by stating that this is very exploratory, and I do not know if this design will become an actual physical tent. I know nothing about tent design, and can barely use a sewing machine, so it will be "venturing into unexplored territory" if I do actually have a go at sewing it.

Here are the SolveSpace files. This is using SolveSpace version 3.0. Some OS distributions only package 2.x, and these files cannot be opened in 2.x. EasyOS 2.7.3 has 3.0. Here they are, gzipped. You will have to un-gzip them:

tent6-4.slvs.gz

tent6-3d-6.slvs.gz

Another thing that I want to state up-front: if, in the unlikely event that someone sees something in this design that they think is patentable, I claim that every aspect of this design, and features of this design that I will reveal in later blog posts, is free, open-source, public-domain, no restrictions whatsoever in copying, modifying, or using.

I have made this statement because in some countries, the USA in particular, just about anything can be patented. The original concept of patents was to protect new inventions, however, that (in my opinion) got corrupted, and now even just the tiniest twist of an existing concept, the most trivial idea, can be patented. This is a massive money-earner for some companies, such as Microsoft. Anyway, onward ho...

Here is the first SolveSpace file, 2-d views:

img1

And now I can reveal why I have named it "tree hugger". The head-end can be tied directly against a tree trunk, as the head-end has a vertical wall.

Yes, it could be away from a tree, with cord to tie the head-end to a branch, or it could sit on a trekking-pole or any other pole, with cord to a stake in the ground.

However, I love the idea of being tied right against a tree trunk. I have previously posted about how to sit comfortably inside a tent, with various ideas such as sitting cross-legged with bracing to hold the lumbar-region of the spine erect.
A tree trunk gives you an instant backrest! Inside the tent, lean back against the tree, maybe with something rolled-up to support the lumbar region, and hey, comfy!

I have posted previously about the difficulty I have with crawling in and out of a tent. One issue I have is a degenerated lower-back vertebrae. The TH1P design has side-entry that has step-in and step-out. You can see the label "flap", that is the outer fly. It can unhook from the corner stake and fold back over the ridge-line, exposing a zippered entry to the inner tent.

The angle of the zippered entry is such that you can just step-in and step-out.

In summary so far, the design has these great features:

  1. Spreader-bar at the top for head-space.
  2. Vertical wall at head-end to lean against a tree trunk.
  3. Fold-back fly and inner mesh zipper opening angled for step-in and step-out.

The other side of the fly can also unhook and fold back, if extra ventilation is required.

The 3-d view shows that there are two ridge-lines, and I have highlighted the surface formed by these in yellow:

img2

However, to improve water runoff, I plan to join the two ridgelines into one, about halfway down. This is incredibly complicated to calculate, how to cut the fabric. This is where the "dressmaker's dummy" that I constructed should come in handy.

One thing that I am uncertain about is sag. The ridgelines will sag, no matter how tight the cords at each end are pulled. I don't know whether to try and compensate for this when cutting the cloth. Once again, erecting it on the dummy frame should be helpful.

The above 3-d drawing also shows one side of the inner mesh tent.

The length of the inner mesh tent in the above drawings is 180cm, which I intend to increase a little bit. I am 177cm, about 5 feet 10 inches, but I think a bit more length is needed. The foot-end of the sleeping bag will extend a bit beyond my body-length. Though, I do usually sleep on my side, slightly curled. I think will add another 5cm (2 inches).

There are some more details, that are not apparent from these simple drawings. These details are in my head, and will be explained later.   

Tags: light

Miniwell water filter kit

May 12, 2021 — BarryK

I am continuing to iterate through the gear that will go into the Daylight Lumbar Pack, aiming to reduce the total weight from 4.5kg to 3.5kg. Earlier this year, I reconsidered the base load, without shelter and sleeping gear:

https://bkhome.org/news/202102/reconsidering-the-waist-pack-base-load-sans-shelter-and-sleeping.html

The water filter kit had a Sawyer Mini, a flat bottle, tube and syringe. I reckoned that the syringe could be left home, so the weight was 82g:

img1

There are two serious problems with that kit...

Firstly, I have discussed in previous blogs about the bottle wanting to stay flat and being a pain to fill from a pond surface.

I found a foldable TPU bottle that has a natural tendency to stay open, and can be filled from a pond surface in a few seconds. So I am now using this one instead of the Sawyer bottle, and it even weighs less -- I am using a lid from a soft drink bottle and total weight of bottle is now 21g. This is what I purchased, 500ml dark green (so as to distinguish from my clean-water TPU bottles, that are all light blue):

https://www.aliexpress.com/item/33012014287.html

Secondly, The Sawyer Mini is very restricted in how it can be used, by not having threads on both ends. So, it has been retired, and I am now using a Miniwell filter:

https://www.aliexpress.com/item/32666647306.html

This has a 28mm thread on both ends, opening up lots of extra possible configurations. You could, for example, squeeze directly from one TPU bottle into another. As the clean-water bottle can be rolled up and most air expelled, there is no problem with screwing it onto the outlet of the Miniwell filter and filling it with filtered water.

Here is a photo of my new kit:

img2

For minimalist hiking, only the filter and bottle are required. Weights:

Miniwell filter
44g
TPU bottle
21g
TOTAL:
65g

The "dirty" water bottle also has another use, with the bidet. If you haven't been following my blog posts, here is one about a portable bidet:

https://bkhome.org/news/202104/bottle-cap-glued-to-portable-bidet.html

However, those other parts in the above photo are very useful. One problem with filtering water is that it takes time. If you arrive at a campsite, or anywhere where there is a water supply, it could take some time to fill up the filtered-water bottles.

Of course, a way around that is to just put the "dirty" water into all the bottles, and always drink through the filter. But for now, I won't go that way.

What is really nice is to have a plastic bag filled with water and let gravity do the job of filtering. That way, you can be doing other things, setting up tent or whatever, while the filtering happens. Here is a photo showing those other parts in action:

img3

...that little white thing is a hose clamp. Bottom-left, using a plastic single-use shopping bag, they weigh virtually nothing.

You see the guy drinking from it, but a rolled-up TPU bottle could be screwed-on and left to fill, while you are off doing other things.

Here are the weights:

Adaptor
9g
Silicone tube
26g
Hose clamp
5g
TOTAL
30g

The grand total then becomes 105g. I do not want to be going up in weight, though these extra items are very useful.

The silcone tube is very heavy. Measuring with my measuring tape, ID (inside diameter) is 5.5mm, and OD is 8.5mm. Quite thick walls. I could replace with thinner tube, and reckon knock the weight right down, to under 10g.

That clamp is not really needed, only have to crimp the tube to stop water flow, could do that with an elastic band. So could end up with a total weight around 84g, almost same as before. But much more versatile.

Note, that tube is required for gravity filtering, as there has to be a certain head of water to get enough pressure.

Oh, one more point about the Miniwell kit: a syringe is not required for back-flushing. Any old flexible plastic bottle with 28mm thread will do. Fill it with clean water, even tap water when you reach civilization, screw onto the filter outlet-end, and press very firmly. Another advantage with having threads both ends!  

Tags: light

Poles for TreeHugger 1P tent

May 11, 2021 — BarryK

I have come up with a design for a tent, and tentatively given it the name "TreeHugger 1P". The "tree hugger" name will become apparent as the construction progresses. The "1P" means one person.

If you look back through my blog posts, under category "light", you will see some tents/tarps that I purchased that are held up by a pole. A single-pole tent may use either a trekking-pole or a carbon fibre pole -- I have a couple of the latter.

With a single pole holding it up, the inside walls and floor are going to be a triangle shape. At the top will be a ridge, and if you sit up inside the tent, the tent walls will be pressing both sides of your head.

My Six Moons carbon fibre pole is 117cm long, so if that is holding up the outer skin, the fly, of the tent, then the inner mesh tent will be lower. Not a good experience if you want to sit up.

Here is a photo of the inner mesh tent, single-pole design (not counting the short foot-pole), taken on a hike earlier this year:

img0

...you can see the very constricted head room! The experience is worse than might be determined from looking at the photo.

Blog post about that hike, February 2021, experimenting with my Daylight lumbar pack:

https://bkhome.org/news/202102/waist-pack-hiking-test-2021.html

Tents that have two trekking poles have much more head room, for example the Dan Durston X-Mid, that I posted about recently:

https://bkhome.org/news/202104/the-best-double-wall-trekking-pole-tent.html

My TreeHugger is planned to stay with the single-pole design, except I will design it to tie up to a branch rather than sit on a pole. Though, I will make it optional, the 117cm carbon-fibre pole or tie to a branch.

So, I am going to have that problem of very squashed head-room. To alleviate this, the tent is going to have a "spreader", a 25cm long carbon fibre pole, held horizontally just above the head. I purchased these poles, 24.8cm long, 6cm OD, 4cm ID glossy:

https://www.aliexpress.com/item/33056914311.html

...however, looked online today, and that item is no longer sold. That is, I have them, purchased before they were withdrawn. If anyone wants to reproduce my tent design, there are other vendors, but they sell in 50cm lengths, for example:

https://www.aliexpress.com/item/1005002265467955.html

I don't know what this stuff is like to cut, presume that a hacksaw would do it.

As the tent is going to be draped over the horizontal spreader-pole, I also purchased plastic end caps, to help protect from tearing the tent, 6mm black:

https://www.aliexpress.com/item/33027991367.html

The weight of each 24.8cm pole is 5.5g, with the end caps, 6g. I plan to use two of these, one as a head-spreader, the other at the foot-end. At the foot-end, the pole will be vertical. Total weight added to tent: 12g. Having to count these grams very carefully, as one major goal is extreme light weight -- targeting putting this tent into my Mountainsmith Daylight lumbar pack. Photo with end caps attached:

img1

And that is also why I wanted poles no longer than 25cm. The tent will roll up and fit into a stuff sack and lie flat inside the lumbar pack. same for any backpack, it will be short enough to lay horizontal.  

TreeHugger 1P, "th1p" for short, is a new project, and I plan to post as each step is completed. My sewing skills are minimal, but, we shall see. Also, having no prior tent-design experience, there is an element of uncertainty how the ideas in my head will turn out in the final product. How does that saying go? "...where angels fear to tread".

EDIT 2021-05-12:
I also purchased alternative end-caps. These are silicone, 5.7mm ID (inside diameter), black:

https://www.aliexpress.com/item/1005001609758449.html

They are more substantial, likely to stand up better to usage. Photo, showing the other type alongside:

img2

These silicone end caps are probably the better choice for the vertical foot pole. Hmmm, probably for both poles. 

EDIT 2021-05-18:
Found a vendor on Aliexpress that sells the carbon fibre tube in 25cm lengths:

https://www.aliexpress.com/item/1005002341116771.html   

Tags: light

Fatdog64 running in a container

May 10, 2021 — BarryK

I previously reported that SeaMonkey crashed:

https://bkhome.org/news/202105/aborted-attempt-to-run-fatdog-in-container.html

I copied SM out of XenialPup, that works in Fatdog. Fatdog 811 has SM 2.49.5, XenialPup has 2.49.4. I needed to provide a couple of missing libs, libvpx* and libhunspell*.

I opened 'fd64.sfs' and copied it's contents to a folder 'fatdog_811_amd64'. Put in the replacement SM, then hacked a few things, these are my notes:

edit /etc/defaultprograms and /etc/defaultprograms.template

sed -i -e 's%^DEF_BROWSER=.*%DEF_BROWSER="seamonkey"%' /etc/defaultprograms
sed -i -e 's%^DEF_MAIL=.*%DEF_MAIL="seamonkey -mail"%' /etc/defaultprograms

sed -i -e 's%^DEF_BROWSER=.*%DEF_BROWSER="seamonkey"%' /etc/defaultprograms.template
sed -i -e 's%^DEF_MAIL=.*%DEF_MAIL="seamonkey -mail"%' /etc/defaultprograms.template

edit /etc/ld.so.conf

echo '/usr/local/lib
/usr/local/lib64
/opt/qt-5.11.1/lib64
/lib
/lib64
/usr/lib
/usr/lib64' > /etc/ld.so.conf

provide missing:

/usr/share/pixmaps/fatdog.png fatdog48.png

script needed: /usr/sbin/set_bg ...

#!/bin/sh
[ ! $1 ] && exit 1
rox --RPC << EOF
<?xml version="1.0"?>
<env:Envelope xmlns:env="http://www.w3.org/2001/12/soap-envelope">
<env:Body xmlns="http://rox.sourceforge.net/SOAP/ROX-Filer">
<SetBackdrop>
<Filename>${1}</Filename>
<Style>Stretch</Style>
</SetBackdrop>
</env:Body>
</env:Envelope>

EOF
####end###

Then ran "dir2sfs fatdog_811_amd64" which created 'fatdog_811_amd64.sfs'. Tested it, here is the desktop:

img1

I would have liked to put a volume control in the tray, but couldn't find one.

The usual procedure: click "sfsget" icon on the desktop to download and install Fatdog64. It will become an icon on the desktop labelled "fatdog".   

Tags: easy

Fix for JWMDesk in container

May 10, 2021 — BarryK

Forum member 'williwaw' reported an error in JWMDesk when click on "Icons layout":

https://forum.puppylinux.com/viewtopic.php?p=24931#p24931

JWMDesk was created by forum member 'radky' and is a great little GUI for configuring the JWM window manager. It is found in the "Desktop" menu.

The error actually occurs in /usr/local/desksetup/desksetup.sh, which was written by forum member '01micko'. This line in the script fails:

ROXRUNNING=`busybox ps|grep -a "/usr/local/apps/ROX-Filer/ROX-Filer -p /root/Choices/ROX-Filer/PuppyPin"|grep -av "grep"`

Rox is started in a container with parameters "-n -p", so the script needs to be modified:

ROXRUNNING=`busybox ps|grep -a "/usr/local/apps/ROX-Filer/ROX-Filer -n -p /root/Choices/ROX-Filer/PuppyPin"|grep -av "grep"`

I have added this little hack in the 'dir2sfs' script.  

Tags: easy