“How to configure the Weston keyboard layout”的版本间的差异
来自百问网嵌入式Linux wiki
(创建页面,内容为“Category:How_to Category:How_to_run_use_cases ”) |
Zhouyuebiao(讨论 | 贡献) |
||
(未显示同一用户的1个中间版本) | |||
第1行: | 第1行: | ||
− | [[Category: | + | * Edit and change the value of the ''keymap_layout'' variable (e.g. from ''fr'' to ''us'') in the ''KEYBOARD'' section of the ''weston.ini'' Weston configuration file<ref name="weston.ini">[http://manpages.ubuntu.com/manpages/wily/man5/weston.ini.5.html Ubuntu weston.ini manpage]</ref> |
+ | {{Board$}} cat /etc/xdg/weston/weston.ini | ||
+ | [...] | ||
+ | [keyboard] | ||
+ | keymap_layout={{highlight|fr}} | ||
+ | [...] | ||
+ | |||
+ | {{Board$}} vi /etc/xdg/weston/weston.ini | ||
+ | [...] | ||
+ | [keyboard] | ||
+ | keymap_layout={{highlight|us}} | ||
+ | [...] | ||
+ | |||
+ | * Restart Weston <ref>[[How to stop and start Weston]]</ref> | ||
+ | {{Board$}} systemctl restart weston | ||
+ | |||
+ | ==References== | ||
+ | <references /> | ||
+ | |||
+ | <noinclude> | ||
+ | {{PublicationRequestId| 9279 | 2019-10-16 | AnneJ}} | ||
+ | [[Category:How to run use cases]] | ||
+ | [[Category:Wayland Weston]] | ||
+ | </noinclude> |
2020年5月8日 (五) 22:55的最新版本
- Edit and change the value of the keymap_layout variable (e.g. from fr to us) in the KEYBOARD section of the weston.ini Weston configuration file[1]
Board $> cat /etc/xdg/weston/weston.ini
[...]
[keyboard]
keymap_layout=fr
[...]
Board $> vi /etc/xdg/weston/weston.ini
[...]
[keyboard]
keymap_layout=us
[...]
- Restart Weston [2]
Board $> systemctl restart weston
References
<securetransclude src="ProtectedTemplate:PublicationRequestId" params="9279 | 2019-10-16 | AnneJ"></securetransclude>