{"action":"opened","number":15,"pull_request":{"url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/pulls/15","id":152233180,"html_url":"https://github.com/Hikari9/comfortable-swipe-ubuntu/pull/15","diff_url":"https://github.com/Hikari9/comfortable-swipe-ubuntu/pull/15.diff","patch_url":"https://github.com/Hikari9/comfortable-swipe-ubuntu/pull/15.patch","issue_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/issues/15","number":15,"state":"open","locked":false,"title":"Use comfortable-swipe as systemd service","user":{"login":"Hikari9","id":5916118,"avatar_url":"https://avatars3.githubusercontent.com/u/5916118?v=4","gravatar_id":"","url":"https://api.github.com/users/Hikari9","html_url":"https://github.com/Hikari9","followers_url":"https://api.github.com/users/Hikari9/followers","following_url":"https://api.github.com/users/Hikari9/following{/other_user}","gists_url":"https://api.github.com/users/Hikari9/gists{/gist_id}","starred_url":"https://api.github.com/users/Hikari9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hikari9/subscriptions","organizations_url":"https://api.github.com/users/Hikari9/orgs","repos_url":"https://api.github.com/users/Hikari9/repos","events_url":"https://api.github.com/users/Hikari9/events{/privacy}","received_events_url":"https://api.github.com/users/Hikari9/received_events","type":"User","site_admin":false},"body":"This is intended to address issues #7 and #13.\r\n\r\n# Summary\r\n\r\nThis pull request adds `comfortable-swipe` as a systemd service.\r\n\r\nThis is preferred over a local startup application since touchpad gestures are semantically fitting to be called a service. Furthermore, the methods such as start and stop are standard commands usually found in services.\r\n\r\nThis also bypasses the input device permissions required by `libinput-debug-gestures`, since service daemons would already be handled as a superuser.\r\n\r\n# How to Test\r\n\r\n1. Have a fresh clone this branch\r\n    ```bash\r\n    git clone https://github.com/Hikari9/comfortable-swipe-ubuntu --branch feature-systemd comfortable-\r\n    swipe-feature-systemd\r\n    cd comfortable-swipe-feature-systemd\r\n    ```\r\n\r\n2. Run\r\n    ```bash\r\n    sudo apt-get install libinput-tools libxdo-dev\r\n    bash install\r\n    ```\r\n\r\n3. Check if swiping works.\r\n    - Configure `/usr/local/share/comfortable-swipe.conf` to be the same with your keyboard mapping\r\n\r\n4. Comment for any problems. Please make sure to add the following to your comment:\r\n    -  Content of `.log` (found in the cloned folder)\r\n    - Output of `sudo systemctl status comfortable-swipe.service`","created_at":"2017-11-13T13:07:16Z","updated_at":"2017-11-13T13:07:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/issues/15/comments","statuses_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/statuses/3969b69e124933087ce7bcb6bcd52a27ed231b66","head":{"label":"Hikari9:feature-systemd","ref":"feature-systemd","sha":"3969b69e124933087ce7bcb6bcd52a27ed231b66","user":{"login":"Hikari9","id":5916118,"avatar_url":"https://avatars3.githubusercontent.com/u/5916118?v=4","gravatar_id":"","url":"https://api.github.com/users/Hikari9","html_url":"https://github.com/Hikari9","followers_url":"https://api.github.com/users/Hikari9/followers","following_url":"https://api.github.com/users/Hikari9/following{/other_user}","gists_url":"https://api.github.com/users/Hikari9/gists{/gist_id}","starred_url":"https://api.github.com/users/Hikari9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hikari9/subscriptions","organizations_url":"https://api.github.com/users/Hikari9/orgs","repos_url":"https://api.github.com/users/Hikari9/repos","events_url":"https://api.github.com/users/Hikari9/events{/privacy}","received_events_url":"https://api.github.com/users/Hikari9/received_events","type":"User","site_admin":false},"repo":{"id":104761842,"name":"comfortable-swipe-ubuntu","full_name":"Hikari9/comfortable-swipe-ubuntu","owner":{"login":"Hikari9","id":5916118,"avatar_url":"https://avatars3.githubusercontent.com/u/5916118?v=4","gravatar_id":"","url":"https://api.github.com/users/Hikari9","html_url":"https://github.com/Hikari9","followers_url":"https://api.github.com/users/Hikari9/followers","following_url":"https://api.github.com/users/Hikari9/following{/other_user}","gists_url":"https://api.github.com/users/Hikari9/gists{/gist_id}","starred_url":"https://api.github.com/users/Hikari9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hikari9/subscriptions","organizations_url":"https://api.github.com/users/Hikari9/orgs","repos_url":"https://api.github.com/users/Hikari9/repos","events_url":"https://api.github.com/users/Hikari9/events{/privacy}","received_events_url":"https://api.github.com/users/Hikari9/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hikari9/comfortable-swipe-ubuntu","description":"Comfortable 3-finger and 4-finger swipe gesture using Xdotool in native C++","fork":false,"url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu","forks_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/forks","keys_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/teams","hooks_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/hooks","issue_events_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/issues/events{/number}","events_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/events","assignees_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/assignees{/user}","branches_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/branches{/branch}","tags_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/tags","blobs_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/statuses/{sha}","languages_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/languages","stargazers_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/stargazers","contributors_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/contributors","subscribers_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/subscribers","subscription_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/subscription","commits_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/contents/{+path}","compare_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/merges","archive_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/downloads","issues_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/issues{/number}","pulls_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/pulls{/number}","milestones_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/milestones{/number}","notifications_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/labels{/name}","releases_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/releases{/id}","deployments_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/deployments","created_at":"2017-09-25T14:37:53Z","updated_at":"2017-11-11T19:00:54Z","pushed_at":"2017-11-13T13:02:52Z","git_url":"git://github.com/Hikari9/comfortable-swipe-ubuntu.git","ssh_url":"git@github.com:Hikari9/comfortable-swipe-ubuntu.git","clone_url":"https://github.com/Hikari9/comfortable-swipe-ubuntu.git","svn_url":"https://github.com/Hikari9/comfortable-swipe-ubuntu","homepage":null,"size":75,"stargazers_count":11,"watchers_count":11,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":11,"default_branch":"master"}},"base":{"label":"Hikari9:master","ref":"master","sha":"44661a8125e9e8f7bdf06e4449e0ae0cb7a58a7b","user":{"login":"Hikari9","id":5916118,"avatar_url":"https://avatars3.githubusercontent.com/u/5916118?v=4","gravatar_id":"","url":"https://api.github.com/users/Hikari9","html_url":"https://github.com/Hikari9","followers_url":"https://api.github.com/users/Hikari9/followers","following_url":"https://api.github.com/users/Hikari9/following{/other_user}","gists_url":"https://api.github.com/users/Hikari9/gists{/gist_id}","starred_url":"https://api.github.com/users/Hikari9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hikari9/subscriptions","organizations_url":"https://api.github.com/users/Hikari9/orgs","repos_url":"https://api.github.com/users/Hikari9/repos","events_url":"https://api.github.com/users/Hikari9/events{/privacy}","received_events_url":"https://api.github.com/users/Hikari9/received_events","type":"User","site_admin":false},"repo":{"id":104761842,"name":"comfortable-swipe-ubuntu","full_name":"Hikari9/comfortable-swipe-ubuntu","owner":{"login":"Hikari9","id":5916118,"avatar_url":"https://avatars3.githubusercontent.com/u/5916118?v=4","gravatar_id":"","url":"https://api.github.com/users/Hikari9","html_url":"https://github.com/Hikari9","followers_url":"https://api.github.com/users/Hikari9/followers","following_url":"https://api.github.com/users/Hikari9/following{/other_user}","gists_url":"https://api.github.com/users/Hikari9/gists{/gist_id}","starred_url":"https://api.github.com/users/Hikari9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hikari9/subscriptions","organizations_url":"https://api.github.com/users/Hikari9/orgs","repos_url":"https://api.github.com/users/Hikari9/repos","events_url":"https://api.github.com/users/Hikari9/events{/privacy}","received_events_url":"https://api.github.com/users/Hikari9/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hikari9/comfortable-swipe-ubuntu","description":"Comfortable 3-finger and 4-finger swipe gesture using Xdotool in native C++","fork":false,"url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu","forks_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/forks","keys_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/teams","hooks_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/hooks","issue_events_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/issues/events{/number}","events_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/events","assignees_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/assignees{/user}","branches_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/branches{/branch}","tags_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/tags","blobs_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/statuses/{sha}","languages_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/languages","stargazers_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/stargazers","contributors_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/contributors","subscribers_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/subscribers","subscription_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/subscription","commits_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/contents/{+path}","compare_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/merges","archive_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/downloads","issues_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/issues{/number}","pulls_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/pulls{/number}","milestones_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/milestones{/number}","notifications_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/labels{/name}","releases_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/releases{/id}","deployments_url":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/deployments","created_at":"2017-09-25T14:37:53Z","updated_at":"2017-11-11T19:00:54Z","pushed_at":"2017-11-13T13:02:52Z","git_url":"git://github.com/Hikari9/comfortable-swipe-ubuntu.git","ssh_url":"git@github.com:Hikari9/comfortable-swipe-ubuntu.git","clone_url":"https://github.com/Hikari9/comfortable-swipe-ubuntu.git","svn_url":"https://github.com/Hikari9/comfortable-swipe-ubuntu","homepage":null,"size":75,"stargazers_count":11,"watchers_count":11,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/pulls/15"},"html":{"href":"https://github.com/Hikari9/comfortable-swipe-ubuntu/pull/15"},"issue":{"href":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/issues/15"},"comments":{"href":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Hikari9/comfortable-swipe-ubuntu/statuses/3969b69e124933087ce7bcb6bcd52a27ed231b66"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":100,"deletions":134,"changed_files":5}}
{"actor":{"display_login":"Hikari9"}}