-
Notifications
You must be signed in to change notification settings - Fork 3
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
Failed to init randr! #9
Comments
Is there a specific reason you're trying to run radshift as root? Does it not work when you run it as your normal user? |
No specific reason but I have to do it because when I don't do it I get from Bash:
|
Ah, perhaps the permissions on the file are incorrect. What does Did you use |
I did use sudo because it was advised so in your README. |
Yeah, to install to a system path like /usr/bin you usually need root permissions. What does |
|
Yeah so with sudo or doas you'll be getting weird issues because you really shouldn't be interacting with an X session as root. I think the following should fix it:
(or you can use Then, just run |
Yeah, it works fine when I run it as a normal user. |
I wrote this thing ages ago, so I'm not sure about that. I do remember that color conversion was taken mostly from redshift itself, so weird... But yeah, that might be another issue. I'm closing this for now. |
doas radshift 3000K
returnsI use Ubuntu 22.04LTS Desktop and
doas
instead ofsudo
.The text was updated successfully, but these errors were encountered: