Skip to content

Instantly share code, notes, and snippets.

View bobby285271's full-sized avatar
🙈
Playing Gakumas

Bobby Rong bobby285271

🙈
Playing Gakumas
View GitHub Profile
@bobby285271
bobby285271 / podman-qq-setup.sh
Last active February 23, 2022 04:35 — forked from karuboniru/podman qq setup
Podman QQ
podman run --name qq \
--device /dev/snd --net=host --ipc=host \ # remove net=host if you don't want this
--device=/dev/dri/card0:/dev/dri/card0 \
--device=/dev/dri/renderD128:/dev/dri/renderD128 \
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
-v ${XDG_RUNTIME_DIR}/pulse/native:/run/user/0/pulse/native \
-e PULSE_SERVER=unix:/run/user/0/pulse/native \
-v $HOME/containerhome:/root:Z \ # choose a path you like, same for following
-v $HOME/containerhome/TencentFiles:/TencentFiles:Z \
-v $HOME/文档/Fonts:/usr/share/fonts/Windows:Z \ # external fonts, any path in /usr/share/fonts will be fine