1
BUILDING AND INSTALLING THE PROJECT
3
To build and install, type the following:
9
You may need to be root for the last command.
12
BUILDING FROM REVISION CONTROL
14
To get and build the latest code from revision control, do the following:
16
$ bzr co http://bzr.ed.am/gtk/prep-images
20
Then follow the instructions above for building the project as normal.
23
SETTING UP THUNAR (XFCE)
25
1. In Thunar, go to "Edit" -> "Configure customer actions..." and then click
26
the '+' button to add a custom action.
28
2. Under the "Basic" tab, enter the following
30
Description: Prepare image for publication
31
Command: prep-images %F
33
3. Click on "Appearance Conditions", make sure only "Image Files" is ticked.
36
Now you should be able to select one or more images, right-click and select
37
"Prep images" from the menu.
40
SETTING UP NAUTILUS (GNOME2)
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:
47
$ ln -s /usr/local/bin/prep-images ~/.gnome2/nautilus-scripts/prep-images
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.