Skip to main content
MangoWCMangoWC
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.

SettingTypeDefaultDescription
repeat_rateint25How many times a key repeats per second.
repeat_delayint600Delay (ms) before a held key starts repeating.
numlockon0 or 11Enable NumLock on startup.
xkb_rules_layoutstring-Keyboard layout code (e.g., us, de).
xkb_rules_optionsstring-XKB options (e.g., caps:escape).

Example:

repeat_rate=40
repeat_delay=300
numlockon=1
xkb_rules_layout=us
xkb_rules_options=caps:escape

Trackpad Settings

Specific settings for laptop touchpads. Note: Some settings may require a relogin to take effect.

SettingDefaultDescription
disable_trackpad0Set to 1 to disable the trackpad entirely.
tap_to_click1Tap to trigger a left click.
tap_and_drag1Tap and hold to drag items.
trackpad_natural_scrolling0Invert scrolling direction (natural scrolling).
scroll_method11 (Two-finger), 2 (Edge), 4 (Button).
click_method11 (Button areas), 2 (Clickfinger).
drag_lock1Lock dragging after tapping.
disable_while_typing1Disable trackpad while typing.
left_handed0Swap left/right buttons.
middle_button_emulation0Emulate middle button.
swipe_min_threshold20Minimum swipe threshold.

Mouse Settings

Configuration for external mice.

SettingDefaultDescription
mouse_natural_scrolling0Invert scrolling direction.
accel_profile20 (None), 1 (Flat), 2 (Adaptive).
accel_speed0.0Speed adjustment (-1.0 to 1.0).
left_handed0Swap left and right buttons.
middle_button_emulation0Emulate middle button.
swipe_min_threshold20Minimum swipe threshold.
send_events_mode00 (Enabled), 1 (Disabled), 2 (Disabled on external mouse).
button_map00 (Left/right/middle), 1 (Left/middle/right).

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

On this page