Configuration
Input Devices
Configure keyboard layouts, mouse sensitivity, and touchpad gestures.
Device Configuration
MangoWC provides granular control over different input devices.
Keyboard Settings
Control key repeat rates and layout rules.
| Setting | Type | Default | Description |
|---|---|---|---|
repeat_rate | int | 25 | How many times a key repeats per second. |
repeat_delay | int | 600 | Delay (ms) before a held key starts repeating. |
numlockon | 0 or 1 | 1 | Enable NumLock on startup. |
xkb_rules_layout | string | - | Keyboard layout code (e.g., us, de). |
xkb_rules_options | string | - | XKB options (e.g., caps:escape). |
Example:
repeat_rate=40
repeat_delay=300
numlockon=1
xkb_rules_layout=us
xkb_rules_options=caps:escapeTrackpad Settings
Specific settings for laptop touchpads. Note: Some settings may require a relogin to take effect.
| Setting | Default | Description |
|---|---|---|
disable_trackpad | 0 | Set to 1 to disable the trackpad entirely. |
tap_to_click | 1 | Tap to trigger a left click. |
tap_and_drag | 1 | Tap and hold to drag items. |
trackpad_natural_scrolling | 0 | Invert scrolling direction (natural scrolling). |
scroll_method | 1 | 1 (Two-finger), 2 (Edge), 4 (Button). |
click_method | 1 | 1 (Button areas), 2 (Clickfinger). |
Mouse Settings
Configuration for external mice.
| Setting | Default | Description |
|---|---|---|
mouse_natural_scrolling | 0 | Invert scrolling direction. |
accel_profile | 2 | 0 (None), 1 (Flat), 2 (Adaptive). |
accel_speed | 0.0 | Speed adjustment (-1.0 to 1.0). |
left_handed | 0 | Swap left and right buttons. |
Input Method Editor (IME)
To use Fcitx5 or IBus, you must set specific environment variables in your config file.
For Fcitx5:
env=GTK_IM_MODULE,fcitx
env=QT_IM_MODULE,fcitx
env=SDL_IM_MODULE,fcitx
env=XMODIFIERS,@im=fcitx
env=GLFW_IM_MODULE,ibus