You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run rot8, I get the error Error: "Unable to determine rotation state: display eDP-1 not found in xrandr output" even though when I run xrandr manually, I see the display: eDP-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 301mm x 188mm
I traced the problem back to the regex in xorg.rs: ^{} connected .+? .+? (normal |inverted |left |right )?\(normal left inverted right x axis y axis\) .+$.
I dont see why there have to be 2 .+?s with a space in between. The space is messing up the program on my machine as there is no space in 1920x1200+0+0. Here is the failing match: https://regex101.com/r/2hloA2/1
When I run rot8, I get the error
Error: "Unable to determine rotation state: display eDP-1 not found in xrandr output"
even though when I runxrandr
manually, I see the display:eDP-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 301mm x 188mm
I traced the problem back to the regex in
xorg.rs
:^{} connected .+? .+? (normal |inverted |left |right )?\(normal left inverted right x axis y axis\) .+$
.I dont see why there have to be 2
.+?
s with a space in between. The space is messing up the program on my machine as there is no space in1920x1200+0+0
. Here is the failing match: https://regex101.com/r/2hloA2/1After removing the second
.+?
, it correctly matches: https://regex101.com/r/JAMUd7/1The text was updated successfully, but these errors were encountered: