2 # This script starts LyX, and restarts LyX if it is closed
3 # it logs all output, including backtraces to LT/out/GDB
5 #rename other windows to avoid confusion.
6 wmctrl -N __renamed__ -r lyx
7 wmctrl -N __renamed__ -r lyx
8 wmctrl -N __renamed__ -r lyx
9 wmctrl -N __renamed__ -r lyx
13 ( (echo SECONDS: `date +%s`
15 bt" ; yes q) | gdb src/lyx 2>&1) | strings| tee -a LT/out/GDB)