diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2022-04-27 21:25:03 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2022-04-27 21:25:03 +1200 |
commit | 1287cf7167393a17497ae1aa33ac7c7bb47a3964 (patch) | |
tree | 1bfae27d76dfe60f13287b353be39fb37d09518c /sh | |
parent | Refine browser selection logic (diff) | |
download | dotfiles-1287cf7167393a17497ae1aa33ac7c7bb47a3964.tar.gz dotfiles-1287cf7167393a17497ae1aa33ac7c7bb47a3964.zip |
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.
Diffstat (limited to 'sh')
-rw-r--r-- | sh/profile.d/browser.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |