I have a 2019 Dell XPS 13 2-in-1 7390 connected to Dell D6000 docking station and using Dell SE2719HR secondary monitor. The dock uses DisplayLink technology, for all it matters. My Ubuntu version is 20.04.
When I enable Night Light, it is only displayed on the laptop's built-in monitor. Even when I close the lid (which turns off the built-in monitor), Night Light still isn't displayed in the external monitor.
I've tried mirroring displays, extending displays, setting external display as only one active, nothing helped. I went through this topic here and all suggested solutions, none helped either.
Is this a bug of some sort, or am I doing something wrong?
You can use Brightness Controller, a GUI frontend of
xrandr
, which supports multiple monitors.Now you can select your primary and secondary monitor, and change their RGB color temperatures using the sliders. There is an option to save your current settings, which will be automatically loaded the next time you open the software. You can add the software to Startup Applications.
You might have to disable "Night Light" to use Brightness Controller, but it works as a substitute for Night Light. For more details see https://www.omgubuntu.co.uk/2017/05/adjust-external-monitor-brightness-ubuntu
there is a command line software called xrandr, it should be installed already but if not
sudo apt install xrandr
If you run it,
xrandr
will produce all of your monitors and their resolutions they can be accepted.For example for me:
I understand that I have two monitors, HDMI-0(my external monitor) and eDP-1-1(my built-in monitor), now stop here :) if you don't have two monitors here, I mean if you missed one of your monitors, install Nvidia driver first, then check if you have xorg.conf on your system, if you don't have this file, make a .sh file and put these in it:
make it executable(sudo chmod 755 ./thisfile.sh) and then run it(./thisfile.sh)
It will create the xorg.conf file (and actually reset it for you). Maybe a restart needs to be apply after running this script to ensure all the things are ok.
Now if all the things be ok, if you now run
xrandr
again, you have to get your two monitors in the list.I use the below code to turn my built-in monitor off(the eDP-1-1, you have to change this to yours), and turn my HDMI monitor on with dpi of 120 and best resolution of it(HDMI-0, you have to change this device name to your external monitor name listed in xrandr output)
I also suggest you to learn more about xrandr, it's really one of the best tools in Linux I saw :) it can change your resolution, brightnes of monitor, dpi, panning, scaling and many other things.
xrandr --output eDP-1-1 --off --output HDMI-0 --auto --panning 0x0 --primary --dpi 120
I hope this solves your problem.