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. 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


# Execute fancontrol

case "$1" in
          su a -c "gala -r"

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

Artefacts: enter image description here

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.