OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
display-monitors high common DISPUTE

Bring the laptop panel back after unplugging the external monitor

omarchyhyprlandwaylandlaptop
AUDITED Audited against its sources and confirmed accurate.

Symptom

You disabled the laptop panel with Super+Ctrl+Delete to work external-only, then later unplugged the external monitor, and the laptop screen stays completely black. It came back automatically on Omarchy 3.x. hyprctl monitors still lists the monitor you unplugged.

Cause

Omarchy 4's omarchy-hyprland-monitor-internal recover gates on omarchy-hyprland-monitor-external-active, which asks hyprctl monitors all -j. On cable removal Hyprland does not always drop the output from its list immediately, so that check still says an external is active and recover() returns early without deleting the disable toggle or reloading. (Omarchy 3.x checked /sys/class/drm/card*-*/status directly instead.)

Fix

Blindly (screen is black) or from a TTY / SSH session, delete the toggle file and reload:


rm -f ~/.local/state/omarchy/toggles/hypr/internal-monitor-disable.lua
rm -f ~/.local/state/omarchy/toggles/hypr/internal-monitor-clamshell.lua
hyprctl reload
hyprctl dispatch 'hl.dsp.dpms({ action = "enable" })'

Or use the shipped recovery helper, which checks real DRM status rather than Hyprland's cached list:


omarchy-hw-recover-internal-monitor
hyprctl reload

To avoid it recurring, re-enable the panel *before* unplugging (Super+Ctrl+Delete again).

Verify

hyprctl monitors -j | jq -c '.[] | {name, disabled, width, height}' shows eDP-1 present, not disabled, with a non-zero mode, and the panel lights up.

Sources

laptop-display-stays-dark-after-external-unplug