im on linux, what can i use something that is like homerow
- User
im on linux, what can i use something that is like homerow
Assistant
On Linux the closest drop-in replacement for Homerow (macOS) is wtype + ydotool + a “hint overlay” script.
The idea is identical: you hit a hot-key, every clickable element (or a grid) gets a short label, you type the label, the cursor jumps there and clicks.Below are three ready-to-use options, from “install and go” to “build your own”.
────────────────────────────────────────
- wtype + ydotool + wofi (single script, 5 min setup)
────────────────────────────────────────
• wtype – tiny Wayland tool that injects key/mouse events
• ydotool – low-level mouse/keyboard automation (works on both X11 and Wayland)
• wofi – dmenu-like launcher that can show the hint labels
Install (Debian/Ubuntu example):
sudo apt install wtype ydotool wofiGrab the community script
wofi-hints(orwtype-hints) from GitHub:git clone https://github.com/bugaevc/wtype-hints cd wtype-hints chmod +x wtype-hintsBind it to a key in your WM/DE (e.g.
Super+;):# ~/.config/sway/config (or i3, bspwm, etc.) bindsym $mod+semicolon exec /path/to/wtype-hintsWhen you press the hot-key, wofi pops up with two-letter hints on every clickable node; type the hint → cursor teleports and clicks.
──────────────────────────────────────── 2. ydotool + i3-hints (tiling WMs) ──────────────────────────────────────── If you already use i3/Sway,
i3-hintsis a 200-line Python script that overlays hints directly on windows and uses ydotool to click.Install:
pip install --user i3-hintsBind in i3:
bindsym $mod+semicolon exec i3-hintsLabels appear on every window; type the label → focus/click.
──────────────────────────────────────── 3. Build-your-own with wlrctl + bemenu (X11 or Wayland) ──────────────────────────────────────── For maximum flexibility you can roll your own in ~30 lines of shell:
#!/bin/bash # ~/.local/bin/click-hints coords=$(wlrctl window list | bemenu -i -p "Jump to:" | cut -d' ' -f2-) [ -n "$coords" ] && ydotool mousemove --absolute $coords && ydotool click 1Bind it to a key and you have a minimal Homerow clone.
──────────────────────────────────────── Extra speed-ups ──────────────────────────────────────── • Use a tiling WM (i3, Sway, bspwm) so you rarely need the mouse at all.
• Combine with Vimium-FF / Surfingkeys in the browser for link hints.
• Map CapsLock to Hyper and put all hint commands under it for one-hand usage.Pick whichever layer you like; all three give you Homerow-style “type two letters → cursor is there” on Linux today.
- wtype + ydotool + wofi (single script, 5 min setup)
────────────────────────────────────────
• wtype – tiny Wayland tool that injects key/mouse events
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.