카테고리 없음

Mac에서 Right Command / Right Option을 한영/한자 키로 사용하기

뭉기 2026. 6. 30. 20:36

Mac 키보드에서 Right Option / Right Command를 한자·한영 키로 사용하기

Mac 키보드로 macOS와 Windows VDI를 함께 사용할 때 가장 불편한 부분 중 하나가 한/영 전환한자 전환입니다.

특히 Windows VDI에서는 보통 다음처럼 동작합니다.

Windows 키 역할
Right Alt / Right Option 한/영 전환
Right Ctrl 한글한자 변환

 

 

반면 macOS에서는 일반적으로 다음 단축키를 사용합니다.

macOS 단축키 역할
Control + Space 입력 소스 전환, 즉 한/영 전환
Option + Enter 한자 변환

 

 

그래서 목표는 다음과 같습니다.

역할 Mac 입력키 macOS 실제 입력 Windows 실제 입력
한/영 전환 Right Command Control + Space Right Option
한글한자 변환 Right Option Option + Enter Right Ctrl

 

 

즉 최종적으로는 이렇게 쓰는 구조입니다.

Right Command = 한/영
Right Option  = 한자

 


1. 준비물

이 설정은 macOS 기본 설정만으로는 어렵기 때문에 Karabiner-Elements를 사용합니다.

Homebrew가 있다면 아래 명령으로 설치할 수 있습니다.

brew install --cask karabiner-elements

설치 후 macOS에서 권한을 요구하면 아래 항목을 허용합니다.

System Settings
→ Privacy & Security
→ Accessibility
→ Karabiner 관련 항목 허용

System Settings
→ Privacy & Security
→ Input Monitoring
→ Karabiner 관련 항목 허용

2. 기존 설정 정리

Karabiner에서 기존에 만들어 둔 비슷한 규칙이 있다면 먼저 비활성화하는 것이 좋습니다.

 

또한 Karabiner의 Simple Modificationsright_option, right_command 관련 설정이 있다면 삭제합니다.

중복 매핑이 있으면 키 입력이 예상과 다르게 동작할 수 있습니다.


3. Karabiner Complex Modification 설정 파일 생성

터미널에서 아래 명령을 실행합니다.

mkdir -p ~/.config/karabiner/assets/complex_modifications

cat > ~/.config/karabiner/assets/complex_modifications/korean_keys_mac_vdi_direct.json <<'EOF'
{
  "title": "Korean keys for macOS and Windows VDI direct mode",
  "rules": [
    {
      "description": "VDI: Right Option sends Right Control for Windows Hanja",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "right_option",
            "modifiers": {
              "optional": ["any"]
            }
          },
          "to": [
            {
              "key_code": "right_control"
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.vmware\\..*",
                "^com\\.citrix\\..*",
                "^com\\.microsoft\\.rdc.*",
                "^com\\.microsoft\\.WindowsApp.*",
                "^com\\.parallels\\..*"
              ]
            }
          ]
        }
      ]
    },
    {
      "description": "macOS: Right Option sends Option + Enter for Hanja",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "right_option",
            "modifiers": {
              "optional": ["any"]
            }
          },
          "to": [
            {
              "key_code": "return_or_enter",
              "modifiers": ["left_option"]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_unless",
              "bundle_identifiers": [
                "^com\\.vmware\\..*",
                "^com\\.citrix\\..*",
                "^com\\.microsoft\\.rdc.*",
                "^com\\.microsoft\\.WindowsApp.*",
                "^com\\.parallels\\..*"
              ]
            }
          ]
        }
      ]
    },
    {
      "description": "VDI: Right Command sends Right Option for Windows Hangul English toggle",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "right_command",
            "modifiers": {
              "optional": ["any"]
            }
          },
          "to": [
            {
              "key_code": "right_option"
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_if",
              "bundle_identifiers": [
                "^com\\.vmware\\..*",
                "^com\\.citrix\\..*",
                "^com\\.microsoft\\.rdc.*",
                "^com\\.microsoft\\.WindowsApp.*",
                "^com\\.parallels\\..*"
              ]
            }
          ]
        }
      ]
    },
    {
      "description": "macOS: Right Command sends Control + Space for input source toggle",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "right_command",
            "modifiers": {
              "optional": ["any"]
            }
          },
          "to": [
            {
              "key_code": "spacebar",
              "modifiers": ["left_control"]
            }
          ],
          "conditions": [
            {
              "type": "frontmost_application_unless",
              "bundle_identifiers": [
                "^com\\.vmware\\..*",
                "^com\\.citrix\\..*",
                "^com\\.microsoft\\.rdc.*",
                "^com\\.microsoft\\.WindowsApp.*",
                "^com\\.parallels\\..*"
              ]
            }
          ]
        }
      ]
    }
  ]
}
EOF

4. Karabiner에서 규칙 활성화

Karabiner-Elements를 실행한 뒤 아래 순서로 설정합니다.

Karabiner-Elements
→ Complex Modifications
→ Add predefined rule
→ Korean keys for macOS and Windows VDI direct mode

아래 4개 규칙을 모두 Enable 합니다.

VDI: Right Option sends Right Control for Windows Hanja
macOS: Right Option sends Option + Enter for Hanja
VDI: Right Command sends Right Option for Windows Hangul English toggle
macOS: Right Command sends Control + Space for input source toggle

5. 최종 동작 방식

설정이 정상 적용되면 다음처럼 동작합니다.

macOS 일반 앱
├─ Right Option  → Option + Enter → 한자 변환
└─ Right Command → Control + Space → 한/영 전환

Windows VDI 앱
├─ Right Option  → Right Ctrl → 한자 변환
└─ Right Command → Right Option → 한/영 전환

6. macOS에서 한/영 전환이 안 될 때 확인할 것

Right Command가 macOS에서 한/영 전환으로 동작하려면 macOS의 입력 소스 전환 단축키가 켜져 있어야 합니다.

아래 경로에서 확인합니다.

System Settings
→ Keyboard
→ Keyboard Shortcuts
→ Input Sources

여기서 다음 항목이 활성화되어 있어야 합니다.

Select the previous input source: Control + Space

또는 macOS 버전에 따라 아래와 비슷한 이름으로 표시될 수 있습니다.

이전 입력 소스 선택
입력 메뉴에서 다음 소스 선택

먼저 실제 키보드에서 Control + Space를 눌렀을 때 한/영 전환이 되는지 확인합니다.

Control + Space가 안 되면
Right Command도 한/영 전환이 안 됩니다.

7. macOS에서 한자 전환이 안 될 때 확인할 것

macOS의 한자 변환은 아무 상태에서나 바로 뜨지 않습니다.

아래 조건을 만족해야 합니다.

1. 입력 소스가 한국어 상태여야 함
2. 한글을 먼저 입력해야 함
3. 커서가 해당 한글 바로 뒤에 있어야 함
4. 그 상태에서 Option + Enter가 들어가야 함

테스트 방법은 다음과 같습니다.

위처럼 한글을 입력한 뒤 바로 Right Option을 누릅니다.

정상이라면 한자 후보창이 나타납니다.

영문 입력 상태에서 Right Option만 누르면 한자 후보창이 뜨지 않는 것이 정상입니다.


8. Windows VDI에서만 잘 되고 macOS에서 안 되는 경우

Windows VDI에서는 잘 되는데 macOS에서만 안 된다면 Karabiner 규칙 자체는 어느 정도 적용되고 있을 가능성이 높습니다.

이때는 아래를 확인합니다.

8-1. Karabiner-EventViewer 확인

Karabiner-EventViewer를 실행합니다.

Karabiner-EventViewer
→ Main 탭

macOS 일반 앱을 앞에 둔 상태에서 키를 눌러봅니다.

기대 결과는 다음과 같습니다.

누른 키 EventViewer에서 기대되는 입력
Right Command left_control + spacebar
Right Option left_option + return_or_enter

만약 여전히 right_command, right_option이 그대로 보이면 새 규칙이 적용되지 않은 것입니다.

이 경우 아래를 다시 확인합니다.

1. Complex Modifications 규칙이 Enable 되어 있는지
2. 기존 중복 규칙이 Disable 되어 있는지
3. Simple Modifications에 중복 매핑이 없는지
4. Karabiner가 Accessibility / Input Monitoring 권한을 받았는지

9. VDI 앱이 조건에 안 잡히는 경우

VDI 앱이 VMware Horizon, Citrix, Microsoft Remote Desktop, Windows App, Parallels 계열이면 위 설정에 대부분 포함됩니다.

현재 포함된 Bundle ID 조건은 다음과 같습니다.

[
  "^com\\.vmware\\..*",
  "^com\\.citrix\\..*",
  "^com\\.microsoft\\.rdc.*",
  "^com\\.microsoft\\.WindowsApp.*",
  "^com\\.parallels\\..*"
]

다른 VDI 클라이언트를 사용한다면 Karabiner-EventViewer에서 실제 Bundle ID를 확인해야 합니다.

확인 방법은 다음과 같습니다.

Karabiner-EventViewer
→ Frontmost Application 탭
→ VDI 앱 창 클릭
→ bundle_identifier 확인

예를 들어 실제 Bundle ID가 아래처럼 나온다면:

com.vmware.horizon

이미 아래 조건에 포함되므로 별도 추가가 필요 없습니다.

"^com\\.vmware\\..*"

만약 다른 Bundle ID라면 JSON의 bundle_identifiers 목록에 추가하면 됩니다.


10. 주의사항

이 설정은 Right Option과 Right Command를 각각 전용 키처럼 사용하는 방식입니다.

따라서 아래 기능은 포기하는 구성입니다.

Right Option을 일반 Option 조합키로 사용
Right Command를 일반 Command 조합키로 사용

대신 장점은 명확합니다.

Right Option  = 한자
Right Command = 한/영

macOS와 Windows VDI를 오가더라도 손가락 기억을 하나로 통일할 수 있습니다.


11. 최종 요약

최종 구조는 다음과 같습니다.

Mac 키보드 기준

Right Option
├─ macOS 일반 앱 → Option + Enter → 한자
└─ Windows VDI → Right Ctrl → 한자

Right Command
├─ macOS 일반 앱 → Control + Space → 한/영
└─ Windows VDI → Right Option → 한/영

macOS와 Windows VDI를 함께 쓰는 환경에서는 이 구성이 가장 직관적입니다.

왼손은 그대로 두고, 오른손 엄지 쪽 키 두 개만으로 한/영과 한자를 처리하는 구조입니다.
키보드 오른쪽 아래에 작은 언어 변환 관제탑을 세우는 셈입니다.