Skip to content

Commit 8f9c47e

Browse files
committed
Orca support if open bigbashview using sudo
1 parent dfbbee4 commit 8f9c47e

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

bigbashview/usr/bin/bigbashview

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
#!/usr/bin/env sh
22

3-
PATH="/usr/share/bigbashview/framework/shell/:/usr/local/bin:/usr/bin/:$PATH" exec python3 /usr/lib/bbv/bigbashview.py "$@"
3+
if [[ $UID = 0 ]]; then
4+
start_dbus_launch=dbus-launch
5+
unset WAYLAND_DISPLAY
6+
unset XDG_SESSION_TYPE
7+
fi
8+
9+
PATH="/usr/share/bigbashview/framework/shell/:/usr/local/bin:/usr/bin/:$PATH" exec $start_dbus_launch python3 /usr/lib/bbv/bigbashview.py "$@"

0 commit comments

Comments
 (0)