Re: [WIP] turnstile support - logind alternative
Reply #16 –
I tested turnstile again and it does not well.
When I log out the old (user) dinit process it's still there so no user services.
After disabling turnstile something kept spawning it so I rebooted.
I do not have elogind so I set in /etc/turnstile/turnstiled.conf
export_dbus_address = yes
I find a solution for the $DISPLAY error using env-file (man dinit-service):
type = process
command = picom
logfile = $HOME/.local/state/dinit/picom.log
env-file = environment
restart = true
"~" or "$HOME" do not work there while at least $HOME works in "command" so I used the relative path.
The file is in the service folder:
cat .config/dinit.d/environment
DISPLAY=:0