On 2014-04-16 03:52 +0100, Dmitry Kirsanov wrote:
On Fri, Apr 4, 2014 at 10:53 AM, su_v wrote:
Comment: If a majority wants 'Maximized' instead of 'Large' as the new default window size for new documents in 0.91,
I would vote for setting maximized as the default, provided it works well enough on all platforms.
then Inkscape needs a command line switch which allows to override that setting.
Why? command line is mostly for no-UI, so no-window, functionality.
Using verbs on the command line, extension development, interacting with Inkscape via DBus scripting API, debugging, bug triage - any kind of sitation where one might want to launch inkscape from the command line with default (new) prefs (or just with different window settings), and keep the terminal window (or the text editor) in view, instead of having the maximized window of the default new Inkscape document hide everything else.
Regards, V
P.S. my current workaround (for bug triage) is a shell script wrapper which optionally performs these steps (among others): 1) back up the existing preferences file 2) create new default prefs file from the built-in skeleton (launch & quit inkscape in shell mode) 3) edit the value of the related group (defaultwindowsize) in new prefs file (initially with a sed script, now with xmlstarlet) 4) launch inkscape itself.