OK sudo strace -- swaymsg --socket $SWAYSOCK -t get_inputs 2> swaymsg_getinputs_withswaysock.log
44 socket(AF_UNIX, SOCK_STREAM, 0) = 3
45 connect(3, {sa_family=AF_UNIX, sun_path="/run/user/1000/sway-ipc.1000.1324.sock"}, 110) = 0
46 setsockopt(3, SOL_SOCKET, SO_RCVTIMEO_OLD, "\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 0
47 write(3, "i3-ipc\0\0\0\0d\0\0\0", 14) = 14
48 write(3, "", 0) = 0
49 recvfrom(3, "i3-ipc\31\26\0\0d\0\0\0", 14, 0, NULL, NULL) = 14
50 recvfrom(3, "[ { \"identifier\": \"0:0:Eee_PC_WM"..., 5657, 0, NULL, NULL) = 5657
51 stat("/dev/urandom", {st_mode=S_IFCHR|0666, st_rdev=makedev(0x1, 0x9), ...}) = 0
52 openat(AT_FDCWD, "/dev/urandom", O_RDONLY) = 4
53 read(4, "\364\304\275\237", 4) = 4
54 close(4) = 0
55 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x3), ...}) = 0
56 write(1, "Input device: Eee PC WMI hotkeys"..., 33) = 33
57 write(1, " Type: Keyboard\n", 17) = 17
58 write(1, " Identifier: 0:0:Eee_PC_WMI_hot"..., 37) = 37
59 write(1, " Product ID: 0\n", 16) = 16
60 write(1, " Vendor ID: 0\n", 15) = 15
61 write(1, " Active Keyboard Layout: Englis"..., 39) = 39
FAIL sudo strace -- swaymsg --socket $SWAYSOCK -t get_outputs 2> swaymsg_getout_withswaysock.log
44 socket(AF_UNIX, SOCK_STREAM, 0) = 3
45 connect(3, {sa_family=AF_UNIX, sun_path="/run/user/1000/sway-ipc.1000.1324.sock"}, 110) = 0
46 setsockopt(3, SOL_SOCKET, SO_RCVTIMEO_OLD, "\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 0
47 write(3, "i3-ipc\0\0\0\0\3\0\0\0", 14) = 14
48 write(3, "", 0) = 0
49 recvfrom(3, "", 14, 0, NULL, NULL) = 0
50 openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 4
51 fstat(4, {st_mode=S_IFREG|0644, st_size=309, ...}) = 0
52 fstat(4, {st_mode=S_IFREG|0644, st_size=309, ...}) = 0
53 read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 309
54 lseek(4, -176, SEEK_CUR) = 133
55 read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 176
56 close(4) = 0
57 write(2, "2020-03-01 00:58:40 - ", 222020-03-01 00:58:40 - ) = 22
58 ioctl(2, TCGETS, 0x7ffd60e8fcf0) = -1 ENOTTY (Inappropriate ioctl for device)
59 write(2, "[common/ipc-client.c:88] Unable "..., 55[common/ipc-client.c:88] Unable to receive IPC response) = 55
60 ioctl(2, TCGETS, 0x7ffd60e8fcf0) = -1 ENOTTY (Inappropriate ioctl for device)
61 write(2, "\n", 1
62 ) = 1
63 exit_group(1) = ?
64 +++ exited with 1 +++
FAIL sudo strace -- swaymsg --socket $SWAYSOCK -t get_tree 2> swaymsg_gettree_withswaysock.log
44 socket(AF_UNIX, SOCK_STREAM, 0) = 3
45 connect(3, {sa_family=AF_UNIX, sun_path="/run/user/1000/sway-ipc.1000.1324.sock"}, 110) = 0
46 setsockopt(3, SOL_SOCKET, SO_RCVTIMEO_OLD, "\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 0
47 write(3, "i3-ipc\0\0\0\0\4\0\0\0", 14) = 14
48 write(3, "", 0) = 0
49 recvfrom(3, "", 14, 0, NULL, NULL) = 0
50 openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 4
51 fstat(4, {st_mode=S_IFREG|0644, st_size=309, ...}) = 0
52 fstat(4, {st_mode=S_IFREG|0644, st_size=309, ...}) = 0
53 read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 309
54 lseek(4, -176, SEEK_CUR) = 133
55 read(4, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0\0\0\0"..., 4096) = 176
56 close(4) = 0
57 write(2, "2020-03-01 01:04:33 - ", 222020-03-01 01:04:33 - ) = 22
58 ioctl(2, TCGETS, 0x7ffcee4e47b0) = -1 ENOTTY (Inappropriate ioctl for device)
59 write(2, "[common/ipc-client.c:88] Unable "..., 55[common/ipc-client.c:88] Unable to receive IPC response) = 55
60 ioctl(2, TCGETS, 0x7ffcee4e47b0) = -1 ENOTTY (Inappropriate ioctl for device)
61 write(2, "\n", 1
62 ) = 1
63 exit_group(1) = ?
64 +++ exited with 1 +++
ipc server