gnome-session only recovers the keyboard once.
Phosh seems to crash and not recover when you kill the keyboard 2x times.
kill $(pgrep squeekboard)
1st kill:
purism@pureos:~$ kill $(pgrep squeekboard)
purism@pureos:~$ Sep 11 12:56:47 pureos gnome-session[13044]: gnome-session-binary[13044]: WARNING: Application 'sm.puri.OSK0.desktop' k
illed by signal 15
Sep 11 12:56:47 pureos gnome-session-binary[13044]: WARNING: Application 'sm.puri.OSK0.desktop' killed by signal 15
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: Debug: Tried file "/home/purism/.local/share/squeekboard/keyboards/us.yaml", but it'
s missing: No such file or directory (os error 2)
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: xkb_keymap {
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: xkb_keycodes "squeekboard" {
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: minimum = 8;
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: maximum = 255;
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: <J> = 29;
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: <G> = 26;
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: <U002D> = 56;
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: <U002A> = 53;
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: <g> = 100;
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: <x> = 117;
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: <U00A9> = 78;
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: <D> = 23;
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: <U0021> = 44;
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: <U0027> = 50;
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: <U005E> = 69;
...
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: xkb_compatibility "squeekboard" {
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: };
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: };
Sep 11 12:56:47 pureos sm.puri.OSK0.desktop[13869]: Info: Loaded layout Resource: us
Sep 11 12:56:47 pureos phosh[13021]: syntax error: line 17 of stdin
Sep 11 12:56:47 pureos phosh[13021]: Errors encountered in stdin; not compiled.
2nd kill
purism@pureos:~$ kill $(pgrep squeekboard)
purism@pureos:~$ Sep 11 12:57:57 pureos gnome-session[13044]: gnome-session-binary[13044]: WARNING: Application 'sm.puri.OSK0.desktop' k
illed by signal 15
Sep 11 12:57:57 pureos gnome-session-binary[13044]: WARNING: Application 'sm.puri.OSK0.desktop' killed by signal 15
Sep 11 12:57:57 pureos gnome-session-binary[13044]: WARNING: App 'sm.puri.OSK0.desktop' respawning too quickly
Sep 11 12:57:57 pureos gnome-session[13044]: gnome-session-binary[13044]: WARNING: App 'sm.puri.OSK0.desktop' respawning too quickly
Sep 11 12:57:57 pureos gnome-session-binary[13044]: Unrecoverable failure in required component sm.puri.OSK0.desktop
Sep 11 12:57:57 pureos gnome-session[13044]: Unable to init server: Could not connect: Connection refused
Sep 11 12:57:57 pureos gnome-session-f[13909]: Cannot open display:
Sep 11 12:57:57 pureos systemd[559]: at-spi-dbus-bus.service: Succeeded.
Sep 11 12:57:57 pureos gsd-print-notif[13122]: Source ID 2 was not found when attempting to remove it
Sep 11 12:57:57 pureos gsd-clipboard[13101]: Source ID 7 was not found when attempting to remove it
Sep 11 12:57:57 pureos systemd[559]: Stopping D-Bus User Message Bus...
Sep 11 12:57:57 pureos systemd[559]: evolution-source-registry.service: Succeeded.
Sep 11 12:57:57 pureos systemd[559]: evolution-addressbook-factory.service: Succeeded.
Sep 11 12:57:57 pureos gnome-software[13217]: lost session service
Sep 11 12:57:57 pureos gnome-session[13044]: gnome-session-binary[13044]: GLib-GIO-WARNING: Error releasing name org.gnome.SessionManage
r: The connection is closed
Sep 11 12:57:57 pureos gnome-session-binary[13044]: GLib-GIO-WARNING: Error releasing name org.gnome.SessionManager: The connection is c
losed
Sep 11 12:57:57 pureos systemd[559]: evolution-calendar-factory.service: Succeeded.
Sep 11 12:57:57 pureos systemd[559]: dbus.service: Succeeded.
Sep 11 12:57:57 pureos systemd[559]: Stopped D-Bus User Message Bus.
Sep 11 12:57:57 pureos systemd[559]: Started D-Bus User Message Bus.
Sep 11 12:57:57 pureos tracker-store[12315]: Received signal:15->'Terminated'
Sep 11 12:57:57 pureos tracker-store[12315]: OK
Sep 11 12:57:57 pureos systemd[559]: tracker-store.service: Succeeded.
Edited by Guido Gunther