Night Mode not working in ubuntu 18.04 even after enable from settings. Help me. This problem appeared 2-3 days ago. Before that it was working fine. I tried to install redshit & f.lux as well but didn't help.
debsums:
debsums: changed file /usr/share/mysql-workbench/data/main_menu.xml (from mysql-workbench-data package)
debsums: changed file /usr/share/nginx/html/index.html (from nginx-common package)
Start
dconf
, and search fornight-light
, and see if your settings look somewhat similar to this...Update #1:
Creating a new user account, and logging in there, shows that Night Light works fine. So something is wrong in the original user's account directory.
Update #2:
Renaming .config to .config.HOLD, logging out, logging in, made the desktop icons return, and Night Light worked again. Something is wrong in the .config.HOLD folder.
Compress .config.HOLD to a zip file, just for backup purposes. Then move the new .config out to the desktop. Rename .config.HOLD to .config. Move a few INDIVIDUAL files from the desktop .config folder into the .config folder, replacing files when prompted. Do a few. Log out. Log in and retest desktop icons and Night Light. Repeat until it all works.
This is in addition to @heynnema's answer. In my case, I simply removed the
/home/<username>/.config/dconf
folder (You can simply rename it for backup, it contained a single file named 'user'). Then log out and log back in.Alternatively, use this command to rename the folder:
mv ~/.config/dconf ~/.config/dconf.$(date +%s)
Nothing was broken when I renamed the folder. It was automatically recreated. And there were no noticeable undesired changes.
It might have been because you would have changed the "Scheduled Timings" in your Night Light settings and it seems like it doesn't work. You can go change the timings manually and then check.
Also, if you find it a little bothersome to turn it ON & OFF from the settings through the mouse, you can simply make a keyboard shortcut to Toggle Night Light on and Off very easily.
To make things easier, I've written a shellscript to do just that. It works well, and I always use that shortcut to Toggle. Anyone can set it up too! It's easy !! Check this Link for more information : Simplified-Tasks-with-Shell-scripts
I think they changed the location of the settings widget, and also the default "sunset to sunrise" schedule may not be very accurate.
After checking the above, look for the "night light" option at the very top in the attached screenshot (I think it was formerly down inside the page but now it's in the title bar which was surprising for me.) Then adjust the color temperature, and maybe adjust the schedule, as desired.
I think part of my issue is that it gets dark here around 6pm, but the "sunset to sunrise" setting seems to activate more towards 8pm.