[Bug]: Laptop screen doesn't turn back on after disconnecting external monitor
Description
When the laptop screen is turned off via software while using an external monitor, and the external monitor is later disconnected, the laptop's built-in screen does not automatically turn back on.
Even after rebooting the system, the built-in screen remains off. The only way to restore it is to reconnect an external display, manually re-enable the laptop screen, and then disconnect the external monitor again. This causes major usability issues when working without access to an external display.
Steps to Reproduce
Connect an external monitor to the laptop.
Turn off the internal (laptop) screen using software (display settings).
Disconnect the external monitor.
Observe that the laptop screen remains off.
Reboot the system — the internal screen is still off.
Reconnect the external monitor, manually re-enable the internal screen, and disconnect again.
Expected Behavior
The laptop screen should automatically turn back on when the external display is disconnected — even after a reboot.
Actual Behavior
The internal screen remains turned off after disconnecting the external display. Rebooting does not help. The only recovery is via re-connecting an external monitor and manually enabling the internal screen.
Screenshots
No response
Environment
Additional Information
No response
Not a bug. That GUI is called nwg-displayS When you save the settings in that gui it will be saved in the file. Therefore if you reboot the change persists. If you want a per instance, you can open a feature request to their repository.
hyprctl keyword monitor DP-1,disable
Where DP-1 is the monitor.
Also we don't have handlers for that(your expected behavior) yet.
I think this is an essential enhancement for the future, i personally bound a script to toggle laptop display on and off to a keybinding, it removes the hassle of using gui display settings everytime for toggling eDP-1
i personally bound a script to toggle laptop display on and off to a keybinding, it removes the hassle of using gui display settings everytime for toggling eDP-1
Can you share it? A quick guide on how to add keybindings for custom scripts would be really helpful. HyDE's documentation lacks information on customizing basic things like waybar size, etc.
https://hydeproject.pages.dev/en/configuring/config_toml/#waybar