How can I change the default application of file types such as .dta, .do, .gph, .smcl to Stata? I succeeded to install Stata on Linux (Ubuntu 18.04). However, if I want to make Stata the default application of file type .dta (etc.), Stata (or xstata) is not listed in /usr/share/applications/ . I am not an experienced Linux user, step by step instruction would help a lot.