I have connected one external Display to my laptop( means connected one HDMI display) which contains Ubuntu 16.04 as the OS. I would like to display content like VLC player, Firefox etc on the external display using command line interface. Tried with DISPLAY command but didn't succeeded.

Could someone help me on this

  • Isn't unchecking Mirror displays in Display settings sufficient? why do you require a command line solution?
    – Jrct
    Mar 8, 2019 at 7:24

1 Answer 1


I have read somewhere, "connect your TV to your computer and type into a terminal the following command: 'xrandr --output TMDS-1 --auto' you should see your computer screen on your TV after that. You still might have to adjust your resolution (System>Preferences>Display) ....I have to set mine to 1024x768 It that works you can just build a Launcher with those settings to automate"

hope this will help you. ref

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .