2008年12月29日 星期一
倒攻牙退斷螺牙
沒想到如果這麼簡單就完成,那你就不應該看到這篇文章了,上帝要考驗一個人時一定不會讓他那麼輕易就成功的,就在我用梅花扳手卸下接頭的同時,撘的一聲斷了,水大量噴出(這完全不在原來的預想當中),天啊!怎麼會這樣有一半的牙斷在裏面,該怎麼辦哪?
1.先斷水,立刻把加壓馬達電源全關掉,再到戶外把水表頭水源關掉。
2.等待水塔中的水全漏光吧,約十分鐘水塔中的水都漏光了。
3.再來找水電工來修,還是自己來哪?
看一下手錶下午六點半,還有時間開車到五金材料行問老闆,有什麼工具可以把斷一截的螺牙退出來,老闆拿來了一個倒攻牙的工具,付了將近二百元,就回家自己來吧。
這就是倒攻牙,和一般順牙相反,逆時針旋緊就可以把順牙退出。
安裝布景主題
下載後的檔案保留其原*.tar.gz的格式即可,在 系統->偏好設定->外觀設定 中點選 安裝 後找到下載下來的主題檔就搞定了。
如要換桌布在網路上找到的圖上按右鍵,設為桌面背景即可,也可以存回電腦再設定。這個部分和微軟的windows系統沒啥差別。
2008年12月25日 星期四
顯示桌面圖示
按下alt和F2鍵出現開始執行程式的對話框,輸入 gconf-editor 執行後出現組態編輯器.
開啟「組態編輯器」視窗後,請從左邊的目錄區依序點選「apps」→「nautilus」→「desktop」
切換到「desktop」選單後,接著請勾選右邊的
「computer_icon_visible」電腦圖示、
「home_icon_visible」我的資料夾、
「network_icon_visible」網路伺服器
「trash_icon_visible」回收筒 等項目,有勾選的話,就會出現在桌面上。
2008年12月24日 星期三
安裝ubuntu 8.10 沒聲音
進終端畫面輸入
sudo gedit /etc/modprobe.d/alsa-base
在該檔最後輸入
options snd-hda-intel model=3stack
存檔後重新開機,就有聲音了。 (我的機器是asus w7j)
2008年12月4日 星期四
Zoundry Raven載入時亂碼
要把lifetype1.0的部落格程式下載備份才發現出了一些錯誤,解決方法
Q1:Zoundry Raven設定時出現錯誤
requested method blogger.getUsersBlogs does not exis 無法執行。
A1:在全部站台管控--外部介面設定--
是 否
var $defencoding = 'utf-8';(也就是以utf-8取代ISO-8859-1)
即可輸出正確中文
2008年12月3日 星期三
資料轉移問題多
在虛擬主機搞定後接著遇到的問題是,主程式要升級安裝沒問題,但資料庫的資料要匯入就問題多多了,在舊主機上的mysql 版本沒3.23.58,而虛擬主機上的mysql 版本是5.0.32,由舊版本中mysqldump 出來的資料要讀入時就發現錯誤,目前尚在尋找解決方法。
2008年12月2日 星期二
2008年11月26日 星期三
Rebuilding the eee kernel on eeePC
1. Install the development tools
2. download the 2.6.21.4 kernel for you eeepc from ASUS support website: http://support.asus.com/download/Download.aspx?SLanguage=en-us or from here
3. unpack this file by running the unrar command (in a terminal window, Ctrl+Alt+T):
unrar x Linux_Kernel_071127.rar
4. install linux-source-2.6.21.4-eeepc.deb:
dpkg --install linux-source-2.6.21.4-eeepc.deb
5. unpack linux source code tarball:
cd /usr/src; tar xvjf linux-source-2.6.21.4-eeepc.tar.bz2; cd linux-source-2.6.21.4-eeepc
6.
cp /boot/config-2.6.21.4-eeepc .config
7. Now to actually compile it (use default answers, i.e. just press Enter when asked to choose). this will take about 30 minutes:
make
The kernel image built will be in arch/i386/boot/bzImage. Copy it to /boot and modify the kernel line in /boot/grub/menu.lst to use the new kernel
8. If you configured any new parts of the kernel as “modules”, you will also have to do “make modules_install”. To use the new module, you can either symbolically link the new linux source to /lib/modules/2.6.21.4-eeepc/ or copy the new modules to the /lib/modules/2.6.21.4-eeepc/ and then run “depmod -a”
install virtualbox on eeepc
本文轉貼自http://forum.eeeuser.com/viewtopic.php?id=6653如有侵權煩請告知立刻刪除
Installing VirtualBox isn't too hard to do. I'm using 512MB of RAM at the moment and running off a 32GB Corsair Flash drive. It works fine, albeit a little slowly. I have a 1GB DDR-2 stick waiting for me when I get home in the new year, and I'm hoping this should improve performance considerably.
Please note, that I've done this from memory - but when I get a chance I'll try this on a clean machine.
First things first, add the Xandros repos, as well as the VirtualBox repos. The xandros package from VirtualBox doesn't work - you need to use the debian etch package.
Open a terminal (CTRL+ALT+T) and then edit your apt sources list:
Code: sudo nano /etc/apt/sources.list
Then add the following lines to the end of the file. Paste them in by pressing both mouse buttons together.
Code: deb http://xnv4.xandros.com/xs2.0/upkg-srv2 etch main contrib non-freedeb http://www.VirtualBox.org/debian etch non-free
"CTRL+X" will quit - press y to save when asked.
Back at the console, we need to install the build-essential package, as we need to compile some kernel headers for VitualBox to use. This includes make etc.
Code: sudo apt-get install build-essential
Code: uname -r
The source can be found at http://www.kernel.org/pub/linux/kernel/v2.6/
Download the source and place it in /usr/src/ - you may need to create this folder first.
Code: sudo mkdir /usr/src
From the console, go to /usr/src and extract the source.
Code: cd /usr/src
tar -xf ./linux-2.6.21.4.tar.gz
You then need to create a symbolic link, as the VirtualBox install program expects the source to be in /usr/src/linux.
Code: sudo ln /usr/src/linux-2.6.21.4 /usr/src/linux -s
Code: cd /usr/src/linux
Assuming all goes well, lets compile. As there are only a few things needed, you can cancel the build by pressing "CTRL + C" after as soon as you see "modpost" come up on the screen - for me this was after 10-15 seconds. If you have other applications that need headers, feel free to let it compile entirely - it took around 30 minutes when plugged into the mains.
Code: sudo make all
Now, we should be able to install VirtualBox.
You'll find there are a couple of dependencies that will be installed from the Xandros repos.
Annoyingly, the VirtualBox service doesn't start when the computer does because of the way Xandros has been setup. There are two methods for this that spring to mind - method two is my preferred.
Method One
Code: sudo nano /usr/sbin/services.sh
At the end of the file add:
With this method, I have found you can't launch VirtualBox straight away, as it is last on the list it won't happen until the network etc. is up. Not ideal if you're impatient.
Method Two (Preferred)
With this method, we'll start the vbox services each time we launch VirtualBox, which also stops having the services unneccessarily loaded when we aren't using them.
Firstly, edit ourselves a new file for the script code to be in.
Code:
sudo nano /bin/vboxrun
sudo /etc/init.d/vboxnet start
/usr/bin/VirtualBox
sudo /etc/init.d/vboxdrv stop
sudo /etc/init.d/vboxnet stop
Finally, we want to add this to the AsusLauncher, which is where my asusadd script comes in handy - http://forum.eeeuser.com/viewtopic.php?id=6645
If you've followed method one, you can add this by running:
2008年11月24日 星期一
離線撰寫部落格
今天在網路上發現了一個好玩的東西,那就是可以不用直接在網路上寫,等都完成了再發佈的好東東,那就是 Zoundry raven,同時可以擁有中文化連結到tad教材網就可同時下載到主程式及中文語系檔,安裝完後再把語系檔複製到C:\Program Files\Zoundry Raven\system\bundles 中即可。
應該很好用,目前正在試著把這篇文章發表。