Repository navigation
Conversation
`lfa wayland` (alias `lfa wl`) installs and runs a Wayland desktop inside Termux:X11. Sway is the compositor on a stock phone, with a profile that copies the Hyprland keybinds, gaps, borders, colours, Waybar, SwayNC, and wallpaper. Hyprland is installed and started instead when a writable DRM render node exists. The Vivo V2437 has no usable render node: /dev/dri/card0 is system:system mode 660 and renderD128 is absent, so Hyprland aborts with CBackend::create() failed! The Sway profile was verified at 2408x1080 with the bar, notifications, battery bridge, and a grim screenshot. Adds --config, --resolution, --wallpaper, status, doctor, and session. Updates the docs, troubleshooting, changelog, tracker, and test suite.
`lfa wayland start` now runs a one-minute Termux:API refresher for /tmp/lfa-android-battery.env, and `stop` ends it. The Debian and Ubuntu package step installs SwayNC separately so one missing name does not sink the rest of the set. Adds a device screenshot from the Vivo V2437 and updates the test count to 677.
`lfa wayland install --config` now copies a fastfetch directory and a top-level starship.toml, and adds a starship prompt hook to the guest .bashrc. The host look stays in one bundle. Test count: 679.
`lfa wayland install` now writes gtk-3.0 and gtk-4.0 settings.ini with Adwaita-dark, Adwaita icons, Adwaita-Tiny cursors at 16, and Adwaita Sans 11, so file managers and browsers match the host. Test count: 681.
The Arch Wayland profile now installs fastfetch, and `--config` pins the Starship hostname to the instance name so the prompt reads pdev@arch instead of pdev@localhost under proot. Docs cover the fresh Arch reinstall on the Vivo V2437.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
lfa wayland(aliaslfa wl) installs and runs a Wayland desktop inside Termux:X11.status,install,start,stop,doctor, andsessionsubcommands./dev/dri/renderD*exists.--configimportshypr,waybar,kitty,wofi,swaync,fastfetch, andstarship.toml. The Starship hostname is pinned to the instance name so the prompt readspdev@arch.--resolutionsets the nested output size;--wallpaperreplaces the background.linux-waylandlauncher,docs/WAYLAND.md, and a device screenshot.Device result
The Vivo V2437 was wiped and rebuilt through LFA:
lfa remove -i arch -y, thenlfa install --distro archlinux --desktop xfce4 --backend x11 --user pdev -i arch(29m 16s).lfa wayland install -i arch --config ~/host-config.tar.gz --resolution 2408x1080 --wallpaper ~/lfa-wayland-wallpaper.jpg.pdev@arch, fastfetch, and the live battery reading.Hyprland 0.57.1 parses the host config but cannot start on this phone.
/dev/dri/card0issystem:systemmode660and/dev/dri/renderD128is absent, so Aquamarine aborts withCBackend::create() failed!.lfa wayland session hyprlandfalls back to Sway and the log says why.Tests and docs
PASS=682 FAIL=0, including Y11 for install, config import, resolution dedupe, compositor preference, doctor, battery refresher, GTK settings, Starship pinning, and start/stop guards.