vim PageUp/Down一次捲動半頁
2009年6月29日 星期一 by Anati
$ vim .vimrc
map <PageUp> <C-u>
map <PageDown> <C-d>
imap <PageUp> <C-o><C-u>
imap <PageDown> <C-o><C-d>
2009年6月29日 星期一 by Anati
map <PageUp> <C-u>
map <PageDown> <C-d>
imap <PageUp> <C-o><C-u>
imap <PageDown> <C-o><C-d>
2009年6月26日 星期五 by Anati
2009年6月22日 星期一 by Anati
2009年6月14日 星期日 by Anati
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.touchpad">
<merge key="input.x11_driver" type="string">synaptics</merge>
<!-- Arbitrary options can be passed to the driver using
the input.x11_options property since xorg-server-1.5. -->
<!-- EXAMPLES:
Switch on shared memory, enables the driver to be configured at runtime
<merge key="input.x11_options.SHMConfig" type="string">true</merge>
Maximum movement of the finger for detecting a tap
<merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
Enable vertical scrolling when dragging along the right edge
<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
<merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
<merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
If on, circular scrolling is used
<merge key="input.x11_options.CircularScrolling" type="string">true</merge>
For other possible options, check CONFIGURATION DETAILS in synaptics man page
-->
</match>
</device>
</deviceinfo>
udi = '/org/freedesktop/Hal/devices/psm_0'
freebsd.device_file = '/dev/psm0' (string)
freebsd.driver = 'psm' (string)
freebsd.unit = 0 (0x0) (int)
info.addons = {'hald-addon-mouse-sysmouse'} (string list)
info.capabilities = {'input', 'input.mouse'} (string list)
info.category = 'input.mouse' (string)
info.parent = '/org/freedesktop/Hal/devices/atkbdc_0' (string)
info.product = 'PS/2 Mouse' (string)
info.subsystem = 'platform' (string)
info.udi = '/org/freedesktop/Hal/devices/psm_0' (string)
input.device = '/dev/psm0' (string)
input.x11_driver = 'mouse' (string)
platform.id = 'psm.0' (string)
hw.psm.synaptics_support="1"
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.udi" string="/org/freedesktop/Hal/devices/psm_0">
<merge key="input.x11_driver" type="string">synaptics</merge>
<merge key="input.x11_options.Protocol" type="string">psm</merge>
<merge key="input.x11_options.Device" type="string">/dev/psm0</merge>
<merge key="input.x11_options.SHMConfig" type="string">false</merge>
<merge key="input.x11_options.LeftEdge" type="string">1200</merge>
<merge key="input.x11_options.RightEdge" type="string">5700</merge>
<merge key="input.x11_options.TopEdge" type="string">1200</merge>
<merge key="input.x11_options.BottomEdge" type="string">5000</merge>
<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
<merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
<merge key="input.x11_options.VertScrollDelta" type="string">300</merge>
<merge key="input.x11_options.HorizScrollDelta" type="string">300</merge>
<merge key="input.x11_options.MaxSpeed" type="string">0.15</merge>
<merge key="input.x11_options.MinSpeed" type="string">0.15</merge>
<merge key="input.x11_options.CircularScrolling" type="string">true</merge>
<merge key="input.x11_options.CircularPad" type="string">true</merge>
<merge key="input.x11_options.CircScrollTrigger" type="string">2</merge>
<merge key="input.x11_options.CircScrollDelta" type="string">0.3</merge>
</match>
</device>
</deviceinfo>
udi = '/org/freedesktop/Hal/devices/psm_0'
freebsd.device_file = '/dev/psm0' (string)
freebsd.driver = 'psm' (string)
freebsd.unit = 0 (0x0) (int)
info.addons = {'hald-addon-mouse-sysmouse'} (string list)
info.capabilities = {'input', 'input.mouse'} (string list)
info.category = 'input.mouse' (string)
info.parent = '/org/freedesktop/Hal/devices/atkbdc_0' (string)
info.product = 'PS/2 Mouse' (string)
info.subsystem = 'platform' (string)
info.udi = '/org/freedesktop/Hal/devices/psm_0' (string)
input.device = '/dev/psm0' (string)
input.x11_driver = 'synaptics' (string)
input.x11_options.BottomEdge = '5000' (string)
input.x11_options.CircScrollDelta = '0.3' (string)
input.x11_options.CircScrollTrigger = '2' (string)
input.x11_options.CircularPad = 'true' (string)
input.x11_options.CircularScrolling = 'true' (string)
input.x11_options.Device = '/dev/psm0' (string)
input.x11_options.HorizEdgeScroll = 'true' (string)
input.x11_options.HorizScrollDelta = '300' (string)
input.x11_options.LeftEdge = '1200' (string)
input.x11_options.MaxSpeed = '0.15' (string)
input.x11_options.MinSpeed = '0.15' (string)
input.x11_options.Protocol = 'psm' (string)
input.x11_options.RightEdge = '5700' (string)
input.x11_options.SHMConfig = 'false' (string)
input.x11_options.TopEdge = '1200' (string)
input.x11_options.VertEdgeScroll = 'true' (string)
input.x11_options.VertScrollDelta = '300' (string)
platform.id = 'psm.0' (string)
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
EndSection
Section "Files"
ModulePath "/usr/local/lib/xorg/modules/"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF/"
FontPath "/usr/local/lib/X11/fonts/artwiz-aleczapka-en/"
FontPath "/usr/local/lib/X11/fonts/TrueType/"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
Load "extmod"
Load "record"
Load "dbe"
Load "glx"
Load "dri"
Load "dri2"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile 945GME Express Integrated Graphics Controller"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
2009年6月12日 星期五 by Anati
exec /usr/local/bin/X -dpi 85
xserver_arguments vt09 -dpi 85
xrandr --dpi 85
by Anati
Copyright 2007 | All Rights Reserved.
MistyLook made free by Web hosting Bluebook. Port to Blogger Templates by Blogcrowds