systemd/systemd-services: manually issue chvt on start of phosh
libseat 0.9.0 no longer performs an automatic VT switch when taking control of a seat to allow sessions to be started in the background. As consequence, one must manually switch if one wants a background session to be immediately activated.
Issue a chvt on ExecStartPost, when the service is deemed running.
Upstream: https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/1566
/cc @craftyguy
Merge request reports
Activity
- Resolved by Clayton Craft
@fossdd woooo thanks for this patch, I noticed something weird wrt changing VTs but hadn't looked into it yet
Since this unit file is from upstream phosh and presumably they/others will hit this problem too, what do you think about sending this one line patch to them? (https://gitlab.gnome.org/World/Phosh/phosh)
enabled an automatic merge when all merge checks for e78ff2e5 pass