navnorth / wp-oer

WordPress OER Plugin
GNU General Public License v3.0
8 stars 2 forks source link

xvfb usage as a setting #17

Closed joehobson closed 8 years ago

joehobson commented 9 years ago

I found the problem with screenshots on our test server... xvfb is commented out in resources-importer.php (and init, but i covered that in #16). Please add an option in the Settings for "use xvfb" and only include these params in the array if it's on...

'xvfb-run',
'--auto-servernum',
'--server-num=1',

make sense? I know I have to turn it off when i'm developing and turn it on for the server, probably due to the Mac vs Ubuntu environment change

You could also separate the Settings page so that the screenshot settings are grouped in a fieldset separate from the other settings.

johnpaulbalagolan commented 9 years ago

fixed #17 with the latest code committed to github