Files
weston/clients
Alyssa Ross 6e2eb8fa94 terminal: use /bin/sh as the default shell
When trying to get Weston to run on a new system I was building up bit
by bit, I encountered a problem: when I started weston-terminal, it
would close a split second later.  This turned out to be because
weston-terminal defaults to trying to spawn /bin/bash, which my
busybox-based system didn't have.

I can configure the terminal to use a shell I do have, of course, but I
think /bin/sh is a much friendlier default, because it's more likely to
exist (POSIX requires it), and will save people just trying to get
started with Weston from the confusing experience I had.  I think it's
better overall that somebody who specifically wants /bin/bash has to
configure that (if they even have to — depending on how they're running
Weston, $SHELL might already be /bin/bash) than somebody who just wants
to see the terminal working debug why it won't launch at all.

I realise there might be a (small) backward compatibility concern here
as well, but I hope I've made the case for a friendlier default.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
2021-11-18 10:44:20 +02:00
..
2019-11-28 19:24:13 +00:00
2021-07-31 15:28:20 +00:00
2019-11-28 19:24:13 +00:00
2019-11-28 19:24:13 +00:00
2019-11-28 19:24:13 +00:00
2020-02-27 11:08:48 +00:00
2021-02-25 14:35:03 +02:00
2020-02-27 11:08:48 +00:00
2020-08-14 10:31:49 +00:00