Add fix for small Waydroid window
This commit is contained in:
parent
0974567d27
commit
7313e246eb
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
|
@ -84,6 +84,25 @@ waydroid session start
|
||||||
|
|
||||||
The exact Waydroid setup still depends on the Android image, kernel support, graphics driver, and whether Google Apps are installed.
|
The exact Waydroid setup still depends on the Android image, kernel support, graphics driver, and whether Google Apps are installed.
|
||||||
|
|
||||||
|
### Fixing a very small Waydroid window
|
||||||
|
|
||||||
|
If Waydroid appears as a very small window in the lower-left corner, set its display dimensions while the Waydroid session is running. The following example uses a 1920×1080 display; replace these values with your own screen resolution. When choosing the dimensions, account for desktop panels, taskbars, or docks that occupy part of the screen; subtract their height or width where appropriate:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
waydroid prop set persist.waydroid.height 1080
|
||||||
|
waydroid prop set persist.waydroid.width 1920
|
||||||
|
```
|
||||||
|
|
||||||
|
Restart the Waydroid session and container so the new dimensions take effect:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
waydroid session stop
|
||||||
|
sudo waydroid container stop
|
||||||
|
waydroid show-full-ui
|
||||||
|
```
|
||||||
|
|
||||||
|
If you are running 12to11 on a non-default Wayland socket, export the socket name before starting the UI as described above.
|
||||||
|
|
||||||
## Building the RPM locally
|
## Building the RPM locally
|
||||||
|
|
||||||
The spec file uses the upstream GitHub snapshot and the project's legacy `imake`/`xmkmf` build system. The package is built with EGL support enabled by the upstream `12to11.conf`.
|
The spec file uses the upstream GitHub snapshot and the project's legacy `imake`/`xmkmf` build system. The package is built with EGL support enabled by the upstream `12to11.conf`.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue