How to setup Chromecast as second display?
Solution 1:
Got it partially working for a single window:
-
setup a virtual display:
# 1. show current display information # and extract the name of your primary display (e.g.: eDP1) xrandr --query # 2. create virtual display xrandr --addmode VIRTUAL1 1600x1024 # 3. add virtual display, change eDP1 to your primary display xrandr --output VIRTUAL1 --mode 1600x1024 --left-of eDP1
Bring up chrome and the application you want to be displayed on the TV
- Move both windows to the virtual display
- Configure Chrome to cast the application-window to the chromecast (I used Teamviewer to control the virtual display)
The problem:
I was not able to configure chrome to cast the full virtual screen, because chrome only allowed me to cast all screens at once, this included both: the primary and the virtual display contents.
Workaround:
I'm now using Teamviewer to mirror the virtual display to my Android device, which uses Miracast to mirror to the TV.
Solution 2:
Chromecast a tab, then separate the tab into a new Chrome window (drag it out). Go back to the original Chrome window. Now, you've got a virtual second screen. Not sure if that's what you were looking for, but that's what I came up with to get my second screen. It works for what I was trying to do -- see two screens.
Solution 3:
Watch this vide: Chromecast as second monitor on windows
The idea is the same, you need to first force a "fake" extension screen on Ubuntu. And then you can easily cast to it. I don't remember how I used to create a fake screen to push the extension screen on it although the OS may not recognize it. I will find it and edit this post.