jlesage / docker-baseimage-gui

A minimal docker baseimage to ease creation of X graphical application containers
MIT License
1.2k stars 179 forks source link

Question: maximise only main window #125

Closed sunyi000 closed 4 months ago

sunyi000 commented 8 months ago

I tried to follow the section Maximizing Only the Main Window.

I started the container, and I can see the application is running in browser.

docker exec [container] obxprop |grep "^_OB_APP" gives error about unable to connect to X display

I also tried to exec into the running container, there's no /etc/openbox directory

I'm using the image jlesage/baseimage-gui:ubuntu-22.04-v4.5.2

Thanks for any help

jlesage commented 8 months ago

Humm looks like for the ubuntu version not all the environment variables are present when running command.

As a workaround, you can login to the container with docker exec [container] sh and then run from there obxprop | grep "^_OB_APP"

jlesage commented 4 months ago

Closing this issue. Please re-open if needed.