2007年12月27日 星期四

70+ IDE tools

Real-Blog這篇文章看來的,

原出處是這裡

看了看,裡面小黑裡有裝的大概就是

c&c++
Code::BlocksDev-C++

java
Eclipse

.NET
Visual Studio .NET

Python
EricSPE IDE

Python的IDE正在亂試中,其實還裝了一堆其它的Python IDE
,之後可能以SPE IDE為主,和gnome主題比較搭的感覺。
因為bug的關係,目前Ubuntu 7.10 apt抓到的版本無法work
,主要是wxPython 2.8的關係,可以用svn版本解決。


列了一堆有裝的,其實還是最常Vim打死…。

2007年12月17日 星期一

ThinkPad在Linux下使用中鍵捲動

把/etc/X11/xorg.con裡
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
加入這三行
Option "Emulate3Buttons" "true"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
變成這樣
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
EndSection
T61的中鍵就可以用了 :p

2007年12月14日 星期五

Bootchart 開機過程分析工具

Bootchar 安裝之後可分析開機過程花費的時間及系統資源

而且還以圖表化,看起來很方便。

sudo apt-get instal bootchar;

詳細設定上官網看吧,看圖檔要花點步驟。

2007年11月26日 星期一

更改 login shell

除了直接更改 /etc/passwd 外,若是管理者有開放權限,可以使用 chsh。


指令名稱:
chsh(1) - 修改登錄 shell
語法:
chsh [ -s shell ] [ -l ] [ -u ] [ -v ] [ username ]
說明:
以 UNIX / Linux 系統的運作角度來說,在管理者沒有刻意限制的前提下,一般使用者可以自行選擇與變更 login shell 種類。chsh 這個指令就是讓使用者自己變更 login shell 的工具。


2007年11月25日 星期日

Ubuntu開啟切換到console mode

From http://www.howtogeek.com/howto/ubuntu/how-to-switch-to-console-mode-for-ubuntu-vmware-guest/

把 /boot/grub/menu.lst kernel那行後面的"splash"拿掉,重開機後就ok。


sudo vi /boot/grub/menu.lst

Find the section that looks like this:

## ## End Default Options ##

title Ubuntu, kernel 2.6.17-10-386
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-386 root=UUID=8312b3d9-e087-439b-8f3b-21f4b00434f1 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-386
savedefault
boot

Remove "splash" from the kernel line. Save the file, and reboot.

You should now be able to switch to console mode by using Ctrl+Alt+F1 (or F2-F6)