As in KDE to set the Wallpaper the user from the console?


Did the task - set on more than 10 thousand computers all users of a particular Wallpaper on the lock screen and desktop. How to do a specific user through the GUI I know, but as I can not find how to do it from the console. Including to new users who have never been on a computer. Walk to run or connect to the users is very expensive, much easier and more convenient to make the scenario in ansible. But somehow the gugleniya does not answer this question.

Debian 10
KDE Plasma
April 3rd 20 at 17:24
2 answers
April 3rd 20 at 17:26
I about this decision on December 11 @planc already gave the answer. Working under a specific user, and for even non-registered users does not work out, that is, makes the default background for new users. - hope.McKenzie13 commented on April 3rd 20 at 17:29
@hope.McKenzie13unfortunately comments cannot be marked as the answer so the question still hanging unanswered. - kenny_McGlynn commented on April 3rd 20 at 17:32
@kenny_McGlynn, and the solution is spike. In plasma as it sets new users background immediately. To replace an image is possible, but I want it to specify their, and to, if necessary, the user was able to change it from the set. To unlock the screen, you can set the background of the user. However, users initially defaults some background. Again, you need to change this "default". - hope.McKenzie13 commented on April 3rd 20 at 17:35
Alas, adding a script in cron does not solve the problem. The prescription of section script in the autostart-scripts makes the script run in a terminal session that does not lead to changing the Wallpaper in the graphics session.

So the decision is hardly as not working without user intervention. - hope.McKenzie13 commented on April 3rd 20 at 17:38
April 3rd 20 at 17:28
A partial solution was provided by @planc. This is the only solution that works under a specific user and not crucial to the whole problem.

Find more questions by tags bashDebianKDE