From 1287cf7167393a17497ae1aa33ac7c7bb47a3964 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 27 Apr 2022 21:25:03 +1200 Subject: Switch .xinitrc to .xsession This is Debian-specific, but that's the only system with which I'm presently using X11 anyway. From Debian's startx(1): > Note that in the Debian system, what many people traditionally put in > the .xinitrc file should go in .xsession instead; this permits the > same X environment to be presented whether startx, xdm, or xinit is > used to start the X session. All discussion of the .xinitrc file in > the xinit(1) manual page applies equally well to .xsession. Keep in > mind that .xinitrc is used only by xinit(1) and completely ignored by > xdm(1). Indeed, everything just seems to work a bit better, probably because problems are more likely to be able to find the user instance of dbus. --- sh/profile.d/browser.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sh/profile.d') diff --git a/sh/profile.d/browser.sh b/sh/profile.d/browser.sh index 2c724505..ee94857c 100644 --- a/sh/profile.d/browser.sh +++ b/sh/profile.d/browser.sh @@ -1,4 +1,4 @@ -# Set command-line browser to lynx; ~/.xinitrc will change this to something -# graphical instead +# Set command-line browser to lynx; ~/.xsession will change this to something +# graphical instead if invoked BROWSER=lynx export BROWSER -- cgit v1.2.3