Debian
Neofetch 缺少一些資訊 Debian11
當我安裝 Debian 11 和 Gnome3 及其依賴項時,我安裝了 neofetch 以了解我的系統。
奇怪的是缺少一些資訊,例如我正在使用的 Windows 管理器或我正在使用的 DE。
這是命令的日誌
neofetch -vv
+ err 'Neofetch command: /usr/bin/neofetch -vv' ++ color 1 ++ case $1 in ++ printf '%b\e[3%sm' '\e[0m' 1 + err+='[!]\e[0m Neofetch command: /usr/bin/neofetch -vv ' + err 'Neofetch version: 7.1.0' ++ color 1 ++ case $1 in ++ printf '%b\e[3%sm' '\e[0m' 1 + err+='[!]\e[0m Neofetch version: 7.1.0 ' + [[ on == on ]] + printf %b '[!]\e[0m Config: Sourced user config. (/root/.config/neofetch/config.conf) [!]\e[0m Image: Imagemagick not found, falling back to ascii mode. [!]\e[0m Info: Couldn'\''t detect DE. [!]\e[0m Info: Couldn'\''t detect WM. [!]\e[0m Info: Couldn'\''t detect WM Theme. [!]\e[0m Info: Couldn'\''t detect Theme. [!]\e[0m Info: Couldn'\''t detect Icons. [!]\e[0m Info: Couldn'\''t detect Terminal Font. [!]\e[0m Neofetch command: /usr/bin/neofetch -vv [!]\e[0m Neofetch version: 7.1.0 ' [!] Config: Sourced user config. (/root/.config/neofetch/config.conf) [!] Image: Imagemagick not found, falling back to ascii mode. [!] Info: Couldn't detect DE. [!] Info: Couldn't detect WM. [!] Info: Couldn't detect WM Theme. [!] Info: Couldn't detect Theme. [!] Info: Couldn't detect Icons. [!] Info: Couldn't detect Terminal Font. [!] Neofetch command: /usr/bin/neofetch -vv [!] Neofetch version: 7.1.0 + [[ off == on ]] + return 0 + printf '\e[?25h\e[?7h'
Google搜尋問題或日誌消息根本沒有幫助我。
您
neofetch
以 root 身份執行,這就是它無法確定與您的桌面相關的資訊的原因;以登錄到桌面環境的使用者身份執行它。