5/21/2023 0 Comments Vnc viewer keyboard shortcutsExtended screen casting via Chrome - hardly useful Unfortunately, there seems to be a Chrome bug that prevents us from doing that - it sees the combined desktop as a screen, not as two independent screens.įigure 4. If you are ok with just casting one app, then fine, but we want to cast the virtual screen. If you select Cast desktop you should get a selection of apps or screens that you want to cast. If you click on the Sources… button you can select between Cast tab and Cast desktop. Open Chromium, select the three dot menu, select Cast… and if you are in the same LAN with your chromecast you should see it in the list (Figure 2).įigure 2. So, the logical thing to do is to use Chromium's Cast tab feature to cast the second screen to the Chromecast device. Note that the app is a demo, but for some things (like Youtube streaming) it doesn't enforce its time limits. The Chromecast wayīut wait, you say - I don’t have a Chromecast! I just have this ODROID-N2 running Android TV… Well, you are in luck! You have a Chromecast, but you need to install an app from the Play Store called Cast Receiver ( ) that acts as a Chromecast and can receive streams from Chromecast-enabled apps ( ). So now we have a new desktop surface to the right of the main screen and we need to project it to a different, physical screen. This will create space for your second screen (on the left of the main screen), but it will behave as one monitor (so maximizing will not work correctly without fakexinerama, which also has its problems). The fb parameter specifies the total resolution, while the panning parameter specifies one screen resolution. You can still expand the desktop, as described in the previous article using the script: : But wait - if you only have an ODROID around (hopefully an ODROID-XU4, where xrandr plays nicely) as a master computer, all is not lost. Sadly, I was unable to enable virtual displays the same way on ODROID-XU4, so this technique requires that your master PC is an Intel-based one. You should now get a popup, like in Figure 1 showing the new screen and asking you what you want to do with it. $ xrandr -output VIRTUAL1 -right-of LVDS1 You can use the command's output to get the relevant information for you and enable the screen: Fortunately there is a tool that does that based on an input resolution and refresh rate and it comes part of xserver-xorg-core package: You will need to calculate the correct timings for your desired resolution and add a new mode to the virtual display. For my experiments I used a 720p resolution for it because it's small enough to be streamed without issues and big enough to be readable from a distance on a big screen TV. Now that we have a new screen available, we'll need to set up a specific resolution and activate it. VIRTUAL2 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) If you restart your Xorg server, you will see two new virtual displays in your xrandr output: If you have a NVidia GPU, you can try this instead. This time we will extend the desktop by adding a new virtual screen.įor a laptop with an intel GPU we can do this by adding /usr/share/X11//nf with this contents as described here : However, that causes issues - especially with applications not knowing where the physical screen ends, which makes maximizing windows a pain. In the previous article I used xrandr to extend the physical desktop size. Ideally one that works over wifi.įirst thing we need to do is to extend the physical desktop. The laptop (in my case) runs Linux (obviously), so we are looking for a linux solution for the problem. The goal is to have a dual-screen setup - one screen would be your laptop's display, the second screen would be a networked ODROID. I managed to go through x11vnc's man page and found some options that greatly simplify things and reduce the number of hacks needed. So, the good news is, you do not need anything described in that article. So, how about we use an ODROID as a secondary screen? This is somewhat a continuation of my previous article "Multiscreen Desktop using VNC" featured in a previous ODROID Magazine article. Working on a small laptop screen is no fun task, and using HDMI cables while kids run around is not fun either. Some of us had to work during this time too. Looks to me everyone has been stuck indoors for longer than they desired.
0 Comments
Leave a Reply. |