sindresorhus / wallpaper

Manage the desktop wallpaper
MIT License
1.05k stars 91 forks source link

Failed to set wallpaper on linux mint cinnamon #41

Closed ZeroX-DG closed 6 years ago

ZeroX-DG commented 6 years ago

Thank you for this package and I hope you can fix this bug. I don't know much about kde and stuff so I can't be helpful in the issue. This is the error that I'm receiving:

Uncaught (in promise) Error: Command failed: qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript 
                var allDesktops = desktops();
                for (var i = 0; i < allDesktops.length; i++) {
                    var desktop = allDesktops[i];
                    desktop.wallpaperPlugin = 'org.kde.image';
                    desktop.currentConfigGroup = ['Wallpaper', 'org.kde.image', 'General'];
                    desktop.writeConfig('Image', '{hidden_image_path}');
                }

Cannot find 'org.kde.PlasmaShell.evaluateScript' in object /PlasmaShell at org.kde.plasmashell

I'm on Linux mint 18.2 cinnamon 64bit. Cinnamon version: 3.4.3

Ronalses commented 6 years ago

Hi, I had the same problem but I already solve it You can download my fork here #39

Or here https://github.com/Ronalses/wallpaper

I hope this helps :D

ZeroX-DG commented 6 years ago

Thanks, I'll check it out

sindresorhus commented 6 years ago

Closing because of #42