I would like to select Stata as the default program to open .do files.
.do
On Linux (Ubuntu), Stata scripts .do are associated with plain text f