Ubuntu 23.04 安装后
配配置快捷键、切换语言
gsettings set org.gnome.shell.app-switcher current-workspace-only false
gsettings set org.gnome.shell.window-switcher current-workspace-only false
更新软件源、安装输入法
sudo apt install fcitx5 \
fcitx5-chinese-addons \
fcitx5-frontend-gtk4 fcitx5-frontend-gtk3 fcitx5-frontend-gtk2 \
fcitx5-frontend-qt5
wget https://github.com/felixonmars/fcitx5-pinyin-zhwiki/releases/download/0.2.4/zhwiki-20220416.dict
mkdir -p ~/.local/share/fcitx5/pinyin/dictionaries/
mv zhwiki-20220416.dict ~/.local/share/fcitx5/pinyin/dictionaries/
vim /etc/profile
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
安装zsh
sudo apt install libfuse2
sudo apt install zsh
chsh -s /bin/zsh
sudo apt install git curl
sh -c "$(curl -fsSL https://gitee.com/shmhlsy/oh-my-zsh-install.sh/raw/master/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://gitee.com/Annihilater/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
vim ~/.zshrc
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="true"
plugins=(
git
extract
zsh-autosuggestions
zsh-syntax-highlighting
)
source $ZSH/oh-my-zsh.sh
source $ZSH_CUSTOM/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
安装字体、安装wps
sudo apt install ttf-mscorefonts-installer
sudo fc-cache -f -v
sudo apt-get remove --purge "libreoffice*"
sudo apt-get clean
sudo apt-get autoremove
https://www.wps.cn/product/wpslinux
git clone https://github.com/IamDH4/ttf-wps-fonts.git && cd ttf-wps-fonts
sudo ./install.sh
gnome插件安装
sudo apt install gnome-tweaks gnome-shell-extension-manager
sudo apt --fix-broken install
安装主题
主题 WhiteSur-gtk-theme
mkdir ~/.themes
cd ~/.themes
git clone https://github.com/vinceliuice/WhiteSur-gtk-theme
cd WhiteSur-gtk-theme
./install.sh -c Dark -t orange -i ubuntu -N glassy -l
mkdir ~/.icons
cd ~/.icons
https://github.com/ful1e5/apple_cursor/releases/tag/v2.0.0
https://www.pling.com/s/Gnome/p/1305429
配置开发环境
git config --global credential.helper store
安装idea
https://github.com/RikudouPatrickstar/JetBrainsRuntime-for-Linux-x64/releases
创建图标
cat /usr/share/applications/code.desktop
[Desktop Entry]
Name=Visual Studio Code
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/usr/share/code/code --unity-launch %F
Icon=vscode
Type=Application
StartupNotify=false
StartupWMClass=Code
Categories=TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;application/x-code-workspace;
Actions=new-empty-window;
Keywords=vscode;
[Desktop Action new-empty-window]
Name=New Empty Window
Exec=/usr/share/code/code --new-window %F
Icon=vscode
cat /usr/share/applications/idea.desktop
[Desktop Entry]
Name=IntelliJ IDEA Community
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/app/program/idea-IC-232.10072.27/bin/idea.sh
Icon=/app/program/idea-IC-232.10072.27/bin/idea.svg
Type=Application
StartupNotify=false
StartupWMClass=idea
Categories=TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;application/x-code-workspace;
Actions=new-empty-window;
Keywords=idea;
[Desktop Action new-empty-window]
Name=New Empty Window
Exec=/app/program/idea-IC-232.10072.27/bin/idea.sh
Icon=/app/program/idea-IC-232.10072.27/bin/idea.svg
cat /usr/share/applications/pdmaner.desktop
[Desktop Entry]
Name=PDManer
Comment=design Editing. Redefined.
GenericName=Text Editor
Exec=/app/program/pdmaner/PDManer-linux_v4.6.3.AppImage
Icon=/app/program/pdmaner/pdmaner-logo.png
Type=Application
StartupNotify=false
StartupWMClass=Code
Categories=TextEditor;Development;IDE;
MimeType=text/plain;inode/directory;application/x-code-workspace;
Actions=new-empty-window;
Keywords=PDManer;
[Desktop Action new-empty-window]
Name=New Empty Window
Exec=/app/program/pdmaner/PDManer-linux_v4.6.3.AppImage
Icon=/app/program/pdmaner/pdmaner-logo.png