Closed oblivcheck closed 3 months ago
I tried to change the fonts via fc-cache, but couldn't chroot
Use lsu-run-in-chroot SteamLinuxRuntime_sniper sh
. I don't think fontconfig is the issue, though. Looks like we should copy/mount the fonts from the host environment into the chrooted environment.
https://github.com/shkhln/linuxulator-steam-utils/commit/3abd6c3e543fcdbe33399b145bee7bcdddbc3ed7?
Use
lsu-run-in-chroot SteamLinuxRuntime_sniper sh
.
And lsu-umount
once you are done with it (when Steam is not running).
Looks like we should copy/mount the fonts from the host environment into the chrooted environment.
Exactly what I want to do, but simply moving the font files doesn't work for me, so I want to chroot to do somethings.
After using the latest version of LSU, the issue has been resolved (without doing anything extra).
We copy files from Steam Runtime using the supplied file list in the mtree format, no extra files are going to be included.
Note that scripts avoid automatically dismounting or remounting a manually initialized chroot environment, so you can run lsu-mount-runtime
and edit contents to your liking before starting Steam. As of now it's placed in ~/.steam/tmp/SteamLinuxRuntime_sniper/
. (I don't promise that these commands and locations will always work.)
It is worth mentioning that the Steam client currently cannot correctly display CJK fonts, which was not an issue in the older LSU version.
If using
LSU chroot with legacy Steam Runtime
, CJK fonts in games will also fail to display correctly.I tried to change the fonts via fc-cache, but couldn't chroot into
.steam/steam/steamapps/common/SteamLinuxRuntime_sniper/sniper_platform_0.20240212.77547/