其實我一直覺得這頁面很醜 ... 不過我真的不知道怎麼改.
本次修正包含了數項 bug 及 UI 改善.
Debian 有套件包可用, Ubuntu 提供 PPA.
本次修正包含了數項 bug 及 UI 改善.
Debian 有套件包可用, Ubuntu 提供 PPA.
# aptitude install mozplugger
$ DISPLAY= im-switch -c這個方法會讓 im-switch 以為目前沒有 X Server,從而使用傳統的設定方式。現在你可以享受你的文字介面了。
<magic priority="85"> <match value="PK\003\004" type="string" offset="0" /> </magic>再刷新 MIME 資料庫:
# update-mime-database /usr/shared/mimejar 檔就會被正確判定了。
[ 8944.330557] usb 1-8: USB disconnect, address 8 [ 9023.580525] usb 1-8: new high speed USB device using ehci_hcd and address 9 [ 9023.714733] usb 1-8: New USB device found, idVendor=0b27, idProduct=0163 [ 9023.714737] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 9023.714739] usb 1-8: Product: USB Mass Storage Device [ 9023.714741] usb 1-8: Manufacturer: USBest Technology [ 9023.714743] usb 1-8: SerialNumber: 000000000016F3 [ 9023.714828] usb 1-8: configuration #1 chosen from 1 choice [ 9023.715549] scsi7 : SCSI emulation for USB Mass Storage devices [ 9023.715694] usb-storage: device found at 9 [ 9023.715696] usb-storage: waiting for device to settle before scanning [ 9028.712208] usb-storage: device scan complete [ 9028.713173] scsi 7:0:0:0: Direct-Access Ut163 USB2FlashStorage 0.00 PQ: 0 ANSI: 2 [ 9028.717275] sd 7:0:0:0: [sdd] 1974271 512-byte logical blocks: (1.01 GB/963 MiB) [ 9028.718294] sd 7:0:0:0: [sdd] Write Protect is off [ 9028.718299] sd 7:0:0:0: [sdd] Mode Sense: 00 00 00 00 [ 9028.718301] sd 7:0:0:0: [sdd] Assuming drive cache: write through [ 9028.725637] sd 7:0:0:0: [sdd] Assuming drive cache: write through [ 9028.725645] sdd: sdd1 [ 9028.837666] sd 7:0:0:0: [sdd] Assuming drive cache: write through [ 9028.837672] sd 7:0:0:0: [sdd] Attached SCSI removable disk [ 9149.868714] Shorewall:net2fw:DROP:IN=eth0 OUT= MAC=00:1f:d0:37:37:0a:00:30:88:12:54:d6:08:00 SRC=189.1.169.123 DST=123.205.248.119 LEN=40 TOS=0x00 PREC=0x00 TTL=92 ID=256 PROTO=TCP SPT=6000 DPT=1433 WINDOW=16384 RES=0x00 SYN URGP=0 [ 9231.369074] sd 7:0:0:0: [sdd] 1974271 512-byte logical blocks: (1.01 GB/963 MiB) [ 9231.369566] sd 7:0:0:0: [sdd] Assuming drive cache: write through [ 9231.370687] sd 7:0:0:0: [sdd] Assuming drive cache: write through [ 9231.370690] sdd: sdd1因為它寫
usb 1-8,所以要控制的 USB 接口代號就是 1-8,很簡單吧?反正找有 usb 字樣的就對了。底下的 sd 是表示它被分配到哪個磁區代號,因為這支是隨身碟才會是這樣,其他類型的裝置會有不同的訊息,不過這不是重點,所以沒差啦。/sys/bus/usb/devices 裡找剛剛的接口代號的資料夾,在那裡面找 power/level,該檔是一個文字檔,或者說看起來是文字檔,內容應該是 on。只要把 on 改成 suspend 就可以把電源切斷。注意不是 off,如果輸入錯誤的字串它會無法存檔,不用擔心會改錯。# echo suspend > /sys/bus/usb/devices/1-8/power/level電源燈就會熄了。
# rm /etc/fonts/conf.d/66-wqy-zenhei-sharp.conf放心,它是個 symbolic link,日後有需要再從 /etc/fonts/conf.avail/66-wqy-zenhei-sharp.conf link 回來就好。
W: GPG error: SOURCE Release: The following signatures were invalid: BADSIG KEY SENDERI have no idea how this happened, but have fixed this. First I tried this:
# apt-get clean # cd /var/lib/apt # mv lists lists.old # mkdir -p lists/partial # apt-get clean # apt-get updateWell, but no use. So I tried another way:
# apt-get update -o Acquire::http::No-Cache=TrueThen it works.
/etc/init.d/vboxdrv setup的訊息,不過很有趣的是gutsy裡根本找不到這個檔案。sudo apt-get install virtualbox-ose-source sudo m-a prepare sudo m-a auto-install virtualbox-ose
options snd-hda-intel position_fix=1 model=3stack
存檔後重新啟動ALSA的服務就好。
sudo apt-get remove skim
我也不知道為什麼edgy預設會把這麼危險的東西放進去....(汗)
sudo apt-get install w32codecs libxine-extracodecs
sudo apt-get install vlc
當然你會希望能夠調整每種檔案它的預設開啟程式,不用每次都用右鍵開。其實這也很簡單,在檔案上按右鍵,選屬性,就可以找到它的預設開啟順位。
sudo apt-get install gtkpod-aac
它可以做到很多在iTunes上能做的事,除了新增歌詞和播放音樂。你必須要在perfomance裡設定它的外部播放器,通常它會是AmaroK。另外,也別忘了把文字編碼改成UTF-8。
ln -s /usr/bin/beryl-manager ~/.kde/Autostart/beryl-manager
其他程式即如法泡製。
/dev/hdd1 /media/windows/c ntfs locale=zh_TW.utf8,umask=0222 0 0
/dev/hdd5 /media/windows/d ntfs locale=zh_TW.utf8,umask=0222 0 0
/dev/hdd6 /media/windows/e ntfs locale=zh_TW.utf8,umask=0222 0 0
如果打算要寫入NTFS的硬碟,就必須要安裝ntfs-3g這個套件。安裝好之後把檔案系統改為ntfs-3g,再把umask設為0000即可。
alias 'linux' 'ssh account@linux.cs.ccu.edu.tw'
alias 'up' 'sudo apt-get update && sudo apt-get upgrade'
就會變成,以後我在終端機輸入'linux'就會自動SSH連線到我們學校的工作站,輸入'up'就會自動執行套件更新及安裝。硬體都是掛載於/dev目錄下。
IDE裝置是hd開頭,SCSI和SATA裝置是sd開頭。
第一個裝置會在後面加a,第二個則是b,以此類推。
裝置的第一個分割區的代號為1,第二個是2,以此類推。邏輯分割區會從5開始編。光碟機因為不可能有分割區,故不會加代號。
/:根目錄。一定要給它一個分割區,而其他沒有分配到磁區的資料夾也會放到根目錄底下,所以要注意它的容量。一般建議是不要小於4GB。
swap:交換暫存檔,這個也是必要分割。跟Windows上的虛擬記憶體地位相同,不同的是由於Unix對記憶體運用良好,如果有512MB以上的記憶體,常會一天下來沒用到幾MB。我的建議是給個256MB就算很大了。
/boot:開機所用資料。一般不需要大於32MB。
/usr:使用者的應用程式所預設的安裝路徑。最好是8GB以上。
/etc:程式的設定檔會放這裡。1GB也就差不多了。
/var:作業的日誌和紀錄檔會放在這裡。這個要看使用者人數做調整,單人使用的話,不用超過1GB。
/tmp:程式運作的暫存檔。通常是所有人皆可存取,太小的話,會影響到程式的執行。保險的話就給個2GB。
/home:使用者的個人資料夾,通稱「家目錄」。想放什麼都可以,所以當然是多多益善囉!把剩下的空間給它吧。
sudo apt-get install nvidia-glx-legacy nvidia-xconfig
sudo nvidia-xconfig
sudo /etc/init.d/kdm stop
sudo sh NVIDIA-Linux-x86-1.0-9746-pkg1.run
sudo /etc/init.d/kdm start
(EE) GLX is not supported with the Composite extension
Section "Extensions" Option "Composite" "Disable" EndSection
cd /etc/apt
sudo wget http://apt.ubuntu.org.tw/sources.list.edgy
sudo mv sources.list.edgy sources.list
sudo apt-get update && sudo apt-get upgrade