[GH-ISSUE #1563] X11 Xephyr resize windows #1041

Closed
opened 2026-05-05 07:20:46 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @deb75 on GitHub (Sep 18, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1563

Hello,

In the documentation, it is advised to use firejail+Xephyr in conjunction with openbox because it is said to be the only way to resize the application window inside Xephyr.

Nevertheless, if you want only your window app to be full size (like a browser), that is to say fill the entire Xephyr window size, there is one way to do ti without a display manager like openbox.

Simply type

DISPLAY=:111 xdotool selectwindow windowsize 1440 900

replace :111 by the current Xephyr display (firemon --x11)
replace 1440 900 by your Xephyr geometry size
and then click on your window app, which should be instantly resized

this works for me on debian stretch.

you can automate this later command, that is to say no need to manually click on the window, by looking into the xdotool man page.

Regards

Originally created by @deb75 on GitHub (Sep 18, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1563 Hello, In the documentation, it is advised to use firejail+Xephyr in conjunction with openbox because it is said to be the only way to resize the application window inside Xephyr. Nevertheless, if you want only your window app to be full size (like a browser), that is to say fill the entire Xephyr window size, there is one way to do ti without a display manager like openbox. Simply type > DISPLAY=:111 xdotool selectwindow windowsize 1440 900 replace :111 by the current Xephyr display (firemon --x11) replace 1440 900 by your Xephyr geometry size and then click on your window app, which should be instantly resized this works for me on debian stretch. you can automate this later command, that is to say no need to manually click on the window, by looking into the xdotool man page. Regards
gitea-mirror 2026-05-05 07:20:46 -06:00
Author
Owner

@deb75 commented on GitHub (Sep 20, 2017):

I tried several browsers without openbox, some of them are working well, but others have difficulties. As an example, the small firefox popups fails to open, because they probably need the help of a window manager.

So, choosing or not openbox depends whether or not your app needs window manager resources.

<!-- gh-comment-id:330766579 --> @deb75 commented on GitHub (Sep 20, 2017): I tried several browsers without openbox, some of them are working well, but others have difficulties. As an example, the small firefox popups fails to open, because they probably need the help of a window manager. So, choosing or not openbox depends whether or not your app needs window manager resources.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1041
No description provided.