You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Note:** This release changes the default monitor control commands to support modern Raspberry Pi OS (Wayland). Users can restore the previous behavior via `customCommand` configuration. See the README's "Monitor Control Commands by Display System" section for migration instructions and alternatives for all supported systems.
11
+
12
+
### Added
13
+
14
+
- docs: add comprehensive monitor control command reference covering different display systems (Wayland/wlr-randr, X11/Xorg, GNOME/Mutter, CEC, DPMS, legacy vcgencmd) with installation instructions, troubleshooting, and multi-monitor setup guidance
15
+
16
+
### Changed
17
+
18
+
-**BREAKING:** refactor: default monitor control commands now use Wayland (`wlr-randr`) instead of deprecated `vcgencmd` to support Raspberry Pi OS Bookworm/Bullseye (Wayland has been the default since 2023)
Copy file name to clipboardExpand all lines: README.md
+163Lines changed: 163 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -261,6 +261,169 @@ Depending on your installation, some `shell` commands used by this module are no
261
261
}
262
262
```
263
263
264
+
#### Monitor Control Commands by Display System
265
+
266
+
**Since version 4.0.0**, the default monitor control commands have changed to support **Wayland** (the default display server in Raspberry Pi OS since Bookworm (released 2023)). If you're using a different setup or experiencing issues, configure the appropriate commands for your system:
267
+
268
+
##### Wayland (Default - Raspberry Pi OS Bookworm/Bullseye)
echo $XDG_SESSION_TYPE # Should show 'wayland' or 'x11'
396
+
```
397
+
398
+
2. **Switch display server if needed:** On Raspberry Pi OS, you can switch between Wayland and X11:
399
+
400
+
```bash
401
+
sudo raspi-config
402
+
# Navigate to: Advanced Options -> Wayland -> Select X11 or Wayland -> Reboot
403
+
```
404
+
405
+
3. **Test commands manually:** Run the command directly in the terminal to ensure it works before adding it to the config.
406
+
407
+
4. **Check output names:** Display output names vary by system. Use `wlr-randr` (Wayland) or `xrandr` (X11) to find the correct name.
408
+
409
+
For **Wayland**:
410
+
411
+
```bash
412
+
wlr-randr
413
+
```
414
+
415
+
For **X11**:
416
+
417
+
```bash
418
+
xrandr -d :0 # or just: xrandr
419
+
```
420
+
421
+
5. **Multi-monitor setups:** If you have multiple HDMI outputs (like Raspberry Pi 4/5), make sure to specify the correct output (e.g., `HDMI-A-1` vs `HDMI-A-2`).
422
+
423
+
6. **Permissions:** Some commands may require additional permissions or group membership (e.g., `video` group for CEC).
424
+
425
+
7. **See the discussion:** For more solutions and community help, check [Issue #288](https://github.com/Jopyth/MMM-Remote-Control/issues/288).
426
+
264
427
### Custom Classes
265
428
266
429
You probably wanna hide or show some modules at the same time, right? It's everything that we want this module for, of course.
0 commit comments