{"action":"created","issue":{"url":"https://api.github.com/repos/mdlincoln/clipr/issues/11","labels_url":"https://api.github.com/repos/mdlincoln/clipr/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/mdlincoln/clipr/issues/11/comments","events_url":"https://api.github.com/repos/mdlincoln/clipr/issues/11/events","html_url":"https://github.com/mdlincoln/clipr/issues/11","id":110109190,"number":11,"title":"ending xclip/xsel processes","user":{"login":"mdlincoln","id":4392604,"avatar_url":"https://avatars.githubusercontent.com/u/4392604?v=3","gravatar_id":"","url":"https://api.github.com/users/mdlincoln","html_url":"https://github.com/mdlincoln","followers_url":"https://api.github.com/users/mdlincoln/followers","following_url":"https://api.github.com/users/mdlincoln/following{/other_user}","gists_url":"https://api.github.com/users/mdlincoln/gists{/gist_id}","starred_url":"https://api.github.com/users/mdlincoln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdlincoln/subscriptions","organizations_url":"https://api.github.com/users/mdlincoln/orgs","repos_url":"https://api.github.com/users/mdlincoln/repos","events_url":"https://api.github.com/users/mdlincoln/events{/privacy}","received_events_url":"https://api.github.com/users/mdlincoln/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mdlincoln/clipr/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-06T21:54:23Z","updated_at":"2015-10-09T20:05:17Z","closed_at":"2015-10-09T20:05:17Z","body":"The honorable BDR has raised an issue with the [pending CRAN submission](https://github.com/mdlincoln/clipr/commit/d14ed7f6b3473b34fbe2202a9a5a60a826f63368):\r\n\r\n>It leaves xclip processes running, contrary to the CRAN policies.\r\n\r\nI'm not sure if this is avoidable. From the [xclip docs](http://linux.die.net/man/1/xclip):\r\n\r\n>The default action is to silently wait in the background for X selection requests (pastes) until another X application places data in the clipboard, at which point xclip exits silently. You can use the -verbose option to see if and when xclip actually receives selection requests from other X applications.\r\n\r\nAnd the [xsel docs](http://www.vergenet.net/~conrad/software/xsel/xsel.1x.html)\r\n\r\n>There is no X selection buffer. The selection mechanism in X11 is an interclient communication mediated by the X server each time any program wishes to know the selection contents, eg. to perform a middle mouse button paste. In order to implement modification of the selection(s) (in input, keep and exchange modes) this program detaches from the terminal, spawning a child process to supply the new selection(s) on demand. This child exits immediately when any other program takes over the selection(s), eg. when the user next selects some text in a terminal window or by running xsel -c.\r\n\r\n@lmmx Am I right in thinking that there is no way to kill either of these processes without essentially wiping the clipboard?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mdlincoln/clipr/issues/comments/146974588","html_url":"https://github.com/mdlincoln/clipr/issues/11#issuecomment-146974588","issue_url":"https://api.github.com/repos/mdlincoln/clipr/issues/11","id":146974588,"user":{"login":"mdlincoln","id":4392604,"avatar_url":"https://avatars.githubusercontent.com/u/4392604?v=3","gravatar_id":"","url":"https://api.github.com/users/mdlincoln","html_url":"https://github.com/mdlincoln","followers_url":"https://api.github.com/users/mdlincoln/followers","following_url":"https://api.github.com/users/mdlincoln/following{/other_user}","gists_url":"https://api.github.com/users/mdlincoln/gists{/gist_id}","starred_url":"https://api.github.com/users/mdlincoln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdlincoln/subscriptions","organizations_url":"https://api.github.com/users/mdlincoln/orgs","repos_url":"https://api.github.com/users/mdlincoln/repos","events_url":"https://api.github.com/users/mdlincoln/events{/privacy}","received_events_url":"https://api.github.com/users/mdlincoln/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T20:05:17Z","updated_at":"2015-10-09T20:05:17Z","body":"Closed by 05e59b4f4b04116442795dc76a014c9bfbecbe09\r\n\r\nI'm putting a note in the docs explaining the behavior of xclip/xsel - hopefully this will satisfy the CRAN dragons."}}