On Wed, Apr 02, 2014 at 02:27:37PM +0900, Yukiharu Yabuki wrote:
> Only modification of '/usr/share/uim/generic-key-custom.scm' enable
> me start to convert KANJI.

i create ~/.uim.d/customs/custom-global-keys1.scm with only below content,

(define generic-on-key '("zenkaku-hankaku" "<Control> "))
(define generic-on-key? (make-key-predicate '("zenkaku-hankaku" "<Control> ")))
(define generic-off-key '("zenkaku-hankaku" "<Control> "))
(define generic-off-key? (make-key-predicate '("zenkaku-hankaku" "<Control> ")))

Control+Space on/off works.
i commented out generic-on-key? and generic-off-key? lines,
Control+Space on/off does not work.

if your custom-global-keys1.scm does not have generic-on-key? and
generic-off-key? lines, please retry after adding them.

% ls -laR .uim.d
.uim.d:
total 16
drwx------  4 dai dai 4096 Apr  7 22:17 .
drwxr-xr-x 25 dai dai 4096 Apr  7 22:24 ..
drwxr-xr-x  2 dai dai 4096 Apr  7 22:23 customs
drwx------  2 dai dai 4096 Apr  7 22:23 fep

.uim.d/customs:
total 12
drwxr-xr-x 2 dai dai 4096 Apr  7 22:23 .
drwx------ 4 dai dai 4096 Apr  7 22:17 ..
-rw-r--r-- 1 dai dai  278 Apr  7 22:18 custom-global-keys1.scm

.uim.d/fep:
total 8
drwx------ 2 dai dai 4096 Apr  7 22:23 .
drwx------ 4 dai dai 4096 Apr  7 22:17 ..
%

% cat .uim.d/customs/custom-global-keys1.scm
(define generic-on-key '("zenkaku-hankaku" "<Control> "))
(define generic-on-key? (make-key-predicate '("zenkaku-hankaku" "<Control> ")))
(define generic-off-key '("zenkaku-hankaku" "<Control> "))
(define generic-off-key? (make-key-predicate '("zenkaku-hankaku" "<Control> ")))
%
-- 
Regards,
        dai

GPG Fingerprint = 0B29 D88E 42E6 B765 B8D8 EA50 7839 619D D439 668E

Attachment: signature.asc
Description: Digital signature

Reply via email to