Assuming that Audacity can be used as a tool in music composition, and the geometry a lot of times modified, it can be interessant to get it with the standard (the first) geometry at each launch. Is there a way to disable the remember of geometry, to get it new at each time ?
The “normal”, e.g. standard as fresh installed, size of the main (and ever unique as i think) window of Audacity, the native size.
Normal Width = 780
Normal Hight = 600
After usage, if this size was manually (mouse) changed, reopening Audacity we get the new size, the changed size, instead the native size. And that i’m searching to avoid, i like the native in all cases.
Also if possible the whole configuration inside the Audaacity window i prefer to find each time the native, the fresh, the “normal” aspect.
Sorry for “rgeometry”, it was really “geometry” i meaned.
There is no built-in way to make Audacity “forget” the window size. Most people want Audacity to open with the previous window size, so that is how it is designed to work (as are most other applications). However, the window size is stored in the “audacity.cfg” file (by default that file is in ~/audacity.data), so you could write a script to delete those settings. Look for the section in audacity.cfg below “[Window]”.
I tried setting audacity.cfg in mode 444 (write protect), but that helped nothing ; Audacity won’t forget…
A script ? Yes, but howto, and where place it, etc. If you have only one basic example, of course regarding anything, just to indicate me howto begin, it would be great…
If you’ve not done any scripting before then it’s probably not worth the effort.
However, with a “bash script” you could perhaps overwrite the audacity.cfg file with one of your choosing using the “cp” command (http://ss64.com/bash/cp.html)
Of course, you would need to decide how to run the bash script - the easiest way would be to make the script executable and run it from a launcher on your Desktop or in a panel (depending on what Desktop environment you use), or you could set it to run each time you log in.
Yes, you are right : just a copy, is the easiest way ; and for the launch, there is also no problem : to launch Audacity itself within a script, but this containing first a copy line for audacity.cfg.