La nepersona Esperanta rettaglibro de dominiko
[Lastatempaj enskriboj][Arĥivo][Geamikoj][Uzantinformoj]
Below are the 4 most recent journal entries recorded in the "dominiko" journal:
04:19 pm
[Ligilo] |
C'HWERTY keyboard in Ubuntu-9.10 / Klavaro C'HWERTY en Ubuntu-9.10 en
Patches
to add support of the Breton C'HWERTY keyboard have been partially
included in Ubuntu-9.10. Unfortunately a few things are still missing
in Ubuntu-9.10 to make it work without additional tweaks:
- Support of the caps lock key for keys C´H and CH requires patching
files /usr/share/X11/xkb/symbols/fr and /usr/share/X11/xkb/types/extra
as follows:
pel@pel-laptop:~$ diff -c /usr/share/X11/xkb/symbols/fr.orig /usr/share/X11/xkb/symbols/fr
*** /usr/share/X11/xkb/symbols/fr.orig 2009-11-29 14:04:18.372308169 +0100
--- /usr/share/X11/xkb/symbols/fr 2009-11-29 15:00:22.293311210 +0100
***************
*** 723,730 ****
// Second row
// Handling the C'H key correctly requires an inputmethod (XIM)
// See https://bugs.freedesktop.org/show_bug.cgi?id=19506
! // key <AD01> { [ trigraph_c_h, trigraph_C_h, trigraph_C_H, Greek_alpha ] };
! key <AD01> { [ UF8FD, UF8FE, UF8FF, Greek_alpha ] };
key <AD02> { [ w, W, Greek_omega, Greek_omega ] };
key <AD03> { [ e, E, EuroSign, Greek_epsilon ] };
key <AD04> { [ r, R, Greek_rho, Greek_rho ] };
--- 723,732 ----
// Second row
// Handling the C'H key correctly requires an inputmethod (XIM)
// See https://bugs.freedesktop.org/show_bug.cgi?id=19506
! // key <AD01> { type[group1] = "FOUR_LEVEL_C_HWERTY",
! // [ trigraph_c_h, trigraph_C_h, trigraph_C_H, Greek_alpha ] };
! key <AD01> { type[group1] = "FOUR_LEVEL_C_HWERTY",
! [ UF8FD, UF8FE, UF8FF, Greek_alpha ] };
key <AD02> { [ w, W, Greek_omega, Greek_omega ] };
key <AD03> { [ e, E, EuroSign, Greek_epsilon ] };
key <AD04> { [ r, R, Greek_rho, Greek_rho ] };
***************
*** 761,768 ****
key <AB06> { [ n, N, Greek_nu, Greek_nu ] };
// Handling the CH key correctly requires an inputmethod (XIM)
// See https://bugs.freedesktop.org/show_bug.cgi?id=19506
! // key <AB07> { [ digraph_ch, digraph_Ch, digraph_CH, Greek_omicron ] };
! key <AB07> { [ UF8FA, UF8FB, UF8FC, Greek_omicron ] };
key <AB08> { [ ntilde, Ntilde ] };
key <AB09> { [ period, colon, section, copyright ] };
key <AB10> { [ comma, semicolon, percent ] };
--- 763,772 ----
key <AB06> { [ n, N, Greek_nu, Greek_nu ] };
// Handling the CH key correctly requires an inputmethod (XIM)
// See https://bugs.freedesktop.org/show_bug.cgi?id=19506
! // key <AB07> { type[group1] = "FOUR_LEVEL_C_HWERTY",
! // [ digraph_ch, digraph_Ch, digraph_CH, Greek_omicron ] };
! key <AB07> { type[group1] = "FOUR_LEVEL_C_HWERTY",
! [ UF8FA, UF8FB, UF8FC, Greek_omicron ] };
key <AB08> { [ ntilde, Ntilde ] };
key <AB09> { [ period, colon, section, copyright ] };
key <AB10> { [ comma, semicolon, percent ] };
pel@pel-laptop:~$ diff -c /usr/share/X11/xkb/types/extra.orig /usr/share/X11/xkb/types/extra
*** /usr/share/X11/xkb/types/extra.orig 2009-11-29 14:23:11.416291776 +0100
--- /usr/share/X11/xkb/types/extra 2009-11-29 14:42:02.116291991 +0100
***************
*** 139,144 ****
--- 139,165 ----
level_name[Level4] = "Shift Alt";
level_name[Level5] = "Lock";
};
+
+ // Type for Breton keyboard C'HWERTY.
+ // It makes it possible to type the C'H C'h c'h trigraphs
+ // and CH Ch ch digraphs present on the keyboard.
+ // When typing capsLock, this key type is needed to
+ // output C'H and CH.
+ type "FOUR_LEVEL_C_HWERTY" {
+ modifiers = Shift+Lock+LevelThree;
+ map[None] = Level1;
+ map[Shift] = Level2;
+ map[LevelThree] = Level3;
+ map[Shift+LevelThree] = Level4;
+ map[Lock] = Level3;
+ map[Lock+Shift] = Level1;
+ map[Lock+LevelThree] = Level2;
+ map[Lock+Shift+LevelThree] = Level4;
+ level_name[Level1] = "Base";
+ level_name[Level2] = "Shift";
+ level_name[Level3] = "Alt Base";
+ level_name[Level4] = "Shift Alt";
+ };
};
// This enables the four level shifting also for the keypad.
- Keysyms of trigraph C´H and digraph CH have not yet been
added in X11. So until this is done in X11, supporting the
Breton C'HWERTY keyboard requires private-use keysyms
which can be done by adding a file ~/.XCompose:
pel@pel-laptop:~$ cat ~/.XCompose
#
# Breton trigraph & digraphs
# Dominique Pellé <dominique.pelle@gmail.com>
#
#<digraph_ch> : "ch"
#<digraph_Ch> : "Ch"
#<digraph_CH> : "CH"
#<trigraph_c_h> : "c´h"
#<trigraph_C_h> : "C´h"
#<trigraph_C_H> : "C´H"
<UF8FA> : "ch"
<UF8FB> : "Ch"
<UF8FC> : "CH"
<UF8FD> : "c´h"
<UF8FE> : "C´h"
<UF8FF> : "C´H"
- Support of the C´H and CH keys requires an input methode (XIM).
XIM can be enabled by adding "export GTK_IM_MODULE=xim" in
file /etc/environment:
pel@pel-laptop:~$ diff -c /etc/environment.orig /etc/environment
*** /etc/environment.orig 2009-11-29 15:07:34.916311751 +0100
--- /etc/environment 2009-11-29 14:14:08.676291508 +0100
***************
*** 1 ****
--- 1,2 ----
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
+ export GTK_IM_MODULE=xim
After doing all those changes, the C'HWERTY keyboard works fine in Ubuntu-9.10. I've opened bug#: 25349 to track the issues.
eo
Flikaĵoj
por funkciigi la bretonan klavaron C'HWERTY estas nun parte en Ubuntu-9.10.
Bedaŭrinde, kelkaj aĵoj ankoraŭ mankas en Ubuntu-9.10 por ke ĝi funkciu
sen aldonaj agordaĵoj:
- Funkciigi la klavojn C´H kaj CH bezonigas enan metodon (XIM).
XIM ŝalteblas per aldono de "export GTK_IM_MODULE=xim" en la
dosiero /etc/environment.
- Subteno de la majuskla baskulo por la klavoj CH and C´h bezonigas
aldonajn flikaĵojn de la dosieroj /usr/share/X11/xkb/symbols/fr kaj
/usr/share/X11/xkb/types/extra.
- Subteno de la klavoj C´H kaj CH ne estas ankoraŭ aldonitaj en X11.
Ĝis tiam, oni devas aldoni signojn por privata uzo en la dosiero ~/.XCompose.
Post ĉiuj tiuj ŝanĝoj, la klavaro C'HWERTY bone funkcias en Ubuntu-9.10.
br N'a ket mat en dro siwazh
ar c´hlavier C'HWERTY dindan Ubuntu-9.10 c´hoazh hep un tamm labour.
Met aes a-walc´h eo dresañ pep tra memes tra evel displeget uheloc´h.
Tags: gnu/linukso
|
09:43 pm
[Ligilo] |
C'HWERTY Keyboard in Ubuntu / Klavaro C'HWERTY en Ubuntu / Ar c´hlavier C'HWERTY dindan Ubuntu en I recently bought the Breton
C'HWERTY
keyboard which I talked about
earlier.
It worked well with Windows but I wanted to used it with Linux.
I could only find a xmodmap file,
but xmodmap is now deprecated in Ubuntu which uses
Xkb.
C'HWERTY keyboard
layout thus wasn't supported unfortunately in Ubuntu-8.10. So I spent the
weekend reading about how to set up keyboard layouts in Xorg and I hacked
a C'HWERTY keyboard layout. Properly handling the trigraph
C´h
and digraph
Ch
caused me some headaches but
asking in the Xorg mailing list
I found the solution.
The Breton keyboard now works wonderfully in Ubuntu-8.10.
Of course, even Esperanto letters are also mapped.
Hopefully the C'HWERTY keyboard layout
will be integrated
in the official Xorg and Linux distributions.
Here are screenshots of the keyboard selection in GNOME:

Here are the files that I modified to get the keyboard to work:
eo Mi freŝdate aĉetis la bretonan klavaron
C'HWERTY
pri kiu mi skribis pli
malfrue.
Ĝi funkciis bone per Vindozo, sed mi volis uzi ĝin kun Linukso.
Mi nur povis trovi dosieron
xmodmap, sed xmodmap nun ne plus uziĝas en Ubuntu, ĉar Xkb anstataŭigis ĝin. La klavaro C'HWERTY
ne estis bedaŭrinde subtenata de Ubuntu-8.10. Do mi pasigis la semajnfinon
legante pri kiel krei novan klavaran mapigon por Xorg kaj kodumis
subtenon de la klavaro C'HWERTY. Ĝusta traktado de la trigrafo
C´h
kaj digrafo
Ch
kaŭzis iom da kapdoloroj, sed
demandante ĉe la dissendlisto de Xorg
mi trovis solvon.
La bretona klavaro nun funkcias bonege per Ubuntu-8.10.
Kompreneble eĉ Esperantaj literoj estas ankaŭ mapigitaj.
Espereble subteno de la klavaro C'HWERTY
enigos
en la oficiala Xorg kaj en Linuksaj distribuaĵoj.
Ĉi-supre estas ekrankopioj de la klavara elekto en GNOME, kiu nun
proponas la elekton C'HWERTY. Ĉiuj ŝanĝitaj dosieroj,
troveblas ĉi-supre.
fr J'ai récemment acheté
le clavier breton
C'HWERTY
à propos duquel j'avais
déjà écrit.
Il fonctionnait bien avec Windows mais je souhaitais l'utiliser avec Linux.
Je n'ai trouvé qu'un fichier
xmodmap
mais xmodmap est maintenant obsolète et remplacé par Xkb sous Ubuntu.
Le clavier C'HWERTY n'était donc pas supporté par Ubuntu-8.10.
J'ai donc passé le weekend à lire comment créer un clavier
pour Xorg et j'ai finalement configuré le clavier C'HWERTY.
Traiter correctement le trigramme
C´h
et le digramme
Ch
a causé quelques maux de tête, mais après avoir
demandé dans la liste de diffusion de Xorg
j'ai trouvé la solution.
Le clavier breton fonctionne maintenant correctement avec Ubuntu-8.10.
Évidemment, les lettres espéranto sont aussi mappées.
J'espère que le support du clavier C'HWERTY
sera intégré
à la version officielle de Xorg et dans les
distributions Linux.
Tous les fichiers modifiés se trouvent ci-dessus.
br Mont a ra en-dro ar
c´hlavier brezhoneg C'HWERTY
dindan Ubuntu bremañ.
Tags: bretonio, gnu/linukso
|
10:27 pm
[Ligilo] |
Esperanta lokaĵaro de Ubuntu
Mi finfine promociis mian sistemon Ubuntu
de la versio 8.4.1 (Hardy Heron) al la versio 8.10 (Intrepid Ibex). Kvankam la promocio glate okazis,
mi bedaŭrinde konstatas, ke la lokaĵaro de Esperanto eo_XX.UTF-8
ankoraŭ fuŝas, same kiel en la antaŭaj versioj. Mi vidas almenaŭ tri
cimojn, kiam mi uzas la lokaĵaron eo_XX.UTF-8:
- La kompona klavo
tute ne funkcias. Tiu klavo tre utilas por tajpi supersignojn.
- Kiam mi lanĉas xterm, mi vidas mesaĝon:
Warning:
locale not supported by Xlib, locale set to C.
-
Vim kolapsas kiam mi uzas la X-tondejon kune kun la viduma modo.
Bonŝance,
ĉio facile ripareblas: nur malkomentu kelkajn liniojn pri la
Esperanta lokaĵaro en la dosieroj
/usr/share/X11/locale.dir kaj
/usr/share/X11/compose.dir.
Mi nur esperas, ke tiu cimo estos defaŭlte riparita en
la venontaj versioj.
Tags: gnu/linukso
|
11:23 am
[Ligilo] | Unu el la unua aĵo, kion mi ĉiam faras post kiam mi instalas Ubuntu,
estas agordi la tiparon de gnome-terminal por ebligi rastrumajn tiparojn.
La defaŭlta tiparo de gnome-terminal aspektas tro grande laŭ mia gusto
kaj malbele. Mi ne ŝatas glatigajn tiparojn en terminalo. Jen kiel ĝi aspektas:
Jen kiel aspektas la rastruma tiparo MiscFixed post agordo:
La rastruma tiparo MiscFixed pli agrablas laŭ mia gusto, kaj eblas
enmeti pliajn fenestrojn sur la ekrano, ĉar la tiparo pli malgrandas.
Rastruma tiparo igas la terminalon ankaŭ pli rapida.
Surprize, ne eblas defaŭlte elekti rastruman tiparon en gnome-terminalo.
Ĉar mi ĉiam devas reserĉi kiel agordi tion, mi afiŝas ĝin tie, por ke mi
ne plu forgesu, kaj eble estos ankaŭ utila al iu alia.
Unue, instalu la rastruman tiparon MiscFixed:
$ mkdir ~/.fonts
$ cd ~/.fonts
$ wget http://dominique.pelle.free.fr/miscfixed.zip
$ unzip miscfixed.zip
Tiam, ebligu rastrumajn tiparojn (tio estas ne-glatigajn tiparojn) per:
$ sudo dpkg-reconfigure fontconfig-config
Elektu ĉiujn defaŭltajn opciojn, krom al la demando
"Enable bitmapped fonts by default?" (Defaŭlte
ebligi rastrumajn tiparojn?") kie vi devas elekti "Yes" (Jes).
Retartigu novan gnome-terminal, kaj tiam devus esti
ebla elekti la tiparon MiscFixed el la ĉefa menuo de gnome-terminal
(Edit → Current Profile...).
En la langeto "General", malŝaltu "Use the system width font"
kaj elektu la tiparon "MiscFixed".
Tags: gnu/linukso
|
|