Persistent Display Settings

Hey All!

I am new to Hyperland but have been using Garuda KDE for a while now. I am just now trying to do the switch to Hyperland and I am having some trouble with the whole modular config files.

I see that I can set my display settings using wdisplay, however they do not persist over reboot/Hyperland reset. I checked the hyperland config file and commented out the line because I saw that comment about commenting it out if you want to use your own monitor settings.

I also saw that you needed to write to a config file to make changes persistent however I am having trouble locating this config file particularly. I see that Kanshi is installed by default and was wondering if this is the write config file I should be writing to?

My issue is that I have two monitors that are stacked horizontal and I have no clue which config file to edit to make my wdisplay changes permanent.

Thanks again for your help!

Below is the garuda-inxi

System:
  Kernel: 6.9.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=d9426d1c-0b63-43a8-bbfd-96247749de54 rw rootflags=subvol=@
    quiet resume=UUID=826d4dc7-cfc9-4035-8ad4-b6d485ff691f loglevel=3
    nvidia_drm.modeset=1 ibt=off
  Desktop: Hyprland v: 0.40.0 with: waybar tools: avail: swayidle,swaylock
    vt: 1 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop System: Gigabyte product: B650M AORUS ELITE AX v: N/A
    serial: <superuser required>
  Mobo: Gigabyte model: B650M AORUS ELITE AX v: x.x
    serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: F20a date: 11/10/2023
Battery:
  Device-1: hidpp_battery_0 model: Logitech G604 Wireless Gaming Mouse
    serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: AMD Ryzen 9 7900X bits: 64 type: MT MCP arch: Zen 4 gen: 5
    level: v4 note: check built: 2022+ process: TSMC n5 (5nm) family: 0x19 (25)
    model-id: 0x61 (97) stepping: 2 microcode: 0xA601206
  Topology: cpus: 1x cores: 12 tpc: 2 threads: 24 smt: enabled cache:
    L1: 768 KiB desc: d-12x32 KiB; i-12x32 KiB L2: 12 MiB desc: 12x1024 KiB
    L3: 64 MiB desc: 2x32 MiB
  Speed (MHz): avg: 926 high: 5489 min/max: 400/5733 scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 3776 2: 400 3: 400
    4: 400 5: 400 6: 400 7: 400 8: 400 9: 4569 10: 400 11: 400 12: 400 13: 400
    14: 400 15: 400 16: 400 17: 400 18: 400 19: 400 20: 400 21: 400 22: 400
    23: 5489 24: 400 bogomips: 225183
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3070] vendor: Micro-Star MSI
    driver: nvidia v: 550.78 alternate: nouveau,nvidia_drm non-free: 550.xx+
    status: current (as of 2024-04; EOL~2026-12-xx) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-2023 pcie: gen: 2 speed: 5 GT/s
    lanes: 16 link-max: gen: 4 speed: 16 GT/s ports: active: none
    off: DP-1,DP-2 empty: DP-3,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:2484
    class-ID: 0300
  Device-2: AMD Raphael vendor: Gigabyte driver: amdgpu v: kernel
    arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie:
    gen: 4 speed: 16 GT/s lanes: 16 ports: active: none empty: DP-4, DP-5,
    DP-6, HDMI-A-2, Writeback-1 bus-ID: 10:00.0 chip-ID: 1002:164e
    class-ID: 0300 temp: 44.0 C
  Device-3: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 7-1.2:3
    chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
    compositor: Hyprland v: 0.40.0 driver: X: loaded: amdgpu,nvidia
    unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: radeonsi
    gpu: nvidia,nvidia-nvswitch d-rect: 5360x2520 display-ID: 1
  Monitor-1: DP-1 pos: bottom-l model: Dell U3417W serial: <filter>
    built: 2016 res: 3440x1440 hz: 60 dpi: 109 gamma: 1.2 scale: 1
    size: 800x335mm (31.5x13.19") diag: 867mm (34.1") modes: max: 3440x1440
    min: 640x480
  Monitor-2: DP-2 pos: top-right model: LG (GoldStar) ULTRAGEAR
    serial: <filter> built: 2021 res: 1920x1080 hz: 165 dpi: 70 gamma: 1.2
    scale: 1 size: 698x393mm (27.48x15.47") diag: 801mm (31.5") ratio: 16:9
    modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: nvidia drv: amd radeonsi platforms: device: 0
    drv: nvidia device: 2 drv: radeonsi device: 3 drv: swrast gbm: drv: nvidia
    surfaceless: drv: nvidia wayland: drv: nvidia x11: drv: zink
    inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.78
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3070/PCIe/SSE2
    memory: 7.81 GiB
  API: Vulkan v: 1.3.279 layers: 9 device: 0 type: discrete-gpu
    name: NVIDIA GeForce RTX 3070 driver: nvidia v: 550.78 device-ID: 10de:2484
    surfaces: xcb,xlib,wayland device: 1 type: integrated-gpu name: AMD
    Radeon Graphics (RADV RAPHAEL_MENDOCINO) driver: mesa radv
    v: 24.0.7-arch1.3 device-ID: 1002:164e surfaces: xcb,xlib,wayland
    device: 2 type: cpu name: llvmpipe (LLVM 17.0.6 256 bits)
    driver: mesa llvmpipe v: 24.0.7-arch1.3 (LLVM 17.0.6)
    device-ID: 10005:0000 surfaces: xcb,xlib,wayland
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:228b class-ID: 0403
  Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 10:00.1
    chip-ID: 1002:1640 class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 10:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-4: C-Media Q9-1 driver: hid-generic,snd-usb-audio,usbhid type: USB
    rev: 1.1 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-4.2:6
    chip-ID: 0d8c:0135 class-ID: 0300
  Device-5: Logitech Webcam C270 driver: snd-usb-audio,uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 7-1.2:3
    chip-ID: 046d:0825 class-ID: 0102 serial: <filter>
  API: ALSA v: k6.9.1-zen1-1-zen status: kernel-api tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.6 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: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 0b:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp11s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel Wi-Fi 6E AX210/AX1675 2x2 [Typhoon Peak] driver: iwlwifi
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 0c:00.0
    chip-ID: 8086:2725 class-ID: 0280
  IF: wlp12s0 state: down mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: ASUSTek ASUS USB-BT500 driver: btusb v: 0.8 type: USB rev: 1.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:3 chip-ID: 0b05:190e
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.1
    lmp-v: 10 status: discoverable: no pairing: no class-ID: 6c0104
  Device-2: Intel AX210 Bluetooth driver: N/A type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-6:5 chip-ID: 8087:0032
    class-ID: e000
Drives:
  Local Storage: total: 3.64 TiB used: 17.29 GiB (0.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO with
    Heatsink 2TB size: 1.82 TiB block-size: physical: 512 B logical: 512 B
    speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7
    temp: 40.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 3B6Q scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Netac model: MobileDataStar
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B type: USB
    rev: 3.2 spd: 10 Gb/s lanes: 1 mode: 3.2 gen-2x1 tech: N/A
    serial: <filter> fw-rev: 0209 scheme: MBR
Partition:
  ID-1: / raw-size: 1.79 TiB size: 1.79 TiB (100.00%) used: 17.29 GiB (0.9%)
    fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 1.79 TiB size: 1.79 TiB (100.00%)
    used: 17.29 GiB (0.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 1.79 TiB size: 1.79 TiB (100.00%)
    used: 17.29 GiB (0.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 1.79 TiB size: 1.79 TiB (100.00%)
    used: 17.29 GiB (0.9%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 33.54 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-2: swap-2 type: zram size: 30.49 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 24 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 59.5 C mobo: 34.0 C gpu: amdgpu temp: 45.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB note: est. available: 30.49 GiB used: 3.47 GiB (11.4%)
  Processes: 431 Power: uptime: 27m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.16 GiB services: upowerd Init: systemd
    v: 255 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1387 libs: 455 tools: pacseek,paru Compilers:
    gcc: 14.1.1 Shell: garuda-inxi default: fish v: 3.7.1 running-in: foot
    inxi: 3.3.34
Garuda (2.6.26-1):
  System install date:     2024-05-23
  Last full system update: 2024-05-23 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       No/Undetected
  Failed units:

You’re going to need the Hyprland wiki, especially the part on Configuring Hyprland states that the config is located in

~/.config/hypr/hyprland.conf

The monitors section has all the details on how to edit the monitors section. wdisplays is great for visually setting the monitors how you want them and reading the values to plug into the conf file.

Monitors – Hyprland Wiki

I have monitors in Hyprland set up to my liking and I’ve never touched Kanshi.

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