Skip to content

Commit 6862222

Browse files
committed
feat(arch): add rebuild-detector and configuration of input methods
Signed-off-by: chris1320 <chris1320is@protonmail.com>
1 parent 9d16095 commit 6862222

File tree

1 file changed

+39
-2
lines changed

1 file changed

+39
-2
lines changed

Operating Systems/Arch Linux/Contents/Manual Customization.md

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,10 @@ When = PostTransaction
259259
Exec = /usr/bin/bash -c "/usr/bin/pacman -Qtd || /usr/bin/echo '==> no orphans found.'"
260260
```
261261

262-
[informant](https://aur.archlinux.org/packages/informant) makes sure that you are aware of breaking changes in the updates that you'll get. [overdue](https://aur.archlinux.org/packages/overdue) lists daemons that reference outdated libraries. [pacman-cleanup-hook](https://aur.archlinux.org/packages/pacman-cleanup-hook) keeps your pacman cache clean. [downgrade](https://aur.archlinux.org/packages/downgrade), while isn't a pacman hook, will still help you in case you have to downgrade a package.
262+
[informant](https://aur.archlinux.org/packages/informant) makes sure that you are aware of breaking changes in the updates that you'll get. [overdue](https://aur.archlinux.org/packages/overdue) lists daemons that reference outdated libraries. [pacman-cleanup-hook](https://aur.archlinux.org/packages/pacman-cleanup-hook) keeps your pacman cache clean. [rebuild-detector](https://github.com/maximbaz/rebuild-detector) detects which Arch Linux packages need to be rebuilt. [downgrade](https://aur.archlinux.org/packages/downgrade), while isn't a pacman hook, will still help you in case you have to downgrade a package.
263263

264264
```bash
265-
paru -S informant overdue pacman-cleanup-hook downgrade
265+
paru -S informant overdue pacman-cleanup-hook rebuild-detector downgrade
266266
```
267267

268268
## Setting Up SDDM
@@ -371,6 +371,43 @@ Run the following script and select/enter your preferred cursor and cursor size
371371
~/.config/scripts/set-cursor.sh
372372
```
373373

374+
### Input Methods
375+
376+
As of writing this, I am learning Japanese and Korean for 5 and 4 years, respectively. (I'm still not good at both btw) Because of this, I need Fcitx5 to allow me to use the Japanese and Korean input methods in Arch Linux.
377+
378+
```bash
379+
paru -S fcitx5-im fcitx5-mozc-ut fcitx5-hangul
380+
```
381+
382+
After installing the packages, create/edit the following files with their corresponding contents:
383+
384+
> [!NOTE]+ `~/.gtkrc-2.0`
385+
>
386+
> ```bash
387+
> gtk-im-module="fcitx"
388+
> ```
389+
390+
> [!NOTE]+ `~/.config/gtk-3.0/settings.ini` and `~/.config/gtk-4.0/settings.ini`
391+
>
392+
> ```toml
393+
> [Settings]
394+
> gtk-im-module=fcitx
395+
> ```
396+
397+
After that, run `fcitx5-configtool` and uncheck "Only Show Current Language". Search for the following input methods and move them to the left "Current Input Method" column:
398+
399+
- Mozc
400+
- Hangul
401+
402+
Go to "Global Options" tab and change the first entry of "Trigger Input Method" (should be initially set to `Control+Space`) to `Super+,`.
403+
404+
More information is available at:
405+
406+
- [Arch Wiki > Fcitx5](https://wiki.archlinux.org/title/Fcitx5)
407+
- [Arch Wiki > Mozc](https://wiki.archlinux.org/title/Mozc)
408+
- [Arch Wiki > Localization > Korean](https://wiki.archlinux.org/title/Localization/Korean).
409+
- [Fcitx > Using Fcitx 5 on Wayland](https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland)
410+
374411
## Setting Up Kitty
375412
376413
Kitty is my terminal emulator of choice. Install it via `paru` to begin.

0 commit comments

Comments
 (0)