2019年4月28日日曜日

MACでWindowsキーボードでWin的に使う設定

MACにWindowsキーボードを接続して、
Windows的に使用する設定のメモ。

Karabiner

https://pqrs.org/osx/karabiner/

半角・漢字キー

mac Sierra + Karabiner-Elements + ATOK で 半角/全角 ボタンを使って入力を切り替える

Karabiner-Elements complex_modifications rules の Other examples に
input_source_if,input_source_unless exampleとあり「Toggle input sources (English or Japanese) by grave_accent_and_tilde」がまさにそれだったので、色々設定を書かずとも
  1. Karabinar-Elementsを起動
  2. Complex Mdificationsタブに移動
  3. Add ruleボタンをクリック
  4. ダイアログの「Import more rules from the Internet (open a web browser)」ボタンをクリック
  5. 表示されたページの最下部に「Other examples」というリンクがあるのでクリック
  6. 「input_source_if,input_source_unless example」にある「import」をクリックしてKarabiner-Elementsにインポート(インポートの確認が表示されるので「Import」をクリック)
  7. 「input_source_if,input_source_unless example」が増えているので、その中にある「Toggle input sources (English or Japanese) by grave_accent_and_tilde」を「Enable」で追加
  8. 「半角/全角キー」で日本語入力が切り替わるようになる

キー入れ替え

Ctrl⇔Command無変換・変換→英数・かな


自動起動

後で調べる

プリントスクリーン
F10で直接入力→Fnキーの設定変更で出来た。

その他

ファインダで隠しファイル表示

以下のコマンドを実行。
$ defaults write com.apple.finder AppleShowAllFiles TRUE
Finderを一度終了。

$ killall Finder