Use rolldice for full RPG features like modifiers and totals. This is the easiest way to roll a die in the terminal. Use shuf ...
I tested out a handful of free, Linux-native writing apps over the course of a week, some of which even resembled Scrivener.