Hyprland - Two monitors

Hi, I’m trying to configure two monitors (change position screen, scale) but it doesn’t save the configuration in .hyprland.conf at all. Has anyone managed to save after reboot?

  Kernel: 6.5.9-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=aa4eb384-7a43-4915-9a5c-a8909c47b2db rw rootflags=subvol=@
    quiet resume=UUID=0ffec380-e955-4da5-a925-e330cdf15770 loglevel=3 ibt=off
  Desktop: Hyprland info: waybar vt: 1 dm: SDDM Distro: Garuda Linux
    base: Arch Linux
  Type: Desktop Mobo: N/A model: X99-GT v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: 5.11 date: 11/30/2020
  Info: model: Intel Xeon E5-2620 v3 bits: 64 type: MT MCP arch: Haswell
    level: v3 note: check built: 2013-15 process: Intel 22nm family: 6
    model-id: 0x3F (63) stepping: 2 microcode: 0x49
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
    L3: 15 MiB desc: 1x15 MiB
  Speed (MHz): avg: 1650 high: 3200 min/max: 1200/3200 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 1200 2: 1200 3: 2600
    4: 1200 5: 1200 6: 1200 7: 1200 8: 1200 9: 3200 10: 1200 11: 3200 12: 1200
    bogomips: 57597
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
  Device-1: AMD Baffin [Radeon RX 460/560D / Pro
    450/455/460/555/555X/560/560X] vendor: Hightech Information System
    driver: amdgpu v: kernel arch: GCN-4 code: Arctic Islands process: GF 14nm
    built: 2016-20 pcie: gen: 3 speed: 8 GT/s lanes: 8 ports:
    active: DP-1,HDMI-A-1 empty: DVI-D-1 bus-ID: 03:00.0 chip-ID: 1002:67ef
    class-ID: 0300 temp: 35.0 C
  Display: wayland server: X.org v: with: Xwayland v: 23.2.2
    compositor: Hyprland driver: X: loaded: amdgpu unloaded: modesetting
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu d-rect: 3286x1080
    display-ID: 1
  Monitor-1: DP-1 pos: primary,left model: SFP2701G FHD serial: <filter>
    built: 2022 res: 1920x1080 hz: 120 dpi: 81 gamma: 1.2 scale: 1
    size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  Monitor-2: HDMI-A-1 pos: right model: HDMI serial: <filter> built: 2022
    res: 1366x768 hz: 60 dpi: 85 gamma: 1.2 scale: 2
    size: 410x230mm (16.14x9.06") diag: 470mm (18.51") modes: max: 1366x768
    min: 720x400
  API: Vulkan v: 1.3.269 layers: 3 device: 0 type: discrete-gpu name: AMD
    Radeon RX 460 Graphics (RADV POLARIS11) driver: mesa radv
    v: 23.2.1-arch1.2 device-ID: 1002:67ef surfaces: xcb,xlib,wayland
    device: 1 type: cpu name: llvmpipe (LLVM 16.0.6 256 bits)
    driver: mesa llvmpipe v: 23.2.1-arch1.2 (LLVM 16.0.6)
    device-ID: 10005:0000 surfaces: xcb,xlib,wayland
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Device-1: Intel 8 Series/C220 Series High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20
    class-ID: 0403
  Device-2: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / 560/560X]
    vendor: Hightech Information System driver: snd_hda_intel v: kernel pcie:
    gen: 3 speed: 8 GT/s lanes: 8 bus-ID: 03:00.1 chip-ID: 1002:aae0
    class-ID: 0403
  API: ALSA v: k6.5.9-zen2-1-zen status: kernel-api tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.84 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
  Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 01:00.0 chip-ID: 8086:2725
    class-ID: 0280
  IF: wls2 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000
    bus-ID: 06:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp6s0 state: down mac: <filter>
  Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-7:3 chip-ID: 8087:0032
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.3
    lmp-v: 12 status: discoverable: no pairing: no class-ID: 6c0104
  Local Storage: total: 704.24 GiB used: 389.05 GiB (55.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 model: NX-256 size: 238.47 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4
    tech: SSD serial: <filter> fw-rev: SN08381 temp: 34.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD5000AAKX-00U6AA0 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
    fw-rev: 1H15 scheme: MBR
  ID-1: / raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
    used: 7.91 GiB (3.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
    used: 7.91 GiB (3.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
    used: 7.91 GiB (3.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 229.37 GiB size: 229.37 GiB (100.00%)
    used: 7.91 GiB (3.4%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3
  ID-2: swap-2 type: zram size: 7.67 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12 dev: /dev/zram0
  System Temperatures: cpu: 36.0 C mobo: N/A gpu: amdgpu temp: 35.0 C
  Fan Speeds (rpm): N/A
  Processes: 316 Uptime: 2h 29m wakeups: 0 Memory: total: 8 GiB
  available: 7.67 GiB used: 2.37 GiB (30.9%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
  pm: pacman pkgs: 1339 libs: 404 tools: paru Shell: fish v: 3.6.1
  running-in: foot inxi: 3.3.31
Garuda (2.6.17-1):
  System install date:     2023-11-02
  Last full system update: 2023-11-03 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:
hyprctl monitors
Monitor DP-1 (ID 0):
	[email protected] at 0x0
	description: WAM SFP2701G FHD 0000000000001 (DP-1)
	make: WAM
	model: SFP2701G FHD
	serial: 0000000000001
	active workspace: 1 (1)
	special workspace: 0 ()
	reserved: 0 40 0 0
	scale: 1.00
	transform: 0
	focused: yes
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false

Monitor HDMI-A-1 (ID 1):
	[email protected] at 1920x0
	description: IPS, Inc. (Intellectual Property Solutions, Inc.) HDMI 0x00000001 (HDMI-A-1)
	make: IPS, Inc. (Intellectual Property Solutions, Inc.)
	model: HDMI
	serial: 0x00000001
	active workspace: 2 (2)
	special workspace: 0 ()
	reserved: 0 40 0 0
	scale: 2.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false

Do you still have this line in your hyprland.conf ?

# Set monitor values. For own values, please comment with #
exec-once = .local/bin/mon.sh

If so, please comment it out.
Have a look at Hyprland Wiki, i have 2 monitors hooked up at home with no problems, just setup the monitor section and assigned certain workspace to each monitor, like workspace 1-5 to the left and 6-0 to the right monitor. Don’t have access to my config files right now otherwise i would post the important snippets. But you’d have to comment that line out in hyprland.conf , if not every time you login that shell script would override your monitor section.
Every configuration is done right in the config file, so you have to read on this topic and use an editor.


Thanxs @veitw
Comment the line its works!!

1 Like

Why do I make help texts if nobody reads them? :smiley:


Thank you! I have external monitor w/laptop and I disable it then when hyprland restarts it would re-enable it!

Also thanks to all who are working on Garuda Hyprland. I had been using it with stock arch, then Manjaro but your version is the best!



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