• 25

[分享]桌面時間模組GeekTool分享, Mac 個性化之相關軟體與桌布分享

p12345j2007 wrote:
我怎麼樣都弄不出天氣...(恕刪)


請下載 小弟已經做好的 安裝好 geektool 之後直接點擊 確認 就可執行

重新加以分類與設定所在位置網址即可

附加壓縮檔: 201111/mobile01-088f74053453a53a6c2712752aac715b.zip

請參考裡面 修改到你目前的位置

天氣圖表有時候會改變位址 可以在這輸入中文或英文選 度C 找出相關位置來

http://weather.yahoo.com/taiwan/

第一段 SHELL 天氣圖表位置 2012/05/15 YAHOO氣象新位置
SHELL 天氣圖表位置
http://weather.yahoo.com/taiwan/taipei-city/taipei-city-12703515/ 台北市
http://weather.yahoo.com/taiwan/taichung-city/taichung-city-12703535/ 台中
http://weather.yahoo.com/taiwan/hsinchu-city/hsinchu-city-12703534/ 新竹
http://weather.yahoo.com/taiwan/tainan-city/tainan-city-12703545/ 台南
http://weather.yahoo.com/taiwan/kaohsiung-city/kaohsiung-city-12703552/ 高雄

第三段 SHELL 溫度參考位置
http://weather.yahooapis.com/forecastrss?p=TWXX0001&u=c 彰化
http://weather.yahooapis.com/forecastrss?p=TWXX0009&u=c 新竹
http://weather.yahooapis.com/forecastrss?p=TWXX0011&u=c 花蓮
http://weather.yahooapis.com/forecastrss?p=TWXX0013&u=c 高雄
http://weather.yahooapis.com/forecastrss?p=TWXX0019&u=c 台中
http://weather.yahooapis.com/forecastrss?p=TWXX0020&u=c 台南
http://weather.yahooapis.com/forecastrss?p=TWXX0021&u=c 台北
http://weather.yahooapis.com/forecastrss?p=TWXX0022&u=c 新北市
http://weather.yahooapis.com/forecastrss?p=TWXX0025&u=c 桃園


---- 溫度預測一列修改成為兩列

temp_f=$(curl -s "http://weather.yahooapis.com/forecastrss?p=TWXX0019&u=f" | egrep -o 'temp="[^"]*"' | sed -e 's/temp="//g' -e 's/"//g')°
temp_c=$(curl -s "http://weather.yahooapis.com/forecastrss?p=TWXX0019&u=c" | egrep -o 'temp="[^"]*"' | sed -e 's/temp="//g' -e 's/"//g')°

echo "台中地區攝氏溫度約 $temp_c" C

echo "台中地區華氏溫度約 $temp_f" F

------ 2012/05/15 補充

如果您有下載 本樓附件的朋友

原本的天氣圖表因為 Yahoo天氣改版造成圖示無法顯示

天氣圖表 請改使用下面語法

curl --silent "http://weather.yahooapis.com/forecastrss?p=TWXX0019&u=C" | grep "current-weather" | sed "s/.*background\:url(\'\(.*\)\') .*/\1/" | xargs curl --silent -o /tmp/weather1.png\

圖示更改為
file://localhost/tmp/weather1.png

------
如果你想在天氣圖表顯示的圖示位置是上面所沒有的請在這裡輸入地方名

http://weather.yahoo.com/taiwan/
建國一百年剩不到12小時了,來記錄一下



想請問一下~
小弟是昨天開始使用Geektool的新手,
電腦是2007MBP15,
現在使用Lion系統。
原本設定階段都還OK,
可是關掉設定視窗之後,
發現時間的地方沒有跟著正確的時間走,
一直定格在剛設定好的時間點上。
爬文有找到在Lion上好像要「修改本地適用區域」才能使用,
無奈小弟眼殘或怎麼的,
就是找不到>"<~
還請各位大大幫忙解答,
不勝感謝QAQ~

cloudcat wrote:
想請問一下~小弟是昨...(恕刪)


指標所指的要設定 起動秒數才會動唷


請問各位大大
為何我輸入am/pm或月的語法後
顯示出來的是中文不是英文
請問我應該如何改成英文呢?
麻煩各位了
謝謝

fatfat wrote:
請問各位大大為何我輸...(恕刪)


底下有一個本地語言顯示選項 變更選項即可



A Dark Theme for Snow Leopard黑色風格安裝在Lion上以後沒有變黑,倒是某些按鈕跟反白變得超奇怪的,請問各位大德如果沒有裝時間機器的話可以想辦法改回來嗎?
Alendy大大

這個iTunes的我不會用耶!

我都照你的做了為什麼還是不行?

請問這幾天~天氣的圖示是不是不顯示?

前幾天還有顯示,我的兩台電腦同時不顯示~~
junior wrote:
請問這幾天~天氣的圖...(恕刪)


我也遇到了這情況

後來有人說是 YAHOO 天氣改版所造成的

我在網路上找到這個天氣自動安裝外掛有將 GOOGLE 天氣直接對映到本機裡面的圖示

還可以預估未來4天天氣
Weather & forecast information from Google with custom icon set (included yahoo)

這自動安裝到 Geektool 的工具是 hXmWeather2.0

地區可以選中文字

還有圖示可以選 class (google)和 YAHOO

安裝時候記得選 C 不要選 auto

有時候 YAHOO 天氣圖示會缺檔

第二種方式是 下載 這兩個語法
New Yahoo! Weather Geeklet

其中路徑改為 SHELL 天氣圖表位置
例如 台北市
http://weather.yahoo.com/taiwan/taipei-city/taipei-city-12703515/

和 231樓一樣
SHELL 天氣圖表位置

http://weather.yahoo.com/taiwan/taipei-city/taipei-city-12703515/ 台北市
http://weather.yahoo.com/taiwan/taichung-city/taichung-city-12703535/ 台中
http://weather.yahoo.com/taiwan/hsinchu-city/hsinchu-city-12703534/ 新竹
http://weather.yahoo.com/taiwan/tainan-city/tainan-city-12703545/ 台南
http://weather.yahoo.com/taiwan/kaohsiung-city/kaohsiung-city-12703552/ 高雄


先複製231樓的最新語法 再更改圖示位址
這樣取代之前的語法就行了
  • 25
內文搜尋
X
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 25)
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?