I have problem with artefacts on background after suspend mode. But i can background by enter this command: "gala -r" from carrent user.
How i can auto execute this command after suspend?
I saw few topics about this i tried but it not help. https://askubuntu.com/questions/92218/how-to-execute-a-command-after-resume-from-suspend?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
I did this:
$ sudo nano /lib/systemd/system-sleep/galar
#!/bin/sh # Execute fancontrol case "$1" in post) su a -c "gala -r" ;; esac
$ sudo chmod a-x /lib/systemd/system-sleep/galar