edit /etc/locale.conf
LANG=zh_CN.UTF-8then using
xdg-user-dirs-gtk-updateto change directory names
in ~/.config/user-dirs.dirs
first you need
sudo apt install gnome-tweaksinput command like this
gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'or
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:'diff two diverse styles and choose what you like
| property | val |
|---|---|
| col | 90 |
| line | 24 |
| hightlight | white |
| color | green-char black-background |
using dircolors command
cd ~
dircolors -p > .dircolorsedit .dircolors and select color what you like according to corresponding items
clone oh-my-zsh
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zshor
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"change your shell to zsh
if you don't install zsh yet, using the following command
sudo apt install zshthen
chsh -s /bin/zshwhich means you need logout for using zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrcgit clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10kin .zshrc you can add plugins
but then you need download above plugins from github or other websites
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlightinggit clone https://gitee.com/mirror-hub/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlightinggit clone https://gitee.com/hailin_cool/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestionsgit clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestionstill now
there two apps can be used to extend gnome
- gnome-tweaks
- gnome-extensions-app
export LANG=en_US
xdg-user-dirs-gtk-update
export LANG=zh_CH.UTF-8https://extensions.gnome.org/extension/6682/astra-monitor/
enjoy it
timedatactl set-local-rtc 1sudo apt install npm
sudo npm install -g pm2
pm2 start hbbs -- -r \[10.10.74.81\] -k _
pm2 start hbbr
pm2 save
pm2 startup
pm2 startup systemd
pm2 save
pm2 unstartup systemd
pm2 save

