首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >新取缺少一些信息Debian11

新取缺少一些信息Debian11
EN

Unix & Linux用户
提问于 2021-12-16 15:25:31
回答 1查看 269关注 0票数 0

当我安装Debian 11并使用它时,我安装了Gnome3及其依赖项,以便对我的系统进行概述。

奇怪的是,有些信息丢失了,比如我使用的是什么Windows管理器或者我使用的是什么DE。

下面是命令neofetch -vv的日志

代码语言:javascript
复制
+ 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'

在谷歌上搜索这个问题或日志信息对我一点帮助都没有。

EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2021-12-16 15:30:10

您将neofetch作为根用户运行,这就是它无法确定与桌面相关的信息的原因;当用户登录到桌面环境时运行它。

票数 1
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/682739

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档