Enumeration of my second monitor changes from time to time

Hi Manjaro,

I’ve got a small question regarding my second monitor in i3wm. From time to time I have to change the name of my second monitor. Running “xrandr” confirms the monitor’s name has been changed.

How do I make a certain monitor’ name “fixed”. Is this possible? How does this mechanism work?

Example 1:

exec xrandr --output HDMI-A-1-1 --auto --left-of eDP-1

Example 2:

exec xrandr --output HDMI-1-2 --auto --left-of eDP-1

Thank you in advance

Hi @Deville-ee,

AFAIK it’ll only change if it has been connected to a different port. So, check that.

Edit:

In more than a year, mine’s not changed:

$ xrandr

Screen 0: minimum 8 x 8, current 5120 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 673mm x 284mm
2560x1080     60.00*+
1920x1080     60.00    59.94    50.00    60.05    60.00    50.04
1680x1050     59.95
1600x900      60.00
1280x1024     75.02    60.02
1280x720      60.00    59.94    50.00
1152x864      75.00
1024x768      75.03    60.00
800x600       75.00    60.32
720x576       50.00
720x480       59.94
640x480       75.00    59.94    59.93
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DVI-D-0 connected 2560x1080+2560+0 (normal left inverted right x axis y axis) 673mm x 284mm
2560x1080     60.00*+
1920x1080     60.00    59.94    50.00    60.05    60.00    50.04
1680x1050     59.95
1600x900      60.00
1280x1024     75.02    60.02
1280x720      60.00    59.94    50.00
1152x864      75.00
1024x768      75.03    60.00
800x600       75.00    60.32
720x576       50.00
720x480       59.94
640x480       75.00    59.94    59.93

Hi @Mirdarthos

Ty for your response,

I’ve got the same setup throughout the i3wm installation with only one hdmi port present on my laptop. My setup works fine for about a month or so but it is very irregular.

The only 2 things I can imagine are: Sometimes I work without the extra monitor and sometimes I update my system.

Well, then I recommend not updating your system with the extra monitor disconnected.

1 Like

Little update,

I needed to switch again to the other monitor’s name today. There was no update, only a full working day without this second monitor attached to the HDMI port.

Curioser and curioser…

:face_with_raised_eyebrow: