LinuxUI
Contents
💠
-
- 1.1. Display Manager
- 1.2. Window Manager
- 1.3. Desktop environment
💠 2024-10-15 09:56:12
GUI
Display Manager
sudo systemctl restart display-manager
Window Manager
- xfwm4
XFCE4
- compiz
Desktop environment
UI
Linux UI: themes icons fonts
Font
- /usr/share/fonts/
- ~/.local/share/fonts
- 刷新字体缓存
fc-cache -fv
- 注意还有一个32位命令 fc-cache-32
- npm vue minikube 等命令行的工具输出的日志提示会包含emoji, 需要终端字体支持展示unicode
- 终端内 Emoji 支持 emoji
noto-color-emoji 字体 支持颜色
- 终端内 Emoji 支持 emoji
字体渲染
Debian8安装Infinality改善字体渲染,安装Ubuntu字体 一条命令搞定Linux字体渲染 Font Configuration/Chinese (简体中文) 参考: Fcitx (简体中文)
字体库
Theme
- /usr/share/themes/ 系统级
- ~/.themes/ ~/.local/share/themes 用户级
- Github:vimix
material design theme
-
某个应用运行时使用指定主题:
GTK_THEME=xxx COMMAND
- 例如
GTK_THEME=vimix-light-doder /Apps/IDE/mat/MemoryAnalyzer
- 例如
Icon
- /usr/share/icons
- 例如:
/usr/share/icons/Papirus/128x128/apps/
- 例如:
sudo apt search icon-theme 也能看到很多icon
- Halo-icon-theme
Terminal
彩色输出
|
|
256 color
|
|
ls配置彩色输出
Gihub: LS_COLORScustomize bash prompt
curl https://raw.githubusercontent.com/trapd00r/LS_COLORS/master/LS_COLORS -o /etc/lscolor-256color
- 追加到
*sh.rc
1 2 3 4 5
if [[ ("$TERM" = *256color || "$TERM" = screen* || "$TERM" = xterm* ) && -f /etc/lscolor-256color ]]; then eval $(dircolors -b /etc/lscolor-256color) else eval $(dircolors) fi
Author Kuangcp
LastMod 2024-02-03