rick890101
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    --- GA: G-7GF24SD6DM --- # OS使用筆記-KaliLinux(Debian series):替Linux安裝中文輸入法 # :::warning :warning: **注意** 本文已轉至AnyType筆記,文章可能非最新版本。 ::: ## 前情提要 之前做過不少次替KaliLinux系統安裝中文注音輸入法了,都是透過別人的文章照步驟做。 這次直接來自己寫份筆記文件,以後就不用到Google翻了。 系統使用的是Kali Linux,本次在虛擬機上操作: ``` shell= └# uname -a    # 印出系統版本/內核相關資訊 Linux kali 6.6.9-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.6.9-1kali1 (2024-01-08) x86_64 GNU/Linux ``` KaliLinux是基於Debian OS,基本上以下安裝方法適用於Debian/Ubuntu/Kali等等桌面環境。 ![image](https://hackmd.io/_uploads/Skbg6jK3a.png) # Part I. 中文化界面 在開始進行輸入法設定前,介面總是要改成中文才有一體性吧。 ```shell= └# dpkg-reconfigure locales ``` 進來後,會有個選擇語系的選單。 ![image](https://hackmd.io/_uploads/S1NQDqUHA.png) 移動到最底頁,就可看到`zh_TW.UTF-8`選項,`Space`鍵星號勾選即可。 `Tab`換到下面按鈕,點選確定/OK。 ![image](https://hackmd.io/_uploads/HyC2DqUSC.png) 相同模式,選擇`zh_TW.UTF-8`,`Enter`,確定。 Terminal輸入:`reboot` 重新開機,應該就完成自動套用。 首次開機會詢問是否要更改使用者資料夾命名成新的語言,可自行決定。 ![image](https://hackmd.io/_uploads/B1trcv1uA.png) 接著終端機輸入`locale`,正常出來的結果是修改完的語言 `zh_TW.UTF-8`。 :::spoiler ❓小提示: 有時候會沒有自動更新語言,這時就要修改開機自啟動腳本,反正我暫時沒遇到。 有需要再上來更新🤣 ::: # Part II. 字型與輸入法 ## Step1. 字型 ``` shell= └# apt update    # 更新套件資料庫 └# apt upgrade    # 確定OK沒問題,可自行判斷是否更新套件。 └# apt install aptitude    # 筆者喜歡使用Aptitude作為套件管理器,後方安裝部分套件為方便會使用此管理器。 ``` 先安裝中文字形,以便後續使用。 ``` shell= └# aptitude    # 開啟aptitude ``` 管理器開啟後可按`/`進行套件搜尋,關鍵字給`fonts-noto`,自然會看到列出來的清單,按`+`將套件加入安裝。 :::info aptitude使用小提示: `n` 下一個套件 `N / Shift+N` 上一個套件 `+` 加入安裝清單 `-` 取消自安裝清單 ::: 若套件前面已為i,表示系統內已有安裝此套件,自然無法再加入。 若有A,表示該套件可能為相依安裝的。 ![image](https://hackmd.io/_uploads/By6wRsY36.png) 關鍵字 `fonts-noto...`,即可找到相關套件,可以選擇 `fonts-noto-cjk-extra`作安裝(較餘裕的機器)。 加入安裝後按`g` + `g`,第一次進入安裝頁,第二次確定進行安裝。 即可開始安裝套件。 完成安裝後,按`q` + `y`,第一個q退出視窗,第二個y表示確認。 字型安裝完成,就來裝輸入法囉。 ## Step2. 輸入法 一樣透過Aptitude安裝,尋找關鍵字: `chewing`。 找到 `fcitx5-chewing`,這就是新酷音的fcitx5套件。 ![image](https://hackmd.io/_uploads/H1MQl6IBR.png) 選擇安裝會自動套用其他相依套件,這個優點不再贅述。 完成後建議重啟 `reboot`。 ## Step3. Fcitx 鍵盤輸入法設定 至此已完成安裝套件,接著就來進行設定。 程式集合中,找到Fcitx5設定。 ![image](https://hackmd.io/_uploads/SyQnba8HA.png) 左上有各分頁切換。 全域選項看到切換/啟用輸入法是 `Ctrl + Space`,應該與Windows差異不大。 預設或許就會有新酷音,但依每套桌面系統不同需再自行調整。 中間按鈕上下左右,可以將未使用或已使用之設定向左向右移動。左側表示啟用,順序由上往下優先度。 右側表示系統安裝語系輸入法,需要移動到左側作啟用才算使用。 ----- Copyright ChanYuRick 2024. [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully