Reload Desktop Background via Command line

@maeks84, the main downside is that you're killing the entire caja process just to fix a background rendering issue, so if you have any ongoing file transfers or anything like that, they will also be killed.

Here's what I've used in the past to correct some annoyances when changing screen settings:

gsettings set org.mate.background show-desktop-icons false
sleep 1
gsettings set org.mate.background show-desktop-icons true

In fact, the mate-settings-daemon does exactly the same when changing back and forth between HiDPI scaling modes:

It's an ugly, but currently necessary, hack...

3 Likes