Closed wind0204 closed 11 years ago
Which kmscon font-backend do you use? Can you please start kmscon with "--debug" and show me the log output? It's written to stdout by default, I don't know where inittab forwards that, sorry.
Regards David
I didn't touch the default configurations so kmscon font-backend might be the pango.
debug log :
[0000.000000] NOTICE: kmscon Revision kmscon-6-125-gdd13dd0 Feb 18 2013 15:46:17
[0000.000206] INFO: conf: reading config file /etc/kmscon/kmscon.conf
[0000.000400] DEBUG: module: loading global modules from /usr/lib/kmscon (kmscon_load_modules() in src/kmscon_module.c:188)
[0000.000669] DEBUG: module: opening module /usr/lib/kmscon/mod-unifont.so (kmscon_module_open() in src/kmscon_module.c:53)
[0000.001081] DEBUG: module: Initializing module: /usr/lib/kmscon/mod-unifont.so (kmscon_module_open() in src/kmscon_module.c:83)
[0000.001314] DEBUG: module: Date: Feb 18 2013 15:46:12 (kmscon_module_open() in src/kmscon_module.c:95)
[0000.001506] DEBUG: module: GIT: kmscon-6-125-gdd13dd0 (kmscon_module_open() in src/kmscon_module.c:96)
[0000.001707] DEBUG: module: Hooks: (nil) 0x7fa706e5d2a0 0x7fa706e5d290 (nil) (kmscon_module_open() in src/kmscon_module.c:101)
[0000.001923] DEBUG: module: loading module /usr/lib/kmscon/mod-unifont.so (kmscon_module_load() in src/kmscon_module.c:154)
[0000.002133] DEBUG: font: register font backend unifont (kmscon_font_register() in src/font.c:168)
[0000.002328] DEBUG: module: opening module /usr/lib/kmscon/mod-bbulk.so (kmscon_module_open() in src/kmscon_module.c:53)
[0000.002631] DEBUG: module: Initializing module: /usr/lib/kmscon/mod-bbulk.so (kmscon_module_open() in src/kmscon_module.c:83)
[0000.002884] DEBUG: module: Date: Feb 18 2013 15:46:15 (kmscon_module_open() in src/kmscon_module.c:95)
[0000.003069] DEBUG: module: GIT: kmscon-6-125-gdd13dd0 (kmscon_module_open() in src/kmscon_module.c:96)
[0000.003253] DEBUG: module: Hooks: (nil) 0x7fa706c59f90 0x7fa706c59f80 (nil) (kmscon_module_open() in src/kmscon_module.c:101)
[0000.003458] DEBUG: module: loading module /usr/lib/kmscon/mod-bbulk.so (kmscon_module_load() in src/kmscon_module.c:154)
[0000.003655] DEBUG: text: register text backend bbulk (kmscon_text_register() in src/text.c:78)
[0000.003830] DEBUG: module: opening module /usr/lib/kmscon/mod-gltex.so (kmscon_module_open() in src/kmscon_module.c:53)
[0000.004163] DEBUG: module: Initializing module: /usr/lib/kmscon/mod-gltex.so (kmscon_module_open() in src/kmscon_module.c:83)
[0000.004375] DEBUG: module: Date: Feb 18 2013 15:46:16 (kmscon_module_open() in src/kmscon_module.c:95)
[0000.004551] DEBUG: module: GIT: kmscon-6-125-gdd13dd0 (kmscon_module_open() in src/kmscon_module.c:96)
[0000.004741] DEBUG: module: Hooks: (nil) 0x7fa706a53b50 0x7fa706a53b40 (nil) (kmscon_module_open() in src/kmscon_module.c:101)
[0000.004950] DEBUG: module: loading module /usr/lib/kmscon/mod-gltex.so (kmscon_module_load() in src/kmscon_module.c:154)
[0000.005146] DEBUG: text: register text backend gltex (kmscon_text_register() in src/text.c:78)
[0000.005312] DEBUG: module: opening module /usr/lib/kmscon/mod-pango.so (kmscon_module_open() in src/kmscon_module.c:53)
[0000.008853] DEBUG: module: Initializing module: /usr/lib/kmscon/mod-pango.so (kmscon_module_open() in src/kmscon_module.c:83)
[0000.009088] DEBUG: module: Date: Feb 18 2013 15:46:14 (kmscon_module_open() in src/kmscon_module.c:95)
[0000.009266] DEBUG: module: GIT: kmscon-6-125-gdd13dd0 (kmscon_module_open() in src/kmscon_module.c:96)
[0000.009444] DEBUG: module: Hooks: (nil) 0x7fa70684d670 0x7fa70684d660 (nil) (kmscon_module_open() in src/kmscon_module.c:101)
[0000.009652] DEBUG: module: loading module /usr/lib/kmscon/mod-pango.so (kmscon_module_load() in src/kmscon_module.c:154)
[0000.009861] DEBUG: font: register font backend pango (kmscon_font_register() in src/font.c:168)
[0000.010040] DEBUG: font: register font backend 8x16 (kmscon_font_register() in src/font.c:168)
[0000.010208] DEBUG: text: register text backend bblit (kmscon_text_register() in src/text.c:78)
[0000.010393] DEBUG: eloop: new eloop object 0x24c0ce0 (ev_eloop_new() in src/eloop.c:673)
[0000.010597] INFO: systemd: system not booted with systemd, disabling multi-seat support
[0000.010877] DEBUG: scanning for devices... (setup_app() in src/kmscon_main.c:576)
[0000.011041] DEBUG: new seat seat0 (app_seat_new() in src/kmscon_main.c:191)
[0000.011195] DEBUG: parsing seat configuration for seat seat0 (kmscon_conf_load_seat() in src/kmscon_conf.c:666)
[0000.020872] DEBUG: input_uxkb: new keyboard description (, kr, , ) (uxkb_desc_init() in src/uterm_input_uxkb.c:85)
[0000.021089] DEBUG: input: new object 0x24c2be0 (uterm_input_new() in src/uterm_input.c:262)
[0000.021310] DEBUG: vt: open vt 0x24c8470 (real_open() in src/uterm_vt.c:312)
[0000.021451] NOTICE: vt: using tty /dev/tty1
[0000.021560] DEBUG: vt: new tty ID is 1 (open_tty() in src/uterm_vt.c:299)
[0000.021739] DEBUG: vt: previous VT KBMODE was 3 (real_open() in src/uterm_vt.c:358)
[0000.021769] DEBUG: input: wakeing up (uterm_input_wake_up() in src/uterm_input.c:455)
[0008.820081] DEBUG: input: free object 0x24c2be0 (uterm_input_unref() in src/uterm_input.c:291)terminal.c:432)c:476).c:334)ont.c:339).c:320)uterm_monitor.c:622[0008.825553] DEBUG: eloop: free eloop object 0x24c0ce0 (ev_eloop_unref() in src/eloop.c:735)
[0008.830911] DEBUG: text: unregister backend bblit (kmscon_text_unregister() in src/text.c:102)
[0008.836518] DEBUG: font: unregister font backend 8x16 (kmscon_font_unregister() in src/font.c:192)
[0008.841940] DEBUG: module: unloading modules (kmscon_unload_modules() in src/kmscon_module.c:266)
[0008.847325] DEBUG: module: unloading module /usr/lib/kmscon/mod-unifont.so (kmscon_module_unload() in src/kmscon_module.c:173)
[0008.853008] DEBUG: font: unregister font backend unifont (kmscon_font_unregister() in src/font.c:192)
[0008.858436] DEBUG: module: closing module /usr/lib/kmscon/mod-unifont.so (kmscon_module_unref() in src/kmscon_module.c:135)
[0008.864001] DEBUG: module: unloading module /usr/lib/kmscon/mod-bbulk.so (kmscon_module_unload() in src/kmscon_module.c:173)
[0008.869655] DEBUG: text: unregister backend bbulk (kmscon_text_unregister() in src/text.c:102)
[0008.875082] DEBUG: module: closing module /usr/lib/kmscon/mod-bbulk.so (kmscon_module_unref() in src/kmscon_module.c:135)
[0008.880626] DEBUG: module: unloading module /usr/lib/kmscon/mod-gltex.so (kmscon_module_unload() in src/kmscon_module.c:173)
[0008.886410] DEBUG: text: unregister backend gltex (kmscon_text_unregister() in src/text.c:102)
[0008.891925] DEBUG: module: closing module /usr/lib/kmscon/mod-gltex.so (kmscon_module_unref() in src/kmscon_module.c:135)
[0008.897477] DEBUG: module: unloading module /usr/lib/kmscon/mod-pango.so (kmscon_module_unload() in src/kmscon_module.c:173)
[0008.903240] DEBUG: font: unregister font backend pango (kmscon_font_unregister() in src/font.c:192)
[0008.908766] DEBUG: module: closing module /usr/lib/kmscon/mod-pango.so (kmscon_module_unref() in src/kmscon_module.c:135)
[0008.914375] INFO: exiting
What did you do to get this log? It's missing the interesting part:
[0000.021769] DEBUG: input: wakeing up (uterm_input_wake_up() in src/uterm_input.c:455) .. what happened here? .. [0008.820081] DEBUG: input: free object 0x24c2be0 (uterm_input_unref() in src/uterm_input.c:291)terminal.c:432)c:476).c:334)ont.c:339).c:320)uterm_monitor.c:622[0008.825553] DEBUG: eloop: free eloop object 0x24c0ce0 (ev_eloop_unref() in src/eloop.c:735)
According to the log you didn't even open the TTY where kmscon is running. Could you try switching to the VT and typing something? kmscon doesn't create any fonts unless it has to draw anything.
Thanks David
I might have killed the kmscon session without a login.
here is another log that I got by doing a login and a "less" with kmscon ( inittab -> agetty (tty1) -> login to root -> "kmscon --debug" -> login -> Korean alphabet testing -> killed the kmscon process in a ssh session with "kill n" -> copied the log on screen with mouse
[0000.000000] NOTICE: kmscon Revision kmscon-6-125-gdd13dd0 Feb 18 2013 15:46:17
[0000.000207] INFO: conf: reading config file /etc/kmscon/kmscon.conf
[0000.000402] DEBUG: module: loading global modules from /usr/lib/kmscon (kmscon_load_modules() in src/kmscon_module.c:188)
[0000.000670] DEBUG: module: opening module /usr/lib/kmscon/mod-unifont.so (kmscon_module_open() in src/kmscon_module.c:53)
[0000.001087] DEBUG: module: Initializing module: /usr/lib/kmscon/mod-unifont.so (kmscon_module_open() in src/kmscon_module.c:83)
[0000.001318] DEBUG: module: Date: Feb 18 2013 15:46:12 (kmscon_module_open() in src/kmscon_module.c:95)
[0000.001510] DEBUG: module: GIT: kmscon-6-125-gdd13dd0 (kmscon_module_open() in src/kmscon_module.c:96)
[0000.001700] DEBUG: module: Hooks: (nil) 0x7f22feec72a0 0x7f22feec7290 (nil) (kmscon_module_open() in src/kmscon_module.c:101)
[0000.001960] DEBUG: module: loading module /usr/lib/kmscon/mod-unifont.so (kmscon_module_load() in src/kmscon_module.c:154)
[0000.002170] DEBUG: font: register font backend unifont (kmscon_font_register() in src/font.c:168)
[0000.002368] DEBUG: module: opening module /usr/lib/kmscon/mod-bbulk.so (kmscon_module_open() in src/kmscon_module.c:53)
[0000.002676] DEBUG: module: Initializing module: /usr/lib/kmscon/mod-bbulk.so (kmscon_module_open() in src/kmscon_module.c:83)
[0000.002928] DEBUG: module: Date: Feb 18 2013 15:46:15 (kmscon_module_open() in src/kmscon_module.c:95)
[0000.003116] DEBUG: module: GIT: kmscon-6-125-gdd13dd0 (kmscon_module_open() in src/kmscon_module.c:96)
[0000.003303] DEBUG: module: Hooks: (nil) 0x7f22fecc3f90 0x7f22fecc3f80 (nil) (kmscon_module_open() in src/kmscon_module.c:101)
[0000.003530] DEBUG: module: loading module /usr/lib/kmscon/mod-bbulk.so (kmscon_module_load() in src/kmscon_module.c:154)
[0000.003757] DEBUG: text: register text backend bbulk (kmscon_text_register() in src/text.c:78)
[0000.003938] DEBUG: module: opening module /usr/lib/kmscon/mod-gltex.so (kmscon_module_open() in src/kmscon_module.c:53)
[0000.004284] DEBUG: module: Initializing module: /usr/lib/kmscon/mod-gltex.so (kmscon_module_open() in src/kmscon_module.c:83)
[0000.004513] DEBUG: module: Date: Feb 18 2013 15:46:16 (kmscon_module_open() in src/kmscon_module.c:95)
[0000.004705] DEBUG: module: GIT: kmscon-6-125-gdd13dd0 (kmscon_module_open() in src/kmscon_module.c:96)
[0000.004908] DEBUG: module: Hooks: (nil) 0x7f22feabdb50 0x7f22feabdb40 (nil) (kmscon_module_open() in src/kmscon_module.c:101)
[0000.005119] DEBUG: module: loading module /usr/lib/kmscon/mod-gltex.so (kmscon_module_load() in src/kmscon_module.c:154)
[0000.005321] DEBUG: text: register text backend gltex (kmscon_text_register() in src/text.c:78)
[0000.005488] DEBUG: module: opening module /usr/lib/kmscon/mod-pango.so (kmscon_module_open() in src/kmscon_module.c:53)
[0000.009021] DEBUG: module: Initializing module: /usr/lib/kmscon/mod-pango.so (kmscon_module_open() in src/kmscon_module.c:83)
[0000.009259] DEBUG: module: Date: Feb 18 2013 15:46:14 (kmscon_module_open() in src/kmscon_module.c:95)
[0000.009441] DEBUG: module: GIT: kmscon-6-125-gdd13dd0 (kmscon_module_open() in src/kmscon_module.c:96)
[0000.009622] DEBUG: module: Hooks: (nil) 0x7f22fe8b7670 0x7f22fe8b7660 (nil) (kmscon_module_open() in src/kmscon_module.c:101)
[0000.009852] DEBUG: module: loading module /usr/lib/kmscon/mod-pango.so (kmscon_module_load() in src/kmscon_module.c:154)
[0000.010051] DEBUG: font: register font backend pango (kmscon_font_register() in src/font.c:168)
[0000.010232] DEBUG: font: register font backend 8x16 (kmscon_font_register() in src/font.c:168)
[0000.010402] DEBUG: text: register text backend bblit (kmscon_text_register() in src/text.c:78)
[0000.010593] DEBUG: eloop: new eloop object 0x101ace0 (ev_eloop_new() in src/eloop.c:673)
[0000.010810] INFO: systemd: system not booted with systemd, disabling multi-seat support
[0000.011084] DEBUG: scanning for devices... (setup_app() in src/kmscon_main.c:576)
[0000.011252] DEBUG: new seat seat0 (app_seat_new() in src/kmscon_main.c:191)
[0000.011412] DEBUG: parsing seat configuration for seat seat0 (kmscon_conf_load_seat() in src/kmscon_conf.c:666)
[0000.021141] DEBUG: input_uxkb: new keyboard description (, kr, , ) (uxkb_desc_init() in src/uterm_input_uxkb.c:85)
[0000.021364] DEBUG: input: new object 0x101cbe0 (uterm_input_new() in src/uterm_input.c:262)
[0000.021591] DEBUG: vt: open vt 0x1022470 (real_open() in src/uterm_vt.c:312)
[0000.021759] NOTICE: vt: using tty /dev/tty1
[0000.021872] DEBUG: vt: new tty ID is 1 (open_tty() in src/uterm_vt.c:299)
[0000.022023] DEBUG: vt: previous VT KBMODE was 3 (real_open() in src/uterm_vt.c:358)
[0000.022051] DEBUG: input: wakeing up (uterm_input_wake_up() in src/uterm_input.c:455)
[0000.022075] DEBUG: seat: register session 0x101e560 (kmscon_seat_register_session() in src/kmscon_seat.c:929)
[0000.022099] DEBUG: dummy: new dummy object 0x1043f80 (kmscon_dummy_register() in src/kmscon_dummy.c:143)
[0043.692583] DEBUG: input: free object 0x101cbe0 (uterm_input_unref() in src/uterm_input.c:291)terminal.c:432)c:476).c:334)ont.c:339).c:320)uterm_monitor.c:622
[0043.698425] DEBUG: eloop: free eloop object 0x101ace0 (ev_eloop_unref() in src/eloop.c:735)
[0043.704394] DEBUG: text: unregister backend bblit (kmscon_text_unregister() in src/text.c:102)
[0043.710148] DEBUG: font: unregister font backend 8x16 (kmscon_font_unregister() in src/font.c:192)
[0043.715815] DEBUG: module: unloading modules (kmscon_unload_modules() in src/kmscon_module.c:266)
[0043.721677] DEBUG: module: unloading module /usr/lib/kmscon/mod-unifont.so (kmscon_module_unload() in src/kmscon_module.c:173)
[0043.727342] DEBUG: font: unregister font backend unifont (kmscon_font_unregister() in src/font.c:192)
[0043.732983] DEBUG: module: closing module /usr/lib/kmscon/mod-unifont.so (kmscon_module_unref() in src/kmscon_module.c:135)
[0043.738963] DEBUG: module: unloading module /usr/lib/kmscon/mod-bbulk.so (kmscon_module_unload() in src/kmscon_module.c:173)
[0043.744706] DEBUG: text: unregister backend bbulk (kmscon_text_unregister() in src/text.c:102)
[0043.750488] DEBUG: module: closing module /usr/lib/kmscon/mod-bbulk.so (kmscon_module_unref() in src/kmscon_module.c:135)
[0043.756471] DEBUG: module: unloading module /usr/lib/kmscon/mod-gltex.so (kmscon_module_unload() in src/kmscon_module.c:173)
[0043.762220] DEBUG: text: unregister backend gltex (kmscon_text_unregister() in src/text.c:102)
[0043.768067] DEBUG: module: closing module /usr/lib/kmscon/mod-gltex.so (kmscon_module_unref() in src/kmscon_module.c:135)
[0043.774024] DEBUG: module: unloading module /usr/lib/kmscon/mod-pango.so (kmscon_module_unload() in src/kmscon_module.c:173)
[0043.779822] DEBUG: font: unregister font backend pango (kmscon_font_unregister() in src/font.c:192)
[0043.785907] DEBUG: module: closing module /usr/lib/kmscon/mod-pango.so (kmscon_module_unref() in src/kmscon_module.c:135)
here is another log long and I got this log by doing... ( inittab -> agetty (tty1) -> login to root -> "tmux new-session" -> "kmscon --debug" -> killed the kmscon process in a ssh session with "kill n" -> copied the log on screen with mouse -> regexing in vim )
[0000.000000] NOTICE: kmscon Revision kmscon-6-125-gdd13dd0 Feb 18 2013 15:46:17
[0000.000098] INFO: conf: reading config file /etc/kmscon/kmscon.conf
[0000.000185] DEBUG: module: loading global modules from /usr/lib/kmscon (kmscon_load_modules() in src/kmscon_module.c:188)
[0000.000273] DEBUG: module: opening module /usr/lib/kmscon/mod-unifont.so (kmscon_module_open() in src/kmscon_module.c:53)
[0000.000503] DEBUG: module: Initializing module: /usr/lib/kmscon/mod-unifont.so (kmscon_module_open() in src/kmscon_module.c:83)
[0000.000552] DEBUG: module: Date: Feb 18 2013 15:46:12 (kmscon_module_open() in src/kmscon_module.c:95)
[0000.000582] DEBUG: module: GIT: kmscon-6-125-gdd13dd0 (kmscon_module_open() in src/kmscon_module.c:96)
[0000.000610] DEBUG: module: Hooks: (nil) 0x7f728fbdb2a0 0x7f728fbdb290 (nil) (kmscon_module_open() in src/kmscon_module.c:101)
[0000.000641] DEBUG: module: loading module /usr/lib/kmscon/mod-unifont.so (kmscon_module_load() in src/kmscon_module.c:154)
[0000.000673] DEBUG: font: register font backend unifont (kmscon_font_register() in src/font.c:168)
[0000.000744] DEBUG: module: opening module /usr/lib/kmscon/mod-bbulk.so (kmscon_module_open() in src/kmscon_module.c:53)
[0000.000888] DEBUG: module: Initializing module: /usr/lib/kmscon/mod-bbulk.so (kmscon_module_open() in src/kmscon_module.c:83)
[0000.000927] DEBUG: module: Date: Feb 18 2013 15:46:15 (kmscon_module_open() in src/kmscon_module.c:95)
[0000.000956] DEBUG: module: GIT: kmscon-6-125-gdd13dd0 (kmscon_module_open() in src/kmscon_module.c:96)
[0000.000986] DEBUG: module: Hooks: (nil) 0x7f728f9d7f90 0x7f728f9d7f80 (nil) (kmscon_module_open() in src/kmscon_module.c:101)
[0000.001016] DEBUG: module: loading module /usr/lib/kmscon/mod-bbulk.so (kmscon_module_load() in src/kmscon_module.c:154)
[0000.001047] DEBUG: text: register text backend bbulk (kmscon_text_register() in src/text.c:78)
[0000.001080] DEBUG: module: opening module /usr/lib/kmscon/mod-gltex.so (kmscon_module_open() in src/kmscon_module.c:53)
[0000.001250] DEBUG: module: Initializing module: /usr/lib/kmscon/mod-gltex.so (kmscon_module_open() in src/kmscon_module.c:83)
[0000.001288] DEBUG: module: Date: Feb 18 2013 15:46:16 (kmscon_module_open() in src/kmscon_module.c:95)
[0000.001317] DEBUG: module: GIT: kmscon-6-125-gdd13dd0 (kmscon_module_open() in src/kmscon_module.c:96)
[0000.001345] DEBUG: module: Hooks: (nil) 0x7f728f7d1b50 0x7f728f7d1b40 (nil) (kmscon_module_open() in src/kmscon_module.c:101)
[0000.001375] DEBUG: module: loading module /usr/lib/kmscon/mod-gltex.so (kmscon_module_load() in src/kmscon_module.c:154)
[0000.001405] DEBUG: text: register text backend gltex (kmscon_text_register() in src/text.c:78)
[0000.001438] DEBUG: module: opening module /usr/lib/kmscon/mod-pango.so (kmscon_module_open() in src/kmscon_module.c:53)
[0000.004806] DEBUG: module: Initializing module: /usr/lib/kmscon/mod-pango.so (kmscon_module_open() in src/kmscon_module.c:83)
[0000.004872] DEBUG: module: Date: Feb 18 2013 15:46:14 (kmscon_module_open() in src/kmscon_module.c:95)
[0000.004901] DEBUG: module: GIT: kmscon-6-125-gdd13dd0 (kmscon_module_open() in src/kmscon_module.c:96)
[0000.004872] DEBUG: module: Date: Feb 18 2013 15:46:14 (kmscon_module_open() in src/kmscon_module.c:95)
[0000.004901] DEBUG: module: GIT: kmscon-6-125-gdd13dd0 (kmscon_module_open() in src/kmscon_module.c:96)
[0000.004931] DEBUG: module: Hooks: (nil) 0x7f728f5cb670 0x7f728f5cb660 (nil) (kmscon_module_open() in src/kmscon_module.c:101)
[0000.004962] DEBUG: module: loading module /usr/lib/kmscon/mod-pango.so (kmscon_module_load() in src/kmscon_module.c:154)
[0000.004992] DEBUG: font: register font backend pango (kmscon_font_register() in src/font.c:168)
[0000.005036] DEBUG: font: register font backend 8x16 (kmscon_font_register() in src/font.c:168)
[0000.005069] DEBUG: text: register text backend bblit (kmscon_text_register() in src/text.c:78)
[0000.005121] DEBUG: eloop: new eloop object 0x722ce0 (ev_eloop_new() in src/eloop.c:673)
[0000.005201] INFO: systemd: system not booted with systemd, disabling multi-seat support
[0000.005343] DEBUG: scanning for devices... (setup_app() in src/kmscon_main.c:576)
[0000.005390] DEBUG: new seat seat0 (app_seat_new() in src/kmscon_main.c:191)
[0000.005432] DEBUG: parsing seat configuration for seat seat0 (kmscon_conf_load_seat() in src/kmscon_conf.c:666)
[0000.014972] DEBUG: input_uxkb: new keyboard description (, kr, , ) (uxkb_desc_init() in src/uterm_input_uxkb.c:85)
[0000.015040] DEBUG: input: new object 0x724be0 (uterm_input_new() in src/uterm_input.c:262)
[0000.046852] DEBUG: vt: open vt 0x72a470 (real_open() in src/uterm_vt.c:312)
[0000.046890] NOTICE: vt: using tty /dev/tty7
[0000.142293] DEBUG: vt: new tty ID is 7 (open_tty() in src/uterm_vt.c:299)
[0000.142338] DEBUG: vt: previous VT KBMODE was 3 (real_open() in src/uterm_vt.c:358)
[0000.142380] DEBUG: seat: register session 0x726560 (kmscon_seat_register_session() in src/kmscon_seat.c:929)
[0000.142410] DEBUG: dummy: new dummy object 0x74beb0 (kmscon_dummy_register() in src/kmscon_dummy.c:143)
[0000.142439] DEBUG: seat: enable session 0x726560 (kmscon_session_enable() in src/kmscon_seat.c:1087)
[0000.142570] DEBUG: tsm_screen: new screen (tsm_screen_new() in src/tsm_screen.c:471)
[0000.142624] DEBUG: tsm_vte: new vte object (tsm_vte_new() in src/tsm_vte.c:399)
[0000.142723] DEBUG: eloop: new eloop object 0x742860 (ev_eloop_new() in src/eloop.c:673)
[0000.142755] DEBUG: pty: new pty object (kmscon_pty_new() in src/pty.c:96)
[0000.142793] DEBUG: seat: register session 0x742dd0 (kmscon_seat_register_session() in src/kmscon_seat.c:929)
[0000.142822] DEBUG: terminal: new terminal object 0x74bf80 (kmscon_terminal_register() in src/kmscon_terminal.c:582)
[0000.142853] DEBUG: seat: enable session 0x742dd0 (kmscon_session_enable() in src/kmscon_seat.c:1087)
[0000.143075] DEBUG: vt: entering VT 7 on demand (real_activate() in src/uterm_vt.c:487)
[0000.143112] DEBUG: monitor: new seat seat0 (monitor_new_seat() in src/uterm_monitor.c:313)
[0000.145396] DEBUG: new input device /dev/input/event3 on seat seat0 (app_monitor_event() in src/kmscon_main.c:458)
[0000.154734] DEBUG: input: ignoring non-useful device /dev/input/event3 (uterm_input_add_dev() in src/uterm_input.c:369)
[0000.154816] DEBUG: monitor: new device /dev/input/event3 on seat0 (seat_new_dev() in src/uterm_monitor.c:230)
[0000.155181] DEBUG: new input device /dev/input/event4 on seat seat0 (app_monitor_event() in src/kmscon_main.c:458)
[0000.160729] DEBUG: input: ignoring non-useful device /dev/input/event4 (uterm_input_add_dev() in src/uterm_input.c:369)
[0000.160788] DEBUG: monitor: new device /dev/input/event4 on seat0 (seat_new_dev() in src/uterm_monitor.c:230)
[0000.161057] DEBUG: new input device /dev/input/event0 on seat seat0 (app_monitor_event() in src/kmscon_main.c:458)
[0000.170726] DEBUG: input: ignoring non-useful device /dev/input/event0 (uterm_input_add_dev() in src/uterm_input.c:369)
[0000.170796] DEBUG: monitor: new device /dev/input/event0 on seat0 (seat_new_dev() in src/uterm_monitor.c:230)
[0000.171114] DEBUG: new input device /dev/input/event1 on seat seat0 (app_monitor_event() in src/kmscon_main.c:458)
[0000.180723] DEBUG: input: ignoring non-useful device /dev/input/event1 (uterm_input_add_dev() in src/uterm_input.c:369)
[0000.180763] DEBUG: monitor: new device /dev/input/event1 on seat0 (seat_new_dev() in src/uterm_monitor.c:230)
[0000.181011] DEBUG: new input device /dev/input/event2 on seat seat0 (app_monitor_event() in src/kmscon_main.c:458)
[0000.190723] DEBUG: input: ignoring non-useful device /dev/input/event2 (uterm_input_add_dev() in src/uterm_input.c:369)
[0000.190762] DEBUG: monitor: new device /dev/input/event2 on seat0 (seat_new_dev() in src/uterm_monitor.c:230)
[0000.190963] DEBUG: monitor: DRM device /dev/dri/card0 is primary PCI GPU (is_drm_primary() in src/uterm_monitor.c:461)
[0000.191004] DEBUG: monitor: DRM device /dev/dri/card0 uses driver radeon (is_drm_usb() in src/uterm_monitor.c:535)
[0000.191056] DEBUG: new video device /dev/dri/card0 on seat seat0 (app_seat_add_video() in src/kmscon_main.c:336)
[0000.191092] INFO: drm_shared: new drm device via /dev/dri/card0
[0000.191056] DEBUG: new video device /dev/dri/card0 on seat seat0 (app_seat_add_video() in src/kmscon_main.c:336)
[0000.191092] INFO: drm_shared: new drm device via /dev/dri/card0
[0000.191136] DEBUG: uterm_drm3d_video: initialize 3D layer on 0x7575b0 (video_init() in src/uterm_drm3d_video.c:431)
[0000.201471] DEBUG: uterm_drm3d_video: EGL Init 1.4 (video_init() in src/uterm_drm3d_video.c:455)
[0000.201560] DEBUG: uterm_drm3d_video: EGL Version 1.4 (DRI2) (video_init() in src/uterm_drm3d_video.c:456)
[0000.201591] DEBUG: uterm_drm3d_video: EGL Vendor Mesa Project (video_init() in src/uterm_drm3d_video.c:457)
[0000.201621] DEBUG: uterm_drm3d_video: EGL Extensions EGL_MESA_drm_image EGL_KHR_image_base EGL_KHR_gl_renderbuffer_image EGL_KHR_surfaceless_context EGL_KHR_create_context (video_init() in src/uterm_drm3d_video.c:459)
[0000.204524] INFO: video: new device 0x7575b0
[0000.204611] DEBUG: monitor: new device /dev/dri/card0 on seat0 (seat_new_dev() in src/uterm_monitor.c:230)
[0000.204936] DEBUG: monitor: adding drm sub-device /sys/devices/pci0000:00/0000:00:01.0/0000:01:05.0/drm/controlD64 (monitor_udev_add() in src/uterm_monitor.c:600)
[0000.205119] INFO: ignoring video device /dev/fb0 on seat seat0 as it is a DRM-fbdev device
[0000.205165] DEBUG: monitor: new device /dev/fb0 on seat0 (seat_new_dev() in src/uterm_monitor.c:230)
[0000.205417] DEBUG: new input device /dev/input/event8 on seat seat0 (app_monitor_event() in src/kmscon_main.c:458)
[0000.217724] DEBUG: input: ignoring non-useful device /dev/input/event8 (uterm_input_add_dev() in src/uterm_input.c:369)
[0000.217775] DEBUG: monitor: new device /dev/input/event8 on seat0 (seat_new_dev() in src/uterm_monitor.c:230)
[0000.218038] DEBUG: new input device /dev/input/event10 on seat seat0 (app_monitor_event() in src/kmscon_main.c:458)
[0000.228724] DEBUG: input: ignoring non-useful device /dev/input/event10 (uterm_input_add_dev() in src/uterm_input.c:369)
[0000.228761] DEBUG: monitor: new device /dev/input/event10 on seat0 (seat_new_dev() in src/uterm_monitor.c:230)
[0000.229014] DEBUG: new input device /dev/input/event9 on seat seat0 (app_monitor_event() in src/kmscon_main.c:458)
[0000.238723] DEBUG: input: ignoring non-useful device /dev/input/event9 (uterm_input_add_dev() in src/uterm_input.c:369)
[0000.238763] DEBUG: monitor: new device /dev/input/event9 on seat0 (seat_new_dev() in src/uterm_monitor.c:230)
[0000.239041] DEBUG: new input device /dev/input/event5 on seat seat0 (app_monitor_event() in src/kmscon_main.c:458)
[0000.248752] DEBUG: input: new device /dev/input/event5 (input_new_dev() in src/uterm_input.c:185)
[0000.248805] DEBUG: monitor: new device /dev/input/event5 on seat0 (seat_new_dev() in src/uterm_monitor.c:230)
[0000.249078] DEBUG: new input device /dev/input/event6 on seat seat0 (app_monitor_event() in src/kmscon_main.c:458)
[0000.258724] DEBUG: input: ignoring non-useful device /dev/input/event6 (uterm_input_add_dev() in src/uterm_input.c:369)
[0000.258765] DEBUG: monitor: new device /dev/input/event6 on seat0 (seat_new_dev() in src/uterm_monitor.c:230)
[0000.258870] DEBUG: monitor: adding unsupported input dev /sys/devices/platform/i8042/serio4/input/input6/mouse0 (monitor_udev_add() in src/uterm_monitor.c:622)
[0000.259115] DEBUG: new input device /dev/input/event7 on seat seat0 (app_monitor_event() in src/kmscon_main.c:458)
[0000.268723] DEBUG: input: ignoring non-useful device /dev/input/event7 (uterm_input_add_dev() in src/uterm_input.c:369)
[0000.268772] DEBUG: monitor: new device /dev/input/event7 on seat0 (seat_new_dev() in src/uterm_monitor.c:230)
[0000.268941] DEBUG: monitor: adding unsupported input dev /sys/devices/virtual/input/mice (monitor_udev_add() in src/uterm_monitor.c:622)
[0000.268990] DEBUG: 1 running seats after startup (main() in src/kmscon_main.c:626)
[0000.269020] DEBUG: eloop: run for -1 msecs (ev_eloop_run() in src/eloop.c:924)
[0000.269074] DEBUG: input: wakeing up (uterm_input_wake_up() in src/uterm_input.c:455)
[0000.269133] DEBUG: vt: enter VT 7 0x72a470 due to VT signal (real_sig_enter() in src/uterm_vt.c:209)
[0000.269169] DEBUG: video: wake up (uterm_video_wake_up() in src/uterm_video.c:680)
[0000.402809] INFO: video: new display 0x747050
[0000.402891] INFO: drm_shared: display 0x747050 DPMS is ON
[0000.402922] DEBUG: seat: add display 0x747050 to seat seat0 (seat_add_display() in src/kmscon_seat.c:480)
[0000.405001] INFO: uterm_drm3d_video: activating display 0x747050 to 1280x800
[0000.410092] INFO: drm_shared: setting DPMS of display 0x747050 to ON
[0000.410315] DEBUG: font: searching for: be: pango nm: monospace ppi: 96 pt: 11 b: 0 i: 0 he: 0 wt: 0 (kmscon_font_find() in src/font.c:320)
[0000.410372] DEBUG: font_pango: loading pango font monospace (kmscon_font_pango_init() in src/font_pango.c:380)
[0000.419878] DEBUG: font: using: be: pango nm: monospace ppi: 96 pt: 12 b: 0 i: 0 he: 16 wt: 8 (kmscon_font_find() in src/font.c:339)
[0000.419958] DEBUG: font: searching for: be: pango nm: monospace ppi: 96 pt: 11 b: 1 i: 0 he: 0 wt: 0 (kmscon_font_find() in src/font.c:320)
[0000.419878] DEBUG: font: using: be: pango nm: monospace ppi: 96 pt: 12 b: 0 i: 0 he: 16 wt: 8 (kmscon_font_find() in src/font.c:339)
[0000.419958] DEBUG: font: searching for: be: pango nm: monospace ppi: 96 pt: 11 b: 1 i: 0 he: 0 wt: 0 (kmscon_font_find() in src/font.c:320)
[0000.420006] DEBUG: font_pango: loading pango font monospace (kmscon_font_pango_init() in src/font_pango.c:380)
[0000.422814] DEBUG: font: using: be: pango nm: monospace ppi: 96 pt: 12 b: 1 i: 0 he: 16 wt: 8 (kmscon_font_find() in src/font.c:339)
[0000.422979] DEBUG: text: using: be: gltex (kmscon_text_new() in src/text.c:171)
[0000.423026] DEBUG: gl_shader: new shader (gl_shader_new() in src/static_gl_shader.c:156)
[0000.441313] DEBUG: terminal: added display 0x747050 to terminal 0x74bf80 (add_display() in src/kmscon_terminal.c:272)
[0000.441400] DEBUG: seat: activate session 0x742dd0 (session_call_activate() in src/kmscon_seat.c:120)
[0000.442435] DEBUG: pty: forking child 4514 (pty_spawn() in src/pty.c:382)
[0000.444013] DEBUG: text_gltex: new atlas of size 2048x16 for 256 (get_atlas() in src/text_gltex.c:342)
[0012.490061] DEBUG: tsm_vte: unknown DEC Set-Mode 1034 (csi_mode() in src/tsm_vte.c:1467)
[0014.804573] DEBUG: pty: HUP on pty of child 4514 (pty_input() in src/pty.c:480)
[0014.804988] DEBUG: pty: cannot read from pty of child 4514 (5): Input/output error (read_buf() in src/pty.c:438)
[0014.805114] DEBUG: eloop: child 4514 exited successfully (sig_child() in src/eloop.c:353)
[0014.805149] INFO: pty: child exited: pid: 4514 status: 0
[0014.806947] DEBUG: pty: forking child 4531 (pty_spawn() in src/pty.c:382)
[0020.032337] INFO: terminating due to caught signal 15
[0020.032655] DEBUG: eloop: exiting 0x722ce0 (ev_eloop_exit() in src/eloop.c:964)
[0020.032725] DEBUG: deactivating VTs during shutdown (main() in src/kmscon_main.c:640)
[0020.032775] DEBUG: vt: leaving VT 7 on demand to VT 1 (real_deactivate() in src/uterm_vt.c:536)
[0020.032805] DEBUG: waiting for 1 VTs to deactivate (main() in src/kmscon_main.c:643)
[0020.032846] DEBUG: eloop: run for 50 msecs (ev_eloop_run() in src/eloop.c:924)
[0020.032901] DEBUG: vt: leaving VT 7 0x72a470 due to VT signal (real_sig_leave() in src/uterm_vt.c:230)
[0020.032931] DEBUG: seat: deactivate session 0x742dd0 (session_call_deactivate() in src/kmscon_seat.c:126)
[0020.032961] DEBUG: video: go asleep (uterm_video_sleep() in src/uterm_video.c:663)
[0020.033032] DEBUG: deactivating VT on exit, 0 to go (app_seat_event() in src/kmscon_main.c:112)
[0020.033061] DEBUG: eloop: exiting 0x722ce0 (ev_eloop_exit() in src/eloop.c:964)
[0020.033092] DEBUG: input: going to sleep (uterm_input_sleep() in src/uterm_input.c:431)
[0020.052287] DEBUG: monitor: free seat seat0 (monitor_free_seat() in src/uterm_monitor.c:325)
[0020.052348] DEBUG: monitor: free device /dev/input/event7 on seat0 (seat_free_dev() in src/uterm_monitor.c:241)
[0020.052379] DEBUG: free input device /dev/input/event7 on seat seat0 (app_monitor_event() in src/kmscon_main.c:476)
[0020.052412] DEBUG: monitor: free device /dev/input/event6 on seat0 (seat_free_dev() in src/uterm_monitor.c:241)
[0020.052440] DEBUG: free input device /dev/input/event6 on seat seat0 (app_monitor_event() in src/kmscon_main.c:476)
[0020.052469] DEBUG: monitor: free device /dev/input/event5 on seat0 (seat_free_dev() in src/uterm_monitor.c:241)
[0020.052498] DEBUG: free input device /dev/input/event5 on seat seat0 (app_monitor_event() in src/kmscon_main.c:476)
[0020.052527] DEBUG: input: free device /dev/input/event5 (input_free_dev() in src/uterm_input.c:207)
[0020.052664] DEBUG: monitor: free device /dev/input/event9 on seat0 (seat_free_dev() in src/uterm_monitor.c:241)
[0020.052715] DEBUG: free input device /dev/input/event9 on seat seat0 (app_monitor_event() in src/kmscon_main.c:476)
[0020.052745] DEBUG: monitor: free device /dev/input/event10 on seat0 (seat_free_dev() in src/uterm_monitor.c:241)
[0020.052773] DEBUG: free input device /dev/input/event10 on seat seat0 (app_monitor_event() in src/kmscon_main.c:476)
[0020.052801] DEBUG: monitor: free device /dev/input/event8 on seat0 (seat_free_dev() in src/uterm_monitor.c:241)
[0020.052829] DEBUG: free input device /dev/input/event8 on seat seat0 (app_monitor_event() in src/kmscon_main.c:476)
[0020.052857] DEBUG: monitor: free device /dev/fb0 on seat0 (seat_free_dev() in src/uterm_monitor.c:241)
[0020.052887] DEBUG: monitor: free device /dev/dri/card0 on seat0 (seat_free_dev() in src/uterm_monitor.c:241)
[0020.052915] DEBUG: free video device /dev/dri/card0 on seat seat0 (app_seat_remove_video() in src/kmscon_main.c:406)
[0020.052945] DEBUG: seat: remove display 0x747050 from seat seat0 (seat_remove_display() in src/kmscon_seat.c:501)
[0020.052976] DEBUG: terminal: removed display 0x747050 from terminal 0x74bf80 (rm_display() in src/kmscon_terminal.c:334)
[0020.053005] DEBUG: terminal: destroying terminal screen 0x853d10 (free_screen() in src/kmscon_terminal.c:295)
[0020.053034] DEBUG: text: freeing text renderer (kmscon_text_unref() in src/text.c:206)
[0020.053434] DEBUG: gl_shader: free shader (gl_shader_unref() in src/static_gl_shader.c:219)
[0020.053491] DEBUG: font: freeing font (kmscon_font_unref() in src/font.c:374)
[0020.053520] DEBUG: font_pango: unloading pango font (kmscon_font_pango_destroy() in src/font_pango.c:396)
[0020.053605] DEBUG: font: freeing font (kmscon_font_unref() in src/font.c:374)
[0020.053635] DEBUG: font_pango: unloading pango font (kmscon_font_pango_destroy() in src/font_pango.c:396)
[0020.054284] INFO: video: free device 0x7575b0
[0020.054339] INFO: uterm_drm3d_video: deactivating display 0x747050
[0020.054457] INFO: video: free display 0x747050
[0020.054501] INFO: uterm_drm3d_video: free drm video device 0x7575b0
[0020.062669] DEBUG: monitor: free device /dev/input/event2 on seat0 (seat_free_dev() in src/uterm_monitor.c:241)
[0020.063283] DEBUG: free input device /dev/input/event2 on seat seat0 (app_monitor_event() in src/kmscon_main.c:476)
[0020.063317] DEBUG: monitor: free device /dev/input/event1 on seat0 (seat_free_dev() in src/uterm_monitor.c:241)
[0020.063347] DEBUG: free input device /dev/input/event1 on seat seat0 (app_monitor_event() in src/kmscon_main.c:476)
[0020.063379] DEBUG: monitor: free device /dev/input/event0 on seat0 (seat_free_dev() in src/uterm_monitor.c:241)
[0020.063408] DEBUG: free input device /dev/input/event0 on seat seat0 (app_monitor_event() in src/kmscon_main.c:476)
[0020.063436] DEBUG: monitor: free device /dev/input/event4 on seat0 (seat_free_dev() in src/uterm_monitor.c:241)
[0020.063467] DEBUG: free input device /dev/input/event4 on seat seat0 (app_monitor_event() in src/kmscon_main.c:476)
[0020.063497] DEBUG: monitor: free device /dev/input/event3 on seat0 (seat_free_dev() in src/uterm_monitor.c:241)
[0020.063526] DEBUG: free input device /dev/input/event3 on seat seat0 (app_monitor_event() in src/kmscon_main.c:476)
[0020.063555] DEBUG: free seat seat0 (app_seat_free() in src/kmscon_main.c:245)
[0020.063585] DEBUG: seat: unregister session 0x726560 (kmscon_session_unregister() in src/kmscon_seat.c:981)
[0020.063618] DEBUG: seat: unregister session 0x742dd0 (kmscon_session_unregister() in src/kmscon_seat.c:981)
[0020.063649] DEBUG: terminal: free terminal object 0x74bf80 (terminal_destroy() in src/kmscon_terminal.c:432)
[0020.064749] DEBUG: pty: free pty object (kmscon_pty_unref() in src/pty.c:120)
[0020.064807] DEBUG: eloop: free eloop object 0x742860 (ev_eloop_unref() in src/eloop.c:735)
[0020.064853] DEBUG: tsm_vte: destroying vte object (tsm_vte_unref() in src/tsm_vte.c:427)
[0020.064887] DEBUG: tsm_screen: destroying screen (tsm_screen_unref() in src/tsm_screen.c:507)
[0020.065600] DEBUG: vt: closing VT 7 (real_close() in src/uterm_vt.c:418)
[0020.205030] DEBUG: input: free object 0x724be0 (uterm_input_unref() in src/uterm_input.c:291)
[0020.205310] DEBUG: eloop: free eloop object 0x722ce0 (ev_eloop_unref() in src/eloop.c:735)
[0020.205335] DEBUG: text: unregister backend bblit (kmscon_text_unregister() in src/text.c:102)
[0020.205352] DEBUG: font: unregister font backend 8x16 (kmscon_font_unregister() in src/font.c:192)
[0020.205367] DEBUG: module: unloading modules (kmscon_unload_modules() in src/kmscon_module.c:266)
[0020.205383] DEBUG: module: unloading module /usr/lib/kmscon/mod-unifont.so (kmscon_module_unload() in src/kmscon_module.c:173)
[0020.205395] DEBUG: font: unregister font backend unifont (kmscon_font_unregister() in src/font.c:192)
[0020.205408] DEBUG: module: closing module /usr/lib/kmscon/mod-unifont.so (kmscon_module_unref() in src/kmscon_module.c:135)
[0020.205524] DEBUG: module: unloading module /usr/lib/kmscon/mod-bbulk.so (kmscon_module_unload() in src/kmscon_module.c:173)
[0020.205539] DEBUG: text: unregister backend bbulk (kmscon_text_unregister() in src/text.c:102)
[0020.205550] DEBUG: module: closing module /usr/lib/kmscon/mod-bbulk.so (kmscon_module_unref() in src/kmscon_module.c:135)
[0020.205589] DEBUG: module: unloading module /usr/lib/kmscon/mod-gltex.so (kmscon_module_unload() in src/kmscon_module.c:173)
[0020.205603] DEBUG: text: unregister backend gltex (kmscon_text_unregister() in src/text.c:102)
[0020.205614] DEBUG: module: closing module /usr/lib/kmscon/mod-gltex.so (kmscon_module_unref() in src/kmscon_module.c:135)
[0020.205656] DEBUG: module: unloading module /usr/lib/kmscon/mod-pango.so (kmscon_module_unload() in src/kmscon_module.c:173)
[0020.205669] DEBUG: font: unregister font backend pango (kmscon_font_unregister() in src/font.c:192)
[0020.205680] DEBUG: module: closing module /usr/lib/kmscon/mod-pango.so (kmscon_module_unref() in src/kmscon_module.c:135)
[0020.205761] INFO: exiting
Yeah, the last log is the one I needed. Ok, so you are using the pango backend, indeed. However, I have to configure pango in a way to use "monospace" as font-family by default. Otherwise, systems that have not set the default font to a monospace font (nearly all systems I think) will have a horrible font.
So if you want to specify the default font for kmscon, you need to configure your font as default "monospace" font. I don't know how this works in font-config, but it shouldn't be that hard.
I have contacted the pango developers to review the mod-pango design in kmscon and I hope I can get some tipps how to improve the backend.
Could you modify your font-configuration to set monospace fonts and tell me how that worked out for you?
I can make kmscon to use my favorite font (NanumGothicCoding) by running kmscon in an agetty session while having '~/.fonts.conf' to which I copied '/etc/fonts/conf.d/98-ko-dewr.conf' (you can see the content of 98-ko-dewr.conf at the first post of this issue thread)
but kmscon doesn't apply '~/.fonts.conf' nor '/etc/fonts/conf.d/*' when my gentoo box runs kmscon from a line of '/etc/inittab' so it is not launched by 'root' user (you can see the content of inittab file at the first post of this issue thread)
fbterm(another terminal emulator which is drawing 16 colors in my gentoo box) applies the settings in '/etc/fonts/conf.d/' by the way.
Quoted from your config file:
<alias>
<family>monospace</family>
<prefer>
<family>NanumGothicCoding</family>
</prefer>
</alias>
I believe <prefer>
isn't strong enough to forcefully bind NanumGothicCoding to monospace. And also
<!--
use NanumGothicCoding font when mono is requested for Korean
-->
<match>
<test name="lang" compare="contains">
<string>ko</string>
</test>
<test name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend">
<string>NanumGothicCoding</string>
</edit>
</match>
This will cause fontconfig to choose NanumGothicCoding when mono is requested for Korean, but might not do so for other languages. Try removing the test for the Korean language and add binding="strong"
after mode="prepend"
.
See https://wiki.archlinux.org/index.php/KMSCON#CJK_Support for a working configuration that I am using.
binding="strong" didn't help me, but commenting out the "lang" test did! (err.. both are required.)
thank you very much cl91!
I found that it requires both to comment out the 'lang' test and to add 'binding="strong"'. fontconfig doesn't apply the setting if one of those is not there.
And it seems to not apply
<alias>
<family>monospace</family>
<prefer>
<family>NanumGothicCoding</family>
</prefer>
</alias>
but apply
<match>
<!--<test name="lang" compare="contains">
<string>ko</string>
</test>-->
<test name="family">
<string>monospace</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>NanumGothicCoding</string>
</edit>
</match>
by the way it doesn't require 1.adding 'binding="strong" nor 2.commenting out the 'lang' test when the original copy of fontconfig is copied to '~/.fonts.conf'
I'm happy with NanumGothicCoding font at the moment anyway
@cl91 Thanks for helping out!
The thing is, I don't deal with font-config at all in kmscon. This is all done by pango so if a font-config setting doesn't work it is very unlikely that kmscon is the culprit. Anyway, I think the issue got resolved, right? I am actually no font-config expert so I cannot tell you how these settings work together. I can only refer to the font-config mailing-list and man-pages.
Thanks! David
kmscon ignores system global fontconfig settings. (/etc/fonts/...) while fbterm(another terminal emulator than kmscon) respects it.
I wanted kmscon to use NanumGothicCoding font but when it is launched by /etc/inittab it uses another ***ing ugly font, though it uses NanumGothicCoding when I launch it in agetty by typing "kmscon" while there is ~/.fonts.conf.
my /etc/inittab is written like :
my /etc/fonts/conf.d/98-ko-dewr.conf is :
test environment : a gentoo box