sudo apt install ibus ibus-rime ibus-gtk ibus-gtk4 ibus-gtk3
sudo apt install ibus-pinyin ibus-sunpinyin
重新login後,在keyboard選擇:
ibus-rime
默認爲繁體,ibus-pinyin
與ibus-sunpinyin
爲簡體。
sudo vim /etc/environment
sudo apt install ibus ibus-rime ibus-gtk ibus-gtk4 ibus-gtk3
sudo apt install ibus-pinyin ibus-sunpinyin
重新login後,在keyboard選擇:
ibus-rime
默認爲繁體,ibus-pinyin
與ibus-sunpinyin
爲簡體。
sudo vim /etc/environment
.plist
to /Library/LaunchDaemons/sudo chown root:wheel
(and sudo chmod 755
) with .plist
file pathsudo launchctl load
with .plist
file pathRef:
patch: | |
"menu/page_size": 8 | |
"translator/enable_user_dict": true | |
"translator/enable_encoder": true #是否开启自动造词〔仅table_translator有效〕 | |
"translator/encode_commit_history": true #是否对已上屛词自动成词〔仅table_translator效〕 | |
"translator/enable_sentence": true #是否开启自动造句 | |
"translator/enable_completion": true #编码逐渐提示开关;编码提示 | |
"translator/enable_charset_filter": true #字符集过滤,低重形码用不着 |
source /etc/profile.d/modules.sh # install `environment-modules` (https://askubuntu.com/questions/343692/module-load-command-does-not-work) | |
# https://docs.nvidia.com/hpc-sdk//hpc-sdk-install-guide/index.html#install-linux-end-usr-env-settings | |
NVARCH=`uname -s`_`uname -m`; export NVARCH | |
NVCOMPILERS=/opt/nvidia/hpc_sdk; export NVCOMPILERS | |
export MODULEPATH=$NVCOMPILERS/modulefiles:$MODULEPATH | |
module load nvhpc |
# /etc/environment | |
QT_QPA_PLATFORMTHEME=gnome | |
QT_STYLE_OVERRIDE=adwaita-dark |
# locate at ~/.config/kitty/kitty.conf | |
font_family CaskaydiaCove Nerd Font Mono | |
bold_font auto | |
italic_font auto | |
bold_italic_font auto | |
#font_size 9.0 | |
window_padding_width 6 | |
#include themes/everforest_dark_medium.conf | |
#include themes/tokyo_night_moon.conf |
[ | |
{ | |
"command": "projectManager.listGitProjects#sideBarGit", | |
"key": "cmd+o" | |
}, | |
{ | |
"command": "expand_region", | |
"key": "ctrl+=", | |
"when": "editorTextFocus" | |
}, |
# locate at ~/.config/alacritty/alacritty.toml | |
# theme (https://github.com/alacritty/alacritty-theme) | |
# theme | |
import = [ | |
"~/.config/alacritty/themes/themes/everforest_dark.toml", | |
# "~/.config/alacritty/themes/themes/gruvbox_dark.toml", | |
] | |
# fonts |
Checks: 'clang-analyzer-*,bugprone-*,modernize-*,performance-*,portability-*,readability-*,cert-*,cppcoreguidelines-*,google-*,llvm-*' | |
FormatStyle: llvm |
# ~/.config/chromium-flags.conf | |
--use-gl=egl | |
--ignore-gpu-blocklist | |
--enable-gpu-rasterization | |
--ozone-platform=wayland | |
--gtk-version=4 | |
--enable-features=TouchpadOverscrollHistoryNavigation | |
--disable-features=WaylandFractionalScaleV1 |