File firejail-thunderbird-keyboard-not-working-fix of Package firetools-add-missing-apps

#!/usr/bin/bash

DIR="$HOME/.config/firejail"
FILE="thunderbird.local"
SHOWPROFILE=false

if $SHOWPROFILE; then
    if [ -f "/etc/firejaril/thunderbird.profile" ]; then
        echo
        echo "Contents of file /etc/firejaril/thunderbird.profile"
        echo "---------- Start of file ----------"
        cat /etc/firejail/thunderbird.profile
        echo "---------- End of file ----------"
        echo
    fi
fi

mkdir -p "$DIR"

# Fix issue where firejail blocks keyboard input in Brave browser"
#     firejail --nodbus thunderbird
# or add local profile:
echo 'dbus-system none
dbus-user none' > "$DIR/$FILE"

echo
echo "Created \"$DIR/$FILE\" with content:"
echo "---------- Start of file ----------"
cat "$DIR/$FILE"
echo "---------- End of file ----------"
echo
echo
echo "You should now be able to use your keyboard"
echo "in Thunderbird when invoking firejail."
echo
echo "    firejail thunderbird"
echo
echo "Done."
exit 0
openSUSE Build Service is sponsored by