Oracle® Solaris 11.2 데스크탑 관리자 설명서

인쇄 보기 종료

업데이트 날짜: 2014년 7월
 
 

HAL fdi 파일 작업

HAL(하드웨어 추상화 계층) 시스템 데몬 hald에서 읽은 fdi 파일을 사용하여 Xorg 서버에 대한 입력 장치를 구성할 수 있습니다.

예를 들어, 마우스 장치에 Emulate3Buttons 옵션을 설정하여 왼쪽과 오른쪽 버튼을 함께 누르면 가운데 버튼으로 작용하도록 하려면 다음 XML 발췌 부분을 /etc/hal/fdi/policy/30user/10-x11-3button.fdi 파일에 넣습니다.

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
		<device>
			<!--Default X.org input configuration is defined in:
	    	/etc/hal/fdi/policy/30user/10-x11-input.fdi
    	Settings here modify or override the default configuration.
    	See comment in the file above for more information.

    	To see the currently active hal X.org input configuration
    	run lshal or hal-device(1m) and search for "input.x11*" keys.

     	Hal and X must be restarted for changes here to take any effect -->

			<match key="info.capabilities" contains="input.mouse">
			<merge key="input.x11_options.Emulate3Buttons" type="string">on</merge>
			</match>
		</device>
</deviceinfo>

lshal 명령을 사용하여 HAL에서 인식된 사용 가능한 입력 장치를 검사하고 설정된 옵션을 확인할 수 있습니다. 자세한 내용은 lshal(1M), hal(5)fdi(4) 매뉴얼 페이지를 참조하십시오.