EDIT: have now included a slightly fuller KL_sway variant build script that auto-includes firefox and pipewire. I've also provides iso snapshot and a few basic usage instructions. See post here: https://forum.puppylinux.com/viewtopic. ... 878#p98878
EDIT2: You likely want to sometimes open pcmanfm (and sakura terminal) as root user when running sway compositor as user spot. Here is one way how to: https://forum.puppylinux.com/viewtopic. ... 967#p98967
So you are interested in experimenting with tiling window managers, but happen to also want to experiment with Wayland?...
Since X on the rocks..., thought I'd make a basic KLV build with Wayland with Sway compositor (like i3 tiling desktop manager).
To make the build, simply download the attached script into empty build and bootfrom directory such as /KLV_sway on Linux formatted partition, remove its dummy .tar extension, make it executable (e.g. with chmod +x), and run it from that directory using command:
Code: Select all
./KLbuild_Void_wayland_sway_bash.sh
Per usual with FR, at the end of the build, the script provides exact grub stanza you can use to immediately thereafter boot it (the last UUID stanza for grub2 is recommended).
EDIT: Once at a terminal you can sudo shutdown -r now (to restart) or sudo shutdown -h now (to poweroff). DO NOT!!! use sudo reboot -f since that is too abrupt and can freeze the system since not a clean kill of processes first
I only included simple ttf font: font-bh-ttf. That was quite a small package (886k installed) and just enough for sway terminals and firefox and so on to work. You optionally may want liberation-fonts-ttf or whatever...
## IMPORTANT: PLEASE READ THESE NOTES:
In the below, 'Mod' means 'Windows key on keyboard'
# You can change timezone to your own when this KLV distro is running by using commands:
# rm /etc/localtime; ln -s /usr/share/zoneinfo/X/Y /etc/localtime # where X/Y might be e.g. Pacific/Auckland
# Alternatively, if you already have the f_ PLUGIN just modify around line 70 for your timezone prior to build.
# In w_changes=RAM2 mode, as root, you can use: snapmergepuppy to save session per usual
# For sway usage: refer, for example, to https://i3wm.org/docs/userguide.html
# For differences to i3 usage read: https://github.com/swaywm/sway/wiki/i3-Migration-Guide
# For configured key bindings: cat ~/.config/sway/config
# Mod+Enter to open simple terminal. Mod+Shift+b to open firefox; Mod+d for dmenu in top bar
# also view file for extra config details: /etc/sway/config.d/00
# You'll likely want to also install pipewire for Audio. Maybe KL team sfs addon will work?
# You can add as many valid commandlines as you want in here. Currently is relatively simplistic...
# Build includes NetworkManager so best use nmtui 'Activate a Connection', but also includes simple wiakwifi
# Mod+Shift+e to exit sway back to commandline
# For available Void Linux packages refer to: https://voidlinux.org/packages/
# JUST READ THE f_00_Void_wayland_sway_bash_no-kernel.plug TO UNDERSTAND HOW TO CUSTOMISE THE BUILD!
To save initial build time (and in case you have a working portable) browser is not installed. Set up to work with firefox after:
Code: Select all
xbps-install -Syu firefox
Thereafter can use: Mod+d then start typing firefox in resulting top bar to find firefox and launch it
or, per /etc/sway/config.d/100-wiak_global, use Mod+Shift+b
Build includes NetworkManager, so can connect to internet via:
Code: Select all
nmtui # use "Activate a Connection" option and ESC out once connected
It should be very easy learning how to build FirstRib-based KL distros using this simple build script exemplar. Just read the simple contents of the attached KLbuild_Void_wayland_sway_bash.sh script first of all, and then read the contents of the script auto-downloaded main build plug (f_00_Void_wayland_sway_bash_no-kernel.plug), which is simply a very short text file of package manager and simple config commands.
Build includes the following (those not currently commented out):
Code: Select all
xbps-install -Syu base-minimal bash sudo rsync
xbps-install -y eudev xdg-utils light chrony # or maybe use ntpd?
xbps-install -y NetworkManager # includes wpa_supplicant as dependency
xbps-install -Sy dbus-elogind elogind polkit mesa-dri sway dmenu font-bh-ttf
# you optionally may want liberation-fonts-ttf or whatever...
# Choose your apps...
xbps-install -y grim slurp imv lxtask foot sakura geany pcmanfm
# You may want something like: xbps-install -Syu mtpaint firefox
For some detail on how such KL builds work you can refer to: https://forum.puppylinux.com/viewtopic. ... 487#p98487