Hello,
I freshly installed EOS on my PC that uses two screens:
DP-3
: 2k monitor I want to set as primaryHDMI-A-1
: second monitor that is currently seen as the primary one.
When I boot the system I can see the startup logs scrolling on DP-3
only but when the display manager (greetd
+ ReGreet
) runs I can only see the login screen on HDMI-A-1
as if it is being detected as the primary monitor.
In fact, I can see the following happening:
- Display manager login form appears only on
HDMI-A-1
. - Screens positions are inverted (
HDMI-A-1
is seen as the one on the right, same asDP-3
that is seen as the one on the left, but it should be the other way around). - Workspaces are bound by default on the wrong screens (workspace 1 is bound to
HDMI-A-1
and workspace 2 toDP-3
). - Sway uses
gtklock
configured as lock screen and when locking the system I can only see the lock screen onHDMI-A-1
.
Regarding screens position, I managed configure the layout in the ~/.config/sway/config.d/output
like so:
## Output configuration
#
# Example configuration:
#
output DP-3 resolution 2560x1440 position 0,0
output HDMI-A-1 resolution 1920x1080 position 2560,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
#
# You can also bind workspaces 1,2,3 to specific outputs
#
workspace 1 output DP-3
workspace 2 output HDMI-A-1
However, I believe it’s just a workaround to the problem, because I can see screens in the right positions, but HDMI-A-1
is still considered the primary screen.
I know that there is no such thing as “primary” screen in Sway, and things like xrandr --output DP-3 --primary
do not help me since I’m on Wayland.
Before installing EOS I had a plain Arch install where I also used Sway and Hyprland and where I also had the same problem.
I don’t know if this is something that happens on a lower level, because it seems like when Sway is running it’s already too late.
Can someone help me on this?
Thanks