Troubleshooting
This guide helps you resolve common issues with SilentCast.
Common Issues
Hotkeys Not Working
macOS: "SilentCast" wants to control this computer
Problem: Hotkeys don't work and you see an accessibility permission prompt.
Solution:
- Open System Preferences → Security & Privacy → Privacy → Accessibility
- Click the lock to make changes
- Add SilentCast to the list (or check the box if already present)
- Restart SilentCast
Windows: Hotkeys not registering
Problem: Pressing the prefix key does nothing.
Solution:
- Check if another application is using the same hotkey
- Try running SilentCast as administrator
- Verify the hotkey format in your configuration (e.g.,
alt+space
, notAlt+Space
)
Hotkey conflicts with other applications
Problem: Your chosen prefix key is already used by another application.
Solution: Change the prefix key in your configuration:
hotkeys:
prefix: "ctrl+shift+space" # or another combination
Common alternatives:
ctrl+shift+space
alt+shift+p
ctrl+alt+s
Configuration Issues
Configuration file not found
Problem: SilentCast can't find your spellbook.yml file.
Solution:
Check the default locations:
- macOS/Linux:
~/.config/silentcast/spellbook.yml
- Windows:
%APPDATA%\SilentCast\spellbook.yml
- macOS/Linux:
Specify a custom location:
bashsilentcast --config /path/to/spellbook.yml
Set the environment variable:
bashexport SILENTCAST_CONFIG=/path/to/config/directory
📖 See also: Windows configuration setup guide for detailed step-by-step instructions.
Invalid configuration syntax
Problem: YAML syntax errors in your configuration.
Solution:
Validate your configuration:
bashsilentcast --validate-config
Common YAML issues:
- Use spaces, not tabs
- Proper indentation (2 spaces)
- Quote strings with special characters
- Escape backslashes in Windows paths
Use a YAML validator: https://www.yamllint.com/
Changes not taking effect
Problem: Configuration changes aren't applied.
Solution:
Ensure config watching is enabled:
yamldaemon: config_watch: true
Manually reload:
- System tray → Reload Config
- Or restart SilentCast
Check logs for configuration errors:
bashtail -f ~/.local/share/silentcast/silentcast.log
Application Launch Issues
Application not found
Problem: "command not found" or "application not found" errors.
Solution:
Use full paths for applications:
yamlgrimoire: editor: type: app command: "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" # macOS # command: "C:\\Program Files\\Microsoft VS Code\\Code.exe" # Windows
Add application directories to PATH
For macOS apps, use the
.app
bundle path
Applications launch but don't focus
Problem: Applications open in the background.
Solution: Add focus arguments:
grimoire:
editor:
type: app
command: "code"
args: ["--new-window", "--foreground"]
Script Execution Issues
Scripts fail with permission denied
Problem: Shell scripts can't execute.
Solution:
Make scripts executable:
bashchmod +x /path/to/script.sh
Specify the shell explicitly:
yamlgrimoire: my_script: type: script command: "/path/to/script.sh" shell: "/bin/bash"
Environment variables not available
Problem: Scripts can't access expected environment variables.
Solution:
Explicitly set required variables:
yamlgrimoire: build: type: script command: "npm run build" env: NODE_ENV: "production" PATH: "${PATH}:/usr/local/bin"
Source profile in scripts:
yamlcommand: "source ~/.bashrc && npm run build"
Performance Issues
High CPU usage
Problem: SilentCast uses excessive CPU.
Solution:
Disable config watching if not needed:
yamldaemon: config_watch: false
Increase update check interval:
yamldaemon: update_interval: 168 # Weekly instead of daily
Check logs for errors causing loops
Slow response time
Problem: Delays between pressing hotkeys and action execution.
Solution:
Reduce timeouts:
yamlhotkeys: timeout: 500 # Reduce from 1000 sequence_timeout: 1000 # Reduce from 2000
Use simpler commands (avoid complex scripts)
Check system resources
Debugging
Enable Debug Logging
daemon:
log_level: debug
logger:
level: debug
file: "~/.local/share/silentcast/debug.log"
View Logs
# Real-time log viewing
tail -f ~/.local/share/silentcast/silentcast.log
# Search for errors
grep ERROR ~/.local/share/silentcast/silentcast.log
# View with timestamp
less +F ~/.local/share/silentcast/silentcast.log
Test Mode
Run SilentCast in test mode to see what would happen:
# Dry run mode
silentcast --dry-run
# Verbose output
silentcast --log-level debug --no-tray
Getting Help
If you're still experiencing issues:
- Check existing issues: GitHub Issues
- Report a bug: Include:
- SilentCast version (
silentcast --version
) - Operating system and version
- Configuration file (remove sensitive data)
- Debug logs
- Steps to reproduce
- SilentCast version (
Common Error Messages
Error | Meaning | Solution |
---|---|---|
Failed to register hotkey | Hotkey already in use | Change prefix key |
Permission denied: accessibility | macOS accessibility needed | Grant permission in System Preferences |
Config file not found | Missing spellbook.yml | Create configuration file |
Invalid YAML syntax | Configuration parse error | Fix YAML formatting |
Command not found | Application path incorrect | Use full path or fix PATH |
Failed to watch config | File system permissions | Check file permissions |
Platform-Specific Issues
macOS
- Gatekeeper blocks execution: Right-click and select "Open" or
xattr -d com.apple.quarantine silentcast
- Hotkeys in secure input: Some apps block global hotkeys (like password fields)
- Mission Control conflicts: Avoid F3, F4, and gesture-based shortcuts
Windows
- Antivirus interference: Add SilentCast to exceptions
- UAC prompts: Run as administrator for system-wide hotkeys
- Corporate policies: May block hotkey registration
Next Steps
- Configuration Guide - Optimize your setup
- Platform Support - OS-specific tips
- FAQ - Frequently asked questions