Skip to content

Conversation

@samcday
Copy link
Owner

@samcday samcday commented Feb 6, 2025

Resolves #94 and #93

Prioritize a phoc.ini found in phrog's config dirs, falling back to
searching the same locations phosh-session does otherwise.

Signed-off-by: Sam Day <me@samcday.com>
@samcday samcday marked this pull request as ready for review February 6, 2025 10:35
@samcday
Copy link
Owner Author

samcday commented Feb 6, 2025

/packit build

@github-actions

This comment has been minimized.

greetd swallows the output of the greeters it spawns. This is quite
suboptimal when spawning a complicated graphical greeter session like
phrog, where approximately a trillion different things could go wrong.

So we do our best to punt stdout/stderr somewhere useful. For now the
heuristic is simple: if we're running under systemd we send the logs to
journald, otherwise we assume there's a syslogd somewhere and use
logger.

Pushing this work into the session script makes it a little more
complicated, but it avoids the extra hand-holding in the greetd
config.toml. This also benefits pmOS as the upstream Alpine package
can be used and it will work correctly across both the OpenRC and
systemd variants.

Signed-off-by: Sam Day <me@samcday.com>
Alpine OpenRC environment doesn't spin up a dbus-daemon by default. We
need to do it ourselves or else phoc hangs in its initialization.

Signed-off-by: Sam Day <me@samcday.com>
@github-actions
Copy link

github-actions bot commented Feb 6, 2025

The CI build recorded and generated some videos

Demo video (shown on README and release notes)

accent-colours

keypad-shuffle

simple-flow

trivial-flow

@samcday
Copy link
Owner Author

samcday commented Feb 6, 2025

I'm really hoping the fancy process substition redirections don't come back to bite me in the ass.

I tested this across my Fedora laptop, a Fedora msm8916 phone and a pmOS (OpenRC) msm8916 tablet.

Merging now and booting a 0.44.1 out the door.

@samcday samcday merged commit fec3247 into main Feb 6, 2025
3 checks passed
@samcday samcday deleted the moar-packaging branch February 6, 2025 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Push systemd/OpenRC specific bits into phrog-greetd-session

2 participants