I’m running EOS and have i3 as my DE. I recently got a monitor and started using it with my primary screen (laptop) using the following script.
#!/bin/bash
# Set display configuration
# xrandr --output HDMI-1-0 --primary --mode 2560x1440 --scale 1x1 --output eDP --mode 1920x1080 --left-of HDMI-1-0
# 2560x1440 --scale 1x1 1920x1080
xrandr --output HDMI-1-0 --primary --mode 2560x1440 --scale 1x1 --output eDP --mode 1920x1080 --left-of HDMI-1-0
# Get a list of active workspaces
active_workspaces=$(i3-msg -t get_workspaces | jq -r '.[] | select(.focused == false) | .name')
for workspace in $active_workspaces; do
if [ "$workspace" -ne 10 ]; then
i3-msg "workspace $workspace; move workspace to output HDMI-1-0"
fi
done
Now, I notice that if my monitor is switched on and plugged in WHILE I boot EOS, it becomes extremely laggy when using the monitor display. Rebooting gives me a CMOS checksum invalid error, making me toggle secure boot to OFF from ON and causing a lot of Arch user pain. Is there any workaround/ would any more information be needed to isolate the problem here?
EDIT: I have noticed, if the monitor is OFF (powered OFF) before booting, everything works smoothly.