~ubuntu-branches/ubuntu/karmic/sakura/karmic

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Starr-Bochicchio
  • Date: 2009-06-23 23:58:16 UTC
  • Revision ID: james.westby@ubuntu.com-20090623235816-3viq7c0zza406mw1
Tags: upstream-2.3.4
ImportĀ upstreamĀ versionĀ 2.3.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Installing sakura
 
2
===============
 
3
 
 
4
* How to compile and install this beast ?
 
5
 
 
6
        $ cmake . 
 
7
        $ make
 
8
        $ su -c 'make install'
 
9
 
 
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 ;-))
 
13
 
 
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:
 
17
 
 
18
        $ cmake -DCMAKE_INSTALL_PREFIX=/usr .
 
19
 
 
20
        Use CMAKE_BUILD_TYPE=Debug or CMAKE_BUILD_TYPE=Release if you
 
21
        wish to select the build type. Default is Release.
 
22
 
 
23
 
 
24
Keybindings support
 
25
===================
 
26
 
 
27
    sakura supports keyboard bindings. They are configurable by
 
28
    setting the following properties in your sakura config file
 
29
    (~/.config/sakura/sakura.conf):
 
30
 
 
31
    Accelerators:
 
32
 
 
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
 
38
 
 
39
        Mask values can be combined by ORing them.
 
40
 
 
41
        For example, to set the delete tab accelerator to Ctrl + Shift:
 
42
            del_tab_accelerator=5
 
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
 
45
        together, you get 5.
 
46
 
 
47
        I realise that this configuration is not so friendly to
 
48
        non-programmers, but it is a start. :)
 
49
 
 
50
    Keys:
 
51
 
 
52
        For example, to set the add tab key to 'T':
 
53
            add_tab_key=T
 
54
 
 
55
                Before sakura used keycodes instead of strings. They're still valid.    
 
56
 
 
57
 
 
58
        Defaults:       
 
59
 
 
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
 
69
        F11                              -> Fullscreen
 
70
 
 
71
    You can also increase and decrease the font size in the GTK+ 
 
72
        standard way (not configurable):
 
73
 
 
74
        Ctrl + '+'                                -> Increase font size
 
75
        Ctrl + '-'                                -> Decrease font size
 
76
 
 
77
 
 
78
 
 
79
--
 
80
 
 
81
Enjoy sakura !
 
82
 
 
83
 
 
84