Prevent (xfce) terminal from scrolling with output
Solution 1:
- Open Xfce Terminal preferences: Edit > Preferences...
- On the Scrolling section of the General tab uncheck the Scroll on output checkbox
With this option the terminal still scrolls automatically on new output, but if you scroll upwards it'll stop scrolling automatically.
Solution 2:
In case anyone's interested, here's how to do this using the command line:
grep -q ScrollingOnOutput ~/.config/xfce4/terminal/terminalrc || echo "ScrollingOnOutput=FALSE" >> ~/.config/xfce4/terminal/terminalrc && sed -i -E 's/^ScrollingOnOutput=.*/ScrollingOnOutput=FALSE/' ~/.config/xfce4/terminal/terminalrc