jlesage / docker-firefox

Docker container for Firefox
MIT License
1.69k stars 303 forks source link

Full Screen #3

Open magadan opened 6 years ago

magadan commented 6 years ago

Hello ! Thanks for this container, really cool.

I think FullScreen is not working, Firefox still in the 1280x720 ( HD resolution )...

Is possible to run with entire browser screen ?

magadan commented 6 years ago

And... Another question, not relative to this container...

Do you think is possible to do a Kodi Container ( v17 ) ?

jlesage commented 6 years ago

What is not working exactly with the fullscreen feature? Maybe a screenshot would be useful.

jlesage commented 6 years ago

Not sure if a Kodi container would make sense. Sound support can be tricky and is access through VNC/browser would be useful?

jlesage commented 6 years ago

Do you have more details about your full screen issue?

bbakermmc commented 5 years ago

@jlesage Is there a way to set the UI to just be 100% of remote? Currently you need to set a resolution like 10x7, but it doesnt "grow", so do I just set a higher one and have it shrink?

jlesage commented 5 years ago

Currently the "remote" resolution doesn't change. So you need to scale on client side. However, this may change in the future by changing the vnc server inside the container...

bbakermmc commented 5 years ago

@jlesage right, but if I have a 4k monitor, and the docker is set to 10x7, the scale does nothing, I would need to set the resolution to 4k? then on a 1080p monitor it would scale down?

jlesage commented 5 years ago

Yes you are right, no upscaling is done, only downscaling. So setting the resolution to 4k could be a solution.

PavelNL commented 5 years ago

The answer is in the original image configuration:

$ docker image inspect jlesage/firefox

        "Env": [
             ...
            "DISPLAY_WIDTH=1280",
            "DISPLAY_HEIGHT=768"

So: docker run -d --name=firefox5 -p 5800:5800 --shm-size 2g -e "DISPLAY_WIDTH=1920" -e "DISPLAY_HEIGHT=1080" jlesage/firefox

ovizii commented 5 years ago

Thanks. very useful info, should be added to your explanations (I mean the part about only downscaling being done :-)