Solved Settings > Displays lists 2 displays for my system but I've got only one

I'm using XFCE on FreeBSD 12.0-RELEASE on a desktop motherboard and I have a problem with displays management: the "Display" panel of Settings lists 2 displays.
- my real physical display, Dell 24
- a "laptop" display that has no reality but causes some problem (I've had to disable it, but Slim is very likely to use it because it wont show the login screen on my real display).

screenshot here: https://www.patpro.net/~patpro/Screenshot_2019-08-23_22-28-33.png

How can I find out what is that laptop display and fully disable it?
 
Last edited:
Use xrandr in an Xorg terminal to determine monitor name and then disable it.
For example:
Code:
~ # xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
   1366x768      60.00*+  40.02 

   1024x768      60.00 
   800x600       60.32    56.25 
   640x480       59.94 
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)

So use the name found here for your display and try and turn it off:
xrandr --output LVDS1 --off

Once you find the right setup you can make it stick with an Xorg monitor file that you create.
usr/local/etc/X11/xorg.conf.d/10-lvds-off.conf
Code:
Section "Monitor"
        Identifier      "lvds monitor"
        Option  "ignore"        "true"
EndSection
Section "Device"
        Identifier      "onboard"
        Option  "Monitor-LVDS1" "lvds monitor"
EndSection
 
Here is the output of xrandr:

Code:
$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 8192 x 8192
eDP-1 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +
   1400x1050     59.98 
   1280x1024     60.02 
   1280x960      60.00 
   1024x768      60.04    60.00 
   960x720       60.00 
   928x696       60.05 
   896x672       60.01 
   800x600       60.00    60.32    56.25 
   700x525       59.98 
   640x512       60.02 
   640x480       60.00    59.94 
   512x384       60.00 
   400x300       60.32    56.34 
   320x240       60.05 
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
   1920x1200     59.95*+
   1920x1080     60.00    50.00    24.00 
   1920x1080i    60.00    50.00 
   1600x1200     60.00 
   1280x1024     75.02    60.02 
   1152x864      75.00 
   1280x720      60.00    50.00 
   1440x576i     50.00 
   1024x768      75.08    60.00 
   1440x480i     59.94 
   800x600       75.00    60.32 
   720x576       50.00 
   720x480       59.94 
   640x480       75.00    60.00    59.94 
   720x400       70.08 
DP-2 disconnected (normal left inverted right x axis y axis)

It's an Intel DQ77KB motherboard. After googling I've discovered eDP is an internal flat display. Pretty safe to disable!
Thanks for your guidance. I'm going to try & disable this output ASAP.
 
Quick follow up: after issuing xrandr --output eDP-1 --off the eDP-1 output remains active (I've tried as root and as a regular user, same result). xrandr output is exactly the same as my post above.
Am I missing something?
 
I've figured it out: I've disabled the eDP device in the BIOS. Now it's all clean, just my HDMI shows up.
 
Back
Top