Re:_Re:_freebs d-updat eは使え なかった
- In reply to: bluesky : "Re: freebsd-update$B$O;H$($J$+$C(B $B$?(B"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Dec 2025 03:37:39 UTC
ご迷惑をおかけします。 FreeBSD 15.0、急に難しくなったって感じです。 すこし、パニックになってたので説明不足で申し訳ありません。 freebsd-updateが使えなくなったみたいで、下のコマンドで解決しました。 # pkg update -r FreeBSD-base # pkg upgrade -r FreeBSD-base # shutdown -r now fcitx-anthyがわからなくて、Geminiと相談してたら、題名を修正し忘れていました。 以下のようにすると動作するようになりました。 ただ、sleep 15;とかにしないと、毎回、X起動させた後に、 fcitx5のコマンド打たないと日本語打てません。 こんなものなんですかね。 % less .xinitrc #!/bin/sh export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS=@im=fcitx # Start fcitx5 in the background (sleep 15; fcitx5 -d > /dev/null 2>&1) & exec wmaker % echo $SHELL /bin/csh > ----- 引用元メッセージ ----- > > From:"bluesky" <xlsvx@yahoo.co.jp> > To:"***" <dua_x@ymail.ne.jp> > Cc:"freebsd-users-jp@freebsd.org" <freebsd-users-jp@freebsd.org> > 日時:2025/12/21 日 08:39 > 件名:Re: freebsd-updateは使えなかった > > > 悸村です。 > いま Internet Radio を聞いている際中なので、違う OS を使用してい > ますが、その状態でご容赦ください。 > > n Fri, 19 Dec 2025 04:07:47 +0900 (JST) > *** <dua_x@ymail.ne.jp> wrote: > > > 匿名希望 Dua X > > % freebsd-version -kur > > 15.0-RELEASE-p1 > > 15.0-RELEASE-p1 > > 15.0-RELEASE-p1 > > > > . xinitrcをコメントにしないとxが起動しません。 > > これがないと何か困ることありますか。 > > setenv GTK_IM_MODULE fcitx/xim にしても、xが起動しません。 > > ログイン・シェルは /bin/csh だそうですので、もしかすると、 > 上の . xinitrc は ~/.cshrc に書いているのでしょうか。 > . は確か /bin/sh 系の記述の仕方でしょう。 > . xinitrc の行は削除するほうがよいと思います。 > > > > 現在、これで動かしています。 > > % less .xinitrc > > setenv LC_CTYPE en_US.UTF-8 # Or ja_JP.UTF-8 if you want a Japanese OS interface > > #export XMODIFIERS @im=fcitx > > export GTK_IM_MODULE fcitx > > export QT_IM_MODULE fcitx > > > > # Start fcitx5 in the background > > fcitx5 -d & > > > > exec wmaker > > ~/.xinitrc は一般的に /bin/sh 系で記述するものだと思います。 > (私は根拠を示せませんが)。 > あいだの区切りは。 ' '(スペース) ではなく、 '=' にします。 > > | export LC_CTYPE=en_US.UTF-8 # Or ja_JP.UTF-8 if you want a Japanese OS interface > | #export XMODIFIERS='@im=fcitx' > | export GTK_IM_MODULE=fcitx > | export QT_IM_MODULE=fcitx > | > | # Start fcitx5 in the background > | fcitx5 -d & > | > | exec wmaker > > > 記述の例はメールの下の部分にご自身でお書きになられているようですが…。 > > > % echo $SHELL > > /bin/csh > > > > % pkg info -D fcitx5 > > fcitx5-5.1.12_2: > > On install: > > Remember to set the environment variable XMODIFIERS: > > > > csh/tcsh: setenv XMODIFIERS @im=fcitx > > sh/bash: export XMODIFIERS='@im=fcitx' > > > > For GTK+ programs, you may want to set: > > > > csh/tcsh: setenv GTK_IM_MODULE fcitx/xim > > sh/bash: export GTK_IM_MODULE=fcitx/xim > > > > For Qt programs, you may want to set: > > > > csh/tcsh: setenv QT_IM_MODULE fcitx > > sh/bash: export QT_IM_MODULE=fcitx > > > > To start fcitx with your desktop, just > > > > cp /usr/local/share/applications/org.fcitx.Fcitx5.desktop \ > > ~/.config/autostart/ > > > > % pkg info | grep fcitx > > fcitx5-5.1.12_2 New implementation of the Fcitx IME framework > > fcitx5-configtool-qt5-5.1.9 Fcitx5 IM framework configuration tool > > fcitx5-gtk-common-5.1.3 Fcitx support for GTK (common files) > > fcitx5-gtk3-5.1.3 Fcitx support for GTK (gtk3) > > fcitx5-qt-common-5.1.9 Fcitx support for Qt (common files) > > fcitx5-qt5-5.1.9 Fcitx support for Qt (qt5) > > ja-fcitx5-anthy-5.1.6_1 Anthy support for Fcitx5 > > -- > bluesky > >