HIME-SETUP(1)

✨ NAME ✨

hime-setup β€” the configuration tools of hime πŸ’– (this whole page lives in the hime input method platform manual, bestie, so you know exactly where you are 🫢)


πŸŽ€ SYNOPSIS πŸŽ€

hime-setup

🌸 DESCRIPTION 🌸

Okay so hime-setup is the default configuration tool of hime. Periodt. πŸ’…

The other way to configure stuff is by writing conffiles into $HOME/.config/hime/config. Lowkey that's the manual route, and if that's your vibe, go peek at the CONFFILES section below for the whole tea. β˜•βœ¨


πŸ¦‹ CONFFILES πŸ¦‹

All the conffiles listed down there get created automatically by hime-setup β€” except for hime-bell-volume and hime-sound-play-overlap, which do not get auto-made, so don't @ me if they're missing πŸ™ˆ.

If you wanna write conffiles yourself (main character energy, honestly), first make sure you actually have the config directory:

mkdir -p $HOME/.config/hime/config

Once that exists, you can go ahead and try something like:

echo zo > $HOME/.config/hime/config/phonetic-keyboard

And boom πŸ’₯ β€” that makes a phonetic-keyboard file with its content zo, which means you selected the standard style with the 1234 selection method. Slay.

All available conffiles are listed below, and the default options are showed bold.


$HOME/.config/hime/config/default-input-method number β€” default input method when hime is called.

  • 1 β€” Chanjei input method, version 3
  • 2 β€” Chanjei input method, version 5
  • 3 β€” Bopomofo input method
  • 4 β€” Symbols virtual keyboard
  • 5 β€” Pinyin input method
  • 6 β€” Tsin intelligent Bopomofo input method
  • 7 β€” Dayi input method
  • 8 β€” Array input method, 30 keys version
  • 9 β€” Boshiamy input method, aka Liu's input method
  • 10 β€” Direct input for UTF-32 (U+) or Big-5 characters
  • 11 β€” Simple Chanjei input method
  • 12 β€” Japanese anthy input method
  • 13 β€” Greek letters input method
  • 14 β€” Latin letters input method
  • 15 β€” Jyutping input method

$HOME/.config/hime/config/hime-bell-volume number β€” volume of bell ring, between -100 to 100. Default is -97. πŸ””


$HOME/.config/hime/config/hime-capslock-lower boolean β€” input lower-case letters when Caps Lock key is ON.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/hime-eng-phrase-enabled boolean β€” enable Alt-Shift phrases in alphabet-numeric mode.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/hime-font-name string β€” default font.

  • sans β€” Sans-serif
  • serif β€” Serif

$HOME/.config/hime/config/hime-font-size number β€” font size of character-selection area. Default is 16.


$HOME/.config/hime/config/hime-font-size-gtab-in number β€” font size of key codes input area in gtab input methods (Chanjei IM, Array IM, etc.). Default is 10.


$HOME/.config/hime/config/hime-font-size-pho-near number β€” font size of similar-phonetic character selection in Tsin IM. Default is 14.


$HOME/.config/hime/config/hime-font-size-symbol number β€” font size of symbol-selection window. Default is 12.


$HOME/.config/hime/config/hime-font-size-tsin-pho-in number β€” font size of phonetic input area in Bopomofo and Tsin IM. Default is 10.


$HOME/.config/hime/config/hime-font-size-tsin-presel number β€” font size of phrase pre-selection window in Tsin IM. Default is 16.


$HOME/.config/hime/config/hime-im-toggle-keys number β€” toggle Key for IM window ON/OFF.

  • 0 β€” Control-Space
  • 1 β€” Shift-Space
  • 2 β€” Alt-Space
  • 3 β€” Windows-Space

$HOME/.config/hime/config/hime-init-im-enabled boolean β€” enable input method mode without pressing toggle keys. 🚨 Heads up: this option is not available in XIM mode.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/hime-inner-frame boolean β€” show frame border in hime window.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/hime-input-style number β€” window style of hime.

  • 1 β€” OverTheSpot (Follow the cursor)
  • 2 β€” Root (Fixed index window)

$HOME/.config/hime/config/hime-pop-up-win boolean β€” dynamic pop up window.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/hime-remote-client boolean β€” use hime in remote applications.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/hime-root-x number β€” window position in X-axis when window style is Root (Fixed index window). Default is 1600.


$HOME/.config/hime/config/hime-root-y number β€” window position in Y-axis when window style is Root (Fixed index window). Default is 1200.


$HOME/.config/hime/config/hime-sel-key-color hex β€” color of selection Key.

  • #FF0000 β€” Red
  • #00FF00 β€” Green
  • #0000FF β€” Blue
  • #FFFF00 β€” Yellow
  • #FF00FF β€” Magenta
  • #00FFFF β€” Cyan

$HOME/.config/hime/config/hime-shift-space-eng-full boolean β€” toggle to double-wide English character mode with Shift-Space.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/hime-sound-play-overlap boolean β€” play all sound when text-to-speech is enabled.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/hime-status-tray boolean β€” show hime status in system tray.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/hime-win-color-bg hex β€” background color of hime window. Default is #005BFF.


$HOME/.config/hime/config/hime-win-color-fg hex β€” foreground color of hime window.

  • #FF0000 β€” Red
  • #00FF00 β€” Green
  • #0000FF β€” Blue
  • #FFFF00 β€” Yellow
  • #FF00FF β€” Magenta
  • #FFFFFF β€” White

$HOME/.config/hime/config/hime-win-color-use boolean β€” customized colors in hime window.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/hime-win-sym-click-close boolean β€” close symbol-selection window after choosing a symbol.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/gtab-auto-select-by_phrase number β€” auto-select according to Tsin phrase database in gtab input methods.

  • 0 β€” Auto-selected by definition in .gtab file.
  • 1 β€” ON
  • 2 β€” OFF

$HOME/.config/hime/config/gtab-disp-im-name boolean β€” display input method name in gtab input methods.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/gtab-disp-key-codes boolean β€” show all possible key codes of character in gtab input methods.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/gtab-disp-partial-match number β€” display partial matched characters in gtab input methods.

  • 0 β€” Auto-selected by definition in .gtab file.
  • 1 β€” ON
  • 2 β€” OFF

$HOME/.config/hime/config/gtab-dup-select-bell boolean β€” bell ring when multiple selections are available in gtab input methods.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/gtab-hide-row2 boolean β€” hide second row of window in gtab input methods.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/gtab-in-row1 boolean β€” show key codes in first row of window in gtab input methods.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/gtab-invalid-key-in boolean β€” clear key codes input area when invalid key and Space key are pressed.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/gtab-pho-query boolean β€” use ` to query same pronunciation characters. For gtab input methods.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/gtab-phrase-pre-select boolean β€” show candidate phrases before pressing endkey (Space key). For gtab input methods.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/gtab-pre-select number β€” show candidate characters before pressing endkey (Space key). For gtab input methods.

  • 0 β€” Auto-selected by definition in .gtab file.
  • 1 β€” ON
  • 2 β€” OFF

$HOME/.config/hime/config/gtab-press-full-auto-send number β€” auto-send character when key codes input area is filled in gtab input methods.

  • 0 β€” Auto-selected by definition in .gtab file.
  • 1 β€” ON
  • 2 β€” OFF

$HOME/.config/hime/config/gtab-que-wild-card boolean β€” use ? as wildcard. For gtab input methods.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/gtab-que-wild-card-asterisk boolean β€” use * as wildcard. For gtab input methods.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/gtab-shift-phrase-key boolean β€” use single Shift key to input Alt-Shift phrases in gtab input methods.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/gtab-space-auto-first number β€” function of Space Key in gtab input methods.

  • 0 β€” Auto-selected by definition in .gtab file.
  • 1 β€” Send first character in Boshiamy input method.
  • 2 β€” Send first character in character-selection area.
  • 4 β€” Does not send first character. (For Array input method.)

$HOME/.config/hime/config/gtab-unique-auto-send number β€” auto send characters when there is only one choice in gtab input methods.

  • 0 β€” Auto-selected by definition in .gtab file.
  • 1 β€” ON
  • 2 β€” OFF

$HOME/.config/hime/config/gtab-vertical-select number β€” vertical selection window in gtab input methods.

  • 0 β€” Auto-selected by definition in .gtab file.
  • 1 β€” ON
  • 2 β€” OFF

$HOME/.config/hime/config/pho-hide-row2 boolean β€” hide second row of window in Bopomofo and Tsin IM.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/pho-in-row1 boolean β€” show key codes in first row of window in Bopomofo IM.

  • 1 β€” ON
  • 0 β€” OFF

$HOME/.config/hime/config/phonetic-char-dynamic-sequence boolean β€” dynamic character sequence adjustment in Bopomofo and Tsin IM.

okay so we're back in the CONFFILES section, bestie πŸ’– and we're literally going through every single config file like it's a group chat and we're catching up on all the tea β˜•. no cap.

so the setting we were just on? its options are:

  • 1 β€” ON
  • 0 β€” OFF

periodt. now next up:

  • $HOME/.config/hime/config/phonetic-huge-tab boolean β€” Input all Traditional Chinese, Simplified Chinese, and Japanese characters provided by pho-huge.tab in Bopomofo and Tsin IM.
    • 1 β€” ON
    • 0 β€” OFF
  • $HOME/.config/hime/config/phonetic-keyboard string β€” Key codes arrangement style in Bopomofo, Tsin, and Japanese anthy IM.
    • zo β€” Standard style with 1234 selection method
    • zo-asdf β€” Standard style with asdf selection method
    • et β€” Eten style with 1234 selection method
    • et-asdf β€” Eten style with asdf selection method
    • et26 β€” Eten 26 keys style with 1234 selection method
    • et26-asdf β€” Eten 26 keys style with asdf selection method
    • hsu β€” Mr. Hsu's style (Kuo-Yin IM, Natural Bopomofo IM)
    • pinyin β€” Phonetic Pinyin style with 1234 selection method
    • pinyin-asdf β€” Phonetic Pinyin style with asdf selection method
    • dvorak β€” Dvorak style
    • ibm β€” IBM style
    • mitac β€” Mitac style
  • $HOME/.config/hime/config/phonetic-speak boolean β€” Enable text-to-speech. You have to install speech data for this feature. πŸ—£οΈβœ¨
    • 1 β€” ON
    • 0 β€” OFF
  • $HOME/.config/hime/config/phonetic-speak-sel string β€” Speech data filename for text-to-speech.
  • $HOME/.config/hime/config/tsin-buffer-editing-mode boolean β€” VI-like editing mode in Tsin IM. πŸ’…
    • 1 β€” ON
    • 0 β€” OFF
  • $HOME/.config/hime/config/tsin-buffer-size number β€” Size of buffer (editing area) in Tsin IM. Default is 40.
  • $HOME/.config/hime/config/tsin-chinese-english-toggle_key number β€” Toggle key for Chinese/English mode in Tsin IM.
    • 1 β€” Caps Lock key
    • 2 β€” Tab key
    • 4 β€” Shift key (Not available in XIM mode).
    • 8 β€” Left Shift key (Not available in XIM mode).
    • 16 β€” Right Shift key (Not available in XIM mode).
  • $HOME/.config/hime/config/tsin-cursor-color hex β€” Color of cursor in Tsin IM.
    • #FF0000 β€” Red
    • #00FF00 β€” Green
    • #0000FF β€” Blue
    • #FFFF00 β€” Yellow
    • #FF00FF β€” Magenta
    • #00FFFF β€” Cyan
  • $HOME/.config/hime/config/tsin-phrase-line-color hex β€” Color of phrase-underline in Tsin IM. Default is #0000FF.
  • $HOME/.config/hime/config/tsin-phrase-pre-select boolean β€” Show phrase pre-selection window in Tsin IM. πŸ‘‘
    • 1 β€” ON
    • 0 β€” OFF
  • $HOME/.config/hime/config/tsin-space-opt number β€” Function of Space key in Tsin IM.
    • 1 β€” Select other same phonetic characters.
    • 2 β€” Send space to buffer of Tsin IM.
  • $HOME/.config/hime/config/tsin-tab-phrase-end boolean β€” Use Escape key or Tab key to stop phrase-auto-selection in Tsin IM.
    • 1 β€” ON
    • 0 β€” OFF
  • $HOME/.config/hime/config/tsin-tail-select-key boolean β€” Show selection keys follows choices in Tsin IM.
    • 1 β€” ON
    • 0 β€” OFF
  • $HOME/.config/hime/config/tsin-tone-char-input boolean β€” Input tone sympols of Bopomofo in Tsin IM. (not me pointing out the typo, but we keep it πŸ’…)
    • 1 β€” ON
    • 0 β€” OFF

✨ SEE ALSO ✨

and that's the whole CONFFILES section, bestie 🫢. this page is from HIME 0.8, dated 2 FEB 2009, and it's the manual for HIME-SETUP(1). slay πŸ’…βœ¨