Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Mosi Ifatunji <ifatunji@gmail.com> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | Re: st: Setting general preferences using syntax |
Date | Sat, 23 Feb 2013 17:07:03 -0500 |
Thanks, Allen. -- Mosi On Feb 23, 2013, at 3:35 PM, ariley@stata.com (Alan Riley) wrote: > Mosi Ifatunji (ifatunji@gmail.com) asked about setting preferences > via command line in Stata for Unix: >> I am converting from mostly using Stata on my local machine to using >> Stata mostly on a Unix server. This means that every time I open Stata, >> the general preferences are in the default. I would like to create a .do >> file that I can run when I open Stata on the Unix server that will set >> all of my colors and fonts so that I do not have to do this manually >> each time. >> >> Is there a way to do this? If so, can you point me in the direction of >> the basic syntax for setting these general preferences? > > Rich Goldstein (richgold@ix.netcom.com) pointed Mosi to -help profile- > which shows how to cause Stata to execute certain commands every time > Stata is started. Mosi might also be interested in -help window- > command, in particular, the -help window manage- subcommand. > > However, most of the GUI preferences for window size, font, and the like > cannot be set from the command line. But, Mosi shouldn't have to do > this. Stata for Unix remembers its preferences between sessions > just like Stata for Windows and Stata for Mac do. It stores console > preferences separate from X Windows preferences, and it stores X windows > preferences separately for localhost and for each computer on which you > might remotely display an X session. In Stata 12, the preferences may > be found in subdirectories under the .stata12/ directory in Mosi's > home directory. > > Mosi should contact Stata Technical Services at tech-support@stata.com > for help with this issue if the preferences are not being maintained > between sessions. > > > Alan > ariley@stata.com > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/faqs/resources/statalist-faq/ > * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/