question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I get this error when I run

wallpaper.get().then(console.log)

Error:

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Command failed: gsettings get org.cinnamon.desktop.background picture-uri
No such schema 'org.cinnamon.desktop.background'

First I thought it was a bug on my fork, so I tried pulling from your repo, and then I tried installing the package from npm again. Same problem, my guess is that the command for Cinnamon somehow replaces the command for GNOME (probably because they both use gsettings).

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Sohail05commented, Oct 24, 2016

@fa7ad As you may have already figured out, it iterates over the list and picks the last valid cmd. Moving the block would break it for “cinnamon” environment.

Your “feature proposal” is a valid workaround but wouldn’t make it an out of the box solution (environment agnostic).

Just a few ideas:

  • gsettings list-schemas | grep desktop.background to list all possibilities.
  • gsettings writable org.(gnome|cinnamon).desktop.background picture-uri with an expected stdout of true.
0reactions
fa7adcommented, Jan 15, 2017

PR #17

Read more comments on GitHub >

github_iconTop Results From Across the Web

GNOME keeps crashing since 42 update (#5305) · Issues
It basically crashes EVERY TIME I try to close a window FROM ACTIVITIES. EDIT: The crash does not happen if I disable "Impatience"...
Read more >
GNOME/Troubleshooting - ArchWiki
GNOME crashes when trying to reorder applications in the GNOME Shell Dash. The dash is the "toolbar" that appears, by default, on the...
Read more >
gnome-shell randomly crashing - Reddit
I'm running GNOME Shell 3.38.3 on Arch Linux using xwayland and the mainline Linux kernel (though ... In wayland, everything is killed when...
Read more >
gnome-shell crashes repeatedly after virtualbox update
I am using virtualbox 6.1.34 with Ubuntu 22.04 host and guest and gnome-shell started crashing about every minute.
Read more >
Gnome Shell crashes unexpectedly when interacting with it.
After the crash, I ended up in GDM and needed to log in into a new gnome-shell session again. The crash was caught...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found