Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons for additional windows #105

Closed
konradb90 opened this issue Jun 9, 2023 · 5 comments
Closed

Buttons for additional windows #105

konradb90 opened this issue Jun 9, 2023 · 5 comments

Comments

@konradb90
Copy link

I work with JAVA applets that run in full window mode. This is the correct behavior.

JAVA applets also have a virtual keyboard mechanism, which we can enable from the options menu. In the docker container it looks like this: https://gyazo.com/caeb39e001ae333971659e55997ee789

I would like to include navigation buttons for additional windows to make it look like this: https://gyazo.com/e634d47f24c03cf4920a88469d1aa76a

Is it possible?

@konradb90
Copy link
Author

I solved this by adding a simple script:

sed -i 's/<decor>no/<decor>yes/' /etc/X11/openbox/rc.xml
openbox --restart

Perhaps there is a better solution that you can recommend ;)

@jlesage
Copy link
Owner

jlesage commented Jun 9, 2023

Looks like you need to properly identify the main window. See:
https://github.com/jlesage/docker-baseimage-gui#maximizing-only-the-main-window

@konradb90
Copy link
Author

Unfortunately, this solution does not work. Both windows (main and virtual keyboard) have exactly the same parameters (name, type, etc.). Decoration in this case is disabled regardless of which window I choose.

@jlesage
Copy link
Owner

jlesage commented Jun 9, 2023

If you are sure that all _OB_APP* properties are the same, then there is no way for the window manager (openbox) to apply different settings for each window.

@jlesage
Copy link
Owner

jlesage commented Feb 17, 2024

Closing this issue. Please re-open if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants