更换KDM和Ksplash的背景壁纸

心之所在 | 2011/04/30

KDE 4.6的horos壁纸的边角黑色实在是压抑,忍不下去了,换掉。对Air主题本身我还是很满意的,需要换掉的只是主题中的壁纸部分,编辑

/usr/share/apps/kdm/themes/horos/horos.xml

这一段

原本是(标点符号注意都是英文的)

<normal wallpaper=”Horos” scalemode=”crop”/>

我改为

<normal wallpaper=”Hanami” scalemode=”crop”/>

Hanami是春天那套壁纸
http://ow9msq.bay.livefilestore.com/y1p5cxNaD7PD2ib4t4-22-kjtqCHrflgaQbPjqNQSgmLPqx-G_x2rvzJ15wJ1N1gUlVwxUyxUu4KM3pQgkFtarb8M9f82u5XPEX/kdmwallpaper.jpg?psid=1

Ksplash那边是编辑

/usr/share/apps/ksplash/Themes/Default/1600x1200/description.txt

最开始那几行

SCALE ON
BACKGROUND_IMAGE 0 0 background.png
SCALE OFF

把图片复制进来,background.png换成图片文件名,jpg是支持的,其它不清楚。这里有个问题是,ksplash貌似不支持Cropped(裁剪),我Plasma壁纸都是开的Scaled&Cropped(缩放+裁剪),图片的位置有所不同,所以中间过渡会不自然。换句话说,最好找刚好合适你屏幕分辨率的图片。

http://public.bay.livefilestore.com/y1pACzNKGJ2x8ozmLjzHuw73AbjTf3oZ8AzOFOeThkfl5GxjIUiE6qvryCfTbLW_no7ba8HHlbIeZMPP_Mt7tCRHg/ksplashwallpaper.jpg?psid=1

忘了说,事先备份是个好习惯哦。

    泰达希尔-德鲁伊
    Tags: , ,

    12 FEEDBACKS

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).

    This site uses Akismet to reduce spam. Learn how your comment data is processed.