App & Website Rules
LinguaX drives automatic input source switching with two rule types. Both sit on top of Mouse+, which is configured separately and runs alongside them.
The Two Rule Types
App Rule — applies when a specific app is in the foreground. Use it for IDEs and editors, terminals, design tools, and chat apps.
Cursor→ EnglishWeChat→ Chinese
Website / Domain Rule — applies to a domain inside a browser. Use it for documentation sites, internal dashboards, AI chat tools, and region-specific websites.
docs.example.com→ Englishchat.example.cn→ Chinese
A single browser usually holds mixed contexts at once: docs, chat, admin tools, local platforms. Domain rules prevent one broad browser default from breaking every tab.
Priority Model
- LinguaX detects the active app.
- For non-browser apps, the matching app rule applies.
- For browsers, a matching domain rule takes priority over the browser app default.
Configure an App Rule
- Open the app rules list.
- Add the target app.
- Set its input source.
- Save and enable.
Start with your top 3 daily apps.
Configure a Domain Rule
- Confirm the browser app rule baseline works first.
- Open the website / domain rules list.
- Select the browser, add the domain, and set the target input source.
- Save and enable.
Exact Matching Tips
- Use exact domains like
docs.example.com. - Avoid duplicate rules for the same domain.
- Keep rules narrow before introducing broad patterns.
- Keep the browser app default simple and let domain rules refine it.
Verify & Troubleshoot
- Open two configured domains in separate tabs and switch between them.
- Leave the browser and confirm non-browser app rules still work.
If a rule does not trigger:
- check domain spelling and rule enabled state
- remove overlapping broad rules
- restart the browser and LinguaX
If it still fails, see Common Issues.