{"action":"opened","number":32,"pull_request":{"url":"https://api.github.com/repos/lxde/lxqt-powermanagement/pulls/32","id":66758884,"html_url":"https://github.com/lxde/lxqt-powermanagement/pull/32","diff_url":"https://github.com/lxde/lxqt-powermanagement/pull/32.diff","patch_url":"https://github.com/lxde/lxqt-powermanagement/pull/32.patch","issue_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/issues/32","number":32,"state":"open","locked":false,"title":"[WIP] Lock screen before suspend, the proper way","user":{"login":"paulolieuthier","id":1238157,"avatar_url":"https://avatars.githubusercontent.com/u/1238157?v=3","gravatar_id":"","url":"https://api.github.com/users/paulolieuthier","html_url":"https://github.com/paulolieuthier","followers_url":"https://api.github.com/users/paulolieuthier/followers","following_url":"https://api.github.com/users/paulolieuthier/following{/other_user}","gists_url":"https://api.github.com/users/paulolieuthier/gists{/gist_id}","starred_url":"https://api.github.com/users/paulolieuthier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulolieuthier/subscriptions","organizations_url":"https://api.github.com/users/paulolieuthier/orgs","repos_url":"https://api.github.com/users/paulolieuthier/repos","events_url":"https://api.github.com/users/paulolieuthier/events{/privacy}","received_events_url":"https://api.github.com/users/paulolieuthier/received_events","type":"User","site_admin":false},"body":"See [Martin's blog post](http://blog.martin-graesslin.com/blog/2015/01/locking-the-screen-before-system-suspends) for more info on the topic. I still have to add ConsoleKit support before calling it GTM.\r\n\r\nFixes lxde/lxqt#431 and fixes lxde/lxqt#775.","created_at":"2016-04-17T05:25:53Z","updated_at":"2016-04-17T05:25:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/pulls/32/commits","review_comments_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/pulls/32/comments","review_comment_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/issues/32/comments","statuses_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/statuses/6353794bfa52fada46169a96f2cfc8816a85e16c","head":{"label":"lxde:lockscreen","ref":"lockscreen","sha":"6353794bfa52fada46169a96f2cfc8816a85e16c","user":{"login":"lxde","id":4973989,"avatar_url":"https://avatars.githubusercontent.com/u/4973989?v=3","gravatar_id":"","url":"https://api.github.com/users/lxde","html_url":"https://github.com/lxde","followers_url":"https://api.github.com/users/lxde/followers","following_url":"https://api.github.com/users/lxde/following{/other_user}","gists_url":"https://api.github.com/users/lxde/gists{/gist_id}","starred_url":"https://api.github.com/users/lxde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxde/subscriptions","organizations_url":"https://api.github.com/users/lxde/orgs","repos_url":"https://api.github.com/users/lxde/repos","events_url":"https://api.github.com/users/lxde/events{/privacy}","received_events_url":"https://api.github.com/users/lxde/received_events","type":"Organization","site_admin":false},"repo":{"id":12024438,"name":"lxqt-powermanagement","full_name":"lxde/lxqt-powermanagement","owner":{"login":"lxde","id":4973989,"avatar_url":"https://avatars.githubusercontent.com/u/4973989?v=3","gravatar_id":"","url":"https://api.github.com/users/lxde","html_url":"https://github.com/lxde","followers_url":"https://api.github.com/users/lxde/followers","following_url":"https://api.github.com/users/lxde/following{/other_user}","gists_url":"https://api.github.com/users/lxde/gists{/gist_id}","starred_url":"https://api.github.com/users/lxde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxde/subscriptions","organizations_url":"https://api.github.com/users/lxde/orgs","repos_url":"https://api.github.com/users/lxde/repos","events_url":"https://api.github.com/users/lxde/events{/privacy}","received_events_url":"https://api.github.com/users/lxde/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lxde/lxqt-powermanagement","description":"Power management module for LXQt","fork":true,"url":"https://api.github.com/repos/lxde/lxqt-powermanagement","forks_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/forks","keys_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/teams","hooks_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/hooks","issue_events_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/issues/events{/number}","events_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/events","assignees_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/assignees{/user}","branches_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/branches{/branch}","tags_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/tags","blobs_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/git/refs{/sha}","trees_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/statuses/{sha}","languages_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/languages","stargazers_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/stargazers","contributors_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/contributors","subscribers_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/subscribers","subscription_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/subscription","commits_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/commits{/sha}","git_commits_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/git/commits{/sha}","comments_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/comments{/number}","issue_comment_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/issues/comments{/number}","contents_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/contents/{+path}","compare_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/merges","archive_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/downloads","issues_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/issues{/number}","pulls_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/pulls{/number}","milestones_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/milestones{/number}","notifications_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/labels{/name}","releases_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/releases{/id}","deployments_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/deployments","created_at":"2013-08-10T17:48:33Z","updated_at":"2016-01-13T10:50:26Z","pushed_at":"2016-04-17T05:20:58Z","git_url":"git://github.com/lxde/lxqt-powermanagement.git","ssh_url":"git@github.com:lxde/lxqt-powermanagement.git","clone_url":"https://github.com/lxde/lxqt-powermanagement.git","svn_url":"https://github.com/lxde/lxqt-powermanagement","homepage":"http://lxqt.org","size":472,"stargazers_count":7,"watchers_count":7,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":2,"forks":13,"open_issues":2,"watchers":7,"default_branch":"master"}},"base":{"label":"lxde:master","ref":"master","sha":"b192ab12fb58d9b71578d16bb69edbdec3547049","user":{"login":"lxde","id":4973989,"avatar_url":"https://avatars.githubusercontent.com/u/4973989?v=3","gravatar_id":"","url":"https://api.github.com/users/lxde","html_url":"https://github.com/lxde","followers_url":"https://api.github.com/users/lxde/followers","following_url":"https://api.github.com/users/lxde/following{/other_user}","gists_url":"https://api.github.com/users/lxde/gists{/gist_id}","starred_url":"https://api.github.com/users/lxde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxde/subscriptions","organizations_url":"https://api.github.com/users/lxde/orgs","repos_url":"https://api.github.com/users/lxde/repos","events_url":"https://api.github.com/users/lxde/events{/privacy}","received_events_url":"https://api.github.com/users/lxde/received_events","type":"Organization","site_admin":false},"repo":{"id":12024438,"name":"lxqt-powermanagement","full_name":"lxde/lxqt-powermanagement","owner":{"login":"lxde","id":4973989,"avatar_url":"https://avatars.githubusercontent.com/u/4973989?v=3","gravatar_id":"","url":"https://api.github.com/users/lxde","html_url":"https://github.com/lxde","followers_url":"https://api.github.com/users/lxde/followers","following_url":"https://api.github.com/users/lxde/following{/other_user}","gists_url":"https://api.github.com/users/lxde/gists{/gist_id}","starred_url":"https://api.github.com/users/lxde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lxde/subscriptions","organizations_url":"https://api.github.com/users/lxde/orgs","repos_url":"https://api.github.com/users/lxde/repos","events_url":"https://api.github.com/users/lxde/events{/privacy}","received_events_url":"https://api.github.com/users/lxde/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lxde/lxqt-powermanagement","description":"Power management module for LXQt","fork":true,"url":"https://api.github.com/repos/lxde/lxqt-powermanagement","forks_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/forks","keys_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/teams","hooks_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/hooks","issue_events_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/issues/events{/number}","events_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/events","assignees_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/assignees{/user}","branches_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/branches{/branch}","tags_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/tags","blobs_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/git/refs{/sha}","trees_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/statuses/{sha}","languages_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/languages","stargazers_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/stargazers","contributors_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/contributors","subscribers_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/subscribers","subscription_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/subscription","commits_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/commits{/sha}","git_commits_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/git/commits{/sha}","comments_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/comments{/number}","issue_comment_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/issues/comments{/number}","contents_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/contents/{+path}","compare_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/merges","archive_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/downloads","issues_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/issues{/number}","pulls_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/pulls{/number}","milestones_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/milestones{/number}","notifications_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/labels{/name}","releases_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/releases{/id}","deployments_url":"https://api.github.com/repos/lxde/lxqt-powermanagement/deployments","created_at":"2013-08-10T17:48:33Z","updated_at":"2016-01-13T10:50:26Z","pushed_at":"2016-04-17T05:20:58Z","git_url":"git://github.com/lxde/lxqt-powermanagement.git","ssh_url":"git@github.com:lxde/lxqt-powermanagement.git","clone_url":"https://github.com/lxde/lxqt-powermanagement.git","svn_url":"https://github.com/lxde/lxqt-powermanagement","homepage":"http://lxqt.org","size":472,"stargazers_count":7,"watchers_count":7,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":2,"forks":13,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lxde/lxqt-powermanagement/pulls/32"},"html":{"href":"https://github.com/lxde/lxqt-powermanagement/pull/32"},"issue":{"href":"https://api.github.com/repos/lxde/lxqt-powermanagement/issues/32"},"comments":{"href":"https://api.github.com/repos/lxde/lxqt-powermanagement/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/lxde/lxqt-powermanagement/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/lxde/lxqt-powermanagement/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lxde/lxqt-powermanagement/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/lxde/lxqt-powermanagement/statuses/6353794bfa52fada46169a96f2cfc8816a85e16c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":456,"deletions":114,"changed_files":29}}