Skip to content

Cannot disable secondary monitor in SDDM Astronaut theme under Wayland #72

@EmbedJunk

Description

@EmbedJunk

I'm trying to configure the SDDM Astronaut theme on a Wayland system (Hyprland) so that the secondary monitor is disabled during the login screen.

What I tried:

Setting DisplayServer=x11 and using /usr/share/sddm/scripts/Xsetup with xrandr --output HDMI-A-2 --off – does not work under Wayland, only works on X11.

Using wlr-randr --output HDMI-A-2 --off in XSetup – the login screen is displayed correctly on the left monitor, but Hyprland crashes immediately after login.

Editing any theme .conf files in /usr/share/sddm/themes/sddm-astronaut-theme/Themes/ – there is no option to disable monitors or set monitor priority.

Trying to find or edit any .json or other configuration files for SDDM (like kwinoutputconfig.json) – does not exist for this theme/setup.

Observed behavior:

On Wayland, the SDDM Astronaut theme greeter runs in a separate wlroots session.

Any attempt to disable or turn off the secondary monitor either has no effect (XSetup/xrandr) or causes the Wayland session (Hyprland) to crash (wlr-randr).

The theme provides no configuration for controlling which monitor the greeter appears on.

Expected behavior:

Ability to disable or hide secondary monitors during the login screen using the Astronaut theme configuration or some supported method.

Preferably, ability to retain the Astronaut theme look while controlling monitor display.

System information:

Arch Linux

Hyprland (Wayland)

SDDM Astronaut theme latest version

Additional context:

This seems to be a limitation of SDDM-Wayland + Astronaut theme: the greeter runs in its own wlroots instance, so monitor configuration outside the greeter session does not reliably apply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions