bzr branch
http://bzr.ed.am/gtk/prep-images
7
by Tim Marston
updated INSTALL |
1 |
BUILDING AND INSTALLING THE PROJECT |
2 |
||
3 |
To build and install, type the following: |
|
4 |
||
5 |
$ ./configure |
|
6 |
$ make |
|
7 |
$ make install |
|
8 |
||
9 |
You may need to be root for the last command. |
|
10 |
||
11 |
||
12 |
BUILDING FROM REVISION CONTROL |
|
13 |
||
14 |
To get and build the latest code from revision control, do the following: |
|
15 |
||
16 |
$ bzr co http://bzr.ed.am/gtk/prep-images |
|
17 |
$ cd prep-images |
|
18 |
$ autoreconf -i |
|
19 |
||
20 |
Then follow the instructions above for building the project as normal. |
|
21 |
||
22 |
||
23 |
SETTING UP THUNAR (XFCE) |
|
24 |
||
25 |
1. In Thunar, go to "Edit" -> "Configure customer actions..." and then click |
|
26 |
the '+' button to add a custom action. |
|
27 |
||
28 |
2. Under the "Basic" tab, enter the following |
|
29 |
Name: Prep images |
|
30 |
Description: Prepare image for publication |
|
31 |
Command: prep-images %F |
|
32 |
||
33 |
3. Click on "Appearance Conditions", make sure only "Image Files" is ticked. |
|
34 |
Then press OK. |
|
35 |
||
36 |
Now you should be able to select one or more images, right-click and select |
|
37 |
"Prep images" from the menu. |
|
38 |
||
39 |
||
40 |
SETTING UP NAUTILUS (GNOME2) |
|
41 |
||
42 |
To enable the use of prep. images in Nautilus, create a symlink in your nautlus |
|
43 |
scripts directory. At the time of writing (and even though I'm using a GNOME 3 |
|
44 |
desktop), the nautilus scripts directory is ~/.gnome2/nautilus-scripts. So, |
|
45 |
doing something like the following should work: |
|
46 |
||
47 |
$ ln -s /usr/local/bin/prep-images ~/.gnome2/nautilus-scripts/prep-images |
|
48 |
||
49 |
After having done this, you should be able to right-click on an image (or |
|
50 |
several images at once) and select Scripts -> prep-images. |