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
..
calibrator.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
clickdot.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
cliptest.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
confine.c option-parser: Make bools boolean 2019-11-28 19:24:13 +00:00
content_protection.c clients: Add content-protection client app 2019-07-05 14:13:30 +05:30
desktop-shell.c clients/desktop-shell: Add 24H support to the clock format. 2021-07-31 15:53:56 +00:00
dnd.c Fix indentation all through the project 2021-07-31 15:28:20 +00:00
editor.c option-parser: Make bools boolean 2019-11-28 19:24:13 +00:00
eventdemo.c option-parser: Make bools boolean 2019-11-28 19:24:13 +00:00
flower.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
fullscreen.c clients/fullscreen: Refuse to resize the surface size when fullscreen'ed 2019-11-25 20:40:24 +00:00
gears.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
image.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
ivi-shell-user-interface.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
keyboard.c weston-keyboard: Enable to set as overlay panel 2021-10-14 21:17:07 +09:00
meson.build multi-resource: Convert to xdg-shell 2021-10-14 09:28:04 +00:00
multi-resource.c multi-resource: Convert to xdg-shell 2021-10-14 09:28:04 +00:00
nested-client.c Unify the include style of shared/ headers 2019-10-04 16:04:48 +03:00
nested.c option-parser: Make bools boolean 2019-11-28 19:24:13 +00:00
presentation-shm.c clients/presentation-shm: use xdg_shell instead of wl_shell 2019-06-27 17:44:19 +00:00
resizor.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
scaler.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
screenshot.c screenshooter: rename some functions to avoid conflicts 2020-10-27 12:19:39 +00:00
simple-damage.c Redefine output rotations 2020-02-27 11:08:48 +00:00
simple-dmabuf-egl.c clients/simple-dmabuf-egl: don't add INVALID to modifier list 2021-05-17 11:59:58 +00:00
simple-dmabuf-v4l.c Add weston-drm-fourcc.h 2021-02-25 14:35:03 +02:00
simple-egl.c simple-egl: Bail out if xdg-shell was not found 2021-10-14 09:28:04 +00:00
simple-im.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
simple-shm.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
simple-touch.c simple-touch: Exit on xdg_toplevel::close 2021-10-15 16:52:08 +00:00
smoke.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
stacking.c log: remove "%m" from format strings by using strerror(errno) 2019-05-02 22:10:30 +02:00
subsurfaces.c option-parser: Make bools boolean 2019-11-28 19:24:13 +00:00
terminal.c terminal: use /bin/sh as the default shell 2021-11-18 10:44:20 +02:00
touch-calibrator.c clients: Fix/resolved doxygen warnings 2019-06-25 14:05:54 +00:00
transformed.c Redefine output rotations 2020-02-27 11:08:48 +00:00
weston-debug.c weston-debug: Handle destruction of stream description 2021-06-01 13:55:33 +03:00
weston-info.c clients: deprecate weston-info 2020-08-14 10:31:49 +00:00
window.c Fix indentation all through the project 2021-07-31 15:28:20 +00:00
window.h clients/window: drop support for rgb565 2019-12-11 19:28:30 +00:00