Screen settings are not saved

Hi guys, every time I restart the laptop the resolution changes and returns to maximized, as if it wasn’t stored.
This has been happening for a week or so.
How can I solve it?
Thank you!

System:
Kernel: 6.8.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=4a751690-b2b1-4890-928e-4965587ac30e rw rootflags=subvol=@
quiet resume=UUID=de25468f-8c1d-4d03-9679-30ec6e744ec3 loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.0.2 tk: Qt v: N/A info: frameworks v: 6.0.0
wm: kwin_x11 vt: 2 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 80HE v: Lenovo YOGA 3 Pro-1370
serial: <superuser required> Chassis: type: 10 v: Lenovo YOGA 3 Pro-1370
serial: <superuser required>
Mobo: LENOVO model: VIUU4 v: 31900058 WIN serial: <superuser required>
part-nu: LENOVO_MT_80HE_BU_idea_FM_Lenovo YOGA 3 Pro-1370
uuid: <superuser required> UEFI: LENOVO v: A6CN58WW date: 08/06/2015
Battery:
ID-1: BAT1 charge: 34.0 Wh (96.3%) condition: 35.3/44.0 Wh (80.2%)
volts: 8.4 min: 7.6 model: Getac SDS-BAT type: Li-poly serial: <filter>
status: not charging
CPU:
Info: model: Intel 5Y70 bits: 64 type: MT MCP arch: Broadwell level: v3
note: check built: 2015-18 process: Intel 14nm family: 6 model-id: 0x3D (61)
stepping: 4 microcode: 0x2F
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
L3: 4 MiB desc: 1x4 MiB
Speed (MHz): avg: 797 high: 798 min/max: 500/2600 scaling:
driver: intel_cpufreq governor: schedutil cores: 1: 795 2: 798 3: 798 4: 798
bogomips: 10376
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel HD Graphics 5300 vendor: Lenovo driver: i915 v: kernel
arch: Gen-8 process: Intel 14nm built: 2014-15 ports: active: eDP-1
empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:161e class-ID: 0300
Device-2: Bison Lenovo EasyCamera integrated webcam driver: uvcvideo
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-7:4
chip-ID: 5986:0535 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4
compositor: kwin_x11 driver: X: loaded: intel unloaded: modesetting
alternate: fbdev,vesa dri: i965 gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x237mm (16.65x9.33")
s-diag: 485mm (19.09")
Monitor-1: eDP-1 mapped: eDP1 model: Samsung 0x434a built: 2014
res: 1600x900 hz: 60 dpi: 140 gamma: 1.2 size: 290x170mm (11.42x6.69")
diag: 336mm (13.2") ratio: 16:9 modes: 3200x1800
API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
device: 1 drv: swrast surfaceless: drv: iris x11: drv: iris
inactive: gbm,wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.0.3-arch1.2
glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 5300 (BDW
GT2) device-ID: 8086:161e memory: 7.49 GiB unified: yes
API: Vulkan v: 1.3.279 layers: 3 device: 0 type: integrated-gpu name: Intel
HD Graphics 5300 (BDW GT2) driver: mesa intel v: 24.0.3-arch1.2
device-ID: 8086:161e surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 17.0.6 256 bits) driver: mesa llvmpipe v: 24.0.3-arch1.2 (LLVM
17.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: Intel Broadwell-U Audio vendor: Lenovo driver: snd_hda_intel
v: kernel bus-ID: 00:03.0 chip-ID: 8086:160c class-ID: 0403
Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Lenovo
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9ca0
class-ID: 0403
API: ALSA v: k6.8.1-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 1.0.4 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Wi-Fi 5 Wireless-AC 9x6x [Thunder Peak] driver: iwlwifi
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 01:00.0
chip-ID: 8086:2526 class-ID: 0280
IF: wlp1s0 state: up mac: <filter>
Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel Wireless-AC 9260 Bluetooth Adapter driver: btusb v: 0.8
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4:3
chip-ID: 8087:0025 class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.1
lmp-v: 10 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
Local Storage: total: 476.94 GiB used: 15.38 GiB (3.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: MZNTE512HMJH-000L2
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
tech: SSD serial: <filter> fw-rev: 6L0Q scheme: GPT
Partition:
ID-1: / raw-size: 467.84 GiB size: 467.84 GiB (100.00%)
used: 15.38 GiB (3.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 584 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 467.84 GiB size: 467.84 GiB (100.00%)
used: 15.38 GiB (3.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 467.84 GiB size: 467.84 GiB (100.00%)
used: 15.38 GiB (3.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 467.84 GiB size: 467.84 GiB (100.00%)
used: 15.38 GiB (3.3%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 7.67 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4 dev: /dev/zram0
ID-2: swap-2 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sda3 maj-min: 8:3
Sensors:
System Temperatures: cpu: 51.0 C pch: 45.5 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 8 GiB available: 7.67 GiB used: 1.76 GiB (23.0%)
Processes: 193 Power: uptime: 4m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 3.06 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 1303 libs: 381 tools: octopi,paru Compilers:
clang: 17.0.6 gcc: 13.2.1 Shell: garuda-inxi default: fish v: 3.7.0
running-in: konsole inxi: 3.3.33
Garuda (2.6.23-1):
System install date:     2024-03-09
Last full system update: 2024-03-26
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       No/Undetected
Failed units:

You can achieve a persistent configuration by setting up a xrandr script. xrandr - ArchWiki

If you want, you can accomplish this with an easy-to-use GUI application like arandr.

Configuration using arandr

arandr can graphically arrange your monitors, change resolutions, and save a script to duplicate your setup. By default, if you “Save As” it will be saved in ~/.screenlayout/. These files can then be autostarted. Sometimes problems arise from running the arandr script too soon after login, add a sleep command if needed.

1 Like

I forgot about arandr :man_facepalming: and honestly I wouldn’t have known how to set it up via automatic startup anyway, thanks for the tip!!

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