You are not logged in.

#1 2026-10-25 16:29:55

CaeriTech
Member
Registered: 2021-07-12
Posts: 43

hyprclt addreserved syntax error

hyprctl monitors

shows...

.
.
Monitor DVI-I-1 (ID 0):
.
.
hyprctl eval monitor "DVI-I-1, addreserved, 0, 0, 0, 0"

produces...

error: [string "monitor DVI-I-1, addreserved, 0, 0, 0, 0"]:1: syntax error near 'DVI'

What am I missing?


-=[ LIVE enabled UEFI with redundant syslinux pure systemd detached LUKS header partitionless encrypted GPT SSDx3 RAID0 wayland only because I can.  ]=-
    Backward compatibility is for the masses. There's no dual-boot here.

    [CaeriTech remains only artificially intelligent.  Turing would be aghast at just how artificial.]

Offline

#2 2026-10-25 16:41:20

tekstryder
Member
Registered: 2013-02-14
Posts: 598

Re: hyprclt addreserved syntax error

Offline

#3 2026-10-30 07:58:52

felixandrea
Member
Registered: 2026-10-30
Posts: 1

Re: hyprclt addreserved syntax error

The wiki links are helpful, but it would be nice to point out the actual syntax issue too. I think addreserved needs to be used through the correct Hyprland configuration syntax rather than passed as a monitor argument to hyprctl eval. That distinction might save others some troubleshooting.

Offline

#4 2026-10-30 08:23:38

tekstryder
Member
Registered: 2013-02-14
Posts: 598

Re: hyprclt addreserved syntax error

Hand-holding is not the way of the Arch forums.

The hyprland wiki explicitly states eval takes a lua string.

How to form said string is explicitly exampled in the 2nd wiki link.

There is no "Hyprland configuration syntax" distinction to be made, as hyprlang is now fully deprecated.

Offline

#5 2026-11-20 09:45:22

tonkslupin
Member
Registered: 2026-11-20
Posts: 1

Re: hyprclt addreserved syntax error

CaeriTech wrote:
hyprctl monitors

shows...

.
.
Monitor DVI-I-1 (ID 0):
.
.
hyprctl eval monitor "DVI-I-1, addreserved, 0, 0, 0, 0"

produces...

error: [string "monitor DVI-I-1, addreserved, 0, 0, 0, 0"]:1: syntax error near 'DVI' 

What am I missing?

It would be great if you could also highlight the syntax error in addition to the helpful wiki links. I believe that instead of passing addreserved as a monitor parameter to hyprctl eval, the proper syntax for configuring Hyprland should be used. Making that difference might help others avoid unnecessary troubleshooting. Paper io

Last edited by tonkslupin (2026-11-20 09:48:15)

Offline

Board footer

Powered by FluxBB