Lock screen background with blur, using a fixed picture, a random picture from a folder, or random photos from Unsplash. Based on 'Lock screen background' by sun.wxg@gmail.com.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
EGO-L-005 warning
owned object references should be released in disable()
Owned references that are cleaned up in `disable()` should also be released with `null` or `undefined`.
backgroundNew.js:413
this._interfaceSettings = new Gio.Settings({schema_id: INTERFACE_SCHEMA})
backgroundNew.js:729
this._interfaceSettings = new Gio.Settings({schema_id: INTERFACE_SCHEMA})
backgroundNew.js:721
this._settings = new Gio.Settings({settings_schema: schemaObj})
| Version | Status |
|---|---|
| 2 | Unreviewed |
| 1 | Rejected |
Why `backgroundNew.js` is needed? Took from Shell code?
Yes, backgroundNew.js is adapted from the GNOME Shell's ui/background.js. It is needed because the extension uses a custom GSettings schema and a local SettingsSchemaSource (to load schemas from the extension's own directory). The standard Shell classes are hardcoded to use the system's default background schema, so I had to include and adapt these classes to allow the lockscreen to use the extension's specific settings and random image logic without interfering with the user's desktop background.