代码拉取完成,页面将自动刷新
title: LinuxUI
date: 2024-02-03 10:39:52
tags:
categories:
💠
💠 2024-05-09 14:32:49
Linux UI: themes icons fonts
sudo systemctl restart display-manager
XFCE4
fc-cache -fv
noto-color-emoji 字体 支持颜色
Debian8安装Infinality改善字体渲染,安装Ubuntu字体 一条命令搞定Linux字体渲染 Font Configuration/Chinese (简体中文) 参考: Fcitx (简体中文)
字体库
material design theme
某个应用运行时使用指定主题: GTK_THEME=xxx COMMAND
GTK_THEME=vimix-light-doder /Apps/IDE/mat/MemoryAnalyzer
/usr/share/icons/Papirus/128x128/apps/
sudo apt search icon-theme 也能看到很多icon
red='\033[0;31m'
green='\033[0;32m'
yellow='\033[0;33m'
blue='\033[0;34m'
purple='\033[0;35m'
cyan='\033[0;36m'
white='\033[0;37m'
default='\033[0m'
256 color
# 测试 terminal 是否支持 256
for i in {0..255} ; do
printf "\x1b[48;5;%sm%3d\e[0m " "$i" "$i"
if (( i == 15 )) || (( i > 15 )) && (( (i-15) % 6 == 0 )); then
printf "\n";
fi
done
Gihub: LS_COLORScustomize bash prompt
curl https://raw.githubusercontent.com/trapd00r/LS_COLORS/master/LS_COLORS -o /etc/lscolor-256color
*sh.rc
if [[ ("$TERM" = *256color || "$TERM" = screen* || "$TERM" = xterm* ) && -f /etc/lscolor-256color ]]; then
eval $(dircolors -b /etc/lscolor-256color)
else
eval $(dircolors)
fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。