前提・実現したいこと
VMware Fusion で「英数」キーが「Caps Lock」になる問題回避と、日本語入力を Mac に合わせるため、karabiner-elements で VMware Fusion を使っているときのみ、
- Mac のキーボードの「英数」→PC キーボードの「無変換」
- Mac のキーボードの「かな」→PC キーボードの「変換」
にしたい。
設定をどのようにしたら良いでしょうか?
現状の設定
json
1{ 2 "title": "VMware CapsLock Problem", 3 "rules": [ 4 { 5 "description": "「かな」キーを「変換キー」に、「英数」キーを「無変換」キーに変換。", 6 "manipulators": [ 7 { 8 "type": "basic", 9 "from": { 10 "key_code": "japanese_kana", 11 "modifiers": { 12 "optional": [ "any" ] 13 } 14 }, 15 "to": [ 16 { "key_code": "japanese_pc_xfer" } 17 ], 18 "conditions": [ 19 { 20 "type": "frontmost_application_if", 21 "bundle_identifiers": [ 22 "^com\.vmware\.fusion$" 23 ] 24 } 25 ] 26 }, 27 { 28 "type": "basic", 29 "from": { 30 "key_code": "japanese_eisuu", 31 "modifiers": { 32 "optional": [ "any" ] 33 } 34 }, 35 "to": [ 36 { "key_code": "japanese_pc_nfer" } 37 ], 38 "conditions": [ 39 { 40 "type": "frontmost_application_if", 41 "bundle_identifiers": [ 42 "^com\.vmware\.fusion$" 43 ] 44 } 45 ] 46 } 47 ] 48 } 49 ] 50}
状態
- 他のアプリケーション上では「英数」「かな」はいままでと同じ状態。
- VMware 上では英数キーが Caps Lock の動作をしなくなった
- VMware 上ではキーが入ってきていないようである(xev で反応なし)
「VMware Fusion を使っているときのみ」は動作しているようである。
環境
- macOS 10.13.3
- karabiner-elements 11.6.0
- VMware Fusion 10.1.1
ゲスト OS は Ubuntu 16.04
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
あなたの回答
tips
プレビュー