KVM Switch: Mac ↔ Nobara
Hardware
- Monitor: Dell U3821DW (USB-C to Mac, HDMI 2 to Nobara)
- Keyboard: Logitech MX Keys S
- Mouse: Logitech MX Master 4
- Bolt #1: Connected to Nobara (Channel 2)
- Bolt #2: Connected to Mac via monitor USB hub (Channel 3)
Switching Behavior
| Direction |
Monitor |
Peripherals |
| Nobara → Mac |
Auto (DDC) |
Auto (HID++) |
| Mac → Nobara |
Auto (DDC) |
Manual Easy-Switch |
Channel Setup
| Channel |
Connection |
Computer |
| 2 |
Bolt #1 |
Nobara |
| 3 |
Bolt #2 |
Mac |
Nobara Setup
1. Install dependencies
2. Install hidapitester
3. Udev rule for Bolt
4. Copy script
5. Keyboard shortcut (Ctrl+Shift+Up)
Settings → Keyboard → Custom Shortcuts:
- Name: KVM to Mac
- Command: /home/USER/scripts/to_mac.sh
- Shortcut: Ctrl+Shift+Up
Mac Setup
1. Install m1ddc
2. Copy script
3. Usage
DDC Input Codes (Dell U3821DW)
| Input |
Code |
| HDMI 2 |
18 |
| USB-C |
27 |