Add option to disable saving of configuration on exit

Bug #1805894 reported by Evert Provoost
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sakura
Fix Released
Medium
Unassigned

Bug Description

There are a couple of reasons why this would be helpful:

1) When giving a presentation I make the typeface larger, however I do not want this change to persist across sessions.

2) I like to keep my config files structured but Sakura overrides this.

3) The time Sakura spends writing the configuration to disk on exit is noticeable, although not really an issue but it feels unnecessary as I never do any changes that I want to persist across sessions.

David Gómez (dabisu)
Changed in sakura:
status: New → Confirmed
importance: Undecided → Medium
David Gómez (dabisu)
summary: - Feature request: add option to disable saving of configuration on exit
+ Add option to disable saving of configuration on exit
Revision history for this message
scarlehoff (jumax9) wrote :

I thought the `less_questions` options set to true would mean the "save configuration on exit" would be disabled as well but it doesn't seem to work?

Revision history for this message
David Gómez (dabisu) wrote :

JumaX9: No, the configuration is always saved (that's the reason of this bug). Less questions options is just to disable some dialogs when sakura is closed.

Revision history for this message
David Gómez (dabisu) wrote :

I just added an option for this. It's called "dont_save", so just add "dont_save=true" to your config file. Be aware this option is out of the documentation and/or menus, because when new versions of sakura are released with new config options, if this option is enabled and the config file doesn't have the new options, sakura will surely crash. That's because sakura doesn't provide a default config file and writes needed config values if they're not present.

Changed in sakura:
status: Confirmed → Fix Committed
David Gómez (dabisu)
Changed in sakura:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.