HUB
Sign inSign up
app-multi-display logo

oaklabs/app-multi-display

By oaklabs

•Updated almost 7 years ago

Example app to display on two monitors from the same app

Image
0

1.2K

oaklabs/app-multi-display repository overview

⁠app-multi-display

This is an example of how to implement multiple displays for OakOS using a two displays with multiple applications installed

⁠Running locally

Make sure that you are running the right version of Node locally. You will find the required version in the .nvmrc file If you are not running the same version (node -v) then you will need to run

nvm install $(cat .nvmrc)
npm run rebuild
⁠Now you can run electron locally
npm run dev
⁠Running in a docker container
xhost +
docker-compose up --build
⁠Shutting down the docker container
docker-compose down

⁠Example Installation

{
  "services": [
    {
      "image": "index.docker.io/oaklabs/app-multi-display:latest",
      "environment": {
        "REMOTE_URL": "https://zivelo.com",
        "TZ": "America_Los_Angeles",
        "FULLSCREEN": "true",
        "DISPLAY_ID": "0"
      }
    },
    {
      "image": "index.docker.io/oaklabs/app-multi-display:latest",
      "environment": {
        "REMOTE_URL": "https://fast.com",
        "TZ": "America_Los_Angeles",
        "FULLSCREEN": "true",
        "DISPLAY_ID": "1"
      }
    }
  ]
}

Tag summary

Content type

Image

Digest

Size

565.9 MB

Last updated

almost 7 years ago

docker pull oaklabs/app-multi-display