startx does not respect XINITRC
Submitted by Tinu Weber
Assigned to Xorg Project Team
Created attachment 140730 Patch that makes startx respect XINITRC
While xinit allows setting the XINITRC environment variable to specify an alternative location for the user's xinitrc file, startx simply ignores and overwrites that value; specifically this line:
Would it be possible to change this line to this instead?
This would use the value stated in $XINITRC, and fall back to ~/.xinitrc if it's unset/empty (matching the behaviour of xinit). Attached is a patch that would fix this.
Patch 140730, "Patch that makes startx respect XINITRC":