Setting to not show the Quit Ardour dialog

(Will mention this on forum for now)

Took me a while to realize that when testing Ardour it is a good idea to just launch by opening a project file, if not = so many damn popups and “are you sure” dialog questions! :slight_smile:
So this at least gets rid of some of them.

It is common that if an application contains a file/project that has not been saved, that it asks user if they would like to save before closing the application, which Ardour does.

However if session has already been saved, Ardour still asks Quit Ardour?

So even though finally get rid of most of the “are you sure” dialogs, this still occurs.

I did not want to say anything, but I think Ardour has a real attachment issue :slight_smile:

I understand the purpose of this, but I was wondering if it would be considered to offer a setting that would allow user to prevent this dialog from appearing?

Ideally would just like to be able to quickly close Ardour when I close Ardour.
To me the “not saved” warning dialog is all that would be needed.
I am not worried about accidentally closing Ardour, like in a live setting or anything like that.

Hopefully someone will be interested in this update.
Thank you to anyone who reads this

There is already one, but you have to manually edit the ui_config file in ardour’s config folder and set

<Option name="ask-before-closing-last-window" value="0"/>

PS. edit the file while Ardour is not running.

Okay nice! I did not know about this, I will try this out.
Thank you Robin

@x42
Robin this works! :slight_smile:
I am so glad that this is available, I wish I knew of this a lot sooner.
Strange approach though.
Would you or anyone else be willing to verify if the following is correct.

Because there is not a Preferences setting for this and because Ardour only appears to store lines of text for settings that are different then default.
When you open your ui_config in your .config/ardour9 folder, this entry does not exist at all. Meaning it does not show something like
<Option name="ask-before-closing-last-window" value="1"/>

The line of code you provided has to be copied and pasted into this ui_config file.

I pasted at the top of the following section
<UI>
Once you close Ardour and open again, then Ardour sorts that newly added line into where it needs to go, which is still in that <UI> section.

I would suggest to add this into the Preferences so more users could be aware of this, but I am sure you guys have your reasons for this.

For now at least the main thing is that it is available.
My startups and shutdowns are getting better and better the more tweak. This is so much better now.

Thank you for bringing this to my attention.

QUESTION
Now you have me wondering, if there is a hidden setting for this “Quit Ardour” dialog, do you know if there is a hidden setting for the “Unsaved Session” warning dialog when you try to close Ardour without saving a session?
I know this one is more dangerous to have as an actual setting for, but could be helpful for certain situations like for testing, where the session itself is not desired to be saved.
Do you or anyone else know if anything like this is available?

Thank You

There is not, but if you start Ardour from a Terminal, you can always just ctrl+c :slight_smile:

To spice it up a bit you launch it from a terminal, when you want to notsosurequitbutsureenoughquit use Ctrl-Z and either use “kill %%” or “bg”, it may then or not read:
"
THERE ARE SOME KEYS ON THE GROUND THERE .
THERE IS A SHINY BRASS LAMP NEARBY.
THERE IS FOOD HERE.
"

? Was the method I explained correct for the “Quit Ardour” dialog?

Thank you guys for the responses about the Save Session dialog. Yeah I would probably not want to run from Terminal.