Home

Awesome

InputSourceSelector

A utility program to manipulate Input Sources on Mac OS X. This program is a thin wrapper for Text Input Sources Services API.

Install

Typing

$ make

on the terminal should generate InputSourceSelector executable in the current directory. Then copy it to somewhere on $PATH.

Usage

$ InputSourceSelector [command]

[command] is described below.

Commands

[input source ID] is one of the input source IDs printed by list,list-enabled,current,current-layout commands, such as com.apple.keylayout.US or com.apple.inputmethod.Kotoeri.Japanese.

Examples

$ InputSourceSelector list
com.apple.keylayout.Czech-QWERTY (Czech - QWERTY)
com.apple.keylayout.Czech (Czech)
...
com.apple.inputmethod.VietnameseIM.VietnameseVIQR (VIQR)
com.apple.inputmethod.VietnameseIM.VietnameseTelex (Telex)
$ InputSourceSelector list-enabled
com.apple.keylayout.Dvorak (Dvorak)
com.apple.keylayout.US (U.S.)
...
com.apple.KeyboardViewer (Keyboard Viewer)
com.apple.keylayout.UnicodeHexInput (Unicode Hex Input)
$ InputSourceSelector current
com.apple.inputmethod.Kotoeri.Roman (Romaji)
$ InputSourceSelector current-layout
com.apple.keylayout.Dvorak (Dvorak)