- 將常用帳號加入 sudo 群組
- 輸入「su -」以及 root 密碼後,提升權限。注意不能只輸入 su,不然會找不到 usermod
- usermod -aG sudo your_user_name
- 修改語系
- 以 root 權限執行 dpkg-reconfigure locales
- 安裝 fcitx4
- sudo apt install fcitx-table-boshiamy fcitx-rime fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-chewing
- 在「設定/應用程式/調校」中的「初始啟動應用程式」中加入 Fcitx,這樣登入後就會自動啟動 fcitx
- 在 $HOME/.xsessionrc 中加入以下設定:
- export LANG=zh_TW.utf8
export LANGUAGE=zh_TW
export GTK_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export QT_IM_MODULE=fcitx - 參考資料:石頭閒語所寫的《Debian 10 安裝筆記升級篇》
- 讓 Bash 的提示字串更好用
- 修改 ~/.bashrc 將原來是註解的 force_color_prompt=yes 那一行移除註解符號
PS1='{debian_chroot:+($debian_chroot)}\[\033[1;33m\]\u\033[0m\] @ \[\033m[1;32m\]$(pwd)\033[0m\] \[\033[1;37m\]$(date +"%Y-%m-%d %A %T")\033[0m\]\n\$ '- 從 Backports 更新 Kernel
- 新增 backports 來源:echo deb http://deb.debian.org/debian bookworm-backports main contrib non-free-firmware | sudo tee /etc/apt/sources.list.d/bookworm-backports.list
- 更新 sudo apt update
- 安裝新的 Linux 核心和 Firmware:sudo apt install -t bookworm-backports linux-image-amd64 firmware-linux
- 參考資料:How to upgrade the Debian 10 kernel from backports without recompiling it from scratch
- 安裝 onedrive 來同步 OneDrive 的資料
- onedrive 官方網站
- 進入 OpenSUSE Build Service 頁面後選擇 Debian 並按照說明安裝
- 參考資料:使用 OneDriver GUI 工具在 Linux 中掛載 Microsoft OneDrive
- 安裝 LINE
2024-01-17
新安裝 Debian 12(Bookworm)之後的調整
2023-03-03
Linux 上用 Solaar 連接羅技的 Unifying 滑鼠或鍵盤
在 Debian Linux 上可以使用 Solaar 來管理羅技的 Unifying 滑鼠或鍵盤,可以透過「管理/軟體」搜尋 Solaar 並安裝,也可以透過指令:「sudo apt install solaar」來安裝。
啟動 Solaar 後按照畫面指示插拔接受器,並與滑鼠或鍵盤配對即可。
配對之後,滑鼠的選項中有個「Scroll Wheel HID++ Scrolling」不要勾,不然中間的滾輪會失效。
2021-02-23
Debian buster 使用 backports 的 Linux kernel
紀錄一下如何安裝 backports 的新版 Linux Kernel,stable 的 Kernel 比較舊,有時候不支援新一點的硬體,就要換成新版的 Kernel 才可能支援。
- 新增 backports 到 source.list,並更新資料庫
- 安裝 Linux Kernel 及韌體
echo deb http://deb.debian.org/debian buster-backports main contrib non-free | sudo tee /etc/apt/sources.list.d/buster-backports.list sudo apt update
sudo apt install -t buster-backports linux-image-amd64 firmware-linux firmware-linux-nonfree
參考網址:How to upgrade the Debian 10 kernel from backports without recompiling it from scratch
訂閱:
意見 (Atom)