Friday, July 18, 2008

Enable Mouse Wheel for vmware linux guest

在Debian下首先需要安装xserver-xorg-input-vmmouse,
然后再修改/etc/X11/xorg.conf

Section "InputDevice"
Identifier "Configured Mouse"
Driver "vmmouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection

Thursday, July 17, 2008

Right click for Command Prompt (in Vista)

Add the following entries to your registry - you'll be able to right click and open any folder at the command line.

[HKEY_CLASSES_ROOT\Folder\shell\command]
@="Command & Prompt"

[HKEY_CLASSES_ROOT\Folder\shell\command\command]
@="cmd.exe /K cd %L"