Error opening or reading config file
I'm using weston built by archlinux official repo (currently 5.0.0-1).
No matter i boot weston in tty2 after login or terminal in a X session, weston prints:
Date: 2018-10-23 CST [18:06:58.370] weston 5.0.0 https://wayland.freedesktop.org Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/ Build: unknown (not built from git or tarball) [18:06:58.370] Command line: weston --config=~/.config/weston.ini [18:06:58.370] OS: Linux, 4.18.14-arch1-1-ARCH, #1 SMP PREEMPT Sat Oct 13 13:42:37 UTC 2018, x86_64 [18:06:58.370] fatal: error opening or reading config file '~/.config/weston.ini'.
The config file is
If the command line is just
weston, weston will always start with on config file.
But when i extend
~ to absolute path, weston works well.