Hello,
I’m experiencing a frustrating issue where my monitor positions keep getting reset on every boot, and I’ve exhausted all the solutions I can find online.
System Configuration:
-
OS: Kubuntu 24.04
-
Desktop: KDE Plasma 5.27
-
GPU: NVIDIA GeForce RTX 4060
-
Driver: NVIDIA 510.47.03
-
Display Server: X11
Hardware Setup:
-
Monitor 1 (DP-2): HP OMEN 25, 1920x1080 @ 144Hz - Primary monitor, physically positioned on bottom
-
Monitor 2 (HDMI-0): LG TV, 3840x2160 @ 60Hz - Secondary monitor, physically positioned on top of Monitor 1
Desired Configuration:
-
DP-2 at position (0, 0) - bottom monitor
-
HDMI-0 at position (0, -2160) - top monitor, above DP-2
Actual Configuration After Boot:
-
DP-2 at position (0, 2160)
-
HDMI-0 at position (0, 0)
The Issue:
Every single boot, the positions reset. This causes my KDE splash screen to stretch across both monitors instead of displaying only on the primary monitor. I’ve tried everything I can think of:
Troubleshooting Steps Attempted:
- xrandr manual configuration - Positions revert within seconds:
bash
xrandr --output DP-2 --primary --pos 0x0 --output HDMI-0 --pos 0x-2160
Running xrandr immediately after shows the old positions are back.
-
KDE Display Configuration GUI - Saved configuration doesn’t persist after reboot
-
Deleted KDE display configs:
bash
rm -rf ~/.local/share/kscreen/*
rm -rf ~/.config/kscreenrc
-
Removed conflicting GNOME config:
- Found and removed
~/.config/monitors.xmlwhich had hardcoded positions
- Found and removed
-
Modified /etc/X11/xorg.conf with correct metamodes:
Option "metamodes" "DP-2: 1920x1080_144 +0+0 {ForceCompositionPipeline=On, AllowGSYNCCompatible=On}, HDMI-0: nvidia-auto-select +0+-2160 {ForceCompositionPipeline=On}"
This had some effect (positions changed slightly) but still not correct.
-
Checked all shell configs - No xrandr commands in
.bashrc,.profile,.bash_profile,.xprofile, etc. -
Checked autostart scripts - Removed old monitor configuration script from
~/.config/autostart/ -
Killed plasma-kscreen service before running xrandr - Still reverts
Additional Information:
The plasma-kscreen.service is running and shows activity in logs when positions change. I’ve verified that xorg.conf is being read (nvidia-settings shows the metamodes configuration), but something is overriding it post-boot.
Question:
What could be overriding the monitor positions? Is there another NVIDIA-specific config file, a KDE Plasma setting, or a systemd service that manages display positions? Has anyone successfully configured monitor positions with NVIDIA + KDE where the secondary monitor is at negative coordinates?
I’m open to any solution at this point - whether it’s fixing the monitor positions permanently OR configuring the KDE splash screen to only display on the primary monitor regardless of its position.
Thank you for any assistance!