KDE 시작 화면 이미지 크기가 변경되었습니다.

KDE 시작 화면 이미지 크기가 변경되었습니다.

KDE/PLASMA에서 스플래시 화면 이미지를 변경하고 싶습니다.

맞춤 테마를 만들고 다음 위치에 있는 이미지를 변경했습니다.

/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
    }
}

다른 부분을 편집해 보았지만 그림은 항상 동일합니다. 시작 이미지 크기를 변경하려면 무엇을 편집해야 합니까?

답변1

귀하(또는 검색 결과를 따르는 누군가)가 실제로 배경 이미지를 변경하려는 경우 사용자 정의 테마의 소스 코드를 확인하십시오(일부는 다음 위치에 있음).kde 스토어)

기본적으로 [Splash.qml의 top/root 요소]만 교체하면 됩니다.

Rectangle {
    id: root
    color: "black"

[예를 들어 현재 기본 페도라 테마]

그리고

Image {
    id: root
    source: "images/background.png"

지정된 위치에 적절한 배경 이미지를 배치합니다.

관련 정보