I'm using an external diplay. When disconnecting the HDMI cable, my laptop screen remains dark (when it should actually activate)+

Bug #2060384 reported by Victor
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mutter (Ubuntu)
New
Undecided
Unassigned

Bug Description

I normally don't use the laptop screen, as the external display suits me better.
However, when I disconnect the HDMI cable (and the external screen is no longer connected), the laptop display should pop back and activate.

This doesn't happen - the laptop display remains dark and I have no active display.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42.9-0ubuntu2
ProcVersionSignature: Ubuntu 6.5.0-26.26~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Apr 7 14:15:24 2024
DisplayManager: gdm3
InstallationDate: Installed on 2024-02-27 (40 days ago)
InstallationMedia: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 (20240220)
RelatedPackageVersions: mutter-common 42.9-0ubuntu7
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Victor (biktoras1995) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Next time the problem happens please follow these steps:

1. Run these commands:
    journalctl -b0 > journal.txt
    journalctl -b-1 > prevjournal.txt
and attach the resulting text files here.

2. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

3. If step 2 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Actually the attached monitors.xml.txt suggests the system doesn't have any saved configurations for using the laptop screen only. It looks like it only has known configurations that disable the laptop screen.

That sounds like a bug, and to fix it I can only recommend:

1. Delete ~/.config/monitors.xml

2. Reboot.

3. Unplug all external monitors.

4. Go to Settings and change some display settings.

5. Log out and in again.

6. Verify ~/.config/monitors.xml exists now.

7. Plug your external monitor in and configure it again in Settings.

affects: gnome-shell (Ubuntu) → mutter (Ubuntu)
tags: added: hotplug multimonitor
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.