天天看點

OS Crossover Settings

一. Windows7+Ubuntu10.04 一些跨平台軟體的共享設定

1. Thunderbird (v3.1.x) 賬戶、郵箱設定

1) Thunderbird 賬戶、郵箱預設存儲路徑:

Windows7: C:\Users\%username% \AppData\Local\Thunderbird\Profiles

Ubuntu: /home/%username%/ .thunderbird

2) 将該路徑下的 xxx.default 移至2個系統均能通路到的路徑;

3) Thunderbird 配置檔案路徑:

Windows7: C:\Users\%username% \AppData\Roaming\Thunderbird\profiles.ini

Ubuntu: /home/%username%/ .thunderbird/profiles.ini

    分别在2個系統下編輯 profiles.ini 檔案,将以下2項配置項的值按下述進行修改:

    IsRelative=0

    Path=相應平台下的配置資訊存放目錄的絕對路徑,如 E:\Thunderbird_profile

2. subversion root設定

1) 分别在2個平台上裝上 subversion server,安裝方法可參考:

Ubuntu SVN伺服器安裝

Windows下搭建Subversion 伺服器

2) 設定svn root為2個平台均能通路的位置

3) 啟動時指定root位置即可: svnserve -d -r SVNROOT

二. 64位Ubuntu上運作32位軟體

安裝32位庫檔案:sudo apt-get install ia32-lib*

1. EIOffice 2009:安裝庫檔案件即可安裝。

2. Adobe AIR

1) 下載下傳并安裝 getlibs-all.deb

2) 用getlibs安裝其他必須的32位包:

    sudo getlibs -l libgnome-keyring.so

    sudo getlibs -l libgnome-keyring.so.0

    sudo getlibs -l libgnome-keyring.so.0.1.1

3) 下載下傳 AdobeAIRInstaller.bin  安裝即可。

3. Oracle XE

1) 下載下傳Oracle XE安裝包: oracle-xe-universal_10.2.0.1-1.0_i386.deb

2) 下載下傳附加包:wget -c http://oss.oracle.com/debian/dists/unstable/main/binary-i386/libaio_0.3.104-1_i386.deb

3) 安裝這2個包:

sudo dpkg -i --force-architecture libaio_0.3.104-1_i386.deb

sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.0_i386.deb

4) 配置 XE:sudo /etc/init.d/oracle-xe configure 根據螢幕提示進行,等待配置完成即可。

三. Ubuntu下運作Windows平台軟體

通過Wine,詳見: http://coffeelover.iteye.com/blog/740644

四. NTFS、ext4分區互訪

1. NTFS on Ubuntu10.04

已預設支援,點選即可加載分區,讀寫OK,通過 ntfs-3g 可實作開機自動加載。

2. ext4 on Windows7

通過 Ext2Read 可浏覽分區内容。

五. 共享檔案夾互訪

1. Ubuntu通路Windows共享檔案夾

菜單 Places -> Connect to Server... , Service type 選擇 Windows share, Server 填寫 Windows機子IP,OK。 

2. Windows通路Ubuntu共享檔案夾

1) 右鍵要共享的檔案夾-> Sharing Options, 勾選 Share this folder, 點選 Create Share,會檢測是否已安裝共享服務(samba服務),未安裝會自動安裝。

2) 設定通路共享檔案夾的使用者名(需為作業系統使用者且具備通路該共享檔案夾的權限):

sudo gedit /etc/samba/smbusers

在打開的檔案中輸入如下内容:system_username = "共享使用者名 "   儲存退出。

3) 設定通路共享檔案夾的使用者密碼: sudo smbpasswd -a 共享使用者名     。

4) 重新開機samba服務: sudo service samba restart    。

在 Windows 機子通路該共享檔案夾的方式與一般無異: \\共享檔案夾所在IP\\共享名 ,輸入正确的使用者名密碼即可。

六. 以假亂真

1. Ubuntu仿Window7主題

詳見: Ubuntu的Win7新裝

2. Ubuntu仿Mac主題

Screenshot:

OS Crossover Settings

另 Win 7 也有一個不錯的效果,按 Win + Tab 鍵,有如下效果:

OS Crossover Settings

七. 其他

1. Window下生成 tar 或 tar.gz 格式的壓縮檔案

使用7-Zip,安裝7-Zip後,右鍵要打包的檔案或檔案夾選擇 Add to archive... (添加到壓縮檔案),選項“壓縮格式”中選擇 tar 或 gzip 即可,有時沒有 gzip 選項,則先選擇 tar 生成 x. tar 之後,再右鍵 x. tar 選擇 Add to archive... (添加到壓縮檔案),此時選項“壓縮格式”中就有gzip了。