| Use Case | Command | Description |
|---|---|---|
| 🔍 Look up selected text | dict_lookup | Uses X selection to query dict.org via terminal |
| 🔍 Look up specific query | dict_lookup -q "word" | Bypass X selection, query directly |
| 📐 Set terminal position | dict_lookup -x +200 -y +200 | Place terminal at (200,200) on screen |
| 📏 Set terminal size | dict_lookup -s 80x24 | Width 80, height 24 characters |
| ❓ Display help | dict_lookup -h | Show available options |
dict_lookuop [options]
dict_lookup reads X selection, then open terminal emulator and run dict client in it allowing user to view content using pager. It makes sense to configure launching dict_lookup on a keyboard shortcut in the window manager.
Display help message.
X coordinate of terminal emulator.
Y coordinate of terminal emulator.
Width and height of terminal emulator separated by 'x'.
Query, if specified, X selection is not read.
dict_lookup recognizes the following environment variables. The default value is specified in square brackets.
dict(1), less(1), xterm(1), dictd(8), http://www.dict.org, RFC 2229
Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-03 14:42 @216.73.216.75
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)