问题
utools目前的实现下用户目录下的desktop条目中的Icon搜索路径是什么?
复现
$HOME/.local/share/applications/msedge-notion.desktop
文件(该文件由microsoft-edge安装webapp时自动产生,图标也会安装到$HOME/.local/share/icons
中):
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=Notion
Exec=/opt/microsoft/msedge/microsoft-edge --profile-directory=Default --app-id=fpepplcgecddhdfdahmdldjidbekpmkn "--app-url=https://www.notion.so"
Icon=msedge-fpepplcgecddhdfdahmdldjidbekpmkn-Default
StartupWMClass=crx__fpepplcgecddhdfdahmdldjidbekpmkn
- Icon 路径:
$HOME/.local/share/icons/hicolor/512x512/apps/msedge-fpepplcgecddhdfdahmdldjidbekpmkn-Default.png
- 结果打开 utools 输入 notion 显示 linux 小企鹅图标(图标占位符)
系统环境
OS: Arch Linux x86_64
Host: ASUS TUF Gaming A15 FA507XV_FA507XV (1.0)
Kernel: Linux 6.9.9-arch1-1
Uptime: 2 hours, 35 mins
Packages: 1137 (pacman)
Shell: bash 5.2.26
Display (IG27Q): 2560x1440 @ 144Hz *
Display (NE156QHM-NY1): 2560x1440 @ 165Hz
DE: GNOME 46.3.1
WM: Mutter (X11)
WM Theme: Adwaita
Theme: Adwaita [GTK2/3/4]
Icons: Bibata-Modern-Classic [GTK2/3/4]
Font: Noto Sans CJK SC (12pt) [GTK2/3/4]
Cursor: Bibata-Modern-Classic (24px)
Terminal: kitty 0.35.2
Terminal Font: MapleMonoSCNF-Regular (14pt)
CPU: AMD Ryzen 9 7940H w/ Radeon 780M Graphics (16) @ 5.26 GHz
GPU 1: NVIDIA GeForce RTX 4060 Max-Q / Mobile [Discrete]
GPU 2: AMD Radeon 780M [Integrated]
Memory: 5.00 GiB / 14.85 GiB (34%)
Swap: Disabled
Disk (/): 11.89 GiB / 294.23 GiB (4%) - ext4
Disk (/home): 73.49 GiB / 294.23 GiB (25%) - ext4
Disk (/var): 5.43 GiB / 19.52 GiB (28%) - ext4
Local IP (wlan0): 10.12.61.133/20
Battery: 100% [AC Connected]
Locale: en_US.UTF-8