Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not detect display although it is connected. #99

Open
Jacoblightning opened this issue Dec 27, 2024 · 2 comments
Open

Does not detect display although it is connected. #99

Jacoblightning opened this issue Dec 27, 2024 · 2 comments

Comments

@Jacoblightning
Copy link

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

After removing the second .+?, it correctly matches: https://regex101.com/r/JAMUd7/1

Copy link

This issue is scheduled to close soon. This issue is stale because it has been open for 56 days with no activity.

@Jacoblightning
Copy link
Author

This issue is scheduled to close soon. This issue is stale because it has been open for 56 days with no activity.

Hm... Please dont

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant