Comments (9)
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?
from radshift.
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:
/usr/bin/radshift: Permission denied
from radshift.
Ah, perhaps the permissions on the file are incorrect. What does ls -lh /usr/bin/radshift
output?
Did you use sudo make install
to install it?
from radshift.
I did use sudo because it was advised so in your README.
from radshift.
Yeah, to install to a system path like /usr/bin you usually need root permissions. What does ls -lh /usr/bin/radshift
say?
from radshift.
Yeah, to install to a system path like /usr/bin you usually need root permissions. What does
ls -lh /usr/bin/radshift
say?
-rwx------ 1 root root 22K Feb 27 14:19 /usr/bin/radshift
- that's permissions. Without sudo or doas I get install: cannot create regular file '/usr/bin/radshift': Permission denied make: *** [Makefile:70: install] Error 1
But what about RANDR Query Version' returned error -1
? Is it an independent issue?
from radshift.
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:
sudo chmod 0755 /usr/bin/radshift
(or you can use doas
instead of sudo
, I think either should work)
Then, just run radshift
as your regular user, without doas
or sudo
. Let me know if that works :)
from radshift.
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:
sudo chmod 0755 /usr/bin/radshift
(or you can use
doas
instead ofsudo
, I think either should work)Then, just run
radshift
as your regular user, withoutdoas
orsudo
. Let me know if that works :)
Yeah, it works fine when I run it as a normal user.
P.S. I'm concerned because 2000K does nor seem warm at all. I don't even see any difference. And I remember that 2000K seemed quite red and warm with redshift. But that is another issue perhaps...
from radshift.
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.
from radshift.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from radshift.