Set snapshot to load by default when turning on Zynthian

I would like for my Zynthian to load a default snapshot on boot. I read in the Wiki that at least at one time, you could name a snapshot “Default Snapshot” and the system would automatically boot with that (see Zynthian UI User Guide - V1/V4 - ZynthianWiki). It now looks like this has been deprecated in favor of just booting “Last State.” I would rather boot from my default snapshot, as I want any changes I make to this to be automatically saved to the snapshot rather than potentially lost in “Last State.” Is there a configuration setting I can apply through the terminal to have Zynthian automatically load “Default Snapshot”?

Thanks in advance!
TK

Hi @tkc !

You must disable “last state loading”. The option is still there, but it’s been removed from admin menu. You still can still change it from webconf:

Interface->UI options->Restore last state on startup

Or you can do it by hand by changing this line in the config file:

export ZYNTHIAN_UI_RESTORE_LAST_STATE=1

to:

export ZYNTHIAN_UI_RESTORE_LAST_STATE=0

The config file is this:

/zynthian/config/zynthian_envars.sh

After disabling this, zynthian UI will try to load the default snapshot (“default.zss”).

Regards,

1 Like

Thanks @jofemodo, much appreciated.

I was able to get the default snapshot to load once I renamed it using the terminal. I originally created the default snapshot as “001-default.zss” under the 000 bank. I renamed it to “default.zss” in the main snapshot folder using this syntax:

mv 001-default.zss ..\default.zss

Once I restarted, the default snapshot loaded on boot. This will be really helpful in getting setup for my gigs. Thanks again!

TK

1 Like