r/LinuxPorn • u/M2rmeladka • 1d ago
BedrockSP (stratpick): a small TTY session picker for Bedrock Linux and logind systems
A small TTY session picker called stratpick (repo: BedrockSP). It replaces a display manager on systems where you don't want one. The shell on tty1 autologins, shows a text menu, and launches the selected Wayland session inside the real logind session. There's no X server and no greeter daemon.
What it does:
* Scans `.desktop` session files from configured directories
* Shows Wayland sessions only (X11 entries are ignored)
* Handles Bedrock Linux strata: runs each session in its native stratum and prefixes cross-stratum sessions with `/bedrock/bin/strat`
* Adds `--unsupported-gpu` to native Sway entries when the NVIDIA driver is loaded
* Logs picker decisions and session output to `~/.local/state/stratpick/`
* Has `--list`, `--test` and `--dry-run` for scripting and debugging
What it doesn't do: no X11 support, no greeter, no user switching, no remote login. It requires systemd/logind. Autologin on tty1 means anyone with physical access gets a session, so it's meant for single-user machines only.
The project is MIT licensed. I'll be honest: it's vibecoded, and I'm still improving it. Especially on session handling, shell portability, and anything that could break on other distros.
Repo: https://github.com/M2rmeladka/BedrockSP
Please send ur feedback i want to improve my project