Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Execute /etc/X11/Xsession if available
Ubuntu already provides a /etc/X11/Xsession script which executes the /etc/X11/Xsession.d scripts. Those scripts already do the Xresource merge and other actions. The last script from /etc/X11/Xsession.d executes the session command specified by $STARTUP, if that is empty it will try to determine it by itself with the risk of executing something else. With this patch we let distros shipping /etc/X11/Xsession to execute the designated session command and handle Xresource merge and stuff like that by itself. At least two other major distributions such as Fedora and ArchLinux do not have /etc/X11/Xsession, in that case we will keep the Xresource merge code path and run the session command ourselves. Fixes #449
- Loading branch information