You are not logged in.

#1 2020-10-18 16:25:37

erikebz
Member
Registered: 2020-10-18
Posts: 6

[SOLVED ]Redshift - Gamma ramp resets when i press $mod - i3wm

Good morning, yesterday i installed redshift on i3wm, during the day it works fine, but when its set the gamma ramp during the night it has a strange behavior:

Whenever i press my $mod key (Windows Key), the gamma ramp resets(blue light) but after ~3 seconds the redshift gamma ramp sets again(orange light). This doesn't  happen while i'm using other applications like firefox, alacarity or scrolling pages, only when i press my $mod key, which is kind of annoying.

I tried with alternatives to redshift like blugon and xflux but it keeps happening, i checked if i had 2 redshift process running but no, only one, tried setting my location and the problem persist.

Here is my i3 config which is similar to the default one due that I'm still learning to config it.
i3wm config file

As compositor I'm using picom, i don't know if it has something to do with this behavior:

picom config file

To control the brightness screen I'm using "light" due that xbacklight doesn't work for my laptop.

UPDATE: Tried changing my $mod key from Window key to alt and looks like if it is a temp fix, but i don't like the idea of not using the windows key, either way, with this fix when i press my Windows key the problem comes back.

Hope you can help me find what is causing this kind of behavior because it hurts my eyes to suddenly gets flashed with a blue light whenever i try to change to another workspace, open a terminal, open dmenu, etc...

SOLUTION: I checked my i3 config file, i had a forgotten bind of my "Super_L" key to run autorandr --change.

Last edited by erikebz (2020-10-18 20:55:11)

Offline

#2 2020-10-18 19:15:35

twelveeighty
Member
Registered: 2011-09-04
Posts: 1,456

Re: [SOLVED ]Redshift - Gamma ramp resets when i press $mod - i3wm

Try commenting out most of your i3config while leaving in just redshift and add them in one-by-one to see which is causing this. For example, is this one potentially binding to your Windows key: "exec_always --no-startup-id /home/erikebz/.scripts/lockscreen/idlock_screen"?

Offline

#3 2020-10-18 19:53:10

erikebz
Member
Registered: 2020-10-18
Posts: 6

Re: [SOLVED ]Redshift - Gamma ramp resets when i press $mod - i3wm

twelveeighty wrote:

Try commenting out most of your i3config while leaving in just redshift and add them in one-by-one to see which is causing this. For example, is this one potentially binding to your Windows key: "exec_always --no-startup-id /home/erikebz/.scripts/lockscreen/idlock_screen"?

I followed your instruction, i had a line where i had binded "Super_L" to execute "autorand --change", that is what was causing the problem, thank you very much for your help, hope you have a nice day smile

Offline

Board footer

Powered by FluxBB