I was just running a script in a “Konsole” plugin in the “Kate” text editor (on a machine running Manjaro Linux), and the output was unexpected in Korean. What could be causing that? Here’s the output I saw:
BASH on Manjaro Linux aragorn@Square-Rigger Tue 2025-05-20, 06:33:22 PM
/d/rhe-cli/scripts/util
%refresh-grub.sh
Job start time: 06:35:10 PM
[sudo] aragorn 암호:
x86_64-efi 플랫폼에 설치합니다.
설치가 끝났습니다. 발견한 오류가 없습니다.
GRUB 설정 파일 만드는 중 …
테마 찾음: /usr/share/grub/themes/manjaro/theme.txt
리눅스 이미지 발견: /boot/vmlinuz-6.14-x86_64
초기 램디스크 이미지 발견: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.14-x86_64.img
Found initrd fallback image: /boot/initramfs-6.14-x86_64-fallback.img
리눅스 이미지 발견: /boot/vmlinuz-6.12-x86_64
초기 램디스크 이미지 발견: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.12-x86_64.img
Found initrd fallback image: /boot/initramfs-6.12-x86_64-fallback.img
리눅스 이미지 발견: /boot/vmlinuz-6.6-x86_64
초기 램디스크 이미지 발견: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.6-x86_64.img
Found initrd fallback image: /boot/initramfs-6.6-x86_64-fallback.img
리눅스 이미지 발견: /boot/vmlinuz-6.1-x86_64
초기 램디스크 이미지 발견: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
경고: 기타 부팅 분할 영역을 찾는 과정에서 os-prober를 실행했습니다.
출력 내용은 부팅 바이너리 검색 및 새 부팅 항목 만들기 과정에 활용했습니다.
/usr/share/grub/grub-mkconfig_lib: 행 263번: printf: `$': 부적절한 서식 문자BASH on Manjaro Linux aragorn@Square-Rigger Tue 2025-05-20, 06:35:27 PM
/d/rhe-cli/scripts/util
%
and here’s what it should have looked like (taken from running the same script in a regular “Konsole” console, not in Kate):
BASH on Manjaro Linux aragorn@Square-Rigger Tue 2025-05-20, 06:35:50 PM
~
%refresh-grub.sh
Job start time: 06:35:55 PM
[sudo] password for aragorn:
Installing for x86_64-efi platform.
Installation finished. No error reported.
Generating grub configuration file …
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-6.14-x86_64
Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.14-x86_64.img
Found initrd fallback image: /boot/initramfs-6.14-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.12-x86_64
Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.12-x86_64.img
Found initrd fallback image: /boot/initramfs-6.12-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.6-x86_64
Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.6-x86_64.img
Found initrd fallback image: /boot/initramfs-6.6-x86_64-fallback.img
Found linux image: /boot/vmlinuz-6.1-x86_64
Found initrd image: /boot/intel-ucode.img /boot/amd-ucode.img /boot/initramfs-6.1-x86_64.img
Found initrd fallback image: /boot/initramfs-6.1-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/sda5@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings …
Root filesystem isn’t btrfs
If you think an error has occurred, please file a bug report at “GitHub - Antynea/grub-btrfs: Include btrfs snapshots at boot options. (Grub menu)”
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ EFI image: /boot/memtest86+/memtest.efi
doneBASH on Manjaro Linux aragorn@Square-Rigger Tue 2025-05-20, 06:36:07 PM
~
%
So… what might be causing the Kate version to be in Korean?