[譯作] 透過建立一個XML檔案,來製作Gn … - Linux

By Ursula
at 2011-05-25T17:22
at 2011-05-25T17:22
Table of Contents
※ 引述《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>不小心被刪掉了,害我弄個半天~
--
: 透過建立一個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>不小心被刪掉了,害我弄個半天~
--
Tags:
Linux
All Comments

By Eden
at 2011-05-30T14:12
at 2011-05-30T14:12

By Poppy
at 2011-06-01T05:07
at 2011-06-01T05:07

By Kelly
at 2011-06-03T19:03
at 2011-06-03T19:03
Related Posts
詭異的網路問題

By Frederic
at 2011-05-25T11:05
at 2011-05-25T11:05
快速同步不同資料夾到Dropbox

By Elvira
at 2011-05-25T01:19
at 2011-05-25T01:19
make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules

By Mason
at 2011-05-24T21:45
at 2011-05-24T21:45
ls與du的問題

By Regina
at 2011-05-24T19:03
at 2011-05-24T19:03
UNIX工作站 .tshrc怎麼開啟...

By Candice
at 2011-05-24T13:36
at 2011-05-24T13:36