{"action":"closed","issue":{"url":"https://api.github.com/repos/pdfkit/pdfkit/issues/287","labels_url":"https://api.github.com/repos/pdfkit/pdfkit/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/pdfkit/pdfkit/issues/287/comments","events_url":"https://api.github.com/repos/pdfkit/pdfkit/issues/287/events","html_url":"https://github.com/pdfkit/pdfkit/issues/287","id":66568694,"number":287,"title":"[debian] How I can prepend `xvfb` for wkhtmltopdf command?","user":{"login":"clevertechru","id":1336340,"avatar_url":"https://avatars.githubusercontent.com/u/1336340?v=3","gravatar_id":"","url":"https://api.github.com/users/clevertechru","html_url":"https://github.com/clevertechru","followers_url":"https://api.github.com/users/clevertechru/followers","following_url":"https://api.github.com/users/clevertechru/following{/other_user}","gists_url":"https://api.github.com/users/clevertechru/gists{/gist_id}","starred_url":"https://api.github.com/users/clevertechru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clevertechru/subscriptions","organizations_url":"https://api.github.com/users/clevertechru/orgs","repos_url":"https://api.github.com/users/clevertechru/repos","events_url":"https://api.github.com/users/clevertechru/events{/privacy}","received_events_url":"https://api.github.com/users/clevertechru/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-06T09:32:48Z","updated_at":"2015-04-06T16:26:37Z","closed_at":"2015-04-06T16:26:37Z","body":"xorg - use 125Mb and install full XServer - it`s a bad.\r\nI have better way for this:\r\nxvbf - use 2Mb and emulate fake X server and perfect work from command line \r\n```\r\n/usr/bin/xvfb-run -a -s \"-screen 0 1280x1024x16\" /usr/bin/wkhtmltopdf --encoding utf-8 --javascript-delay 5 --use-xserver --margin-left 5 --margin-top 5 --margin-right 5 --margin-bottom 5 http://google.com ./google.pdf\r\n```\r\n\r\nHow I can prepend `xvfb` for wkhtmltopdf command?\r\n\r\nfor install:\r\n```\r\nsudo apt-get install xvfb\r\n```\r\n"}}