signal initialization through a file descriptor like Xorg
Welcome
- Yes, I've searched similar issues and discussions on GitHub and didn't find any.
Current Behavior
Hi, I start all my background processes or autostarting programs with dinit services, hence I had to synchronize Xorg with the other services (like the bar) like this:
type = process
command = /usr/bin/Xorg :0 -nolisten tcp -displayfd 8 -seat seat0 -keeptty
logfile = /var/log/dinit/xorg
ready-notification = pipefd:8
restart = yes
@meta enable-via graphicalwithout -displayfd, polybar would not open at all. but it is not enough, for 3/5, it does not show the window's title. It starts too early and i3 hasn't finished initializing, I suppose. Then I have to restart polybar to finally get the window title. dinit can not use an IPC call as a ready notification.
Here's part of the log of polybar:
polybar|notice: Loading module 'xwindow' of type 'internal/xwindow' polybar|error: Disabling module "xwindow" (reason: The WM does not list _NET_ACTIVE_WINDOW as a supported hint)
Desired Behavior
i3 should provide a similar option as Xorg to notify when it has initialized (ignoring all a autostart or exec/exec_always directives). i3 is otherwise perfect as a manual tiling WM, but this simple CL option would improve a lot setups like mine.
i3 version
i3 version 4.25.1 (2026-02-06) © 2009 Michael Stapelberg and contributorsSource: i3/i3