Run “gala -r” after suspend

2018-05-16 17:16:24

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?

OS Loki

I saw few topics about this i tried but it not help.

I did this:

$ sudo nano /lib/systemd/system-sleep/galar


# Execute fancontrol

case "$1" in


su a -c "gala -r"



$ sudo chmod a-x /lib/systemd/system-sleep/galar