Ubuntu 17.10 Desktop 64bit 沒有 fcitx 輸入法 [論壇 - Ubuntu 與中文]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊



Ubuntu 17.10 Desktop 64bit 沒有 fcitx 輸入法
會員一級
註冊日期:
2018/3/5 16:38
所屬群組:
已註冊使用者
等級: 1
HP : 0 / 5
MP : 1 / 88
EXP: 21
離線
我昨天在公司的電腦(Win7 64bit)以 VirtualBox 5.2.8 安裝 Ubuntu 17.10 Desktop 64bit,安裝完成後,發現沒有 fcitx,請問我是不是少安裝什麼元件了?

附件:



png  Ubuntu 17.10 Desktop - Input Method Configuration.png (280.23 KB)
50994_5a9e0121cca13.png 1920X1040 px

png  Ubuntu 17.10 Desktop - 桌面右上角選單.png (619.87 KB)
50994_5a9e01375380f.png 1920X1040 px

png  Ubuntu 17.10 Desktop - Language Support Updating cache.png (590.65 KB)
50994_5a9e014265072.png 1920X1040 px

2018/3/6 10:49
應用擴展 工具箱
回覆: Ubuntu 17.10 Desktop 64bit 沒有 fcitx 輸入法
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 37
HP : 0 / 905
MP : 679 / 30217
EXP: 23
離線
以下測試是在「Ubuntu 17.10」,環境已經有安裝「fcitx-chewing」。

================================================================================

當您遇到這樣的狀況,您可做下面的檢查

開啟「Terminal」。

執行


$ dpkg -l '*fcitx*'



以我的環境為例,會顯示如下


Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                Version                Architecture           Description
+++-===================================-======================-======================-=====
ii  fcitx                               1:4.2.9.1-6            all                    Flexible Input Method Framework
ii  fcitx-bin                           1:4.2.9.1-6            amd64                  Flexible Input Method Framework - essential binaries
ii  fcitx-chewing                       0.2.2-1                amd64                  Fcitx wrapper for Chewing library
ii  fcitx-config-common                 0.4.8-3build1          all                    graphic Fcitx configuration tool - common files
ii  fcitx-config-gtk                    0.4.8-3build1          amd64                  graphic Fcitx configuration tool - Gtk+ 3 version
ii  fcitx-data                          1:4.2.9.1-6            all                    Flexible Input Method Framework - essential data files
ii  fcitx-frontend-all                  1:4.2.9.1-6            all                    Flexible Input Method Framework - frontends metapackage
un  fcitx-frontend-fbterm               <none>                 <none>                 (no description available)
ii  fcitx-frontend-gtk2                 1:4.2.9.1-6            amd64                  Flexible Input Method Framework - GTK+ 2 IM Module frontend
ii  fcitx-frontend-gtk3                 1:4.2.9.1-6            amd64                  Flexible Input Method Framework - GTK+ 3 IM Module frontend
ii  fcitx-frontend-qt4                  1:4.2.9.1-6            amd64                  Flexible Input Method Framework - Qt4 IM Module frontend
ii  fcitx-frontend-qt5:amd64            1.0.5-1build2          amd64                  Free Chinese Input Toy of X - Qt5 IM Module frontend
un  fcitx-hangul                        <none>                 <none>                 (no description available)
un  fcitx-keyboard                      <none>                 <none>                 (no description available)
un  fcitx-libs                          <none>                 <none>                 (no description available)
un  fcitx-libs-gclient                  <none>                 <none>                 (no description available)
un  fcitx-libs-qt                       <none>                 <none>                 (no description available)
un  fcitx-libs-qt5                      <none>                 <none>                 (no description available)
un  fcitx-m17n                          <none>                 <none>                 (no description available)
ii  fcitx-module-dbus                   1:4.2.9.1-6            amd64                  Flexible Input Method Framework - D-Bus module and IPC frontend
ii  fcitx-module-kimpanel               1:4.2.9.1-6            amd64                  Flexible Input Method Framework - KIMPanel protocol module
ii  fcitx-module-lua                    1:4.2.9.1-6            amd64                  Flexible Input Method Framework - Lua module
un  fcitx-module-quickphrase-editor     <none>                 <none>                 (no description available)
ii  fcitx-module-x11                    1:4.2.9.1-6            amd64                  Flexible Input Method Framework - X11 module and XIM frontend
ii  fcitx-modules                       1:4.2.9.1-6            amd64                  Flexible Input Method Framework - core modules
un  fcitx-modules-x11                   <none>                 <none>                 (no description available)
un  fcitx-tools                         <none>                 <none>                 (no description available)
ii  fcitx-ui-classic                    1:4.2.9.1-6            amd64                  Flexible Input Method Framework - Classic user interface
un  fcitx-ui-kimpanel                   <none>                 <none>                 (no description available)
un  fcitx-ui-light                      <none>                 <none>                 (no description available)
un  fcitx-unikey                        <none>                 <none>                 (no description available)
un  kde-config-fcitx                    <none>                 <none>                 (no description available)
ii  libfcitx-config4:amd64              1:4.2.9.1-6            amd64                  Flexible Input Method Framework - configuration support library
ii  libfcitx-core0:amd64                1:4.2.9.1-6            amd64                  Flexible Input Method Framework - library of core funtions
ii  libfcitx-gclient0:amd64             1:4.2.9.1-6            amd64                  Flexible Input Method Framework - D-Bus client library for Glib
ii  libfcitx-qt0:amd64                  1:4.2.9.1-6            amd64                  Flexible Input Method Framework - Meta package for Qt library
ii  libfcitx-qt5-1:amd64                1.0.5-1build2          amd64                  Free Chinese Input Toy of X - D-Bus client libraries for Qt5
ii  libfcitx-utils0:amd64               1:4.2.9.1-6            amd64                  Flexible Input Method Framework - utility support library



================================================================================

也可以執行


$ dpkg -l fcitx



若有安裝「fcitx」這個「Package」,會顯示


Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                Version                Architecture           Description
+++-===================================-======================-======================-======
ii  fcitx                               1:4.2.9.1-6            all                    Flexible Input Method Framework




================================================================================

也可以執行


$ dpkg -s fcitx



若有安裝「fcitx」這個「Package」,會顯示


Package: fcitx
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 36
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: all
Version: 1:4.2.9.1-6
Depends: fcitx-bin, fcitx-data, fcitx-modules
Recommends: fcitx-config-gtk | kde-config-fcitx, fcitx-frontend-all | fcitx-frontend-fbterm, fcitx-ui-classic | fcitx-ui-light, im-config (>= 0.5) | im-switch
Suggests: fcitx-m17n, fcitx-tools
Conffiles:
/etc/X11/xinit/xinput.d/fcitx 16f80add1cac78453353a128af575771
Description: Flexible Input Method Framework
Fcitx is a input method framework with extension support, which provides
an interface for entering characters of different scripts in applications
using a variety of mapping systems.
.
It offers a pleasant and modern experience, with intuitive graphical
configuration tools and customizable skins and mapping tables. It is
highly modularized and extensible, with GTK+ 2/3 and Qt4 IM Modules, support
for UIs based on Fbterm, pure Xlib, GTK+, or KDE, and a developer-friendly
API.
.
This metapackage pulls in a set of components recommended for most desktop
users.
Original-Maintainer: IME Packaging Team <pkg-ime-devel@lists.alioth.debian.org>
Homepage: https://github.com/fcitx/fcitx



================================================================================

也可以執行下面指令,檢查「fcitx」這個指令是否存在。


$ which fcitx



若有安裝,會顯示


/usr/bin/fcitx



或是執行


$ whereis fcitx



若有安裝,會顯示


fcitx: /usr/bin/fcitx /usr/share/fcitx /usr/share/man/man1/fcitx.1.gz



================================================================================

關於您的「第一張圖」。

您執行的程式是「im-config」。

您可以執行「$ man im-config」來查詢它的用法。

直接執行「$ im-config」會進到圖形界面。(您應該是點選icon來啟動,所以也是進到圖形界面)


而「im-config」有其他的參數可以下,
並不需要進到圖形界面就可以操作了


================================================================================

執行


$ im-config -l



顯示


ibus fcitx xim



然後要設定輸入它框架為「fcitx」,只要執行下面的指令


$ im-config -n fcitx



上面這個指令,執行完後,會產生一個檔案「~/.xinputrc」

可以執行下面的指令,觀看「~/.xinputrc」的內容


$ cat ~/.xinputrc



顯示


# im-config(8) generated on Tue, 06 Mar 2018 12:03:07 +0800
run_im fcitx
# im-config signature: b08d9eae9ff48e3a82f88fbb1a4aac96 -



主要是「run_im fcitx」這一行。

當執行「im-config -n fcitx」,就會變成「run_im fcitx」。
當執行「im-config -n gcin」,就會變成「run_im gcin」。
當執行「im-config -n hime」,就會變成「run_im hime」。
當執行「im-config -n ibus」,就會變成「run_im ibus」。

當執行「im-config -n fcitx」後,就可以登出系統,然後再登入系統,應該就會生效。

若要移除「~/.xinputrc」,只要執行下面指令


$ im-config -n REMOVE



其他的,可以參考之前的一篇討論案例「回覆: 裝了 ubuntu 16.04 lts 64位元版 一直無法輸入中文」。

================================================================================



以下提我的安裝方式,我通常是安裝「英文界面」,所以安裝好後,我會透過下面的步驟去安裝

## 安裝「fcitx-chewing

執行


$ sudo apt-get install fcitx-chewing



## 透過「im-config -n」指定輸入法框架。

執行


$ im-config -n fcitx



先登出系統,然後再登入系統,

接著就要做您提供的「第二張圖」的那個動作。

也就是把「酷音輸入法」加到「切換選單」裡。

這樣就可以正常的運作「fcitx-chewing」了。

把「酷音輸入法」加到「切換選單」裡,這個動作,應該是存在「~/.config/fcitx/profile」這個檔案裡。

可以參考這個檔案

可以看到其中有一段如下


# Current Enabled Input Method List
EnabledIMList=fcitx-keyboard-us:True,chewing:True,fcitx-keyboard-af:False,...略...



================================================================================

以前有一些相關的討論案例,紀錄在「[索引] 中文輸入]」。

套件操作的討論案例,則是紀錄在 「[索引] 套件操作實務」。

================================================================================

以上提供參考

報告完畢


2018/3/6 12:51
應用擴展 工具箱
回覆: Ubuntu 17.10 Desktop 64bit 沒有 fcitx 輸入法
會員一級
註冊日期:
2018/3/5 16:38
所屬群組:
已註冊使用者
等級: 1
HP : 0 / 5
MP : 1 / 88
EXP: 21
離線
悲劇,完全找不到fcitx存在的事實,我準備重新安裝 Ubuntu 17.10 Desktop或16.04了。

之前在VirtualBox裝16.04,本來都正常,該有的都有,後來升級VirtualBox後,16.04待命時畫面變成藍色,所以我就改裝17.10。

附件:



png  Ubuntu 17.10 Desktop - Terminal.png (330.34 KB)
50994_5a9f6334d8b21.png 1920X1040 px

2018/3/7 11:57
應用擴展 工具箱
回覆: Ubuntu 17.10 Desktop 64bit 沒有 fcitx 輸入法
會員五級
註冊日期:
2012/4/22 10:50
所屬群組:
已註冊使用者
等級: 37
HP : 0 / 905
MP : 679 / 30217
EXP: 23
離線
wtkao 寫到:
悲劇,完全找不到fcitx存在的事實,我準備重新安裝 Ubuntu 17.10 Desktop或16.04了。


恩,有點詭異,Orz...

目前發現到不一樣的地方,
我的環境是從「17.10」的「ISO檔」裝的。
剛看您提供的圖片,猜測您是從「17.10.1」的「ISO檔」安裝的。
一般的狀況下,應該不會影響,
但我沒測「17.10.1」的「ISO檔」就是了,所以不確定是啥因素,造成您遇到的狀況。

================================================================================

不過您可以先執行下面的指令


$ sudo apt-get update



然後再執行下面的指令,確認看看是否能找到

執行


$ apt-cache search fcitx



執行


$ apt-cache show fcitx



執行


$ apt-cache showpkg fcitx



執行



$ apt-cache policy fcitx




================================================================================

還有也可以確認一下「/etc/apt/sources.list」這個檔案


執行


$ cat /etc/apt/sources.list



在我的環境是顯示


# deb cdrom:[Ubuntu 17.10 _Artful Aardvark_ - Release amd64 (20171018)]/ artful main restricted
deb-src http://archive.ubuntu.com/ubuntu artful main restricted #Added by software-properties

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://tw.archive.ubuntu.com/ubuntu/ artful main restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ artful multiverse main universe restricted #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://tw.archive.ubuntu.com/ubuntu/ artful-updates main restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ artful-updates multiverse main universe restricted #Added by software-properties

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://tw.archive.ubuntu.com/ubuntu/ artful universe
deb http://tw.archive.ubuntu.com/ubuntu/ artful-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://tw.archive.ubuntu.com/ubuntu/ artful multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ artful-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://tw.archive.ubuntu.com/ubuntu/ artful-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ artful-backports main restricted universe multiverse #Added by software-properties

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu artful partner
# deb-src http://archive.canonical.com/ubuntu artful partner

deb http://security.ubuntu.com/ubuntu artful-security main restricted
deb-src http://security.ubuntu.com/ubuntu artful-security multiverse main universe restricted #Added by software-properties
deb http://security.ubuntu.com/ubuntu artful-security universe
deb http://security.ubuntu.com/ubuntu artful-security multiverse




================================================================================

## Manpage

$ man apt-cache
$ man apt-get
$ man dpkg

$ man sources.list

================================================================================

以上提供參考

2018/3/7 13:53
應用擴展 工具箱
回覆: Ubuntu 17.10 Desktop 64bit 沒有 fcitx 輸入法
會員一級
註冊日期:
2018/3/5 16:38
所屬群組:
已註冊使用者
等級: 1
HP : 0 / 5
MP : 1 / 88
EXP: 21
離線
@samwhelp 感謝回覆。

我昨天已刪除17.10,改裝16.04 LTS Desktop了。

而且我發現一個問題,不管是在17.10,或是16.04環境下,下sudo apt update、sudo apt upgrade等apt指令或者更新語言時,似乎都停留在下載0%,後來上網查資料,將/etc/apt/sources.list裡的"tw.archive.ubuntu.com"改成"us.archive.ubuntu.com"就可以正常下載及更新了。

接下來會嘗試在fcitx安裝嘸蝦米輸入法,之前有順利在16.04安裝fcitx嘸蝦米輸入法,所以應該不會有太大問題。

註:從https://www.ubuntu-tw.org/download/download.php?distro=desktop&version=16.04&arch=amd64這個網址下載16.04,網頁都出現404,選其他台灣的mirror site下載也是出現404。

2018/3/8 5:26
應用擴展 工具箱
回覆: Ubuntu 17.10 Desktop 64bit 沒有 fcitx 輸入法
會員一級
註冊日期:
2018/3/5 16:38
所屬群組:
已註冊使用者
等級: 1
HP : 0 / 5
MP : 1 / 88
EXP: 21
離線
我已順利在16.04 LTS 64bit安裝嘸蝦米輸入法了。

17.10(2017 年 10 月發表,九個月支援,至 2018 年 07 月)這個版本真的是嘗鮮用的,還是用LTS比較好。

附件:



png  Ubuntu Desktop 16.04 LTS 安裝嘸蝦米輸入法.png (393.34 KB)
50994_5aa08ccf59fbb.png 1920X1040 px

2018/3/8 9:07
應用擴展 工具箱


 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.