Created attachment 140730 [details] [review] 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: userclientrc=$HOME/.xinitrc Would it be possible to change this line to this instead? userclientrc="${XINITRC:-$HOME/.xinitrc}" 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.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/app/xinit/issues/14.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.