ログインしていません。

アナウンス

連絡: このフォーラムは利用が少なく、主としてスパムの投稿が多いため、閉鎖いたしました。今後は閲覧のみ可能で、新しい投稿はできなくなります。Arch Linuxに関する日本語のコミュニケーションにはSlackコミュニティをご利用ください。

#1 2020-02-04 13:42:53

mjachkie
メンバー
登録日: 2020-01-27
投稿: 25

[解決済み]nihongo nyuuryuoku dekinai (Why isn't my fcitx and mozc work?)

ro-majidenotoukou,situreisimasu.

https://qiita.com/matoruru/items/ab8b7beac4312586ac12

toka

https://www.archlinux.site/2016/03/arch … gnome.html

tokawosankounisite,iroirotosetteifairuwohenshuusitanodesuga,
zenkaku-hankaku-key wo ositemo,
Ctrl to Alt wo ositemo nihongonyuuryokuga dekimasenn.
nazedeshouka.

nao,Xfcewodesukutoppuankyounisiteimasu
sorekara,roguinjiniGUIgamennderoguinndekiruyounisetteiwositeimasenn. ta-minarunomamanisiteimasu.


---

```
$ pacman -Q
acl 2.2.53-2
acpi 1.7-2
adobe-source-code-pro-fonts 2.030ro+1.050it-5
adobe-source-han-sans-jp-fonts 2.001-1
adobe-source-han-sans-otc-fonts 2.001-1
adwaita-icon-theme 3.34.3-1
alsa-lib 1.2.1.2-3
alsa-topology-conf 1.2.1-1
alsa-ucm-conf 1.2.1.2-1
aom 1.0.0.errata1-1
arch-install-scripts 23-1
archlinux-keyring 20200108-1
argon2 20190702-2
at-spi2-atk 2.34.1-1
at-spi2-core 2.34.0-1
atk 2.34.1-1
attr 2.4.48-2
audit 2.8.5-6
autoconf 2.69-6
automake 1.16.1-2
avahi 0.7+18+g1b5f401-3
b43-fwcutter 019-3
base 2-2
bash 5.0.011-2
bash-completion 2.10-1
bc 1.07.1-3
bdf-unifont 12.1.03-1
bind-tools 9.14.10-1
binutils 2.33.1-2
bison 3.5-1
broadcom-wl 6.30.223.271-166
brotli 1.0.7-3
btrfs-progs 5.4-1
bzip2 1.0.8-3
ca-certificates 20181109-3
ca-certificates-mozilla 3.49.2-3
ca-certificates-utils 20181109-3
cairo 1.17.2+17+g52a7c79fd-2
cantarell-fonts 1:0.201-1
clonezilla 3.35.2-1
colord 1.4.4+9+g1ce26da-1
coreutils 8.31-3
cracklib 2.9.7-2
crda 4.14-3
cryptsetup 2.2.2-1
curl 7.68.0-1
darkhttpd 1.12-5
dav1d 0.5.2-1
db 5.3.28-5
dbus 1.12.16-5
dbus-glib 0.110-1
dconf 0.34.0-1
ddrescue 1.24-2
desktop-file-utils 0.24-1
device-mapper 2.02.186-5
dhclient 4.4.2-1
dhcpcd 8.1.6-1
dialog 1:1.3_20191210-1
diffutils 3.7-3
ding-libs 0.6.1-3
dmraid 1.0.0.rc16.3-12
dnsmasq 2.80-4
dnssec-anchors 20190629-2
dosfstools 4.1-3
double-conversion 3.1.5-1
drbl 2.30.5-1
e2fsprogs 1.45.5-1
ecryptfs-utils 111-3
efibootmgr 16-2
efivar 37-3
elinks 0.13-21
ethtool 1:5.4-1
exfat-utils 1.3.0-1
exo 0.12.11-1
expat 2.2.9-3
f2fs-tools 1.13.0-1
fakeroot 1.24-2
fcitx 4.2.9.7-1
fcitx-configtool 0.4.10-3
fcitx-gtk2 4.2.9.7-1
fcitx-gtk3 4.2.9.7-1
fcitx-mozc 2.23.2815.102-3
fcitx-qt5 1.2.4-3
ffmpeg 1:4.2.2-2
file 5.38-3
filesystem 2019.10-2
findutils 4.7.0-2
firefox 72.0.2-1
firefox-i18n-ja 72.0.2-1
flac 1.3.3-1
flex 2.6.4-3
fontconfig 2:2.13.91+24+g75eadca-2
freetype2 2.10.1-1
fribidi 1.0.8-1
fsarchiver 0.8.5-1
fuse-common 3.9.0-1
fuse2 2.9.9-3
fuse3 3.9.0-1
garcon 0.6.4-1
gawk 5.0.1-2
gc 8.0.4-3
gcc 9.2.0-4
gcc-libs 9.2.0-4
gdbm 1.18.1-3
gdk-pixbuf2 2.40.0-1
gettext 0.20.1-3
giflib 5.2.1-1
git 2.25.0-1
glib-networking 2.62.3-1
glib2 2.62.4-1
glibc 2.30-3
gmp 6.1.2-3
gnome-themes-extra 3.28-1
gnu-free-fonts 20120503-7
gnu-netcat 0.7.1-7
gnupg 2.2.19-1
gnutls 3.6.11.1-1
gpgme 1.13.1-3
gpm 1.20.7.r27.g1fd1941-2
gptfdisk 1.0.4-1
graphite 1:1.3.13-2
grep 3.4-1
grml-zsh-config 0.16.1-1
groff 1.22.4-3
grub 2:2.04-5
gsettings-desktop-schemas 3.34.0-1
gsm 1.0.18-1
gssproxy 0.8.2-3
gtk-update-icon-cache 1:3.24.13-1
gtk2 2.24.32-1
gtk3 1:3.24.13-1
guile 2.2.6-1
gzip 1.10-3
harfbuzz 2.6.4-2
hdparm 9.58-3
hicolor-icon-theme 0.17-1
htop 2.2.0-3
hwids 20191025-2
iana-etc 20191231-1
icu 65.1-2
inetutils 1.9.4-8
intel-ucode 20191115-3
iproute2 5.5.0-1
iptables 1:1.8.4-1
iputils 20190709-2
ipw2100-fw 1.3-10
ipw2200-fw 3.1-8
irssi 1.2.2-2
iso-codes 4.4-1
iucode-tool 2.3.1-2
iw 5.4-1
iwd 1.4-1
jack 0.125.0-8
jasper 2.0.16-1
jfsutils 1.1.15-7
js60 60.9.0-1
json-c 0.13.1-3
json-glib 1.4.4-1
kbd 2.2.0-5
keyutils 1.6.1-3
kmod 26-3
krb5 1.17.1-1
l-smash 2.14.5-1
lame 3.100-2
lbzip2 2.5-5
lcms2 2.9-2
ldns 1.7.1-2
less 551-3
lftp 4.9.1-1
libaio 0.3.112-2
libarchive 3.4.1-1
libass 0.14.0-1
libassuan 2.5.3-2
libasyncns 0.8+3+g68cd5af-2
libavc1394 0.5.4-3
libbluray 1.1.2-1
libcanberra 0.30+2+gc0620e4-2
libcap 2.30-1
libcap-ng 0.7.10-1
libcroco 0.6.13-1
libcups 2.3.1-1
libdaemon 0.14-4
libdatrie 0.2.12-1
libdrm 2.4.100-1
libedit 20191231_3.1-1
libelf 0.177-2
libepoxy 1.5.4-1
libev 4.31-1
libevdev 1.8.0-2
libevent 2.1.11-5
libexif 0.6.21-3
libffi 3.2.1-4
libfontenc 1.1.4-1
libgcrypt 1.8.5-2
libglvnd 1.3.0-2
libgpg-error 1.36-3
libgudev 233-1
libgusb 0.3.3-1
libibus 1.5.21-3
libice 1.0.10-2
libidn 1.35-2
libidn2 2.3.0-1
libiec61883 1.2.0-5
libimobiledevice 1.2.0+87+g92c5462-6
libinput 1.15.0-1
libjpeg-turbo 2.0.4-1
libksba 1.3.5-2
libldap 2.4.48-2
libmaxminddb 1.4.2-1
libmfx 19.4.0-4
libmnl 1.0.4-3
libmodplug 0.8.9.0-2
libmpc 1.1.0-2
libnetfilter_conntrack 1.0.7-1
libnewt 0.52.21-3
libnfnetlink 1.0.1-3
libnftnl 1.1.5-1
libnghttp2 1.39.2-2
libnl 3.5.0-2
libnotify 0.7.8-1
libnsl 1.2.0-2
libogg 1.3.4-1
libomxil-bellagio 0.9.3-2
libotr 4.1.1-2
libpcap 1.9.1-2
libpciaccess 0.16-1
libpipeline 1.5.2-1
libplist 2.1.0-2
libpng 1.6.37-1
libproxy 0.4.15-13
libpsl 0.21.0-2
libpulse 13.0-3
libraw1394 2.1.2-2
librsvg 2:2.46.4-1
libsamplerate 0.1.9-3
libsasl 2.1.27-2
libseccomp 2.4.1-3
libsecret 0.20.1-1
libsm 1.2.3-1
libsndfile 1.0.28-3
libsoup 2.68.3-1
libsoxr 0.1.3-1
libssh 0.9.3-1
libssh2 1.9.0-2
libtasn1 4.15.0-1
libthai 0.1.28-1
libtheora 1.1.1-4
libtiff 4.1.0-1
libtirpc 1.2.5-1
libtool 2.4.6+42+gb88cebd5-8
libunistring 0.9.10-2
libunwind 1.3.1-1
libusb 1.0.23-2
libusbmuxd 2.0.0-2
libutempter 1.1.6-3
libutil-linux 2.35.1-1
libva 2.6.1-1
libvdpau 1.3-1
libvorbis 1.3.6-1
libvpx 1.8.2-1
libwacom 1.2-1
libwebp 1.1.0-1
libwnck3 3.32.0-2
libx11 1.6.9-6
libx86 1.1-7
libxau 1.0.9-2
libxaw 1.0.13-2
libxcb 1.13.1-1
libxcomposite 0.4.5-2
libxcursor 1.2.0-1
libxdamage 1.1.5-2
libxdmcp 1.1.3-2
libxext 1.3.4-2
libxfce4ui 4.14.1-2
libxfce4util 4.14.0-1
libxfixes 5.0.3-3
libxfont2 2.0.4-2
libxft 2.3.3-1
libxi 1.7.10-2
libxinerama 1.1.4-2
libxkbcommon 0.10.0-1
libxkbcommon-x11 0.10.0-1
libxkbfile 1.1.0-1
libxklavier 5.4-2
libxml2 2.9.10-1
libxmu 1.1.3-1
libxpm 3.5.13-1
libxpresent 1.0.0-2
libxrandr 1.5.2-2
libxrender 0.9.10-3
libxres 1.2.0-1
libxshmfence 1.3-1
libxt 1.2.0-1
libxtst 1.2.3-3
libxv 1.0.11-3
libxvmc 1.0.12-2
libxxf86vm 1.1.4-3
licenses 20191011-2
lightdm 1:1.30.0-2
lightdm-gtk-greeter 1:2.0.7-1
linux 5.5.1.arch1-1
linux-api-headers 5.3.1-2
linux-atm 2.5.2-6
linux-firmware 20200122.1eb2408-1
llvm-libs 9.0.1-1
lm_sensors 3.6.0-1
lmdb 0.9.24-1
lrzip 0.631-2
lsscsi 0.30-1
lua 5.3.5-2
lua51 5.1.5-8
lvm2 2.02.186-5
lz4 1:1.9.2-2
lzo 2.10-3
lzop 1.04-2
m4 1.4.18-3
mailcap 2.1.48+14+g5811758-1
make 4.2.1-4
man-db 2.9.0-1
man-pages 5.04-2
mc 4.8.24-1
md4c 0.4.2-1
mdadm 4.1-2
mesa 19.3.3-1
mkinitcpio 27-2
mkinitcpio-busybox 1.31.1-1
mpfr 4.0.2-2
mtdev 1.1.6-1
mtools 4.0.23-1
nano 4.7-1
ncurses 6.1-7
ndisc6 1.0.4-1
net-tools 1.60.20181103git-2
netctl 1.20-2
nettle 3.5.1-2
nfs-utils 2.4.2-1
nfsidmap 2.4.2-1
nilfs-utils 2.2.8-2
nmap 7.80-1
noto-fonts 20190926-4
noto-fonts-cjk 20190409-1
noto-fonts-emoji 20191016-1
npth 1.6-2
nspr 4.24-1
nss 3.49.2-3
ntfs-3g 2017.3.23-3
ntp 4.2.8.p13-2
openconnect 1:8.05-1
opencore-amr 0.1.5-3
openjpeg2 2.3.1-1
openresolv 3.10.0-1
openssh 8.1p1-2
openssl 1.1.1.d-2
openssl-1.0 1.0.2.u-1
openvpn 2.4.8-4
opus 1.3.1-1
otf-ipafont 003.03-7
p11-kit 0.23.20-2
pacman 5.2.1-4
pacman-mirrorlist 20200103-1
pam 1.3.1-2
pambase 20190105.1-2
pango 1:1.44.7-1
partclone 0.3.12-1
parted 3.3-1
partimage 0.6.9-12
patch 2.7.6-8
pbzip2 1.1.13-2
pciutils 3.6.2-2
pcre 8.43-2
pcre2 10.34-3
pcsclite 1.8.26-1
perl 5.30.1-1
perl-error 0.17029-1
perl-mailtools 2.21-2
perl-timedate 2.31-1
perl-uri 1.76-2
pigz 2.4-1
pinentry 1.1.0-5
pixman 0.38.4-1
pixz 1.0.6-2
pkcs11-helper 1.26.0-1
pkgconf 1.6.3-3
polkit 0.116-3
polkit-gnome 0.105-4
popt 1.16-12
ppp 2.4.7-6
pptpclient 1.10.0-2
procps-ng 3.3.15-2
progsreiserfs 0.3.0.5-9
psmisc 23.3-2
python 3.8.1-4
python-ply 3.11-4
qt5-base 5.14.1-1
qt5-declarative 5.14.1-1
readline 8.0.001-2
refind-efi 0.11.3-1
reiserfsprogs 3.6.27-3
rest 0.8.1-1
rp-pppoe 3.13-1
rpcbind 1.2.5-3
rsync 3.1.3-3
screen 4.7.0-1
sdl2 2.0.10-1
sdparm 1.10-3
sed 4.8-1
sg3_utils 1.44-1
shadow 4.8-1
shared-mime-info 1.15-2
slang 2.3.2-1
smartmontools 7.1-1
sound-theme-freedesktop 0.8-3
speex 1.2.0-2
speexdsp 1.2.0-1
sqlite 3.31.1-1
sshfs 3.7.0-1
startup-notification 0.12-6
stoken 0.92-3
sudo 1.8.31-1
sysfsutils 2.1.0-11
systemd 244.1-1
systemd-libs 244.1-1
systemd-sysvcompat 244.1-1
tar 1.32-3
tcl 8.6.10-1
tcpdump 4.9.3-1
tdb 1.3.18-4
testdisk 7.1-1
texinfo 6.7-2
thin-provisioning-tools 0.8.5-3
thunar 1.8.12-1
thunar-archive-plugin 0.4.0-2
thunar-volman 0.9.5-2
tre 0.8.0-5
tslib 1.21-1
tumbler 0.2.8-1
tzdata 2019c-3
unrar 1:5.9.1-1
upower 0.99.11-1
usb_modeswitch 2.6.0-1
usbmuxd 1.1.0+66+g9af2b12-1
usbutils 012-2
util-linux 2.35.1-1
v4l-utils 1.18.0-1
vi 1:070224-4
vid.stab 1.1-2
vim 8.2.0148-1
vim-runtime 8.2.0148-1
vpnc 1:0.5.3.r462.r78-1
vte-common 0.58.3-1
vte3 0.58.3-1
vulkan-icd-loader 1.2.132-1
wayland 1.17.0-1
wayland-protocols 1.18-1
wget 1.20.3-2
which 2.21-5
wireless-regdb 2019.06.03-2
wireless_tools 30.pre9-3
wpa_supplicant 2:2.9-5
wvdial 1.61-7
wvstreams 4.6.1-16
x264 3:0.159.r2991.1771b55-1
x265 3.2.1-1
xarchiver 0.5.4.14-1
xbitmaps 1.1.2-1
xcb-proto 1.13-4
xcb-util 0.4.0-2
xcb-util-cursor 0.1.3-2
xcb-util-image 0.4.0-2
xcb-util-keysyms 0.4.0-2
xcb-util-renderutil 0.3.9-2
xcb-util-wm 0.4.1-2
xcb-util-xrm 1.3-1
xdg-user-dirs 0.17-2
xdg-user-dirs-gtk 0.10+9+g5b7efc6-2
xdg-utils 1.1.3+18+g0547886-4
xf86-input-libinput 0.29.0-1
xf86-video-intel 1:2.99.917+899+gf66d3954-1
xfce4-appfinder 4.14.0-1
xfce4-panel 4.14.3-1
xfce4-power-manager 1.6.5-2
xfce4-session 4.14.1-1
xfce4-settings 4.14.2-1
xfce4-terminal 0.8.9.1-1
xfconf 4.14.1-1
xfdesktop 4.14.2-1
xfsprogs 5.4.0-1
xfwm4 4.14.0-1
xfwm4-themes 4.10.0-3
xkeyboard-config 2.28-1
xl2tpd 1.3.15-1
xorg-bdftopcf 1.1-1
xorg-font-util 1.3.2-1
xorg-font-utils 7.6-5
xorg-fonts-encodings 1.0.5-1
xorg-iceauth 1.0.8-1
xorg-luit 1.1.1-3
xorg-mkfontscale 1.2.1-2
xorg-server 1.20.7-1
xorg-server-common 1.20.7-1
xorg-sessreg 1.1.2-1
xorg-setxkbmap 1.3.2-1
xorg-smproxy 1.0.6-2
xorg-twm 1.0.10-1
xorg-x11perf 1.6.1-1
xorg-xauth 1.1-1
xorg-xbacklight 1.2.3-1
xorg-xclock 1.0.9-1
xorg-xcmsdb 1.0.5-2
xorg-xcursorgen 1.0.7-1
xorg-xdpyinfo 1.3.2-3
xorg-xdriinfo 1.0.6-1
xorg-xev 1.2.3-1
xorg-xgamma 1.0.6-2
xorg-xhost 1.0.8-1
xorg-xinit 1.4.1-1
xorg-xinput 1.6.3-1
xorg-xkbcomp 1.4.2+7+g29fda8e-1
xorg-xkbevd 1.1.4-2
xorg-xkbutils 1.0.4-3
xorg-xkill 1.0.5-1
xorg-xlsatoms 1.1.3-1
xorg-xlsclients 1.1.4-1
xorg-xmodmap 1.0.10-1
xorg-xpr 1.0.5-1
xorg-xprop 1.2.4-1
xorg-xrandr 1.5.1-1
xorg-xrdb 1.2.0-1
xorg-xrefresh 1.0.6-1
xorg-xset 1.2.4-1
xorg-xsetroot 1.1.2-1
xorg-xvinfo 1.1.4-1
xorg-xwd 1.0.7-1
xorg-xwininfo 1.1.5-1
xorg-xwud 1.0.5-1
xorgproto 2019.2-2
xplc 0.3.13-8
xterm 352-1
xvidcore 1.3.7-1
xz 5.2.4-2
yajl 2.1.0-2
zinnia 0.06-5
zita-alsa-pcmi 0.3.2-2
zita-resampler 1.6.2-2
zlib 1:1.2.11-4
zsh 5.7.1-1
zstd 1.4.4-1
```

```
[qha@ljmljat ~]$ cat /etc/locale.conf
LANG=ja_JP.UTF-8
#LANG=en_US.UTF-8
LC_NUMERIC=ja_JP.UTF-8
LC_TIME=ja_JP.UTF-8
LC_MONETARY=ja_JP.UTF-8
LC_MEASUREMENT=ja_JP.UTF-8
# Qiita advised me:
LC_CTYPE=ja_JP.UTF-8
[qha@ljmljat ~]$ cat ~/
.ICEauthority  .config/       .terminfo/     fbterm-git/    ドキュメント/
.Xauthority    .gnupg/        .viminfo       hello.c        ビデオ/
.bash_history  .lesshst       .xinitrc       miaxerror      音楽/
.bash_logout   .local/        .xprofile      mjaMause       画像/
.bash_profile  .mozc/         .zshrc         nota           公開/
.bashrc        .mozilla/      Desktop/       ダウンロード/ 
.cache/        .screenrc      MiAfClIsT      テンプレート/ 
[qha@ljmljat ~]$ cat ~/.config/
QtProject.conf    fcitx/            procps/           xfce4/
Thunar/           gtk-3.0/          user-dirs.dirs   
dconf/            locale.conf       user-dirs.locale 
[qha@ljmljat ~]$ cat ~/.config/locale.conf
LC_CTYPE=ja_JP.UTF-8
[qha@ljmljat ~]$ cat ~/.xprofile
export DefaultImModule=fcitx
export GTK_IM_ODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
[qha@ljmljat ~]$
```

[hr]

tuiki.
$ reboot

wosite,$ startxfce4 demouitidotatiagetara,
naeka eigokasitanodesuga.

[hr]
saranaru tuikidesu.

sudeni $fcitx-configtool no setteinaiyou ha, https://prnt.sc/qx6r55 toka https://prnt.sc/qx6r7j no youni setteizumidesu.
(eigonanoha,genninnfumeidesu.donatakagozonjideshouka. konnnakanjidesu.)
$ export
declare -x COLORTERM="truecolor"
declare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
declare -x DESKTOP_SESSION="xfce"
declare -x DISPLAY=":0.0"
declare -x GTK_MODULES="canberra-gtk-module"
declare -x HOME="/home/qha"
declare -x INVOCATION_ID="2d6be7c8e94d400d81e23e375f1af51a"
declare -x JOURNAL_STREAM="9:20734"
declare -x LANG="C"
declare -x LC_CTYPE="ja_JP.UTF-8"
declare -x LOGNAME="qha"
declare -x MAIL="/var/spool/mail/qha"
declare -x OLDPWD
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"
declare -x PWD="/home/qha"
declare -x SESSION_MANAGER="local/ljmljat:@/tmp/.ICE-unix/520,unix/ljmljat:/tmp/.ICE-unix/520"
declare -x SHELL="/bin/bash"
declare -x SHLVL="2"
declare -x SSH_AGENT_PID="570"
declare -x SSH_AUTH_SOCK="/tmp/ssh-cOkrxUce8Aur/agent.569"
declare -x TERM="xterm-256color"
declare -x USER="qha"
declare -x VTE_VERSION="5803"
declare -x WINDOWID="35651587"
declare -x WINDOWPATH="1"
declare -x XDG_CONFIG_DIRS="/etc/xdg"
declare -x XDG_CURRENT_DESKTOP="XFCE"
declare -x XDG_DATA_DIRS="/usr/local/share:/usr/share"
declare -x XDG_MENU_PREFIX="xfce-"
declare -x XDG_RUNTIME_DIR="/run/user/1000"
declare -x XDG_SEAT="seat0"
declare -x XDG_SESSION_CLASS="user"
declare -x XDG_SESSION_ID="1"
declare -x XDG_SESSION_TYPE="tty"
declare -x XDG_VTNR="1"

sorekarahokanimo,kokowo sankounisitanodesuga, onajikotogakaiteatte,majidedousiyoumonaidesu.

sorekara, imasarananodesuga,dekirebakonshuujuunikaiketusakuwo itadaketaratoomoimasu.toiunomo,repo-towosakuseisiteteishutusinaitoikenaimonodesukara....

donataka, tasuketekudasai
konosaitowo hottarakasinisitarimosinaidekudasai.
onegaidesu.
onegaidesu.
onegaidesu.

編集者 mjachkie (2020-02-04 17:09:41)


this is a signature.

オフライン

#2 2020-02-04 14:30:23

mjachkie
メンバー
登録日: 2020-01-27
投稿: 25

Re: [解決済み]nihongo nyuuryuoku dekinai (Why isn't my fcitx and mozc work?)

hokanimo tamesitakoto:
$ startxfce4 dehanaku, $startx de kidou


this is a signature.

オフライン

#3 2020-02-04 15:05:25

mjachkie
メンバー
登録日: 2020-01-27
投稿: 25

Re: [解決済み]nihongo nyuuryuoku dekinai (Why isn't my fcitx and mozc work?)

kaiketusinasasounanode,atarasiiOSwoinsuto-rusinaosukotonisimasu.


this is a signature.

オフライン

#4 2020-02-04 17:12:24

mjachkie
メンバー
登録日: 2020-01-27
投稿: 25

Re: [解決済み]nihongo nyuuryuoku dekinai (Why isn't my fcitx and mozc work?)

突然ですが、急に成功しました。
$ startx
でデスクトップを起動させて、端末を起動させると、デスクトップそのものは英語ですが、fcitxが起動済みでした!

~/.xinitrcの

exec startxfce4

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx

となっている部分を、

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx

exec startxfce4

としたのでしょうか、結局解決原因はわかりませんでしたが、とにかく(今の所)成功しました!


this is a signature.

オフライン

#5 2020-02-06 16:49:56

mjachkie
メンバー
登録日: 2020-01-27
投稿: 25

Re: [解決済み]nihongo nyuuryuoku dekinai (Why isn't my fcitx and mozc work?)

追記。
再び起動させてもやっぱり成功していました。


this is a signature.

オフライン

#6 2020-02-11 21:53:46

underodig
モデレータ
登録日: 2016-04-24
投稿: 119

Re: [解決済み]nihongo nyuuryuoku dekinai (Why isn't my fcitx and mozc work?)

亀ですみません。

.xinitrcはbashスクリプトやWindowsでのバッチファイルと同様に上から処理されます。
Windowsのバッチファイルの場合、EXE、COMファイルなどの実行ファイル(バッチ内でループさせている場合もですが)はそれら
が終了するまで、次に記述されているスクリプトは実行されません。(常駐する場合は別になります)
つまり、意図的に終了させないといけないEXEなどをスクリプトに記述した場合、それ以降の記述は実質実行することができな
いということになります。

Linuxの.xinitricや~.shなどのスクリプトも同様で、以下の場合ですと
~/.xinitrcの
    exec startxfce4
    export GTK_IM_MODULE=fcitx
    export QT_IM_MODULE=fcitx
    export XMODIFIERS=@im=fcitx

exec startxfce4にてxfce4(GUI)が起動し、xfce4を終了するまで以降の記述が実行されなくなるため、日本語入力環境設定が実行されなかった。
ゆえにxfce4上では日本語入力できなかった。ということになります。

オフライン

Board footer