After Installing Ubuntu 20.04
date
Jan 9, 2022
slug
ubuntu
status
Published
tags
Ubuntu
Linux
summary
安装完Ubuntu20.04后的初始设置
type
Post
Nav
Update & Upgrade:
sudo apt update; sudo apt upgrade
Install Favorite Apps:
sudo apt install vlc gimp gparted synaptic
Install Ubuntu Restricted Extras (Media Codecs):
sudo apt install ubuntu-restricted-extras
DVD
sudo apt install libdvd-pkg libdvdnav4 libdvdread7
sudo dpkg-reconfigure libdvd-pkg
Install Timeshift Backup Tool:
sudo apt install timeshift
Install Preload:
sudo apt install preload
Firefox Tweaks:
about:config
layers.acceleration.force-enabled
gfx.webrender.all
Gnome Tweak Tool
sudo apt install gnome-tweak-tool
安装谷歌输入法和云拼音模块
Install fcitx input method system
sudo apt install fcitx
Install Google Pinyin Chinese input method
sudo apt install fcitx-googlepinyin
安装云拼音模块
sudo apt install fcitx-module-cloudpinyin
其他输入法
内置输入法
sudo apt install fcitx-pinyin
sunpinyin
sudo apt install fcitx-sunpinyin
libpinyin
sudo apt install fcitx-libpinyin
可选卸载IBUS
sudo apt remove ibus
sudo apt purge ibus
配置输入法
im-config
设置 用户设置 /home/t/.xinputrc 为 fcitx。
手动设置选择: fcitx
小企鹅输入法(Fcitx)
- 必需组件:fcitx
- 输入特定语言所需的组件:
- 简体中文拼音:fcitx-sunpinyin 或 fcitx-googlepinyin 或 fcitx-libpinyin
- 简体中文五笔:fcitx-table-wubi 或 fcitx-table-wbpy
- 繁体中文或通用中文输入:fcitx-table-cangjie 或 fcitx-rime
- 通用的输入法码表: fcitx-table* 套件
- 应用程序支持: 安装 fcitx-frontend-all 可以覆盖所有图形界面平台支持。
- GNOME/GTK+:fcitx-frontend-gtk2 和 fcitx-frontend-gtk3 (强烈建议同时安装)
- Qt4:fcitx-frontend-qt4
- KDE/Qt5:fcitx-frontend-qt5
用户设置 已被 im-config 修改。
请重新启动 X 会话管理器以激活新的 用户设置。
如果使用旧配置的守护进程被 X 会话管理器重启,您可能需要使用 kill(1) 手工将其杀死。
请参考 im-config(8) 和 /usr/share/doc/im-config/README.Debian.gz。
Clash
[Desktop Entry]
Type=Application
Name=clash for windows
Exec=/home/t/Documents/opt/clash/cfw
Icon=/home/t/Documents/opt/pxcat.png
ZSH
sudo apt install zsh
echo $SHELL
chsh -s $(which zsh)
initial setup
autoload -Uz zsh-newuser-install
zsh-newuser-install -f
OH-MY-ZSH
Note: many themes require installing the Powerline Fonts in order to render properly.
sudo apt install fonts-powerline
zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
vi ~/.zshrc
zsh-autosuggestions zsh-syntax-highlighting
source ~/.zshrc
autojump - a faster way to navigate your filesystem
sudo apt install autojump
Autojump for Debian
To use autojump, you need to configure you shell to source
/usr/share/autojump/autojump.sh on startup.
If you use Bash, add the following line to your ~/.bashrc (for non-login
interactive shells) and your ~/.bash_profile (for login shells):
. /usr/share/autojump/autojump.sh
If you use Zsh, add the following line to your ~/.zshrc (for all interactive shells):
. /usr/share/autojump/autojump.sh
- - Tanguy Ortolo tanguy+debian@ortolo.eu Tue, 10 Aug 2010 07:55:16 +0200