Monday, June 23, 2008

無法刪除印表機 (in XP)

今天想要刪除印表機(在其他台電腦的印表機)的時候遭遇困難,因為我依照往常的想要在"印表機與傳真"直接刪除該印表機,但是卻發生無法刪除的情形,無論我試了幾次情況都沒有感善!

後來在Google(關鍵字:xp 無法刪除印表機)找到一篇有幫助的文章,如下:

無法從印表機視窗中刪除列印驅動程式
http://blog.xuite.net/jorgeyen/20050527/11482085

該篇文章是引述HP的一篇解答集。

HP LaserJet 與 Color LaserJet 系列印表機 - 幕後列印程式終止,列印作業無法列印,但是可以列印 Windows 測試頁。 無法從印表機視窗中刪除列印驅動程式
http://h50178.www5.hp.com/support/C3990A/faqs/58431.html

主要的步驟是:
1.關閉(Stop)"Print Spooler"這個服務
2.到"C:\WINDOWS\system32\spool\PRINTERS\"這個資料夾,然後把此資料夾的檔案都刪除
3.啟動(Start)"Print Spooler"這個服務

Friday, May 2, 2008

在VirtualBox(1.5.6)上安裝Ubuntu 8.04 LST - 解決解析度被限制在800x600以下。

下面的網站提供了不錯的建議。

virtualbox虚拟ubuntu全屏问题
http://www.linuxdiyf.com/viewarticle.php?id=85237

我將/etc/X11/xorg.conf改成上面網站的建議值就OK了!


我的步驟如下:
1.把/etc/X11/xorg.conf和下面對應的Section改成如下。
Section "InputDevice"
Identifier "Configured Mouse"
Driver "vboxmouse"
Option "CorePointer"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "vboxvideo"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Modes ""1024x768" "800x600" "640x480" <-- add the resolution you want
EndSubSection
EndSection

2.restart X

3.安裝客端額外功能
#/media/cdrom0/VBoxLinuxAdditions.ru

4.restart

Tuesday, January 15, 2008

文字介面下的BitTorrent Client - RTorrent

在ssh下搭配screen使用會有更加的效果!

1. 安裝screen - 可以把工作放到背景,所以縱使ssh斷線,rtorrent也會繼續工作。
#aptitude install screen


2. 安裝rtorrent
#aptitude install rtorrent


3. 從官方網站copy設定檔(.rtorrent.rc)到家目錄 - 因為原本沒有這個檔案。
http://libtorrent.rakshasa.no/browser/trunk/rtorrent/doc/rtorrent.rc?rev=latest
複製到 ~/.rtorrent.rc


4. 設定.rtorrent.rc
下載文件的下載目錄。
# Default directory to save the downloaded torrents.
directory =/mnt/hda_120/Download

指定session的存放目錄。
# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session =/mnt/hda_120/Download/session

啟動rtorrent的監視功能,當*.torrent檔案在指定的目錄出現的時候,rtorrent就會開始下載。
# Watch a directory for new torrents, and stop those that have been
# deleted.
schedule = watch_directory,5,5,load_start=/mnt/hda_120/Download/watch/*.torrent
schedule = untied_directory,5,5,stop_untied=

設定locale。
encoding_list=UTF-8

完成。


5. 開啟一個screen。
$screen

6. 開啟rtorrent。
$rtorrent
此時,檔案應該已經開始下載了。

7. 把工作丟到背景。
在rtorrent主畫面中
I. crtl+a
II. ctrl+d

8. 想要再進去看看rtorrent。
$screen -r


Note:
目前還沒有解決DHT的問題。


Ref:
[1] 用rtorrent下载bt
http://www.xnux.cn/html/desktop/20070528/10324.html

[2] 綠色工廠 -
rtorrent - linux環境的BT
http://portable.easylife.idv.tw/789

[3]
The libTorrent and rTorrent Project
http://libtorrent.rakshasa.no/

[4] 飛翔部落 - Linux安裝rtorrent
http://blog.pixnet.net/shian0745/post/9121008

[5]
Jamyy's Weblog - Linux Console 下的 BT 操作
http://cha.homeip.net/blog/archives/2006/08/linux_console_b.html

[6] DreamLand - 【推荐】rtorrent | xNix下的BT客户端(非Xwin)
https://dream4ever.org/showthread.php?t=145083

[7] fjufirefox -
[Debian] rtorrent support DHT
http://fjufirefox.blogspot.com/2007/11/debian-rtorrent-support-dht.html