4
* How to compile and install this beast ?
10
sakura now use the CMake building system. Welcome to an autotools
11
free world!! (Yes, sakura used MOBS before this, but what the hell,
12
i wanted to say out loud that ;-))
14
To install sakura with a different prefix, cmake needs to be
15
invoked with the proper environment variables, so to install
16
sakura in /usr, you should do:
18
$ cmake -DCMAKE_INSTALL_PREFIX=/usr .
20
Use CMAKE_BUILD_TYPE=Debug or CMAKE_BUILD_TYPE=Release if you
21
wish to select the build type. Default is Release.
27
sakura supports keyboard bindings. They are configurable by
28
setting the following properties in your sakura config file
29
(~/.config/sakura/sakura.conf):
33
Accelerators can be set to any mask value from the
34
GdkModifierType in gdktypes.h; see:
35
http://www.krugle.org/examples/p-6R7SuZt1c28ljzpZ/gdktypes.h
36
or, on your own system:
37
/usr/include/gtk-2.0/gdk/gdkkeysyms.h
39
Mask values can be combined by ORing them.
41
For example, to set the delete tab accelerator to Ctrl + Shift:
43
because GDK_SHIFT_MASK has a value of 1 (1 << 0), and
44
GDK_CONTROL_MASK has a value of 4 (1 << 2); ORing them
47
I realise that this configuration is not so friendly to
48
non-programmers, but it is a start. :)
52
For example, to set the add tab key to 'T':
55
Before sakura used keycodes instead of strings. They're still valid.
60
Ctrl + Shift + T -> New tab
61
Ctrl + Shift + W -> Close current tab
62
Ctrl + Shift + C -> Copy selected text
63
Ctrl + Shift + V -> Paste selected text
64
Alt + Left cursor -> Previous tab
65
Alt + Right cursor -> Next tab
66
Alt + [1-9] -> Switch to tab N (1-9)
67
Ctrl + Shift + S -> Toggle scrollbar
68
Ctrl + Shift + Mouse left button -> Open link
71
You can also increase and decrease the font size in the GTK+
72
standard way (not configurable):
74
Ctrl + '+' -> Increase font size
75
Ctrl + '-' -> Decrease font size