mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Don't grab input devices on Kobo (#6705)
* Don't grab input devices on Kobo (... as long as we're started via KFMon/NM. ... and MiniClock is not running ^^). * Bump base (https://github.com/koreader/koreader-base/pull/1197) (https://github.com/koreader/koreader-base/pull/1199)
This commit is contained in:
2
base
2
base
Submodule base updated: 2ef3125029...de01c8a37c
@@ -137,6 +137,11 @@ if [ "${VIA_NICKEL}" = "true" ]; then
|
||||
done
|
||||
# Remove Nickel's FIFO to avoid udev & udhcpc scripts hanging on open() on it...
|
||||
rm -f /tmp/nickel-hardware-status
|
||||
|
||||
# We don't need to grab input devices (unless MiniClock is running, in which case that neatly inhibits it while we run).
|
||||
if [ ! -d "/tmp/MiniClock" ]; then
|
||||
export KO_DONT_GRAB_INPUT="true"
|
||||
fi
|
||||
fi
|
||||
|
||||
# fallback for old fmon, KFMon and advboot users (-> if no args were passed to the script, start the FM)
|
||||
|
||||
@@ -11,7 +11,7 @@ export LD_LIBRARY_PATH="/usr/local/Kobo"
|
||||
cd /
|
||||
unset OLDPWD
|
||||
unset LC_ALL TESSDATA_PREFIX STARDICT_DATA_DIR EXT_FONT_DIR
|
||||
unset KOREADER_DIR KO_NO_CBB
|
||||
unset KOREADER_DIR KO_NO_CBB KO_DONT_GRAB_INPUT
|
||||
|
||||
# Ensures fmon will restart. Note that we don't have to worry about reaping this, nickel kills on-animator.sh on start.
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user