要查看Ubuntu中的桌面環境配置,可以使用以下命令:
echo $XDG_CURRENT_DESKTOP
ls /usr/share/xsessions/
unity --version
gnome-shell --version
通過以上命令,你可以查看到Ubuntu中的桌面環境配置信息。