X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=a16faf5a8520654a019d32f0ad1102a68b67b190;hb=d55c9050f16c900a341dfdbab03de24b84b6f5be;hp=eb7e8c2c6fe82be31e51f5afed3a3d338be166ee;hpb=b8aeb26b122396eb294e39daba2ed7bad6cc33b8;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index eb7e8c2..a16faf5 100755 --- a/setup.sh +++ b/setup.sh @@ -62,11 +62,9 @@ if installed X; then if test ! "x`os`" = xdarwin; then link xinitrc ~/.xinitrc - # lightdm doesn't use ~/.xinitrc but ~/.xprofile instead. Assume it's - # used when the lightdm configuration file is present. - if test -f "$HOME/.dmrc"; then - link xinitrc ~/.xprofile - fi + # Most display managers use ~/.xsession instead of ~/.xinitrc (which + # is used by e.g. startx). Provide both links. + link xinitrc ~/.xsession fi if test -f xinitrc.local; then link xinitrc.local ~/.xinitrc.local