Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Kitsunetic/968ee9f3a974048a4a6261a5ed4759f0 to your computer and use it in GitHub Desktop.
Save Kitsunetic/968ee9f3a974048a4a6261a5ed4759f0 to your computer and use it in GitHub Desktop.

Revisions

  1. Kitsunetic revised this gist Oct 2, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion 우분투 크롬에서 한영전환이 안될 때.md
    Original file line number Diff line number Diff line change
    @@ -12,4 +12,4 @@ xmodmap -e "remove control = Control_R"
    xmodmap -e "keycode 0x69 = Hangul_Hanja"
    ```

    시작 시 실행되도록 ~/.profile 안에 써주면 될 듯함
    시작 시 실행되도록 /etc/profile 안에 써주면 될 듯함
  2. Kitsunetic created this gist Oct 2, 2020.
    15 changes: 15 additions & 0 deletions 우분투 크롬에서 한영전환이 안될 때.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    일반적으로 IBUS로 키보드를 셋팅했을 때, 한영전환을 ALT_R, 한자 전환을 CONTROL_R 로 하는 경우가 많은데,
    크롬에서는 이 ALT_R를 한영전환이 아니라 있는 그대로 ALT_R로 받아들이기 때문에 한영전환이 안 되는 것.
    왜 크롬이 그렇게 작동하는지는 잘 모르겠다.

    해결 방법은 아래 명령어를 실행하면 된다.
    ALT_R과 CONTROL_R의 키 맵을 변경하는 것.

    ```
    xmodmap -e "remove mod1 = Alt_R"
    xmodmap -e "keycode 0x6c = Hangul"
    xmodmap -e "remove control = Control_R"
    xmodmap -e "keycode 0x69 = Hangul_Hanja"
    ```

    시작 시 실행되도록 ~/.profile 안에 써주면 될 듯함