summaryrefslogtreecommitdiff
path: root/configs/profile/root-image/etc
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2018-06-30 06:16:32 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-03-27 19:32:36 -0400
commite4fd6acd2d59cd10450fc57cf89e2dcc3c1e9c87 (patch)
treed1b591ffe11af67c0f615c6d384b8257c9a0c7fb /configs/profile/root-image/etc
parent860685fa072be6b6f1efa2fccb4f6376ef7f8bce (diff)
add braille and screen reader support from talkingparabola config
Diffstat (limited to 'configs/profile/root-image/etc')
-rw-r--r--configs/profile/root-image/etc/skel/.bash_profile5
-rw-r--r--configs/profile/root-image/etc/systemd/system/livecd-alsa-unmuter.service15
2 files changed, 20 insertions, 0 deletions
diff --git a/configs/profile/root-image/etc/skel/.bash_profile b/configs/profile/root-image/etc/skel/.bash_profile
index 4dfbab5..3698904 100644
--- a/configs/profile/root-image/etc/skel/.bash_profile
+++ b/configs/profile/root-image/etc/skel/.bash_profile
@@ -9,6 +9,7 @@
export EDITOR=nano
export DE='_DESKTOP_SESSION_' # gnome, kde, xfce, lxde, mate
export DESKTOP_SESSION='_DESKTOP_SESSION_' # lxde
+ENABLE_TTS_BRLTTY='_ENABLE_TTS_BRLTTY_' # speech and braille
# set custom environment
@@ -17,5 +18,9 @@ sudo /root/.language.sh
export $(cat /etc/locale.conf)
+# launch accessibility features
+[[ "$ENABLE_TTS_BRLTTY" == 'true' ]] && flock -n /run/talk-to-me.lck /usr/bin/talk-to-me
+
+
# launch X
[ -n "$DESKTOP_SESSION" -a -z "$DISPLAY" -a "$(tty)" = /dev/tty1 ] && exec startx || cat /etc/motd
diff --git a/configs/profile/root-image/etc/systemd/system/livecd-alsa-unmuter.service b/configs/profile/root-image/etc/systemd/system/livecd-alsa-unmuter.service
new file mode 100644
index 0000000..e3b9073
--- /dev/null
+++ b/configs/profile/root-image/etc/systemd/system/livecd-alsa-unmuter.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Unmute All Sound Card Controls For Use With The Live TalkingParabola Environment
+# This needs to run after the audio device becomes available.
+Wants=systemd-udev-settle.service
+After=systemd-udev-settle.service sound.target
+DefaultDependencies=no
+Before=shutdown.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/livecd-alsa-unmuter
+StandardOutput=syslog
+
+[Install]
+WantedBy=sound.target