Autostarting widgets
mr0rogers opened this issue · comments
mr0rogers commented
Applications can be set to autostart on login in their metadata.json files. Is it possible to create a widget that starts by default for all users? If not, how would one go about doing this?
Anders Evenrud commented
There is no setting for this like in applications. But I think you can achieve this by using the following in your config.
This will create a set of defaults for all users:
{
settings: {
defaults: {
'osjs/desktop': {
widgets: [
{
name: "WidgetName",
options: {}
}
]
}
}
}
mr0rogers commented
Yep, that works. Thanks!