Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker中通过x11转发gui程序到host桌面环境,无法用host环境的rime 对转发过来的gui程序录入文字 #174

Open
nocanstillbb opened this issue Mar 12, 2024 · 1 comment

Comments

@nocanstillbb
Copy link

我在docker容器中安装了ibus-rime

我运行的docker已经设置了以下环境变量

#!/bin/bash

runcmd="docker run\
        --name=hbb_rasp5_x11\
        --rm\
        -p 2244:22\
        -e DISPLAY=:2\
        -e XMODIFIERS=\"@im=ibus\"\
        -e QT_IM_MODULE=\"ibus\"\
        -e GTK_IM_MODULE=\"ibus\"
        -e AUDIO_GID=`getent group audio | cut -d: -f3` \
        -e GID=`id -g` \
        -e UID=`id -u` \
        -v /storage1/software/:/software
        -v /storage1/rpi5/build:/build
        -v /storage1/rpi5/src/:/src
        -v /storage1/rpi5/scripts/:/scripts
        -v /storage1/rpi5/sysroot/:/sysroot
        -v /storage1/rpi5/repos/:/repos
        -v /tmp/.X11-unix/:/tmp/.X11-unix
        -it rasp5:0.1   bash"


echo $runcmd
exec $runcmd
@nocanstillbb
Copy link
Author

当我使用ibus-setup,(转发到Host 桌面环境中显示)添加rime输入法时,提示
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant