看板 Linux 關於我們 聯絡資訊
※ 引述《iso9660 (iso9660)》之銘言: : 透過建立一個XML檔案,來製作Gnome2.28的動態桌布 : http://kadok0520.pixnet.net/blog/post/25520798 : 翻譯不好,請來信指教,謝謝 去cosmos太空站看過了…本來不知道這是什麼東西,但是參考以上網站以後,總算知道 原來桌布也可以用xml去設,這樣就有動畫般播放的桌面囉。雖然這功能 xp螢幕保護程 式早就有了~基本原始碼就以下這種: 標頭:桌布與開始時間~ <background> <starttime> <hour>00</hour> <minute>00</minute> <second>01</second> </starttime> 畫面一,在duration中間為五秒的時間,你要設3600=一小時也是可以的。 <static> <duration>5.0</duration> <file>/usr/share/backgrounds/xxxxx/fly00.jpg</file> </static> 畫面一→畫面二轉換,轉換時間為二秒,若設十分鐘,你會看到畫面交雜在一起~ <transition type="overlay"> <duration>2.0</duration> <from>/usr/share/backgrounds/xxxxx/fly00.jpg</from> <to>/usr/share/backgrounds/xxxxx/maid00.jpg</to> </transition> 畫面二 <static> <duration>5.0</duration> <file>/usr/share/backgrounds/xxxxx/maid00.jpg</file> </static> 畫面二→畫面一轉換 <transition type="overlay"> <duration>2.0</duration> <from>/usr/share/backgrounds/xxxxx/maid00.jpg</from> <to>/usr/share/backgrounds/xxxxx/fly00.jpg</to> </transition> 標尾 </background> 一開始我複製cosmos的xml過去用,但是不管怎樣都失敗…要用網頁開也打不開,後來 才發現是檔尾的</background>不小心被刪掉了,害我弄個半天~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.34.82.141
Adama:gnome官網就有小工具可以引入圖片以建入動態桌布的xml檔 05/25 17:49
OrzOGC:可惜gnome3不給用... 05/25 18:34
jtmh:好熟悉的 XML 內容,Mandriva 的動態桌面也是用這種方式。 05/25 21:34