-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL
190 lines (122 loc) · 5.24 KB
/
INSTALL
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
Copyright 2014, 2018, 2020 Aleksandr Andreev,
with portions Copyright 2014 Daniel Dremachyov, Yuri Shardt, Nikita Simmons.
This file is free documentation; the authors give
unlimited permission to copy, distribute and modify it.
Description
=============================
The package that you have downloaded contains Church Slavic keyboard drivers
for Intelligent Input Bus (IBus), an input method framework for GNU/Linux and
other Unix-like Operating Systems. The package works by adding Church Slavic
data to the m17n library, which realizes multilingualization for
GNU-Linux/Unix applications.
If you use Microsoft Windows or Apple OS X, this is NOT the package you need.
Please see https://sci.ponomar.net/ for software for other operating systems.
Installation Instructions
=============================
Step 0. Installation on Debain-based systems can now be done
via the SCI repository. See https://sci.ponomar.net/keyboard.html
for more information.
Step 1. On other systems (Fedora, CentOS, etc.), you can do a manual install.
Download and install the the ibus-m17n package.
On most distributions, this can be done from the package manager, e.g.,
on Debian-based systems:
$ sudo apt-get install ibus-m17n
But you can also download the latest source code from here:
https://github.com/ibus/ibus/wiki
and follow the installation instructions there.
Step 2. Set IBus to be your default input method
This is done by running:
$ im-config
and selecting ibus
Step 3. Check that your m17n library installation is sane.
The m17n data should be installed in your /usr/share/m17n/ directory:
$ ls /usr/share/m17n/
If not, you will need to find your m17n data directory and set
DESTDIR in Step 4 to the appropriate directory.
Step 4. Install the Slavonic m17n data:
In the directory where you have downloaded the files of this package, run:
$ sudo make install DESTDIR=/
This copies the Church Slavonic data into /usr/share/m17n/.
Step 5. Log out from your session and log back in. Actually, this is probably
unnecessary, and it may be sufficient to just run:
$ ibus restart
IBus will re-read the m17n data directory and find the newly installed data files.
Step 6. Load the keyboard layout(s) you wish to use
Run:
$ ibus-setup
On the Input Method tab, check Customize active input methods.
Click on Select input method.
Click on Show all input methods.
Scroll down and select:
* For Church Slavic input method:
Church Slavic; Old Slavonic; Old Church Slavonic
Select the kbd (m17n) variant (for Cyrillic)
or the glag (m17n) variatn (for Glagolitic) <--- THIS IS EXPERIMENTAL
* For Russian Extended input method:
Russian
Select the ext (m17n) variant (for standard Russian ЙЦУКЕН)
or the phonext (m17n) variant (for phonetic Russian ЯВЕРТЫ)
Click Add
Click Close
Installation should be complete.
Usage instructions
============================
By default, IBus can be turned off and on by hitting Ctrl+Space.
By default, you can switch between input methods by hitting Ctrl+Shift+Space.
You can customize these keyboard shortcuts by running:
$ ibus-setup
and changing the options on the General tab.
The key mappings are described in detail in
https://www.ponomar.net/files/docen.pdf.
If you are doing serious work typesetting Church Slavonic, you should read
Unicode Technical Note 41 available at
https://www.unicode.org/notes/tn41/
so that you don't make silly mistakes.
We also suggest installing Ponomar Unicode and other Unicode fonts
available at https://sci.ponomar.net/fonts.html.
Modification instructions
============================
This software is FREE SOFTWARE, and that means that you are free to
modify it under the terms of the GNU General Public License.
Should you choose to modify the keyboard layout, note that:
The file that contains the input method data is the .mim file
(for example, for the Church Slavonic layout, cu-kbd.mim).
It is written in a LIPS-like language.
The format is fairly self-explanatory.
For details, see the m17n library documentation at:
http://www.nongnu.org/m17n/
Good luck.
Uninstallation instructions
============================
Should you wish to remove the software:
Step 0. If you used the package manager, it is as simple as:
$ sudo apt-get remove m17n-cu
Step 1. Otherwise:
Run
$ ibus-setup
Go to the Input Method tab
Click on Church Slavic; Old Slavonic; Old Church Slavonic - kbd (m17n); (or Russian - ext (m17n))
Click Remove
Click Close
Step 2.
You can get rid of IBus by running
$ im-config
and selecting a different input method.
Step 3.
You can get rid of the m17n Slavonic data by running:
$ sudo make uninstall DESTDIR=/
from the directory where you downloaded the source code.
Or you can delete the files by hand from your m17n data directory,
which is usually /usr/share/m17n/
You assume all responsibility for any rm commands you run as sudo.
Please be careful. You can do damage to your system.
Bug reports, Comments, etc.
============================
Post an issue on:
https://github.com/typiconman/m17n-cu/issues
Warranty
============================
This software is distributed in AS-IS condition, with ABSOLUTELY
NO WARRANTY of any kind; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.