SuSE Linux 10.1 的兩三事

6月 26th, 2006 4 Comments »

最近除了玩 FC5 外,也玩了 Ubuntu 6.06 (還算很好上手,對我來說)
另外,好奇之下,也把 OpenSuSE 10.1 拿來裝裝看

Fedora Core 就不說了 (用最久也最熟悉,所以,大致上沒什麼問題)
而 Ubuntu 最近算是最紅的 Distribution 之一,當然,會這麼受歡迎,也有其過人之處,簡單容易使用
對使用者的一些貼心設計等等都做得很好
不過,有好就有壞,有些做得太過頭了,反而對熟手來說是個困擾…XD

而 SuSE 也算是歐洲傳統熱門 Distribution 之一,其 YaST 強大的管理功能早有所聞
不過,在我親自安裝完 SuSE 10.1 後,就遇到大麻煩了
SuSE 10.1 的線上升級機制實在是個大問題,bugs 一堆
還差點讓我的 Notebook 燒起來 (CPU 使用率 100%),真不知道在搞什麼東西
上 Google 找了很多資料,得到的結論就是:
請把 zmd rug zen-updater 等套件移除掉吧
Novell 將自家的 zmd 等產品整合進來,那是無可厚非
但 zmd 目前的效率及問題實在是太ooxx 了
因此,在 rpm -e zmd rug zen-updater 後

接下來,到 yast 去設定安裝來源:
我找了很久,才找到台灣有 mirror 比較完整的站台 ftp.cs.pu.edu.tw
於是我就加入了 inst-source non-oss-inst-source 及 update
inst-source:
伺服器名稱: ftp.cs.pu.edu.tw
伺服器上的目錄: Linux/OpenSuse/distribution/SL-10.1/inst-source

non-oss-inst-source:
伺服器名稱: ftp.cs.pu.edu.tw
伺服器上的目錄: Linux/OpenSuse/distribution/SL-10.1/non-oss-inst-source

update:
伺服器名稱: ftp.cs.pu.edu.tw
伺服器上的目錄: Linux/SuSE/suse/update/10.1/

另外,日本的 Mirror 站也可以考慮加入:
ftp://ftp.jaist.ac.jp/pub/Linux/openSUSE/distribution/SL-10.1/
ftp://ftp.jaist.ac.jp/pub/Linux/SuSe/suse/update/10.1/

這樣,總算搞定了升級的部份

我的兩台 x86 Notebook 都裝了 FC5 Ubuntu 6.06 及 SuSE 10.1
x86 的問題比較少

而我在我的 iBook 上,也都裝 FC5 Ubuntu 6.06 及 SuSE 10.1
問題就很多了,也很多軟體都不能用 (沒有 ppc 版的)

而 airport extreme wireless 的問題,至少在 FC5 及 Ubuntu 6.06 上都搞定了,可以無線上網
目前,SuSE 10.1 還無解

而在 kernel 2.6.17 釋出後,加強了對 bcm43xx 的支援,我的 FC5 在升級了 kernel 後,內建有 bcm43xx 的 kernel module

現在只能等 SuSE 10.1 更新 kernel 到 2.6.17 才有可能使用 airport extreme 無線上網了

最近安裝 Xgl/aiglx + Compiz 的一些筆記

6月 25th, 2006 Comments Off

###########################################################
Ubuntu 6.06 – aiglx + compiz on Fujitsu P5020 (intel 855GM)
###########################################################
參考:

http://www.ubuntuforums.org/showthread.php?t=145068

sources.list:
# aiglx + compiz
deb http://xgl.compiz.info/ dapper main aiglx
# Xgl + compiz
# deb http://www.beerorkid.com/compiz/ dapper main
#@ deb http://www.beerorkid.com/compiz/ dapper-aiglx main

$ sudo apt-get update ; sudo apt-get upgrade
$ sudo apt-get install linux-dri-modules-common linux-dri-modules-`uname -r`
$ auso /sbin/ldm-manager # regenerate modules.dep

# quinn version (use this)
$ sudo apt-get install compiz-quinn-aiglx compiz compiz-gnome
# or vanilla version
$ sudo apt-get install compiz-vanilla-aiglx compiz-vanilla compiz-vanilla-gnome

/etc/X11/xorg.conf:
DefaultDepth 24

Section “Module”
# Load “GLcore”

Section “Device”
Option “XAANoOffscreenPixmaps”

Section “ServerLayout”
Option “AIGLX” “true”

Section “DRI”
Mode 0666
EndSection

Section “Extensions”
Option “Composite” “Enable”
EndSection

/etc/gdm/gdm.conf-custom:
[servers]
0=aiglx

[server-aiglx]
name=aiglx srever
command=/usr/bin/Xorg-air :0
flexible=true

compiz-start: (add to session)

$ sudo /etc/init.d/gdm restart

#################################################
FC5 – Xgl + compiz on Fujitsu P5020 (intel 855GM)
#################################################
參考:

http://forums.fedoraforum.org/showthread.php?t=111771

http://fedora-xgl.blogspot.com/2006/05/howto-install-compiz-and-xgl-on-fedora.html

http://fedoraxgl.tuxfamily.org/index.php?title=Installation_en

http://www.illawarra.org/linux/

Xgl.repo:
[Xgl]
name=Xgl – $basearch
baseurl=http://users.telenet.be/quenta/$releasever/$basearch
enabled=1
gpgcheck=0

$ sudo rpm –import http://users.telenet.be/quenta/RPM-GPG-KEY-AL-CAPCOM
# quinn version (use this)
$ sudo yum update ; sudo yum install compiz-quinn xorg-x11-server-Xgl
# or normal version
$ sudo yum install compiz xorg-x11-server-Xgl

$ sudo gnome-xgl-switch –enable-xgl –auto

/etc/gdm/custom.conf:
[daemon]
GdmXserverTimeout=50

[servers]
0=Xgl

[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl :0 -ac -fullscreen -accel glx:pbuffer -accel xv:pbuffer
handled=true
flexible=true
priority=0

compiz-start: (add to session)

$ sudo gdm-restart

#######################################################
SuSE 10.1 – Xgl + compiz on Fujitsu P5020 (intel 855GM)
#######################################################

$ sudo yast -i xgl compiz

then 在控制中心啟用 3D Desktop

#################################################################
Ubuntu 6.06 – Xgl + compiz on Acer Notebook (nVidia GeForce 2 Go)
#################################################################
參考:
http://www.compiz.net/viewtopic.php?id=652 — nVidia

sources.list:
deb http://xgl.compiz.info/ dapper main
deb http://www.beerorkid.com/compiz/ dapper main

$ sudo wget http://www.beerorkid.com/compiz/quinn.key.asc -O – | sudo apt-key add -
$ sudo apt-get update ; sudo apt-get upgrade

$ sudo apt-get install linux-dri-modules-common linux-dri-modules-`uname -r`
# nVidia 3D 加速 Driver
$ sudo apt-get install nvidia-glx nvidia-kernel-common
$ sudo apt-get install xserver-xgl compiz-gnome gset-compiz

/etc/X11/xorg.conf:
DefaultDepth 24

Section “Module”
# Load “GLcore”
# Load “dri”

Section “Device”
Driver “nvidia”
Option “NoLogo”
Option “RenderAccel”

/etc/gdm/gdm.conf-custom:
[servers]
0=Xgl

[server-Xgl]
name=Xgl srever
command=/usr/bin/Xgl :0 -ac -fullscreen -accel glx:pbuffer -accel xv:pbuffer
flexible=true

/etc/gdm/gdm.conf:
GdmXserverTimeout=50

compiz-start: (add to session)

$ sudo /etc/init.d/gdm restart

#########################################################
FC5 – Xgl + compiz on Acer Notebook (nVidia GeForce 2 Go)
#########################################################
參考:

http://forums.fedoraforum.org/showthread.php?t=111771

http://fedora-xgl.blogspot.com/2006/05/howto-install-compiz-and-xgl-on-fedora.html

http://fedoraxgl.tuxfamily.org/index.php?title=Installation_en

http://www.illawarra.org/linux/

Xgl.repo:
[Xgl]
name=Xgl – $basearch
baseurl=http://users.telenet.be/quenta/$releasever/$basearch
enabled=1
gpgcheck=0

$ sudo rpm –import http://users.telenet.be/quenta/RPM-GPG-KEY-AL-CAPCOM
# nVidia 3D 加速 Driver
$ sudo yum update ; yum install kmod-nvidia
$ sudo nvidia-config-display enable
# quinn version
$ sudo yum install compiz-quinn xorg-x11-server-Xgl
# or normal version
$ sudo yum install compiz xorg-x11-server-Xgl

$ sudo gnome-xgl-switch –enable-xgl –auto

/etc/X11/xorg.conf:
DefaultDepth 24

Section “Module”
# Load “GLcore”
# Load “dri”

Section “Device”
Driver “nvidia”
Option “NoLogo”
Option “RenderAccel”

/etc/gdm/custom.conf:
[daemon]
GdmXserverTimeout=50

[servers]
0=Xgl

[server-Xgl]
name=Xgl srever
command=/usr/bin/Xgl :0 -ac -fullscreen -accel glx:pbuffer -accel xv:pbuffer
flexible=true

conpiz-start: (add to session)

$ sudo gdm-restart

##############################################################
Ubuntu 6.06 – Xgl + compiz on iBook 12″ 1.2G (ATI Radeon 9200)
##############################################################
參考:
http://www.compiz.net/viewtopic.php?id=389 — ATI

# begin for i386 {
sources.list:
deb http://xgl.compiz.info/ dapper main
deb http://www.beerorkid.com/compiz/ dapper main

$ sudo wget http://www.beerorkid.com/compiz/quinn.key.asc -O – | sudo apt-key add -
$ sudo apt-get update ; sudo apt-get upgrade
$ sudo apt-get install linux-dri-modules-common linux-dri-modules-`uname -r`
# ATI 3D 加速 Driver
$ sudo apt-get install xorg-driver-fglrx
$ sudo apt-get install xserver-xgl compiz-gnome gset-compiz

/etc/X11/xorg.conf:
DefaultDepth 24

Section “Module”
# Load “dri”

Section “Device”
Driver “fglrx”
Option “UseFBDev” “true”
Option “XAANoOffscreenixmaps”

/etc/gdm/gdm.conf-custom:
[servers]
0=Xgl

[server-Xgl]
name=Xgl srever
command=/usr/bin/Xgl :0 -ac -fullscreen -accel glx:pbuffer -accel xv:pbuffer
flexible=true

/etc/gdm/gdm.conf:
GdmXserverTimeout=50

compiz-start: (add to session)

$ sudo /etc/init.d/gdm restart
# end for i386 }

# begin for ppc {
Download from:

http://tygier.co.uk/xgl/index.html

Needed packages:
compiz compiz-gnome gset-compiz libgl1-mesa libgl1-mesa-dri libglitz1 libglitz-glx1 libglu1-mesa libsvg libsvg-cairo xserver-xgl

$ sudo rpm -Uvh [Needed packages]

/etc/X11/xorg.conf:
DefaultDepth 24

Section “Device”
Driver “ati”
Option “UseFBDev” “true”
Option “XAANoOffscreenixmaps”

/etc/gdm/gdm.conf-custom:
[servers]
0=Xgl

[server-Xgl]
name=Xgl srever
command=/usr/bin/Xgl :0 -ac -fullscreen -accel glx:pbuffer -accel xv:pbuffer
flexible=true

/etc/gdm/gdm.conf:
GdmXserverTimeout=50

compiz-start: (add to session)

$ sudo /etc/init.d/gdm restart
# end for ppc}

XGL + Compiz 快速鍵整理

6月 25th, 2006 Comments Off

我試過的一些 XGL + Compiz 快速鍵整理 (我些功能我沒試出來)

Resize:
        alt + mouse左鍵 拖曳 -- 移動視窗
        ctrl + shift + mouse左鍵 拖曳
        alt + mouse中鍵 -- 調整視窗大小
Rotate:
        ctrl + alt + 左/右 -- 切換桌面
        ctrl + alt + shift + 左/右 -- 把視窗移到另一個桌面
        ctrl + alt + mouse左鍵 -- 手動切換桌面
        ctrl + alt + 下 (然後再左右移動) -- 桌面列表 (但在我的某一台上卻是上下切換桌面的功能)
Scale:
       F10 -- 所有桌面的所有視窗
       F11 -- 目前桌面目前視窗的相同應用程式列表
       F12 -- 目前桌面的所有視窗
Switch:
        alt + tab
        alt + shift + tab
Water:
       按住 ctrl + Super
       Shift + F9 -- 我試不出來...
Zoom:
      Super + mouse右鍵 -- Zoom in once
      Super + mouse滾輪上/下 -- 手動 Zoom in/out
Opacity Control:
      alt + mouse滾輪上/下
BS:
    shift + mouse滾輪上/下 -- brightness
    ctrl + mouse滾輪上/下 -- saturation
Slow-motion:
    shift + F10

寶貝日記 – 三貓同在貓樹上

6月 25th, 2006 2 Comments »

難得看到三隻貓都在貓樹上,Jiji 竟然沒跟咪咪打起來?
三貓同在貓樹上

出去曬太陽
咪咪

咪咪

寶貝日記 – Fight Fight Fight

6月 24th, 2006 1 Comment »

Lio vs Mimi:

Jiji vs Mimi:

Jiji vs Mimi Part II:
Jiji 突然呼人家兩巴掌

結論:
開完刀,戴著項圈的咪咪還是很神勇嘛…XD

Ten tips for new Ubuntu users

6月 22nd, 2006 Comments Off

剛剛在 Linux.com 上看到這篇 Ten tips for new Ubuntu users
這是很不錯的文章,建議新手們可以去看看

至少像 “Changing the defaults” 這點,對我就很重要
我習慣用 vi,但 Ubuntu 預設的 EDITOR 是用 nano 讓我用起來很不順手(如執行 visudo 時)
而當時我的作法,就是加一行 export EDITOR=”vim” 來解決掉
而 Tips 裡的作法則是:

sudo update-alternatives --config editor

然後三選一即可

至於我常在抱怨的沒有設定顯示 (X) 的選項 (至少在 FC5 的管理選單上有設定 “顯示” 的部份)
而在 Ubuntu 下則是使用:

dpkg-reconfigure xserver-xorg

剛剛重設以後,我的 Touchpad 復活了,連 scrolling 也能動了…

OpenVanilla 0.7.2正式版小規模發佈

6月 22nd, 2006 Comments Off

在 #osxchat 及 lukhnos 的 Blog 上看到 “OpenVanilla 0.7.2正式版小規模發佈” 的消息

我們開始針對 OpenVanilla 0.7.2 for OS X 版本做小型的發佈。0.7.2 正式版與 beta 版相比,新增及改進的項目主要有幾個:

修正 0.7.2 beta 一直以來的幾個大問題:Num lock key、長期開機後會完全失效、需要靠刪除某個神奇的 .plist 檔才能修復再起不能的 OV 等難解的麻煩。
增加一個 Uninstaller 解除安裝程式,可以把舊版或會造成衝突的版本清除掉。
先前所有 patch 都整合了進來,包括針對詞彙管理工具等模組的修正。
簡易/速成輸入法配合 Windows 習慣,改為九個選字鍵。

詳細內容,請自行前往觀看

趕快來去下載安裝吧…^^

FireStats icon Powered by FireStats