Norwegian keyboard layout fix
We have had this problem with the Norwegian keyboard for a long time, for example reported by forum tallboy:
https://forum.puppylinux.com/viewtopic.php?p=158593#p158593
Quoting tallboy:
I still have the same problem with my keyboard needing ASCII
code to work on some keys, while others don't work at all.
We have worked on it, but no fix. Today, I thought, why not throw the problem at Claude AI. So far, I have been pretty much gobsmacked how clever Claude is, so decided give it a go. I uploaded a skeleton EasyOS rootfs and asked Claude:
This is a skeleton root filesystem for the EasyOS Linux
distribution. A user with Norwegian layout keyboard has used the
Xorg gui layout tool at
usr/local/apps/XkbConfigurationManager/XkbConfigMngr but some
keys on his keyboard do not work and he has to type ascii codes
for them. Can you fix this?
Claude came up with a fix very quickly:
I'll extract the archive and look at the tool.
Checking the options scripts next, since AltGr (third level)
keys are the usual casualty for Norwegian.
Status: the symbols and Lv3 script look stock, so I'm now
checking the model chooser and the rules mapping.
Xvfb and setxkbmap are available, so I can test what each
setting actually produces for Norwegian.
Running the actual scripts in a sandbox with a stubbed dialog to
see what config they write for Norwegian.
The `==` is a dash-only failure in my sandbox (EasyOS uses
busybox ash), so I'll use bash for the test.
The tool writes valid config, so the fault must be in what that
config resolves to. Comparing what the keymap does with the
keycodes a real evdev keyboard sends (AltGr = 108):
Verifying the fixed ApplyNow end-to-end on a legacy "xorg"
config, then checking AltGr resolves correctly.
Fix works: AltGr is now keycode 108 (what the keyboard actually
sends) and AltGr+7 gives `{`. Repacking the skeleton.
I've fixed it and repacked the skeleton, but I only tested the
fix against the keymap compiler, not on a real Norwegian
keyboard. The tool itself writes valid config. The problem was
the keycode set that the `xorg` rules select.
**Cause:** the config tool and `10-evdev-puppy.conf` set
`XkbRules` to `xorg`, which in this skeleton points to `base`.
That uses the old `xfree86` keycodes, where AltGr is 113. A real
keyboard through Xorg's evdev driver sends 108. I compiled the
Norwegian keymap both ways to confirm.
So AltGr did nothing. Norwegian needs it for `@ $ { [ ] } \ ~
|`, which is why the user had to type ASCII codes. The arrow
keys and KP_Enter are also remapped wrongly under those rules.
The US layout needs none of these keys, so the problem only
shows once someone picks Norwegian.
**Changes** (all in the tarball
`rootfs-skeleton-easyos-fixed.tar.gz`):
- `XkbApplyNow` now runs `setxkbmap -rules evdev`, and rewrites
an old `"XkbRules" "xorg"` line to `"evdev"` first.
- `XkbConfigMngr` does the same rewrite when it starts, so the
fix also holds if the user skips "Yes" and waits for a reboot.
This also repairs the user's existing config.
- `etc/X11/xorg.conf.d/10-evdev-puppy.conf` and the `.confMIX`
copy now ship with `"XkbRules" "evdev"`.
- `usr/sbin/keymap-set` and `usr/sbin/quicksetup` also called
`setxkbmap -rules xorg`, so I changed them to `evdev`. Otherwise
they would have broken AltGr again after the tool fixed it. This
is outside the Xkb tool, so revert it if you'd rather keep this
change narrow.
**Check on the keymap:** with the evdev rules, AltGr is
`ISO_Level3_Shift` on keycode 108 and AltGr+7 gives `{`. I also
ran `XkbApplyNow` on a config containing `"xorg"` in a sandbox,
and it came out as `"evdev"`. The test used bash because my
sandbox shell is dash, which rejects the `==` in these scripts;
EasyOS's busybox ash accepts it.
**Not changed:** `XkbVariantConfig` finds the chosen variant
with a plain substring match. With several layouts, picking `1:
nodeadkeys` could also match `11: …`. It doesn't affect a single
Norwegian layout.
Yes, six files have been changed:
/etc/X11/xorg.conf.d/10-evdev-puppy.conf
/etc/X11/xorg.conf.d/10-evdev-puppy.confMIX
/usr/local/apps/XkbConfigurationManager/XkbApplyNow
/usr/local/apps/XkbConfigurationManager/XkbConfigMngr
/usr/sbin/keymap-set
/usr/sbin/quicksetup
I haven't looked at this fix in depth, and haven't tested it. Well, I don't have a Norwegian keyboard, but haven't tested if the fix breaks anything else. I have been so darn impressed with Claude, just taking this fix as good and have applied it. It will be in the next release of EasyOS.
One thought; EasyOS is staying with evdev, while many other Linux distributions have retired it, in favour of libinput, and if we go that path it might affect the above fixes. I need to do some more research about the difference between the two. Hey, why not ask Claude:
EasyOS is using evdev, but if in the future will change to
using libinput, will the above fixes need to be reconsidered?
Claude reply:
No, the fixes should survive a move to libinput.
- **Keycodes:** the `evdev` in `-rules evdev` names the XKB
keycode set, which is the kernel's event codes plus 8. It is not
tied to the evdev driver. The libinput driver in Xorg produces
the same codes. The legacy `xfree86` codes were only for the old
`kbd` driver, so `evdev` rules are correct for either input
driver.
- **XKB settings:** `XkbRules`, `XkbModel`, `XkbLayout` and
`XkbOptions` are handled by the X server's XKB layer, not by the
input driver. The tool's config entries and `setxkbmap` work the
same under libinput. You would only change the `Driver "evdev"`
line and the `MatchIsKeyboard` section header in
`10-evdev-puppy.conf`.
- **Other changes in `10-evdev-puppy.confMIX`:** that file
already moves the pointer, tablet and touchscreen sections to
libinput but keeps the keyboard on evdev. The tool still finds
`XkbLayout` there, so nothing else needs to change.
Three things are worth checking if you do switch:
1. **File names:** the scripts look for `10-evdev-puppy.conf`
and read `/etc/X11/xkb/rules/evdev.lst`. If you rename the conf
file or a future xkeyboard-config drops the `evdev` rules files,
update those paths. Newer releases may merge `base` and `evdev`,
so I'd confirm the files are still there after any upgrade.
2. **Wayland:** this tool only edits Xorg config, so it would
not control the keyboard layout in a Wayland session.
3. **Rules name:** the `base` rules still use `xfree86`
keycodes. Nothing in this fix needs them, but don't point
anything back at `xorg` or `base`.
Then I asked:
EasyOS will be staying with Xorg, will not use Wayland
Claude reply:
Then the Wayland caveat doesn't apply, and the fix is complete
as delivered. On Xorg with either evdev or libinput, `-rules
evdev` and `XkbRules "evdev"` are the correct settings, and
nothing else in the tool needs to change.
The only upkeep is the one from before. If a future
xkeyboard-config update drops or renames the `evdev` rules
files, the `evdev.lst` path in the scripts and the `evdev` rules
name would need updating. I'd check after any xkeyboard-config
upgrade.
...so, we have some guidance if switch to libinput.
If you are thinking it's a worry how clever Claude AI is, join
the club.
Tags: easy
More source packages ported from OE to woofQ2
The EasyOS Scarthgap-series is built with packages compiled in a port of OpenEmbedded. Although the Excalibur-series is built with Devuan DEB packages, it also has some of the binary packages from Scarthgap.
I have been gradually working through, recompiling the Scarthgap packages in woofQ2, so compiled to run in Exacalibur. These are now PET packages. Here are pictorial views showing packages that are now compiled in woofQ2:

And inside the "other" folder:

Still some more to port.
Tags: easy
evince2 gtk2-based version 2.32.3
Finding a PDF viewer has been an ongoing saga. I posted about preferring the old gtk2-based Evince:
https://bkhome.org/news/202510/ye-olde-gtk2-evince-is-better.html
The current release of EasyOS, 7.5.5, has Papers PDF viewer. That
is gtk3-based and has a reasonable window border-width for
grabbing and resizing.
However, today hit a problem; opened a pdf document and got a never-ending "Loading document" -- cancel it, and document has actually loaded. Same thing with another PDF. Currently the Internet connection is not working, so it looks like Papers is trying to connect to something remote ...not good.
So, have decided to take on maintaining the old gtk2 Evince, with the help of Claude. Have made some improvements, now compiling it with:
# ./configure --prefix=/usr --sysconfdir=/etc
--localstatedir=/var --without-keyring --disable-scrollkeeper
--enable-dvi --enable-djvu --disable-nautilus
--disable-dbus --with-gtk=2.0 --enable-comics --without-gconf
--enable-pixbuf --disable-gtk-doc-html --disable-help
--with-gtk-unix-print --enable-impress --disable-static
This will be in the next release of Easy. Version is now 2.32.3,
source will be in woofQ2, will upload soon. Calling the package
"evince2".
Tags: easy
ext4 patch for Limine 12.11.2
We have a ext 2/3/4 patch for Limine v12, tested on Limine 12.3.3 and 12.9.4; however. compile fails on limine 12.11.2, as reported:
https://github.com/Limine-Bootloader/Limine/issues/721
A bit beyond me to rework the ext patch, so took the help of Claude AI, asked this:
Limine is a bootloader, there is a third-party patch,
attached, and a compile script. Compile version 12.11.2 fails
with the message reported at the Limine github issues:
https://github.com/Limine-Bootloader/Limine/issues/721
Can you think of any way to reduce the size of the Limine code,
or the patch, without compromising functionality?
Here is Claude's reply:
I'll start by unpacking the files into separate directories
and reading the compile script and the issue.
Quick status: I've reproduced the setup. The patched stage 2 is
about 27.2 KB compressed against a 28,160-byte limit, so I'm now
working out the exact overshoot and what to trim.
My build is 188 bytes over the limit (the reporter's toolchain
was 1 byte over, so toolchain variance alone is about 190
bytes). Now I'll read the ext driver for savings.
Allocations are zero-filled, so I can rely on that. Now I'll
write the compact driver: keep the struct definitions (they cost
no code), keep the first ~219 lines, and replace all the logic.
`-Os` makes no real difference (26,903 vs 26,913), so build
flags aren't a lever here. I'll look at where the remaining
bytes in the ext driver actually go.
`mtools` isn't installed here, which only affects the UEFI CD
image and not the code. I'll leave that one option out and keep
both UEFI ports so the driver is still compiled for them.
I rewrote the ext driver more compactly. With it, 12.11.2 builds
in my environment with a 124-byte margin. I did not boot it,
only built it and tested the driver on a host machine.
**Cause:** the failing `TIMES value -1 is negative` line is a
size check in `stage1/hdd/bootsect.asm`. The decompressor plus
the compressed stage 2 must fit in 28,160 bytes (`63*512 -
4096`), because stage 2 has to fit in the 63-sector gap before
the first partition. Unpatched Limine 12.11.2 is 26,078 bytes,
so the ext driver was the 2 KB that tipped it over. In my build
the original patch came to 28,348 bytes, 188 over. The
reporter's toolchain was only 1 byte over, so it differs from
mine by about 190 bytes.
**Result:** the patched build is now 28,036 bytes. That is 312
bytes smaller than before, and in the reporter's toolchain it
should leave about 300 bytes of headroom. It built cleanly with
your exact `--enable-bios --enable-bios-cd --enable-bios-pxe
--enable-uefi-ia32 --enable-uefi-x86-64`, but I left out
`--enable-uefi-cd`, which needs `mtools` (not installed here).
**What I changed** (only `ext2.s2.c` and a one-liner in
`file.s2.c`):
- **Block lookup:** the whole-file block map is gone. A block is
now looked up on demand, with one loop covering single, double
and triple indirection, so the map-building and cleanup code
disappears.
- **Group descriptors:** the two near-identical 32-bit and
64-bit inode lookups are now one.
- **Shared helpers:**
- A single function follows symlinks for both directory
components and the final file.
- One helper checks the ext superblock.
- One `goto fail` exit replaces five copies of the
cleanup code.
- **Memory:** the per-directory-entry allocation is replaced
with a static buffer, and the label and GUID queries share one
static superblock instead of two 1 KB stack copies.
- **What didn't help:** `-Os`, per-function `minsize`, and
replacing divisions with shifts each saved under 25 bytes or
made it larger, so I left them out.
**Testing:** I built a host harness and compared the original
driver and the new one on real ext2, ext3 and ext4 images, with
1K and 4K blocks and a 64-bit ext4. The new driver passes all
114 checks (original: 94 of 114). The checks cover:
- files up to 70 MB;
- partial reads;
- absolute, relative, chained and mid-path symlinks;
- case-insensitive lookup;
- label and GUID;
- failure cases.
The negative cases and label/GUID output are identical to the
original's.
**Behaviour changes:**
- **Fixed, relative symlinks:** these panicked or resolved
wrongly in the original, including a relative symlink directly
under `/`.
- **Fixed, large ext2/3 files:** reads past about 66 MB were
wrong.
- **Fixed, directory lookup:** it no longer matches deleted
entries (inode 0).
- **Fixed, 64-bit ext4:** it now reads the correct high half of
the inode-table address (offset `0x28`).
- **Fixed, labels:** a 16-character label is no longer
over-read.
- **Changed, error messages:** the "not a directory/regular
file" messages are merged into one and slightly reworded.
The patch is attached; it applies cleanly to the pristine
tarball. The one thing I couldn't do here is boot-test it, so
please try it in QEMU or on a real BIOS machine with an ext4
`/boot`.
Still open:
- **Stack protector:** exempting the driver from
`-fstack-protector-strong` would save a bit more, but it weakens
hardening, so I didn't.
- **Symlink loops:** the driver has no loop guard (`a`→`b`→`a`),
as in the original.
- **Headroom:** upstream says stage 2 space is tight, so the
next release may overflow again.
Interesting sizes:
With original ext patch:
limine-12.9.4/common-bios/stage2.bin.limlz size: 25546 bytes
With new "-slim" patch:
limine-12.11.2/common-bios/stage2.bin.limlz size: 26842 bytes
allowed max size: 28160 bytes (63*512 - 4096)
So, the original patch was fine for limine 12.9.4. The stage-2
size grew a lot after that
For reference, a fix for v12 was posted by zepto here, for the original ext patch:
https://forum.puppylinux.com/viewtopic.php?t=17629
Ongoing discussion here:
https://forum.puppylinux.com/viewtopic.php?t=17781
Important, I have not yet tested this patch! Will report back to
the above forum thread.
Tags: easy
Xfdiff file-compare improved
Xfdiff is a gtk2 GUI app to compare files. The version in EasyOS cannot handle line lengths greater than 255 characters. Also, it does not have the capability to generate a difference (patch) file.
With the help of Claude, now can do both.

I asked Claude to create a button "Create patch"; however, that
is redundant as that feature is now in the "Actions" menu -- will
leave the button there for now.
The source code and patches are in woofQ2; when I upload it, hopefully soon when ibiblio uploading is fixed. Note, hunted online, cannot find the original source, looks like a dead project; well, I have revitalized it.
EDIT:
Decided to remove that "Create patch" button, as the functionality
is now in the menu:

Xfdiff is now version 4.6.
Tags: easy
EasyOS version 7.5.5 released
As for 7.5.4, EasyOS has to be updated manually; the desktop "update" button will not work. This is due to ongoing trouble with our host ibiblio.org
See 7.5.4 blog announncement, also says how to do a manual update:
https://bkhome.org/news/202611/easyos-version-754-released.html
Changes since 7.5.4:
- Fixes for EC simple security settings — November 25, 2026
- Yradio version 1.9.6-5 — November 23, 2026
- Fix for Easy Containers crash — November 23, 2026
- Fixes for EasySetup — November 23, 2026
- Tweak powerapplet_tray external charging — November 22, 2026
- Chromium 156.0.8078.108
Download:
https://easyos.org/releases/7.5.5/
Feedback welcome at the forum:
https://forum.puppylinux.com/viewtopic.php?p=180751#p180751
Have fun!
Tags: easy
Fixes for EC simple security settings
We are discussing problems with the security settings for containers:
https://forum.puppylinux.com/viewtopic.php?t=17740
There are issues unresolved since the security mechanisms were first created, back around 2017/2018. Today I had a good hard look at it, until my head hurt, but seem to have rationalized it somewhat.
The simplified settings have been further simplified:

Changes in /usr/local/easy_containers can be found by comments dated "20261123", "20261124" and "20261125".
The scripts will now automatically determine whether to use Xorg
or Xephyr, depending whether a single app is to be run or an
entire desktop.
This will be in Easy 7.5.5, coming soon.
Tags: easy
Yradio version 1.9.6-5
Forum member fredx181 has made some improvements to Yradio:
https://forum.puppylinux.com/viewtopic.php?p=179994#p179994
Looking good!
Tags: easy