deepin-dreamscene icon indicating copy to clipboard operation
deepin-dreamscene copied to clipboard

no method setFile

Open ForumLiker opened this issue 6 years ago • 2 comments

Hi. Where to write the path to the video? com.deepin.dde.DreamScene.setFile there is no such method deepinscreenshot_ - _20180809131545 dreamscene 0.2.3

ForumLiker avatar Aug 09 '18 10:08 ForumLiker

同样的问题

Xiaobei-QuQ avatar Sep 09 '18 15:09 Xiaobei-QuQ

I've tried it out, it looks like you can set a video through SetFolder, which accepts a path, then either true or false as parameters.

So the command should look like this now: qdbus --literal com.deepin.dde.DreamScene /com/deepin/dde/DreamScene com.deepin.dde.DreamScene.setFolder (path to file) true

I'm not sure what happens if you point to just a folder and set false as second parameter, though.

ArcOfDream avatar Jan 16 '19 01:01 ArcOfDream