-
2026.07.01-beta layer 02: Protocol 7 Pre-release
released this
2026-07-01 21:19:26 +02:00 | 33 commits to main since this release####INSTALLATION####
####layer 01/layer 02 migration and user guide ####
Please read the lainOS layer 02 wiki links above before installing. INSTALLATION INSTRUCTIONS ARE IN THE WIKI. DO NOT USE BTRFS(it will likely be integrated within the month)
Changelog
2026-07-01
doas
- Added
permit nopass :wheel cmd openrc-shutdownandpermit nopass :wheel cmd lainos-suspendto/etc/doas.confso wlogout actions work correctly on the installed system without a TTY
protocol7-core(cleaned up OpenRC boot runlevels)
- Removed
lainos-ghost-unitsinit script and sysinit runlevel symlink from airootfs overlay ~ now correctly handled by theprotocol7-corepackage post_install hook, users on past isos will need to run these commands before updating again: doas rm -f /etc/init.d/lainos-ghost-unitsdoas rm -f /etc/runlevels/sysinit/lainos-ghost-unitsdoas rm -f /etc/runlevels/boot/lainos-ghost-unitsdoas rc-update del cgroup-delegate sysinitdoas rc-update del lainos-ghost-units sysinitdoas rc-update del etmpfiles-dev sysinitdoas rc-update del etmpfiles-setup bootdoas rc-update del esysusers bootdoas pacman -Syu
Lid Close / Sleep
- Added acpid event rule for lid close (
/etc/acpi/events/lid-close) - Added dynamic lid-close handler (
/etc/acpi/handlers/lid-close.sh)- Detects sway user dynamically via
ps— works for any user on installed system and root on live ISO - Launches
swaylock --daemonizein the correct Wayland session context - Skips
su -when sway is running as root (live ISO) - Creates
XDG_RUNTIME_DIRif not present - Suspends via
echo mem > /sys/power/state(no elogind/logind required)
- Detects sway user dynamically via
- Added acpid to default runlevel
Screen Lock
- Added swaylock config to
/root/.config/swaylock/config(live ISO) and/etc/skel/.config/swaylock/config(installed users via Calamares)- Uses
/usr/share/lainos/wallpapers/layer02-wallpaper.pngwithscaling=fill
- Uses
Wlogout
- Added
lainos-suspendscript (/usr/local/bin/lainos-suspend)- Suspends via
echo mem > /sys/power/state
- Suspends via
- Added wlogout layout to
/root/.config/wlogout/layout(live ISO) and/etc/skel/.config/wlogout/layout(installed users via Calamares)- Shutdown and reboot via
doas openrc-shutdown - Suspend via
doas lainos-suspend - Lock via
swaylock -f - Logout via
swaymsg exit
- Shutdown and reboot via
Known issues
• STILL NOT BTRFS COMPATIBLE YET. Use ext4 for now.
• Some Nvidia cards have trouble with Sway(Follow Nvidia instructions above^^).
Get connected
• LainOS Matrix Chat: https://matrix.to/#/#lainos:catgirl.cloud
• Discord Server (Discord violates your privacy by spying on you): https://discord.gg/JdMQvkHqwH
• Onion XMPP Server and Chat: private-chat-c75bebbc-50f3-447d-811f-41f83de11811@conference.glcuf4hcwbm3lt6grg7jfwwus7sqpuojozfsnbzzcsf7vbm2jcfqckid.onion + full setup guide at https://lain.rocks (and our anon community lainboard)
• Website: https://lainos.net
• Onion Service: http://lainos3cbhrlsc4qyzu6o7jwhvnvakdtohcc46ds5aohdagakddftbid.onion
LALL<3
Downloads
- Added