Skip to content

Commit

Permalink
Orca support if open bigbashview using sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbruno committed Jan 6, 2025
1 parent dfbbee4 commit 8f9c47e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bigbashview/usr/bin/bigbashview
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#!/usr/bin/env sh

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

PATH="/usr/share/bigbashview/framework/shell/:/usr/local/bin:/usr/bin/:$PATH" exec $start_dbus_launch python3 /usr/lib/bbv/bigbashview.py "$@"

0 comments on commit 8f9c47e

Please sign in to comment.