12

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.

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.

  • Isn't this equivalent to simply look at other tabs whole Chromecasting? I don't see any significance to undocking Chromecasted tab. – ThorSummoner Feb 17 '16 at 23:43
2

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.

1

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.

  • Waiting eagerly. I just saw that video earlier today and couldn't figure out how to make a virtual 2nd screen on Ubuntu. I assume it requires a custom xorg.conf? – bobpaul Jan 24 '16 at 23:31
  • Post does not contain a complete answer. – ThorSummoner Feb 17 '16 at 23:41
  • It can be done with Microsoft Windows, but haven't seen it done with Linux. There doesn't seem to be an easy way to create a virtual monitor. I've done it with VLC to a second PC, but not to a Chromecast. – RoundSparrow hilltx Jul 13 '16 at 0:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.