modern_lisp-machine/misc/scripts/run_anki.sh

15 lines
388 B
Bash
Raw Normal View History

2024-04-02 04:06:40 +00:00
EXEC_SHELL_PATH=$(command -v bash)
2024-09-08 20:03:55 +00:00
export QT_XCB_GL_INTEGRATION=none
export QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox"
export DISABLE_QT5_COMPAT=1
2024-04-02 04:06:40 +00:00
# Run Anki with nohup, redirecting output to a log file
2024-09-08 20:03:55 +00:00
nohup /nix/var/nix/profiles/default/bin/anki-bin > anki.log 2>&1 &
2024-04-02 04:06:40 +00:00
# Disown the process to remove it from the shell's job table
disown
# Close the terminal
exit