edit /etc/locale.conf
LANG=zh_CN.UTF-8
then using
xdg-user-dirs-gtk-update
to change directory names
in ~/.config/user-dirs.dirs
first you need
sudo apt install gnome-tweaks
input 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 > .dircolors
edit .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-zsh
or
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 zsh
then
chsh -s /bin/zsh
which means you need logout for using zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
in .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-highlighting
git clone https://gitee.com/mirror-hub/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://gitee.com/hailin_cool/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
till 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-8
https://extensions.gnome.org/extension/6682/astra-monitor/
enjoy it
timedatactl set-local-rtc 1
sudo 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