I have installed redshift and added the commands below to my i3config file:
bindsym $mod+F2 exec redshift
bindsym $mod+Shift+F2 exec --no-startup-id pkill redshift
and the redshift.conf file looks like this:
[redshift]
location-provider=manual
temp-day=2000
temp-night=2000
[manual]
lat=-11.8
lon=16.8
the issue is that sometimes I can’t turn it off without rebooting the machine: using mod+shift+F2
doesn’t kill the application but starts another instance on top of the existing one (making the screen increasingly ‘redshifted’…). The bigger problem is trying to find and kill the process once this happens. If I kill all instances visible in the process list on htop, the application remains running and I cannot figure out how to really find and kill that process. A general question here is, how do I find a process that is running but not listed in htop (I’ve fiddled with the setup options without any luck)?
Besides the above, is there a more appropriate way to kill this process than bindsym $mod+Shift+F2 exec --no-startup-id pkill redshift
?