It is a well documented issue about some of the function keys not working on laptops. I am having the same issue with my Display Function key i.e. the key that is used to switch to turn on the VGA output.
My question is, if we cannot get the function key to work, what is a way to do the task manually ?
For some background to this question, please see this.
You could use the command line tool xrandr to do that.
Query you monitors with
xrandr -q
, which should give you an output like:The two lines
are the connected monitors, where
LVDS1
is the internal laptop screen, andVGA1
the one connected with the VGA-cable. You can also see that the laptop screen currently uses a resolution of1024x600
. The VGA screen is not used yet.Below that are the possible configuration for the monitor. The one marked with an asterisk '*', is the active one.
You can turn both on with (mirrored setup/ both display the same)
If you want an extended desktop use something like
Now the VGA screen is 'above' the laptop screen. If you want to extend your desktop into another direction use one of
--left-of
--right-of
--above
--below
Now the query output looks like:
The part after the resolution
1024x600+0+1024
of theVGA1
is the position the screens have in relation to each other. It meansVGA1
has the resolution 1024x600, is 0 pixel right ofVGA1
, and 1024 pixel under it.To turn one screen of use the
--off
switch: