Skip to content

BetterWallpapers@pb103938 - Initial Release - #1865

Draft
pb103938 wants to merge 9 commits into
linuxmint:masterfrom
pb103938:master
Draft

BetterWallpapers@pb103938 - Initial Release#1865
pb103938 wants to merge 9 commits into
linuxmint:masterfrom
pb103938:master

Conversation

@pb103938

Copy link
Copy Markdown

Created the BetterWallpapers desklet, which allows you to set different wallpapers to each display.

Features
Use any jpg, jpeg, webp, or png file as a desktop background for any display
Use default dimensions or set the dimensions manually
mirror or flip the image, or do both
Source
Tested on: Cinnamon 6.6.7
Made using AI - reviewed by humans

Notes for reviewers:
A comprehensive README.md file is included which covers all the information needed to properly use and configure this desklet. Images are also included for ease of learning.

@github-actions

Copy link
Copy Markdown

Best-practices scanner

This is a regex-based check for API usage that can pose security, performance or
maintainability issues, or that may already be provided by Cinnamon. Most findings
are advisory and do not automatically disqualify a pull request.

This check is not perfect and will not replace a normal review.


Found 4 potential issue(s):

⚠️ WARNING

⚠️ hardcoded_data_dir

BetterWallpapers@pb103938/desklet.js:21

Gettext.bindtextdomain(UUID, GLib.get_home_dir() + "/.local/share/locale");

Avoid hardcoding .local/share in paths. Use GLib.get_user_data_dir() instead,
which respects the XDG_DATA_HOME environment variable.

⚠️ lang_bind

BetterWallpapers@pb103938/desklet.js:56

GLib.idle_add(GLib.PRIORITY_DEFAULT_IDLE, Lang.bind(this, function() {

Lang.bind() is deprecated. Use arrow functions (() => {}) or Function.prototype.bind() instead.

BetterWallpapers@pb103938/desklet.js:60

this._stageAddedId = parent.connect("actor-added", Lang.bind(this, function() {

Lang.bind() is deprecated. Use arrow functions (() => {}) or Function.prototype.bind() instead.

BetterWallpapers@pb103938/desklet.js:68

this.connect("destroy", Lang.bind(this, this._cleanup));

Lang.bind() is deprecated. Use arrow functions (() => {}) or Function.prototype.bind() instead.


Automated pattern check.

@github-actions

Copy link
Copy Markdown

Best-practices scanner

This is a regex-based check for API usage that can pose security, performance or
maintainability issues, or that may already be provided by Cinnamon. Most findings
are advisory and do not automatically disqualify a pull request.

This check is not perfect and will not replace a normal review.


Found 1 potential issue(s):

⚠️ WARNING

⚠️ hardcoded_data_dir

BetterWallpapers@pb103938/desklet.js:21

Gettext.bindtextdomain(UUID, GLib.get_user_data_dir() + "/.local/share/locale");

Avoid hardcoding .local/share in paths. Use GLib.get_user_data_dir() instead,
which respects the XDG_DATA_HOME environment variable.


Automated pattern check.

@claudiux

Copy link
Copy Markdown
Member
Error during validation: [BetterWallpapers@pb103938] Missing file: info.json

Errors were found! Once you fix the issue, please re-run 'validate-spice BetterWallpapers@pb103938'' to check for further errors.

@claudiux
claudiux marked this pull request as draft July 21, 2026 23:17
@pb103938
pb103938 marked this pull request as ready for review July 25, 2026 00:44
@claudiux

Copy link
Copy Markdown
Member
Error during validation: [BetterWallpapers@pb103938] Missing file: screenshot.png

@claudiux
claudiux marked this pull request as draft July 25, 2026 18:20
@pb103938
pb103938 marked this pull request as ready for review July 28, 2026 22:50
@claudiux

claudiux commented Aug 1, 2026

Copy link
Copy Markdown
Member

Error during validation: [BetterWallpapers@pb103938] Missing file: files/BetterWallpapers@pb103938/metadata.json

@pb103938
pb103938 marked this pull request as draft August 4, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants