Skip to content

Commit ba05403

Browse files
committed
Merge pull request adamn#32 from markchalloner/master
Updated the readme for Ubuntu users
2 parents b754dcd + a7cdd98 commit ba05403

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

README.rst

+16-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,20 @@ Installation
1111

1212
Ubuntu
1313
------
14-
- On ubuntu you need to add following packages: apt-get install python-qt4 libqt4-webkit
15-
- And then install it with: pip install webkit2png
14+
- Add following packages: apt-get install python-qt4 libqt4-webkit xfvb
15+
- Install the flash plugin to screenshot Adobe Flash files: apt-get install flashplugin-installer
16+
17+
Automated installation via pip
18+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19+
- Install pip: apt-get install python-pip
20+
- Install webkit2png: pip install webkit2png
21+
22+
Manual installation via Git
23+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24+
- Install git: apt-get install git-core
25+
- Create directory: mkdir python-webkit2png
26+
- Clone the project: git clone https://github.com/adamn/python-webkit2png.git python-webkit2png
27+
- Install with: python python-webkit2png/setup.py install
1628

1729
FreeBSD
1830
-------
@@ -22,4 +34,5 @@ FreeBSD
2234

2335
Usage
2436
=====
25-
- on a headless server run: xvfb-run --server-args="-screen 0, 640x480x24" python webkit2png-simple.py
37+
- On a headless server run: python scripts/webkit2png [options] <URL>
38+
- For help run: python scripts/webkit2png -h

0 commit comments

Comments
 (0)