Skip to content

Instantly share code, notes, and snippets.

@briandeheus
Created April 24, 2020 17:03
Show Gist options
  • Select an option

  • Save briandeheus/bfa498000f52fbf1b581b9a0cfad0e82 to your computer and use it in GitHub Desktop.

Select an option

Save briandeheus/bfa498000f52fbf1b581b9a0cfad0e82 to your computer and use it in GitHub Desktop.

Revisions

  1. briandeheus created this gist Apr 24, 2020.
    11 changes: 11 additions & 0 deletions restart-trackpad.service
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    [Unit]
    Description=Restart trackpad after suspend
    After=basic.target suspend.target hibernate.target

    [Service]
    User=root
    Environment=DISPLAY=:0
    ExecStart=/usr/bin/restart-trackpad

    [Install]
    WantedBy=basic.target suspend.target hibernate.target