Overview
DONtype.sh automates in-game keybinding configuration for Schedule I using xdotool. It maps teleport locations and utility commands to function keys (F1–F12) with enhanced reliability and user feedback.
Key Features
- Function Key Binding: Maps teleport locations and utility commands to F1–F12
- Fast Setup: Completes configuration in approximately 20 seconds
- Real-Time Feedback: Countdown timer and progress indicators
- Error Recovery: Continues despite individual binding failures
- Dependency Validation: Checks for xdotool availability with helpful error messages
- Robust Execution: Comprehensive error handling with detailed status reporting
Installation & Setup
Install xdotool
sudo dnf install xdotool
Make Executable and Run
cd BASHparaphernalia/scripts/DONtype
chmod +x DONtype.sh
# Run before launching Schedule I
./DONtype.sh
# Script will display progress and countdowns during execution
Keybinding Layout
DONtype.sh maps the following function keys to in-game actions:
| Key | Function | Action |
|---|---|---|
| F1 | Teleport | Primary location teleport |
| F2 | Teleport | Secondary location teleport |
| F3–F12 | Utility | Various in-game utility commands |
Note: Exact bindings depend on Schedule I's keybinding system; see script source for detailed mapping.
Usage Workflow
- Run
./DONtype.shfrom terminal - Script displays countdown (allow time to switch to game window if needed)
- xdotool automatically types keybindings into Schedule I's keybinding menu
- Real-time progress indicators show which bindings are being configured
- Script completes in ~20 seconds
- Close keybinding menu in-game; bindings are now active
Dependencies
- Required: xdotool, X11 display server
- System: Linux with X11 (Wayland not supported)
Requirements
- Schedule I must be running and game keybinding menu must be open
- X11 display server must be active (Wayland not supported)
- Game window must be focused for xdotool to send keystrokes
- No other input should occur while script is running
Troubleshooting
-
xdotool not found: Install with
sudo dnf install xdotool - Keystrokes not registering: Ensure game window is focused and in keybinding menu
- Wayland display server error: Switch to X11 session (xdotool requires X11)
-
Permission denied: Make script executable with
chmod +x DONtype.sh -
Script hangs: Force quit with
Ctrl+Cand try again - Bindings not saved: Confirm keybinding changes in game menu after script completes
Customization
To modify keybindings for your specific in-game setup:
-
Open the script with a text editor:
nano DONtype.sh - Locate the keybinding configuration section
- Edit function key mappings to match your desired in-game actions
- Adjust timing values (sleep durations) if game is slow to respond
- Save and run the modified script