getting error when issuing xininfo
zeltak opened this issue · comments
hi when using teiler i noticed i was getting an error via xininfo:
xininfo -mon-width master⚡
error: request code=140, error code=148
X Error of failed request: BadRRCrtc (invalid Crtc parameter)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 20 (RRGetCrtcInfo)
Crtc id in failed request: 0x0
Serial number of failed request: 23
Current serial number in output stream: 23
any clue?
thx
z
there are 2 things that can cause this:
- no primary screen is set.
- laptop screen is set to "--off" which makes it still connected but without modes.
This effectively is an issue to most laptop users that use external screens.
Screen that is off seems to work (with xrandr). Should it still be listed? (as disabled?)
to make parsing easier, maybe make a switch -all or something?