Can someone point me to an authoritative guide to the X11 initialization sequence that also explains how it dovetails with the shell's initialization?
I'm trying to figure out how to make some environment variables available to programs that I normally start via a desktop launcher.
But when I try to determine the order of events after I log in, and in particular, what sources what, it's like going "down the rabbit hole": every alleged guide I find through Google tells me a different story. (To make matters worse, one of the pages I found said that this order of events "depends on the distribution". I fervently hope and pray that this is not true.) At any rate, none of them is particularly clear on the relationship between the sourcing of shell initialization files (in my case, .zshenv and friends) and the rest of the X11-related initialization.