Simplify the internect connection dialog.

This commit is contained in:
Storm Dragon 2025-05-08 04:54:44 -04:00
parent 3612787274
commit e0806e51da
2 changed files with 3 additions and 9 deletions

View File

@ -196,6 +196,7 @@ pacman -Su --needed --noconfirm \
python-dbus \ python-dbus \
python-pyenchant \ python-pyenchant \
python-pyte \ python-pyte \
socat \
raspberrypi-utils \ raspberrypi-utils \
realtime-privileges \ realtime-privileges \
rhvoice-voice-bdl \ rhvoice-voice-bdl \

View File

@ -105,17 +105,10 @@ fi
if ! ping -c1 stormux.org &> /dev/null ; then if ! ping -c1 stormux.org &> /dev/null ; then
echo "No internet connection detected. Press enter to open NetworkManager." echo "No internet connection detected. Press enter to open NetworkManager."
echo "Note, it is best to put Fenrir into highlight mode while using NetworkManager."
echo "In desktop layout this is done by pressing Fenrir+numpad asterisk."
echo "That is the key just above numpad 9."
echo "In laptop mode, press Fenrir+y."
echo "In desktop mode the Fenrir key is numpad insert."
echo "In laptop mode the Fenrir key is the Super key, sometimes called the Windows key."
echo "After connecting to the internet, remember to go back to cursor mode."
echo "It is the same key used to switch to highlight mode."
echo "Press enter to continue."
read -r continue read -r continue
echo "setting set focus#highlight=True" | socat - UNIX-CLIENT:/tmp/fenrirscreenreader-deamon.sock
nmtui-connect nmtui-connect
echo "setting set focus#highlight=False" | socat - UNIX-CLIENT:/tmp/fenrirscreenreader-deamon.sock
fi fi
# Check for internet connectivity # Check for internet connectivity
if ping -qc1 -W 1 stormux.org &> /dev/null; then if ping -qc1 -W 1 stormux.org &> /dev/null; then