-
-
Save bobby285271/c96dee2268e7dff72c4e51182b2db5e9 to your computer and use it in GitHub Desktop.
Podman QQ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
-e DISPLAY=unix$DISPLAY \ | |
-e XMODIFIERS=$XMODIFIERS \ | |
-e QT_IM_MODULE=$QT_IM_MODULE \ | |
-e GTK_IM_MODULE=$GTK_IM_MODULE \ | |
-e GID=0 \ | |
-e UID=0 \ | |
bestwu/qq:im |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment