Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: Wim on 16 March 2021, 19:40:38

Title: Redshift on runit?
Post by: Wim on 16 March 2021, 19:40:38
I'm trying to enable redshift on runit but I can't seem to find a redshift-runit package,  also I'm a little confused on automatic location configuration, the arch wiki (https://wiki.archlinux.org/index.php/Redshift#Configuration) mentions 2 methods, geoclue2 and gpsd, which is recommended?
Title: Re: Redshift on runit?
Post by: Everton Gabriel on 16 March 2021, 20:34:33
good afternoon people! I have a question, is it possible to install Artix, from within a distro? Via the terminal I create and assemble a separate partition for the Root (/) and take advantage of the existing Boot partition and follow the installation with chroot, is it possible?
Title: Re: Redshift on runit?
Post by: Wim on 16 March 2021, 22:10:16
good afternoon people! I have a question, is it possible to install Artix, from within a distro? Via the terminal I create and assemble a separate partition for the Root (/) and take advantage of the existing Boot partition and follow the installation with chroot, is it possible?

Yes, I'm assuming this (https://www.youtube.com/watch?v=nCc_4fSYzRA) is what you mean? But you should probably create a new topic for this
Title: Re: Redshift on runit?
Post by: alium on 16 March 2021, 22:31:05
https://wiki.artixlinux.org/Main/Migration
you can migrate from archlinux
Title: Re: Redshift on runit?
Post by: alium on 16 March 2021, 22:35:18
@wim  redshift have no runit service. we provide this package not.
geoclue2 is dep of redshift, so is probably better install it. if you are KDE user, you not need redshift, same function is implemented.
Title: Re: Redshift on runit?
Post by: Wim on 17 March 2021, 01:20:23
I'm using dwm so I'm trying to go for a minimalistic setup, and after configuring geoclue2 to allow redshift to access it, running redshift on it's own works well, so I decided to place
Code: [Select]
redshift &
in the .xprofile file so it autostarts, the only downside is that there seems to be a noticeable startup delay for redshift I believe this is because of geoclue2 but it's not a big deal
Title: Re: Redshift on runit?
Post by: brandflake11 on 18 March 2021, 13:56:43
I use i3 and actually use a script that gets called by a keyboard shortcut. Maybe something like this may help:

Code: [Select]
redshift -x && redshift -O 4500

This also makes it so you can't use redshift twice accidentally, as it resets itself before enabling. It makes more sense if it is on a keyboard shortcut, but maybe not if you are autostarting it. I can also disable it with this, which is on another keyboard shortcut:

Code: [Select]
redshift -x
Title: Re: Redshift on runit?
Post by: darknetmatrix on 18 March 2021, 15:20:04
i use sct, you can find it in the aur and it is very minimal.
more info on my site: https://darknetmatrix.blogspot.com/2021/03/adjust-color-temperature-of-your-screen.html
Title: Re: Redshift on runit?
Post by: Wim on 19 March 2021, 16:47:41
I use i3 and actually use a script that gets called by a keyboard shortcut. Maybe something like this may help:

Code: [Select]
redshift -x && redshift -O 4500

This also makes it so you can't use redshift twice accidentally, as it resets itself before enabling. It makes more sense if it is on a keyboard shortcut, but maybe not if you are autostarting it. I can also disable it with this, which is on another keyboard shortcut:

Code: [Select]
redshift -x

That's so cool I didn't know you could do that with redshift, I might try that
Title: Re: Redshift on runit?
Post by: Wim on 19 March 2021, 16:51:21
i use sct, you can find it in the aur and it is very minimal.
more info on my site: https://darknetmatrix.blogspot.com/2021/03/adjust-color-temperature-of-your-screen.html

sct sounds interesting, and this might be asking for too much for a minimal program, but does it support location based temperature? Since I'm mostly familiar with redshift, does the temperature change based on time or location?