我想改变我在KDE/等离子中的溅屏图像。
我制作了一个自定义主题,并更改了位于
/usr/share/plasma/look-and-feel/org.kde.my_theme.desktop/contents/splash/images/kde.svgz不过我想改变一下照片的尺寸。应该在文件中控制这一点:
/usr/share/plasma/look-and-feel/org.kde.arch_custom.desktop/contents/splash/Splash.qml上面写着
Rectangle {
id: topRect
width: parent.width
height: (root.height / 3) - bottomRect.height - 1
y: root.height
color: "#4C000000"
Image {
source: "images/kde.svgz"
anchors.centerIn: parent
sourceSize.height: 128
sourceSize.width: 128
}
}我试着编辑不同的部分,但图片总是一样的。我应该编辑什么来改变飞溅图像大小?
发布于 2022-05-27 08:40:23
如果您(或跟踪搜索结果的人员)实际上试图更改背景图像,请检查源代码中的自定义主题(有些在kde商店)。
基本上你只需要替换Splash.qml中的顶层/根元素
Rectangle {
id: root
color: "black"例如,在当前默认的Fedora主题中
使用
Image {
id: root
source: "images/background.png"将适当的背景图像放置在指定位置。
https://unix.stackexchange.com/questions/216435
复制相似问题