89luca89 / 89luca89/distrobox

[Discussion]How distrobox fix the cursor theme problem in container

オープン
#1,179 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
Go
スター
13k
フォーク
541
平均マージ
20時間 47分
マージ済み PR(30日)
4

説明

I'm a primary programmar and i tried to learn how to code in bash from this project. I read the code of distrobox and tried to turn it to a Bubblewrap based container. However, when i tried to run the container, the cursor theme lost in GUI apps.

I use scripts like this

```
bwrap --dev-bind / / \
bwrap \
--setenv LANG "$LANG" \
--setenv LC_COLLATE "$LC_COLLATE" \
--setenv LC_CTYPE "$LC_CTYPE" \
--setenv LC_MONETARY "$LC_MONETARY" \
--setenv LC_MESSAGES "$LC_MESSAGES" \
--setenv LC_NUMERIC "$LC_NUMERIC" \
--setenv LC_TIME "$LC_TIME" \
--setenv LC_ALL "$LC_ALL" \
--setenv PULSE_SERVER /run/user/$uid/pulse/native \
--setenv PATH /flamescion-container-tools/bin-override:$PATH \
--setenv IS_ACE_ENV "1" \
--dev-bind $chrootEnvPath/ / \
--dev-bind-try /media /media \
--dev-bind-try /tmp /tmp \
--dev /dev \
--dev-bind-try /dev/dri /dev/dri \
--proc /proc \
--dev-bind /sys /sys \
--dev-bind /run /run \
--dev-bind-try /run/user/$uid/pulse /run/user/$uid/pulse \
--dev-bind / /host \
--ro-bind-try /usr/share/themes /usr/local/share/themes \
--ro-bind-try /usr/share/icons /usr/local/share/icons \
--ro-bind-try /usr/share/fonts /usr/local/share/fonts \
--hostname Amber-CE-Bookworm \
--unshare-uts \
--dev-bind-try /etc/resolv.conf /etc/resolv.conf \
--cap-add CAP_SYS_ADMIN \
--dev-bind-try /home /home \
bash -c "${container_command}"

```

https://gitee.com/amber-compatability-environment/bookworm-compatibility-mode/blob/master/src/opt/apps/cn.flamescion.bookworm-compatibility-mode/files/bin/bookworm-run

I searched on google and stackoverflow about the cursor bug, but can not get anything related;also i can't find how distrobox fix this.....So i decide to ask for help

Sincerely wish help from you !

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。