2008年11月3日 星期一

Wine 無法瀏覽 C:\ Drive

wine: incorrect "Browse C:\ Drive" launcher
The launcher named "Browse C:\ Drive" executes the command
xdg-open ~/.wine/drive_c
The command should be
xdg-open ~/.wine/dosdevices/c:

the tilde "~" that the systtem does not know how to handle the protocol "~/.wine/drive_c".
(I can run xdg-open ~/.wine/dosdevices/c: from a Bash terminal window, though.)

So I've changed the line in /usr/share/applications/wine-browsedrive.desktop to Exec=xdg-open $HOME/.wine/dosdevices/c:

原文討論

2008年11月2日 星期日

Firefox離線模式(Work Offline)

狀況:遇到火狐關閉後再開啟一直顯示離線模式
解決:修改/etc/dbus-1/system.d/NetworkManager.conf

有三行
<allow send_interface="org.freedesktop.NetworkManager"/>
改成
<deny send_interface="org.freedesktop.NetworkManager"/>
然後reboot

原因出在NetworkManager偵測到沒有網路,火狐便判定沒有網路,使用離線模式

參考

系統版本更新升級

終端機命令
$sudo update-manager -d
或圖形介面操作
ALT-F2 輸入"update-manager -d"

LTS

Ubuntu 8.04 LTS
什麼是LTS?
LTS = Long Term Support

Ubuntu 8.04 LTS支援到2011年
非LTS只支援1-2年

用UUID自動掛載其他磁區

透過修改fstab可以更改開機時掛載哪些磁區
指令
$ls -l /dev/disk/by-uuid
例出各磁區的UUID

再用
$sudo vi /etc/fstab

$sudo gedit /etc/fstab
來修改掛載內容,內容加在最後面,存檔即可
EX:
NTFS
/dev/sda1 /media/C ntfs-3g silent,umask=0,locale=zh_TW.utf8
FAT32
/dev/sda1 /media/C vfat iocharset=utf8,umask=000 0 0

"/dev/sda1" 換成"UUID=xxxxxx"
UUID=xxxxxx /media/C ntfs-3g silent,umask=0,locale=zh_TW.utf8

參考
[教學] 讓 Ubuntu 8.04 自動掛載其他磁碟槽
ubuntu開機自動掛載其他磁區 for UUID