👋 Welcome to my homepage!
- I’m a developer also known as Ming.
👋 Welcome to my homepage!
Setting Linux Desktop Appearance ref: Icons - Arch Wiki GTK - Arch Wiki FreeDesktop icon theme spec Icon Setting Appearance includes icon and gtk-theme. Icon is included in FreeDesktop Icon Theme Specification, that means it’s generally usable. the icon path: /usr/share/icons/ ~/.icons ~/.local/share/icons/ Configure Cursor Download Cursor file to icon path. Setting gsettings set cursor theme, but it only work for gtk program gsettings set org.gnome.desktop.interface cursor-theme '<THEME_NAME>' For it work on all appliaction, config sway configure: seat seat0 xcursor_theme <THEME_NAME> 24 Theme Setting gtk-theme configure the gtk style and behavior, it is only for gtk applications....
Emoji ctrl + ., but it only works under gtk application. to adapt all application, u can install it.mijorus.smile and map a shortcut. flatpak insatll it.mijorus.smile flatpak run it.mijorus.smile Unicode Method Press ctrl + shift + u, then input the unicode. Alternate Characters Key/Alt Gr Alernate Character Key is a modifier key, ussally labeed Alt Gr, similar to shift. It asks the inpute source support the AltGr layout, then you can press Alternate Character Key and other Key to called a character which in AltGr layout....
Linux 平台下 OCR 解决方案 软件要求 flameshot(截图工具) tesseract(OCR工具) wl-clipboard(wayland的剪贴板工具)如果桌面运行在x环境,选择xsel 编写脚本 #!/bin/bash # prerequiste thoes app: `flameshot`, `tesseract`, `wl-clipboard`. # Create a temporary directory TMPDIR=$(mktemp -d) # Take a screenshot of a selected area and save it as screenshot.png in the temporary directory flameshot gui -p $TMPDIR/screenshot.png # Process the screenshot with Tesseract and save the result to a text file in the temporary directory tesseract $TMPDIR/screenshot.png $TMPDIR/output # Copy the result to the clipboard (Wayland) # ignore all non-ASCII characters cat $TMPDIR/output....
RClone 教程 环境:Linux 平台:OneDrive 参考文献: Linux使用RClone挂载OneDrive网盘 使用该云盘方案从文件操作感受上类似挂载了一个物理硬盘,可以选择性挂载位置,也可以解挂载。 安装 rclone gentoo 安装: emerge -a net-misc/rclone emerge -a sys-fs/fuse 配置 rclone 进入配置的交互界面命令: rclone config 交互界面具体操作示例(以OneDrive为例): ming@assassin:~$ rclone config No remotes found, make a new one? n) New remote s) Set configuration password q) Quit config n/s/q> n Enter name for new remote. name> Main OneDrive Option Storage. Type of storage to configure. Choose a number from below, or type in your own value....
Unveveiling the Control Character of Emulator Terminal 首先我们要知道控制字符的表现和 Emulator Terminal 有关系,可以通过 echo $TERM 来查看当前终端的类型。 There are a link about xterm. ESC 控制字符 \033 是八进制的转义字符,对应 ASCII 上的 ESC ,是控制字符的一种,用作控制序列的开始。 此外需要提示的是: \x 表示 16 进制,\0 表示 8 进制 因此 \0x1b 等于 \033 颜色 格式 \033[xx;xx;..m 前景色和背景色: 30 到 37: 前景色,范围是黑色到白色。 echo -e “\033[31m 红色字 \033[0m” echo -e “\033[32m 绿色字 \033[0m” echo -e “\033[33m 黄色字 \033[0m” echo -e “\033[34m 蓝色字 \033[0m” echo -e “\033[35m 紫色字 \033[0m” echo -e “\033[36m 天蓝字 \033[0m” echo -e “\033[37m 白色字 \033[0m” 40 到 47 :背景景色,范围是黑色到白色。 文本样式: 0: 重置所有文本属性,恢复默认值。 1: 加粗或粗体文本。 2: 弱化的颜色或模糊文本(并非所有终端支持)。 3: 斜体文本(并非所有终端支持)。 4: 下划线。 7: 反显,交换前景色和背景色。 特殊效果: 5: 闪烁效果(并非所有终端支持)。 8: 隐藏文本(并非所有终端支持)。 删除线: 9: 删除线(并非所有终端支持)。 如果多个效果叠加在一起,使用分号进行分割,比如 \033[31;5;240m 表示:...