Skip to content
Snippets Groups Projects
Commit 6e9c78fe authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

lightdm-gtk-greeter: improved orca wrapper script

parent f9718a46
No related branches found
No related tags found
No related merge requests found
Pipeline #784 passed
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# #
VERSION=3 VERSION=4
COMPONENT=main COMPONENT=main
. ./config . ./config
...@@ -57,13 +57,16 @@ EOF ...@@ -57,13 +57,16 @@ EOF
cat << EOF > orca-lightdm-wrapper cat << EOF > orca-lightdm-wrapper
#!/bin/sh #!/bin/sh
# Make sure speech-dispatcher is not running
pkill -9 speech-dispatcher
# Make sure that pulseaudio is running and not muted. This prevents sound initialization errors in the lightdm session # Make sure that pulseaudio is running and not muted. This prevents sound initialization errors in the lightdm session
pulseaudio --start pulseaudio --start
pactl set-sink-mute @DEFAULT_SINK@ true pactl set-sink-mute @DEFAULT_SINK@ true
pactl set-sink-mute @DEFAULT_SINK@ false pactl set-sink-mute @DEFAULT_SINK@ false
which espeak paplay >/dev/null && espeak "Trisquel login" --stdout|paplay which espeak paplay >/dev/null && espeak "Trisquel login" --stdout|paplay
exec orca \$@ exec orca --replace --no-setup --disable splash-window, \$@
EOF EOF
chmod 755 orca-lightdm-wrapper chmod 755 orca-lightdm-wrapper
echo orca-lightdm-wrapper /usr/bin >> debian/lightdm-gtk-greeter.install echo orca-lightdm-wrapper /usr/bin >> debian/lightdm-gtk-greeter.install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment