I'm using Chromecast with Ubuntu 14.04 and I'm able to mirror my desktop using Chromium + Google Cast Addon.
I am wondering if it's possible to extend my desktop as if chromecast was a second monitor.
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.
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
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.
I'm now using Teamviewer to mirror the virtual display to my Android device, which uses Miracast to mirror to the TV.
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.