Skip to content

Commit

Permalink
Improve support for orca
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbruno committed Jan 5, 2025
1 parent 147bafb commit dfbbee4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions bigbashview/usr/bin/bigbashview-orca
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/usr/bin/env sh

# if $1 is --enable start orca, if --disable stop orca

if [ "$1" = "--enable" ]; then

# Autostart in GNOME
Expand All @@ -14,9 +12,10 @@ if [ "$1" = "--enable" ]; then
kwriteconfig6 --file ~/.config/kaccessrc --group ScreenReader --key Enabled true 2> /dev/null

# Start orca
exec orca
exec orca &

elif [ "$1" = "--disable" ]; then

elif [ "$1" = "--disable" ];
# Autostart in GNOME
GSETTINGS_BACKEND=dconf gsettings set org.gnome.desktop.a11y.applications screen-reader-enabled false 2> /dev/null

Expand All @@ -29,4 +28,4 @@ elif [ "$1" = "--disable" ];
killall orca
else
echo $"Possible options: --enable or --disable"
fi
fi

0 comments on commit dfbbee4

Please sign in to comment.