Posts Tagged ‘compiz’

Ubuntu Nvidia Black Window Fix

Friday, January 4th, 2008

之前使用 Ubuntu 有個很惱人的問題終於解決了

詳情請參考 Ubuntu Nvidia Compiz “Black Window Bug” Fix

黑色視窗再見了 (l)

Ubuntu 7.10 條教筆記

Saturday, September 29th, 2007

nVidia TwinView

  1. 在 Restricted Drive Manager 停用 nVidia 的 Driver
  2. 去 nVidia 官方網站抓最新的 Linux Driver 讓他裝
  3. 在 Restricted Drive Manager 啟用 nVidia 的 Driver
  4. 用 nVidia X Server Setting 來設定 TwinView

Screenshot-NVIDIA X Server Settings

FASTTRAK 378 RAID 0

  1. 安裝 dmraid: sudo apt-get install dmraid
  2. 建立 mount point: sudo mkdir /media/raid0
  3. 測試: sudo mount /dev/mapper/pdc_cbchadihee1 /media/raid0
  4. 最後再把這個 mount point 寫入 /etc/fstab 讓下次重開時候自動 mount

GCIN

  1. 在 Synaptic 裡面把 SCIM uninstall 掉然後安裝 GCIN
  2. 在 shell 裡面輸入 im-switch -s gcin
  3. 把 ~/.gtkrc.mine 改成:

    export GTK_IM_MODULE=gcin
    export LC_CTYPE=”zh_TW.UTF-8″

  4. 登出再登入

Sound

  1. 打開 System / Preferences / Sound
  2. 把 Sound playback 選成 VIA 8237

Desktop Effect

  1. sudo apt-get install ccsm
  2. System / Advanced Desktop Effects Settings

Screenshot-CompizConfig Settings Manager

Fonts

  1. 安裝微軟正黑體:

    sudo cp msjh* /usr/share/fonts
    sudo chmod o+rx /usr/share/fonts/msjh*
    sudo fc-cache -f -v

  2. 打開 Firefox: Edit / Preferences 然後把所有字體預設都改成 Microsoft JhengHei 省得麻煩

sshfs

sudo apt-get install sshfs
adduser peter fuse

GDM Dead Keyboard
這個奇怪的問題似乎有人碰過: Keyboard not funtioning at login。問題應該是像上面那篇文章寫的一樣,不知道為什麼 gdm 會比其他的 getty 開啟的更早,導致 keyboard 的控制被 getty 拿去,然後 gdm 下啥都不能做了囧。我用比較簡單的解法:

  1. 把 gdm 預設關閉:mv /etc/rc2.d/S30gdm /etc/rc2.d/K70gdm
  2. 在 /etc/rc.local 加入:service gdm start

Wine + Wine Doors

  1. Wine:

    wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
    sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list
    sudo apt-get update
    sudp apt-get install wine

  2. Wine Doors: 去這裡下載最新的 deb 然後讓 Package Manager 自動安裝

Microsoft IntelliMouse Explorer

  1. 修改 /etc/X11/xorg.conf:

    Section “InputDevice”
    Identifier “Mouse0″
    Driver “mouse”
    Option “CorePointer”
    Option “Device” “/dev/psaux”
    Option “Protocol” “ExplorerPS/2″
    Option “Buttons” “7″Option ”
    ButtonMapping” “1 2 3 4 5″
    Option “ZAxisMapping” “6 7″
    Option “Resolution” “100″
    EndSection

  2. 安裝 imwheel: sudo apt-get install imwheel
  3. 修改 /etc/X11/imwheel/imwheelrc:

    “.*” None,Up,Alt_L|Left None,Down,Alt_L|Right”^firefox-bin$”
    None,Left,Alt_L|Left
    None,Right,Alt_L|Right

  4. 新增 /etc/X11/Xsession.d/57xmodmap:
    #/bin/bash
    xmodmap -e “pointer = 1 2 3 6 7 4 5″

  5. 把 /etc/X11/Xsession.d/57xmodmap 改成執行檔: sudo chmod 755 /etc/X11/Xsession.d/57xmodmapservice
All Rights Reserved Copyright © 2008 Design by StyleShout and Clazh