雑記 日記帳 KaOSとchakraのDMは何なのか?  chakraにfcitx-mozcをインストール。

KaOS と chakra のDMは何なのか?これから調べて見ようと思います。

kdmでは無いようです。

KDE (日本語)

https://wiki.archlinux.org/index.php/KDE_%28%E6%97%A5%E6%9C%AC%E8%AA%9E%29     より

 Note: Plasma 5 では KDM はもはや用いられません。DM としては SDDM を使うことが推奨されています。SDDM は Plasma 5 テーマとのより良い統合を実現します    との事です。

chakraoctopiで見たところsddmではない。kdmでは無いと思う。

slim、gdm、mdm、lightdmでは無い。lxdmでは無い。xdmでは無いようです。

これは分かりませんでした。

 

後からArchlinuxのミラーを追加してArchlinuxのリポを追加する事が出来るのか?

多分出来ないと思います。キーリングの鍵が無いのでNG表示に成ると思います。

Manjaro MATE 、 Cinnamonでの経験から。

 

最初にインストールしたトリの影響は強くてDebian派生でインストールで

Debian派生のリポの語頭に#を付加して無効化して公式のDebianのリポを追加で

# apt-get update

# apt-get dist-upgrade

# apt-get update

しても、マルチーブートメニューにはDebian派生トリで表示です。

 

chakraのリポでslim、gdm、mdm、lightdm、lxdm、xdm、kdmをインストールする事は出来ないようです。

 

http://882323836.hatenablog.com/entry/2015/02/20/131659   で

 /etc/pacman.conf の

#[extra]
#Include = /etc/pacman.d/mirrorlist

上記#は削除して保存で端末で

# pacman -Sy

 

chakraにfcitx-mozcをインストールする事は出来ないのでは?と予想 gtk関連がインストール出来ない様なので。予想に反してインストール出来ました。

しかし、書き込みの所には候補が表示されず、候補欄で選択して、それをEnterキーで貼り付ける感じですので、何だかな?と思いました。

 

下記はchakraにfcitx-mozcをインストールする為の参考資料。

各種アプリケーションのUpgrade
$ sudo pacman -Syu


日本語入力
$ sudo pacman -S fcitx-mozc fcitx-configtool fcitx-gtk2 fcitx-gtk3
$ gedit ~/.xprofile

最後に次の3行を追加
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

 

でfcitx-mozc関連のsoftがインストール出来てから

$ fcitx

再ログイン。これで日本語入力ができるようになる

ソース

manjaro xfceで fcitx-mozc 日本語入力
http://tkyon.blogspot.jp/2013/07/virtualbox-manjaro.html

下記はchakraにfcitx-mozcをインストールする為の作業。

 octopiでソースを参考にして fcitx-mozc fcitx-gtk2  fcitx-gtk3 をインストール

デフォでfcitxとkcm-fcitxはインスト済みだったと思う。kcm-fcitxはKDEでfcitxを使用する場合には必要なような感じです。で今ではAURにfcitx-configtool と言う物は無くて

fcitx-configtool-gtk2 と言う物が有ったので、それにしました。

結果fcitx-mozcをインストールする事が出来ました。が非常に手間が掛かるのでダメなように感じました。

 

私の個人的な結論としてchakraをインストールするよりもデフォのArchでKDEをインストールした方が、後々の事を考えたら簡単でいいのではと思いました。

 

AURよりfcitx-configtool-gtk2.tar.gzを落としてホームに置いてArcでtar展開して

端末で

$ cd fcitx-configtool-gtk2
$ makepkg -cis -p PKGBUILD
==> パッケージを作成: fcitx-configtool-gtk2 0.4.5.1-1 (2015年 2月 21日 土曜日 JST)
==> ランタイムの依存関係を確認...
==> 欠けている依存パッケージをインストール...
エラー: 対象が見つかりませんでした: libunique
==> エラー: 'pacman' で欠けている依存パッケージをインストールするのに失敗しました。

 

pkgsより下記.pkg.tar.xzを落としてホームに置いて端末で
# pacman -U libunique-1.1.6-6-x86_64.pkg.tar.xz
パッケージをロード...
依存関係を解決しています...

 

再び

$ makepkg -cis -p PKGBUILD
==> パッケージを作成: fcitx-configtool-gtk2 0.4.5.1-1 (2015年 2月 21日 土曜日 JST)
==> ランタイムの依存関係を確認...
==> ビルドタイムの依存関係を確認...
==> 欠けている依存パッケージをインストール...
依存関係を解決しています...
相互衝突をチェックしています...

パッケージ (1): cmake-3.0.2-1

Total Download Size: 3.86 MiB
Total Installed Size: 23.44 MiB

:: インストールを行いますか? [Y/n] y
:: パッケージを取得します ...
cmake-3.0.2-1-x86_64 3.9 MiB 1990K/s 00:02 [###############################] 100%
(1/1) キーリングのキーを確認 [###############################] 100%
(1/1) パッケージの整合性をチェック [###############################] 100%
(1/1) パッケージファイルのロード [###############################] 100%
(1/1) ファイルの衝突をチェック [###############################] 100%
(1/1) 空き容量を確認 [###############################] 100%
(1/1) インストール cmake [###############################] 100%
==> ソースを取得...
-> ダウンロード fcitx-configtool-0.4.5.1.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 42468 100 42468 0 0 82571 0 --:--:-- --:--:-- --:--:-- 82622
==> md5sums でソースファイルを検証...
fcitx-configtool-0.4.5.1.tar.xz ... 成功
==> ソースを展開...
-> fcitx-configtool-0.4.5.1.tar.xz を bsdtar で展開
==> build() を開始...
==> Starting make...
-- The C compiler identification is GNU 4.9.1
-- The CXX compiler identification is GNU 4.9.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for module 'gtk+-2.0>=2.22'
-- found gtk+-2.0, version 2.24.25
-- checking for module 'iso-codes'
-- found iso-codes, version 3.38
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.4")
-- checking for module 'fcitx'
-- found fcitx, version 4.2.8.5
-- checking for module 'fcitx-config'
-- found fcitx-config, version 4.2.8.5
-- checking for module 'fcitx-utils'
-- found fcitx-utils, version 4.2.8.5
-- fcitx4-config found /usr/bin/fcitx4-config
-- Found Fcitx: 4.2.8.5 (Required is at least version "4.2.6")
-- checking for module 'dbus-glib-1'
-- found dbus-glib-1, version 0.102
-- checking for module 'unique-1.0'
-- found unique-1.0, version 1.1.6
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hoge/fcitx-configtool-gtk2/src/fcitx-configtool-0.4.5.1/build
Scanning dependencies of target fcitx-scan-addons.target
[ 0%] Built target fcitx-scan-addons.target
Scanning dependencies of target fcitx-modules.target
[ 0%] Built target fcitx-modules.target
Scanning dependencies of target fcitx-config-gtk
[ 8%] Building C object gtk/CMakeFiles/fcitx-config-gtk.dir/sub_config_parser.c.o
[ 16%] Building C object gtk/CMakeFiles/fcitx-config-gtk.dir/sub_config_widget.c.o
[ 25%] Building C object gtk/CMakeFiles/fcitx-config-gtk.dir/config_widget.c.o
[ 33%] Building C object gtk/CMakeFiles/fcitx-config-gtk.dir/configdesc.c.o
[ 41%] Building C object gtk/CMakeFiles/fcitx-config-gtk.dir/keygrab.c.o
[ 50%] Building C object gtk/CMakeFiles/fcitx-config-gtk.dir/main.c.o
[ 58%] Building C object gtk/CMakeFiles/fcitx-config-gtk.dir/main_window.c.o
[ 66%] Building C object gtk/CMakeFiles/fcitx-config-gtk.dir/im_widget.c.o
[ 75%] Building C object gtk/CMakeFiles/fcitx-config-gtk.dir/im.c.o
/home/hoge/fcitx-configtool-gtk2/src/fcitx-configtool-0.4.5.1/gtk/im.c: 関数 ‘_item_to_value’ 内:
/home/hoge/fcitx-configtool-gtk2/src/fcitx-configtool-0.4.5.1/gtk/im.c:85:5: 警告: ‘g_value_array_new’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:67): Use 'GArray' instead [-Wdeprecated-declarations]
GValueArray *va = g_value_array_new (4);
^
/home/hoge/fcitx-configtool-gtk2/src/fcitx-configtool-0.4.5.1/gtk/im.c:86:5: 警告: ‘g_value_array_append’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:80): Use 'GArray' instead [-Wdeprecated-declarations]
g_value_array_append (va, NULL);
^
/home/hoge/fcitx-configtool-gtk2/src/fcitx-configtool-0.4.5.1/gtk/im.c:89:5: 警告: ‘g_value_array_append’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:80): Use 'GArray' instead [-Wdeprecated-declarations]
g_value_array_append (va, NULL);
^
/home/hoge/fcitx-configtool-gtk2/src/fcitx-configtool-0.4.5.1/gtk/im.c:92:5: 警告: ‘g_value_array_append’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:80): Use 'GArray' instead [-Wdeprecated-declarations]
g_value_array_append (va, NULL);
^
/home/hoge/fcitx-configtool-gtk2/src/fcitx-configtool-0.4.5.1/gtk/im.c:95:5: 警告: ‘g_value_array_append’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:80): Use 'GArray' instead [-Wdeprecated-declarations]
g_value_array_append (va, NULL);
^
[ 83%] Building C object gtk/CMakeFiles/fcitx-config-gtk.dir/gdm-languages.c.o
/home/hoge/fcitx-configtool-gtk2/src/fcitx-configtool-0.4.5.1/gtk/gdm-languages.c: 関数 ‘gdm_get_language_from_name’ 内:
/home/hoge/fcitx-configtool-gtk2/src/fcitx-configtool-0.4.5.1/gtk/gdm-languages.c:705:13: 警告: ‘old_locale’ はこの関数内初期化されずに使用されるかもしれません [-Wmaybe-uninitialized]
g_free(old_locale);
^
/home/hoge/fcitx-configtool-gtk2/src/fcitx-configtool-0.4.5.1/gtk/gdm-languages.c:689:22: 備考: ‘old_locale’ はここで定義されています
char *old_locale;
^
Linking C executable fcitx-config-gtk
[ 83%] Built target fcitx-config-gtk
Scanning dependencies of target translations_1
[ 91%] Generating zh_CN.gmo
[100%] Generating zh_TW.gmo
[100%] Built target translations_1
==> fakeroot 環境を開始します...
==> package() を開始...
[ 0%] Built target fcitx-scan-addons.target
[ 0%] Built target fcitx-modules.target
[ 83%] Built target fcitx-config-gtk
[100%] Built target translations_1
Install the project...
-- Install configuration: ""
-- Installing: /home/hoge/fcitx-configtool-gtk2/pkg/fcitx-configtool-gtk2/usr/bin/fcitx-config-gtk
-- Installing: /home/hoge/fcitx-configtool-gtk2/pkg/fcitx-configtool-gtk2/usr/share/locale/zh_CN/LC_MESSAGES/fcitx-configtool.mo
-- Installing: /home/hoge/fcitx-configtool-gtk2/pkg/fcitx-configtool-gtk2/usr/share/locale/zh_TW/LC_MESSAGES/fcitx-configtool.mo
==> インストールを整理...
-> 不要なファイルを削除...
-> libtool ファイルを削除...
-> static library ファイルを削除...
-> man と info ページを圧縮...
-> バイナリとライブラリから不要なシンボルを削除...
==> パッケージを作成 "fcitx-configtool-gtk2"...
-> .PKGINFO ファイルを生成...
-> .MTREE ファイルを生成...
-> パッケージの圧縮...
==> fakeroot 環境を終了。
==> 作成完了: fcitx-configtool-gtk2 0.4.5.1-1 (2015年 2月 21日 土曜日 16:05:03 JST)
==> パッケージ fcitx-configtool-gtk2 を pacman -U でインストール...
パッケージをロード...
依存関係を解決しています...
相互衝突をチェックしています...

パッケージ (1): fcitx-configtool-gtk2-0.4.5.1-1

Total Installed Size: 0.12 MiB

:: インストールを行いますか? [Y/n] y
(1/1) キーリングのキーを確認 [###############################] 100%
(1/1) パッケージの整合性をチェック [###############################] 100%
(1/1) パッケージファイルのロード [###############################] 100%
(1/1) ファイルの衝突をチェック [###############################] 100%
(1/1) 空き容量を確認 [###############################] 100%
(1/1) インストール fcitx-configtool-gtk2 [###############################] 100%
==> Cleaning up...
相互衝突をチェックしています...

パッケージ (1): libunique-1.1.6-6

Total Installed Size: 0.11 MiB

:: インストールを行いますか? [Y/n] y
(1/1) キーリングのキーを確認 [###############################] 100%
(1/1) パッケージの整合性をチェック [###############################] 100%
(1/1) パッケージファイルのロード [###############################] 100%
(1/1) ファイルの衝突をチェック [###############################] 100%
(1/1) 空き容量を確認 [###############################] 100%
(1/1) インストール libunique [###############################] 100%
----------------------------------------------------