From 4401b2c5d78b4d0a0265e4abf353c3cc40e137e2 Mon Sep 17 00:00:00 2001 From: Rick Chan Date: Fri, 12 Jul 2019 04:49:27 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=AE=8C=E5=96=84=20IBus=20=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=B3=95=E7=9A=84=E5=AE=89=E8=A3=85=E5=92=8C=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E8=BF=87=E7=A8=8B=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rick Chan --- .../Linux/Manjaro/Manjaro_初始配置.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md b/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md index bbc56a1..c3f9bd2 100644 --- a/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md +++ b/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md @@ -186,9 +186,22 @@ fcitx-diagnose ### 安装 IBus 输入法 -Gnome 桌面默认搭配 IBus 输入法,进入 Gnome 设置,选择区域和语言,设置为中文,点击管理已安装的语言。如果提示语言包不完整则点击确认安装。然后将“汉语(中国)”提升为第一个,键盘输入法选 IBus,然后应用到整个系统即可。 +输入以下命令安装 ibus。 -关闭“语言支持”窗口后,在“Gnome 设置->区域和语言”中将输入源配置为“汉语(Intelligent Pinyin)”,并提升为第一个,这个兼容最好。点击 Intelligent Pinyin 的设置,将"常规“中”语言初始状态“设置为”英文“;将”快捷键“中“切换中文/英文模式”快捷键设置为“Shift”。 +```sh +pacman -S ibus ibus-libpinyin +yaourt ibus-qt +``` + +添加如下代码到 ~/.xprofile,如果该文件不存在则创建一份。 + +```sh +export GTK_IM_MODULE=ibus +export QT_IM_MODULE=ibus +export XMODIFIERS=@im=ibus +``` + +如果是 Gnome 桌面,进入 Gnome 设置,选择区域和语言,将输入源配置为“汉语(Intelligent Pinyin)”,并提升为第一个(这个输入法与 Gnome 兼容最好)。点击 Intelligent Pinyin 的设置,将"常规“中”语言初始状态“设置为”英文“;将”快捷键“中“切换中文/英文模式”快捷键设置为“Shift”。 *注:如果有多个输入法,可以使用 im-config 工具进行切换。* From e9fb73d1c190520a58422063c97f8cd1892f7116 Mon Sep 17 00:00:00 2001 From: Rick Chan Date: Fri, 12 Jul 2019 06:01:15 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E8=A1=A5=E5=85=85=20Gnome=20=E7=9A=84?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E4=B8=8E=E9=85=8D=E7=BD=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rick Chan --- .../Linux/Manjaro/Manjaro_初始配置.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md b/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md index c3f9bd2..52252b8 100644 --- a/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md +++ b/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md @@ -154,6 +154,24 @@ pacman -S base-devel git gcc make cmake gdb python2 python3 go arm-none-eabi-gcc pacman -S firewalld ``` +## 安装 Gnome + +使用下列命令安装 Gnome 并安装 Gnome 配置工具(gnome-tweaks): + +```sh +pacman -S gnome gnome-extra gnome-tweaks chrome-gnome-shell gnome-shell-extensions +``` + +使用下列命令安装 Flatix 主题: + +```sh +pacman -S flatix-theme +``` + +之后可在 gnome-tweaks 中更换主题。 + +访问 搜索 AlternateTab 扩展,在网页上安装浏览器插件后可在扩展的首页右上角看到开关按钮,点击打开就会自动安装,之后在 gnome-tweaks 可以找到该扩展,使能该扩展实现“仅在当前工作区中切换窗口”的功能。 + ### 安装 fcitx 输入法 输入以下命令安装 fcitx-im 默认安装全部软件,并安装 google 拼音输入法: From 255c88e251e167d608c06e41076bc93b3229bd97 Mon Sep 17 00:00:00 2001 From: Rick Chan Date: Fri, 12 Jul 2019 06:05:27 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rick Chan --- Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md b/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md index 52252b8..46977d5 100644 --- a/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md +++ b/Software/OperatingSystem/Linux/Manjaro/Manjaro_初始配置.md @@ -162,10 +162,10 @@ pacman -S firewalld pacman -S gnome gnome-extra gnome-tweaks chrome-gnome-shell gnome-shell-extensions ``` -使用下列命令安装 Flatix 主题: +使用下列命令安装 Flatix 和 Papirus 主题: ```sh -pacman -S flatix-theme +pacman -S flatix-theme flatix-theme-dark papirus-icon-theme papirus-maia-icon-theme ``` 之后可在 gnome-tweaks 中更换主题。