On 8 September 2011 19:22, curtis Hovey <curtis.ho...@canonical.com> wrote: [...] > This is how I work in a container with html5browser/webkit: > Xvfb :23 -ac -screen 0 1024x768x24 & > env -i DISPLAY=:23 ./bin/py > from gi.repository import Gtk
I landed a branch today that uses xvfb-run to reproduce the above. It's just a thin wrapper around xvfb-run, but has your suggested -ac and -screen args hard-coded in. bin/with-xvfb bin/py It also adds two conveniences: - It will search in the bin directory for the specified command, so the above can be contracted to: bin/with-xvfb py This could save dozens of keypresses per career. - If no command is given it spawns a shell. Let me know if this does the right thing for you. Gavin. _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp