G3 HAL preferences.fdi

From MalaWiki

Jump to: navigation, search

Back to Vaio VGN-G3.

<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

<!-- 
  Some examples how to use hal fdi files for system preferences 
  You can either uncomment the examples here or put them in a seperate .fdi
  file.
-->
<deviceinfo version="0.2">
<!-- 
  The following shows how to hint gnome-volume-manager and other programs 
  that honor the storage.automount_enabled_hint to not mount non-removable
  media.
-->
	<device>
		<match key="input.product" string="Sony Vaio Keys">
			<match key="/org/freedesktop/Hal/devices/computer:system.hardware.vendor" prefix="Sony">
				<append key="input.keymap.data" type="strlist">0x06:mute</append> <!-- Fn+F2 mute -->
				<append key="input.keymap.data" type="strlist">0x07:volumedown</append> <!-- Fn+F3 mixer down -->
				<append key="input.keymap.data" type="strlist">0x08:volumeup</append> <!-- Fn+F4 mixer up -->
				<append key="input.keymap.data" type="strlist">0x09:brightnessdown</append> <!-- Fn+F5 brightness down -->
				<append key="input.keymap.data" type="strlist">0x0a:brightnessup</append> <!-- Fn+F6 brightness up -->
				<append key="input.keymap.data" type="strlist">0x0b:switchvideomode</append> <!-- Fn+F7 switch crt/lcd -->
				<append key="input.keymap.data" type="strlist">0x0e:zoom</append> <!-- Fn+F10 zoom -->
				<append key="input.keymap.data" type="strlist">0x10:suspend</append> <!-- Fn+F12 hibernate -->
				<append key="info.capabilities" type="strlist">input.keymap</append>
			</match>
		</match>

		<match key="info.capabilities" contains="input.keys">
			<!-- Enforce XkbLayout=fr and XkbVariant empty -->
			<merge key="input.xkb.model" type="string">jp106</merge>
			<merge key="input.xkb.layout" type="string">jp</merge>
			<merge key="input.xkb.variant" type="string" />
<!--
			<merge key="input.x11_options.XkbLayout" type="string">jp</merge>
			<merge key="input.x11_options.XkbOptions" type="string">ctrl:swapcaps</merge>
-->
		</match>
<!--
		<match key="info.product" contains="AlpsPS/2 ALPS">
			<merge key="input.x11_driver" type="string">synaptics</merge>
		</match>
-->
		<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

			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>

			For other possible options, check CONFIGURATION DETAILS in synaptics man page
			<merge key="input.x11_options.RightEdge" type="string">930</merge>
			<merge key="input.x11_options.BottomEdge" type="string">0</merge>
			<merge key="input.x11_options.LeftEdge" type="string">100</merge>
			<merge key="input.x11_options.TopEdge" type="string">930</merge>
			-->
			<merge key="input.x11_options.CircularScrolling" type="string">true</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.TapButton1" type="string">1</merge>
			<merge key="input.x11_options.TapButton2" type="string">2</merge>
			<merge key="input.x11_options.TapButton3" type="string">3</merge>
		</match>
	</device>

</deviceinfo>
Personal tools