From 9053ea7d5fcfd333ff0e74fd19a80789efbee6e5 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Tue, 29 Oct 2024 21:06:56 +0100 Subject: [PATCH] Add: screen reader service --- .../etc/systemd/system/livecd-talk.service | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 archlive/airootfs/etc/systemd/system/livecd-talk.service diff --git a/archlive/airootfs/etc/systemd/system/livecd-talk.service b/archlive/airootfs/etc/systemd/system/livecd-talk.service new file mode 100644 index 0000000..b38df22 --- /dev/null +++ b/archlive/airootfs/etc/systemd/system/livecd-talk.service @@ -0,0 +1,20 @@ +[Unit] +Description=Screen reader service +After=livecd-alsa-unmuter.service +Before=getty@tty1.service +ConditionKernelCommandLine=accessibility=on + +[Service] +Type=oneshot +TTYPath=/dev/tty13 +ExecStartPre=/usr/bin/chvt 13 +ExecStart=/usr/local/bin/livecd-sound -p +ExecStartPost=/usr/bin/chvt 1 +ExecStartPost=systemctl start espeakup.service +StandardInput=tty +TTYVHangup=yes +TTYVTDisallocate=yes +RemainAfterExit=true + +[Install] +WantedBy=multi-user.target