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