Monitors will not stay put!

Hello Garuda users.

I have recently installed Garuda Cinnamon on my desktop and laptop, and I am loving it, with one small exception. On my desktop I have two monitors, and they are exhibiting a stubborn refusal to stay where I put them (logically of course). They keep switching their left and right positions!

I used Nvidia x-server settings to orient them they way they are placed on my desk, and clicked apply, confirmed that yes this how I want the layout to be, but 'Save to X configuration File' would not stick, as 'you have to be root to save this file', or similar.

So I sudo'ed the nvidia-settings command, and repeated the steps, and was able to save the x configuration file (or so I thought). The setting holds only until I either reboot or the screen goes to sleep, then they are reversed again.

I saw a post somewhere where someone said use arandr to make this change, so i tried that too. Same situation - setting works, but only until reboot or screen timeout.

I even tried switching out the DisplayPort cables on them - no dice. Garuda saw that immediately and 'fixed' what I did.

garuda-inxi


System:
  Kernel: 5.18.6-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=ef16f983-62b4-4910-a14d-c334ec8ca9b7 rw [email protected]
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=2a54b60f-a88d-45d5-9353-fe3c532df102 loglevel=3 ibt=off
  Desktop: Cinnamon v: 5.4.2 tk: GTK v: 3.24.34 wm: Mutter vt: 7
    dm: LightDM v: 1.30.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: B365M DS3H WIFI v: x.x
    serial: <superuser required> UEFI: American Megatrends v: F1 Y1
    date: 05/14/2019
CPU:
  Info: model: Intel Core i7-9700F bits: 64 type: MCP arch: Coffee Lake
    gen: core 9 built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158)
    stepping: 0xD (13) microcode: 0xF0
  Topology: cpus: 1x cores: 8 smt: <unsupported> cache: L1: 512 KiB
    desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB L3: 12 MiB
    desc: 1x12 MiB
  Speed (MHz): avg: 4269 high: 4589 min/max: 800/4700 scaling:
    driver: intel_pstate governor: performance cores: 1: 3458 2: 4577 3: 4589
    4: 4551 5: 4399 6: 3629 7: 4449 8: 4501 bogomips: 48000
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2
    mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2070 SUPER] vendor: ASUSTeK
    driver: nvidia v: 515.48.07 alternate: nouveau,nvidia_drm non-free: 515.xx+
    status: current (as of 2022-06) arch: Turing process: TSMC 12nm
    built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1e84 class-ID: 0300
  Device-2: Microsoft Microsoft LifeCam Cinema type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-8.4:9 chip-ID: 045e:0812
    class-ID: 0102
  Display: x11 server: X.Org v: 21.1.3 driver: X: loaded: nvidia
    unloaded: modesetting alternate: fbdev,nouveau,nv,vesa gpu: nvidia
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x286mm (40.00x11.26")
    s-diag: 1055mm (41.55")
  Monitor-1: DP-0 pos: right res: 1920x1080 hz: 144 dpi: 82
    size: 598x336mm (23.54x13.23") diag: 686mm (27.01") modes: N/A
  Monitor-2: DP-4 pos: primary,left res: 1920x1080 hz: 144 dpi: 81
    size: 600x340mm (23.62x13.39") diag: 690mm (27.15") modes: N/A
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel bus-ID: 1-8.4:9 bus-ID: 00:1f.3
    chip-ID: 045e:0812 chip-ID: 8086:a2f0 class-ID: 0102 class-ID: 0403
  Device-2: NVIDIA TU104 HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:10f8 class-ID: 0403
  Device-3: Microsoft Microsoft LifeCam Cinema type: USB
    driver: snd-usb-audio,uvcvideo
  Sound Server-1: ALSA v: k5.18.6-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.52 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 07:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp7s0 state: down mac: <filter>
  Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak]
    driver: iwlwifi v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 08:00.0 chip-ID: 8086:24fb class-ID: 0280
  IF: wlp8s0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-11:6 chip-ID: 8087:0aa7 class-ID: e001
  Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: <filter>
RAID:
  Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0
    port: f020 bus-ID: 00:17.0 chip-ID: 8086:2822 rev: class-ID: 0104
Drives:
  Local Storage: total: 2.71 TiB used: 446.25 GiB (16.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 4B6Q scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Apacer model: AS340 480GB
    size: 447.13 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: .2 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital
    model: WD10EURX-63FH1Y0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: N/A serial: <filter> rev: 1A01
    scheme: MBR
  ID-4: /dev/sdd maj-min: 8:48 vendor: Seagate model: ST1000DM010-2EP102
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B
    speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: CC43
    scheme: GPT
Partition:
  ID-1: / raw-size: 431.04 GiB size: 431.04 GiB (100.00%)
    used: 11.67 GiB (2.7%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 431.04 GiB size: 431.04 GiB (100.00%)
    used: 11.67 GiB (2.7%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 431.04 GiB size: 431.04 GiB (100.00%)
    used: 11.67 GiB (2.7%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 431.04 GiB size: 431.04 GiB (100.00%)
    used: 11.67 GiB (2.7%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 31.29 GiB used: 22 MiB (0.1%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 34.42 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda3 maj-min: 8:3
Sensors:
  System Temperatures: cpu: 41.0 C mobo: N/A gpu: nvidia temp: 49 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 340 Uptime: 1d 16h 8m wakeups: 0 Memory: 31.29 GiB
  used: 4.72 GiB (15.1%) Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.1.0 Packages: pacman: 1329 lib: 316
  Shell: fish v: 3.4.1 default: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.19
Garuda (2.6.4-2):
  System install date:     2022-06-24
  Last full system update: 2022-06-25 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       Probably (Run as root to verify)
  Snapshots:               Snapper
  Failed units:
   

Thank in advance to any help thrown my way, I really don't want to have to physically swap these monitors on the stand!

Shane

If there are multiple things that can change a given setting, usually the user-specific setting wins. In this case, there is a config file at ~/.config/cinnamon-monitors.xml which has the final say.

The easiest way to change this is System Settings -> Display, where you can dial in a few settings including layout. In my example here I just have one monitor, but in your case you should see a couple and you can move them around however you like.

4 Likes

Thanks for your reply. I have no System setting to speak of, let alone a Display subsetting. I did, however, find the file you suggested in your reply. I copied it to the dir you mentioned, and went in and altered the appropriate values to what I want, and saved the file. But as soon as I log out and back in again, I'm right back to where I started. This is confounding me.

EDIT: Okay I found the setting, made the change, and it's working so far, through one logout->login and one reboot.

Thank you so much!!

Shane

A post was split to a new topic: Display applet disappears

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.