Comment 22 for bug 1809407

Revision history for this message
Gwolf2u (gwolf2u-website) wrote : Re: [nvidia] Corrupted wallpaper after resuming from suspend

What I've made a temp fix is this
place file in /lib/systemd/system-sleep
credits to: Paul Knopf (https://gitlab.gnome.org/GNOME/gnome-shell/issues/1084)

file content:
#!/bin/bash
#place file in /lib/systemd/system-sleep

PROGNAME=$(basename "$0")
state=$1
action=$2

function log {
    logger -i -t "$PROGNAME" "$*"
}

log "Running $action $state"

if [[ $state == post ]]; then
    log "WAKE UP"
    #gsettings set org.gnome.desktop.background picture-uri "file:///usr/share/backgrounds/Xplo_by_Hugo_Cliff.png"
    dbus-send --type=method_call --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval "string:global.reexec_self()"
fi