“How to configure the Weston keyboard layout”的版本间的差异

来自百问网嵌入式Linux wiki
 
第1行: 第1行:
{{DISPLAYTITLE:如何配置Weston键盘布局}}
+
* 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}}
 +
  [...]
  
[[Category:How_to ]][[Category:How_to_run_use_cases ]]
+
  {{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>