modified: "docs/display-managers/matchbox\342\200\221wm.md"
This commit is contained in:
@@ -6,8 +6,6 @@ matchbox‑wm is a minimal, single‑window X11 window manager originally design
|
|||||||
|
|
||||||
* Single‑window design: Only one application window is shown at a time, always fullscreen.
|
* Single‑window design: Only one application window is shown at a time, always fullscreen.
|
||||||
|
|
||||||
* Extremely lightweight: Uses roughly 1–2 MB of RAM, suitable for low‑memory environments.
|
|
||||||
|
|
||||||
* No desktop components: No panels, menus, compositors, notifications, or session daemons.
|
* No desktop components: No panels, menus, compositors, notifications, or session daemons.
|
||||||
|
|
||||||
* Deterministic behavior: Eliminates window management complexity, ideal for locked‑down kiosk workflows.
|
* Deterministic behavior: Eliminates window management complexity, ideal for locked‑down kiosk workflows.
|
||||||
@@ -25,7 +23,7 @@ apt install matchbox-window-manager xorg
|
|||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
Example to start matchbox-window-manager, auto login user xxx and start chromium.
|
Example to start matchbox-window-manager, auto login user xxx and start chromium kiosk mode.
|
||||||
|
|
||||||
1. Auto login
|
1. Auto login
|
||||||
|
|
||||||
@@ -53,7 +51,7 @@ if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
|||||||
fi
|
fi
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Setup setup scripts
|
3. Setup scripts
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
# /home/xxx/.xinitrc
|
# /home/xxx/.xinitrc
|
||||||
@@ -63,7 +61,6 @@ export SSL_CERT_DIR=/etc/ssl/certs
|
|||||||
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
|
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
|
||||||
|
|
||||||
matchbox-window-manager &
|
matchbox-window-manager &
|
||||||
|
|
||||||
chromium \
|
chromium \
|
||||||
--kiosk \
|
--kiosk \
|
||||||
--noerrdialogs \
|
--noerrdialogs \
|
||||||
@@ -77,7 +74,7 @@ chmod +x /home/xxx/.xinitrc
|
|||||||
|
|
||||||
## misc
|
## misc
|
||||||
|
|
||||||
Stop auto tty session and kill session:
|
Stop auto tty session and kill sessions:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
sudo systemctl stop getty@tty1
|
sudo systemctl stop getty@tty1
|
||||||
|
|||||||
Reference in New Issue
Block a user