FreeBSD从14.1升级到14.2后桌面图标消失桌面背景消失且无法设置

跟以前的情况很像Xfce4桌面背景和桌面图标消失问题解决(伪黑屏)@FreeBSD-CSDN博客,但是以前可以通过使用root账户安装这种方法解决:

复制代码
pkg install xfce4-desktop

这次是因为xfce4 从4.18升级到4.20了,当前pkg库里没有找到xfce4-desktop

尝试解决

查看,发现官网也有人碰到同样的问题:desktop background settings not set (#400) · Issues · Xfce / xfdesktop · GitLab

根据提示执行:

复制代码
xfconf-query --channel "xfce4-desktop" --list --verbose

输出

复制代码
cat txt/xfconf.log
/backdrop/screen0/monitorDP-2/workspace0/color-style   0
/backdrop/screen0/monitorDP-2/workspace0/image-style   5
/backdrop/screen0/monitorDP-2/workspace0/last-image    /usr/local/share/backgrounds/xfce/xfce-shapes.svg
/backdrop/screen0/monitorDP-2/workspace1/color-style   0
/backdrop/screen0/monitorDP-2/workspace1/image-style   5
/backdrop/screen0/monitorDP-2/workspace1/last-image    /usr/local/share/backgrounds/xfce/xfce-shapes.svg
/backdrop/screen0/monitorDP-2/workspace2/color-style   0
/backdrop/screen0/monitorDP-2/workspace2/image-style   5
/backdrop/screen0/monitorDP-2/workspace2/last-image    /usr/local/share/backgrounds/xfce/xfce-shapes.svg
/backdrop/screen0/monitorDP-2/workspace3/color-style   0
/backdrop/screen0/monitorDP-2/workspace3/image-style   5
/backdrop/screen0/monitorDP-2/workspace3/last-image    /usr/local/share/backgrounds/xfce/xfce-shapes.svg
/backdrop/screen0/monitoreDP-1/workspace0/color-style  0
/backdrop/screen0/monitoreDP-1/workspace0/image-style  1
/backdrop/screen0/monitoreDP-1/workspace0/last-image   /usr/local/share/backgrounds/xfce/xfce-flower.svg
/backdrop/screen0/monitoreDP-1/workspace1/color-style  0
/backdrop/screen0/monitoreDP-1/workspace1/image-style  5
/backdrop/screen0/monitoreDP-1/workspace1/last-image   /usr/local/share/backgrounds/xfce/xfce-shapes.svg
/backdrop/screen0/monitoreDP-1/workspace2/color-style  0
/backdrop/screen0/monitoreDP-1/workspace2/image-style  5
/backdrop/screen0/monitoreDP-1/workspace2/last-image   /usr/local/share/backgrounds/xfce/xfce-shapes.svg
/backdrop/screen0/monitoreDP-1/workspace3/color-style  0
/backdrop/screen0/monitoreDP-1/workspace3/image-style  5
/backdrop/screen0/monitoreDP-1/workspace3/last-image   /usr/local/share/backgrounds/xfce/xfce-shapes.svg
/desktop-icons/primary                                 true
/desktop-icons/tooltip-size                            48.000000
/last/window-height                                    568
/last/window-width                                     634
/windowlist-menu/show-submenus                         true

发现没有这个文件/usr/local/share/backgrounds/xfce/xfce-shapes.svg:

复制代码
ls /usr/local/share/backgrounds/xfce/xfce-shapes.svg
ls: /usr/local/share/backgrounds/xfce/xfce-shapes.svg: 文件或目录不存在

原来根本没有/usr/local/share/backgrounds/xfce 这个目录啊!

尝试了寻找xfce4的相关包,但是没有找到。

没有尝试直接cp目录 或者把其它目录的东西cp到目标目录

也许这也是一种办法呢。

采用的办法系统升级+pkg upgrade

先系统升级,从14.1升级到14.2 ,升级之后再进行pkg升级,执行:

复制代码
sudo pkg upgrade

好么,炸锅了,导致整个xfce4桌面系统都消失了。

经过了曲折的过程:FreeBSD从14.1升级到14.2后xfce桌面无法进入。Fatal server error:xf86OpenConsole:VT_SETMODE VT_PROCESS failed(EE)-CSDN博客最后是使用prots编译安装xfce4-desktop 解决问题。

相关推荐
代码游侠1 小时前
ARM开发——阶段问题综述(二)
运维·arm开发·笔记·单片机·嵌入式硬件·学习
Mr.朱鹏2 小时前
Nginx路由转发案例实战
java·运维·spring boot·nginx·spring·intellij-idea·jetty
java_logo2 小时前
OpenCode 企业级 Docker 部署完整指南
运维·docker·容器·opencode·opencode本地化部署·opencode部署手册·opencode部署方案
TTBIGDATA4 小时前
【knox】User: knox is not allowed to impersonate admin
大数据·运维·ambari·hdp·trino·knox·bigtop
佑白雪乐4 小时前
<Linux基础第10集>复习前面内容
linux·运维·服务器
春日见4 小时前
自动驾驶规划控制决策知识点扫盲
linux·运维·服务器·人工智能·机器学习·自动驾驶
玉树临风江流儿5 小时前
docker镜像加速器配置步骤
运维·docker·容器
China_Yanhy6 小时前
我的区块链运维日记 · 第 11 日:生死时速 —— 闪电贷攻击与“红色按钮”
运维·区块链
2401_840192276 小时前
怎么把运维能力沉淀下来?
运维