首先要先讀取哪些選項要顯示的
讀取
~/.config/menus/applications.menu
/etc/xdg/menus/applications.menu (一定會存在)
在/usr/share/desktop-directories/目錄中
可找到對應的.directory
即可得到對應選單的資訊
然後檢查/usr/share/applications
這目錄下的.desktop
就能得到所有的application的資訊
而icon大部份會存在
/usr/share/icons/
/usr/share/pixmaps/
這些目錄中
其他資訊參考這篇
http://library.gnome.org/admin/system-admin-guide/2.30/menustructure-0
2010年4月13日 星期二
在ubuntu 9.10 安裝FireFox 3.6
sudo tar -C /opt/ -xf FireFox3.6的.tar.bz2
sudo ln -sf /opt/firefox/firefox /usr/bin/firefox
sudo ln -sf /opt/firefox/firefox /usr/bin/firefox
2010年3月10日 星期三
Qt 教學網站
Infinite Loop
http://program-lover.blogspot.com/2008/08/qt.html
良葛格學習筆記
http://caterpillar.onlyfun.net/Gossip/index.html
用Qt中的QDomDocument Class處理 XML文件
http://www.cuteqt.com/blog/?p=247
http://program-lover.blogspot.com/2008/08/qt.html
良葛格學習筆記
http://caterpillar.onlyfun.net/Gossip/index.html
用Qt中的QDomDocument Class處理 XML文件
http://www.cuteqt.com/blog/?p=247
2010年1月29日 星期五
參考網站
Register相關
http://sunh.hosp.ncku.edu.tw/~cww/html/wreg.html
Licenses
http://www.openfoundry.org/Law-and-Policy/Licenses/
Programming with Clutter
http://www.openismus.com/documents/clutter_tutorial/1.0/docs/tutorial/html/index.html
Observer pattern
http://en.wikipedia.org/wiki/Observer_pattern
Set - C++ Reference
http://www.cplusplus.com/reference/stl/set/
用Open Source工具開發軟體
http://www.study-area.org/cyril/opentools/opentools/book1.html
http://sunh.hosp.ncku.edu.tw/~cww/html/wreg.html
Licenses
http://www.openfoundry.org/Law-and-Policy/Licenses/
Programming with Clutter
http://www.openismus.com/documents/clutter_tutorial/1.0/docs/tutorial/html/index.html
Observer pattern
http://en.wikipedia.org/wiki/Observer_pattern
Set - C++ Reference
http://www.cplusplus.com/reference/stl/set/
用Open Source工具開發軟體
http://www.study-area.org/cyril/opentools/opentools/book1.html
2010年1月7日 星期四
用IP查詢服務的ISP
台灣 IP 網段分配列表 (查某 IP 是哪家 ISP)
列出台灣IPv4 網段各公司分配列表
http://rms.twnic.net.tw/twnic/User/M...p?Order=ORG.ID
也可輸入 IP 後直接列出該 IP 屬於哪家 ISP
http://rms.twnic.net.tw/twnic/login.jsp
列出台灣IPv4 網段各公司分配列表
http://rms.twnic.net.tw/twnic/User/M...p?Order=ORG.ID
也可輸入 IP 後直接列出該 IP 屬於哪家 ISP
http://rms.twnic.net.tw/twnic/login.jsp
2009年12月30日 星期三
Google Weather API使用
hl => 語系
country => 國家
取得國家列表
http://www.google.com/ig/countries?output=xml&hl=zh-tw
取得城市列表
ex: 台灣的城市列表
http://www.google.com/ig/cities?output=xml&hl=en&country=tw
取得天氣的方式可以
1.由zipcode (for 美國地區)
ex: 美國加州山景城 zipcode= 94043
http://www.google.com/ig/api?weather=94043
2.經緯度
ex: 高雄(22625108,120308954)
http://www.google.com/ig/api?&weather=,,,22625108,120308954
3.城市名
ex: 高雄(Kaohsiung)
http://www.google.com/ig/api?&weather=Kaohsiung
country => 國家
取得國家列表
http://www.google.com/ig/countries?output=xml&hl=zh-tw
取得城市列表
ex: 台灣的城市列表
http://www.google.com/ig/cities?output=xml&hl=en&country=tw
取得天氣的方式可以
1.由zipcode (for 美國地區)
ex: 美國加州山景城 zipcode= 94043
http://www.google.com/ig/api?weather=94043
2.經緯度
ex: 高雄(22625108,120308954)
http://www.google.com/ig/api?&weather=,,,22625108,120308954
3.城市名
ex: 高雄(Kaohsiung)
http://www.google.com/ig/api?&weather=Kaohsiung
2009年11月23日 星期一
GTK
GTK學習筆記
http://caterpillar.onlyfun.net/Gossip/GTKGossip/GTKGossip.html
Glade 入門介紹
http://www.cqinc.com.tw/coopermaa/xwindow/2000010201.htm
Gtk+ 2.0 程式設計入門
http://tetralet.luna.com.tw/index.php?op=ViewArticle&articleId=188&blogId=1
Makefile 語法簡介
http://tetralet.luna.com.tw/index.php?op=ViewArticle&articleId=185&blogId=1
http://caterpillar.onlyfun.net/Gossip/GTKGossip/GTKGossip.html
Glade 入門介紹
http://www.cqinc.com.tw/coopermaa/xwindow/2000010201.htm
Gtk+ 2.0 程式設計入門
http://tetralet.luna.com.tw/index.php?op=ViewArticle&articleId=188&blogId=1
Makefile 語法簡介
http://tetralet.luna.com.tw/index.php?op=ViewArticle&articleId=185&blogId=1
訂閱:
文章 (Atom)