Display Configuration Information/Questions

If anybody had a bit of knowlege about this, i was wondering how display configuration works, when i changed it in GUI it would reset after a reboot. i fixed it by adding an xrandr command under "DisplayCommand=" in the /etc/sddm.conf file.

so...
-from what i can tell sddm.conf controls display config on reboot
-But I also need to change it in "display settings" using GUI or else when "screen energy saving" kicks in it reverts to whatever the GUI "display settings" is set to and not sddm.conf

Question 1
What settings/file am i changing with the GUI and how do i do it via terminal

Question 2
is there a single file i can modify or command i can use to change display config globally

System:
Kernel: 6.0.6-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=5ee75985-2241-465d-afdf-55aaf7e202a1 rw [email protected]
amdgpu.freesync_video=1 quiet quiet splash rd.udev.log_priority=3
vt.global_cursor_default=0 loglevel=3
Desktop: KDE Plasma v: 5.26.2 tk: Qt v: 5.15.7 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: Gigabyte product: X570 AORUS ELITE WIFI v: -CF
serial: <superuser required>
Mobo: Gigabyte model: X570 AORUS ELITE WIFI v: x.x
serial: <superuser required> UEFI: American Megatrends v: F11
date: 12/06/2019
CPU:
Info: model: AMD Ryzen 7 3800X bits: 64 type: MT MCP arch: Zen 2 gen: 3
level: v3 note: check built: 2020-22 process: TSMC n7 (7nm)
family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701013
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 3801 high: 4045 min/max: 2200/4559 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 3596 2: 3623
3: 3433 4: 3900 5: 3588 6: 3535 7: 3900 8: 3900 9: 3900 10: 3900 11: 3900
12: 3900 13: 3900 14: 3900 15: 3900 16: 4045 bogomips: 124564
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
protection
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: Retpolines, IBPB: conditional, STIBP:
always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Hawaii XT / Grenada [Radeon R9 290X/390X]
vendor: Micro-Star MSI driver: amdgpu v: kernel alternate: radeon
arch: GCN-2 code: Sea Islands process: GF/TSMC 16-28nm built: 2013-17
pcie: gen: 3 speed: 8 GT/s lanes: 16 ports: active: DP-1, DVI-D-1,
DVI-D-2, HDMI-A-1 empty: none bus-ID: 08:00.0 chip-ID: 1002:67b0
class-ID: 0300 temp: 64.0 C
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting
alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 6400x1572 s-dpi: 96 s-size: 1689x414mm (66.50x16.30")
s-diag: 1739mm (68.46")
Monitor-1: DVI-D-1 mapped: DVI-D-0 pos: bottom-l model: HP 24es
serial: <filter> built: 2018 res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2
size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
Monitor-2: DVI-D-2 mapped: DVI-D-1 pos: bottom-r model: Samsung
built: 2013 res: 1920x1080 hz: 60 dpi: 55 gamma: 1.2
size: 886x498mm (34.88x19.61") diag: 1168mm (46") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
Monitor-3: DP-1 mapped: DisplayPort-0 pos: primary,top-center
model: Gigabyte G32QC serial: <filter> built: 2020 res: 2560x1440 dpi: 93
gamma: 1.2 size: 697x392mm (27.44x15.43") diag: 800mm (31.5") ratio: 16:9
modes: max: 2560x1440 min: 640x480
Monitor-4: HDMI-A-1 mapped: HDMI-A-0 pos: bottom-r model: HP 24es
serial: <filter> built: 2018 res: 1920x1080 hz: 60 dpi: 93 gamma: 1.2
size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
OpenGL: renderer: AMD Radeon R9 390 Series (hawaii LLVM 14.0.6 DRM 3.48
6.0.6-zen1-1-zen) v: 4.6 Mesa 22.2.1 direct render: Yes
Audio:
Device-1: AMD Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
vendor: Micro-Star MSI driver: snd_hda_intel bus-ID: 1-2:2 v: kernel
chip-ID: 1b3f:2008 pcie: gen: 3 class-ID: 0300 speed: 8 GT/s lanes: 16
bus-ID: 08:00.1 chip-ID: 1002:aac8 class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0a:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Generalplus USB Audio Device type: USB
driver: hid-generic,snd-usb-audio,usbhid
Device-4: Generalplus USB Audio Device type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 5-4:5 chip-ID: 1b3f:2008
class-ID: 0300
Sound API: ALSA v: k6.0.6-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.59 running: yes
Network:
Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0
chip-ID: 8086:24fb class-ID: 0280
IF: wlp3s0 state: down mac: <filter>
Device-2: Intel I211 Gigabit Network vendor: Gigabyte driver: igb
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 04:00.0
chip-ID: 8086:1539 class-ID: 0200
IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Bluetooth:
Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 3-5:2 chip-ID: 8087:0aa7 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 7.28 TiB used: 4.44 TiB (61.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 2B6Q scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 850 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 2B6Q scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital
model: WD3003FZEX-00Z4SA0 size: 2.73 TiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter>
rev: 1A01 scheme: GPT
ID-4: /dev/sdd maj-min: 8:48 vendor: Western Digital
model: WD20EZRZ-22Z5HB0 size: 1.82 TiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
rev: 0A80 scheme: GPT
ID-5: /dev/sde maj-min: 8:64 type: USB vendor: Western Digital model: WD
My Passport 0827 size: 1.82 TiB block-size: physical: 512 B
logical: 512 B type: N/A serial: <filter> rev: 1012 scheme: MBR
Partition:
ID-1: / raw-size: 465.46 GiB size: 465.46 GiB (100.00%) used: 352.75 GiB
(75.8%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 592 KiB
(0.2%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
ID-3: /home raw-size: 465.46 GiB size: 465.46 GiB (100.00%) used: 352.75
GiB (75.8%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-4: /var/log raw-size: 465.46 GiB size: 465.46 GiB (100.00%) used: 352.75
GiB (75.8%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-5: /var/tmp raw-size: 465.46 GiB size: 465.46 GiB (100.00%) used: 352.75
GiB (75.8%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.29 GiB used: 1.2 MiB (0.0%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 51.1 C mobo: 29.0 C gpu: amdgpu temp: 64.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 815
Info:
Processes: 403 Uptime: 3h 34m wakeups: 0 Memory: 31.29 GiB used: 5.63 GiB
(18.0%) Init: systemd v: 251 default: graphical tool: systemctl
Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman pkgs: 2207
libs: 588 tools: octopi,paru Shell: fish v: 3.5.1 default: Bash v: 5.1.16
running-in: konsole inxi: 3.3.22
Garuda (2.6.9-1):
System install date:     2022-04-06
Last full system update: 2022-11-03
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:

sddm is only used before you first login or when you logout.

The lock screen is not sddm. It is part of plasma. So sddm settings will not be used there.

4 Likes

is there another config file that i can change or is the only way of doing it through GUI

All of the GUI stuff in system settings is written to a config file.

I am not sure which file holds that specifically but you can look through them. They are mostly in ~/.config