Setting MATE desktop image from python program

About writing shell scripts and making the most of your shell
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Locked
pydim
Level 1
Level 1
Posts: 10
Joined: Mon Jun 28, 2021 10:53 am
Location: Russia

Setting MATE desktop image from python program

Post by pydim »

I wrote a small program, which retrieves picture from internet and saves it on disk. Then it will set desktop image to that picture. The only problem is that i know how to set desktop image only on windows, but not on linux. Please help :>
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29597
Joined: Wed Jul 06, 2011 3:58 am

Re: Setting a desktop image from python program

Post by xenopeek »

It may likely be different between Cinnamon, MATE and Xfce and possible your Linux Mint version. Which are you asking for?
Image
pydim
Level 1
Level 1
Posts: 10
Joined: Mon Jun 28, 2021 10:53 am
Location: Russia

Re: Setting a desktop image from python program

Post by pydim »

Hi! I'm using mate 20.1. Btw my problem is already solved as filename for picture was the same, so linux was automatically updating it after i set it manually, unlike in windows, where if old desktop image gets replaced, desktop itself wouldn't change. I'm still interested though how to set desktop image not manually
Locked

Return to “Scripts & Bash”