16장. 태블릿
시스템에 연결된 Wacom 태블릿을 관리하려면 다음 도구를 사용하십시오.
-
gnome-settings-daemon
서비스 GNOME 환경의
Wacom Tablet
설정 패널태블릿의 Wacom Tablet 설정 패널
그립 펜에 대한 Wacom Tablet 설정 패널
이러한 두 도구 모두 libinput
스택뿐만 아니라 와콤 태블릿에 대한 데이터를 저장하는 libwacom
태블릿 클라이언트 라이브러리를 사용합니다.
새로운 태블릿에 대한 지원을 libwacom
라이브러리에 추가하려면 이 새로운 태블릿에 대한 정의 파일이 있는지 확인해야합니다.
16.1. 태블릿 정의 파일 준비
추가할 태블릿에 대한 정의 파일을 준비해야 합니다.
사전 요구 사항
libwacom
에서 인식하는 모든 로컬 장치를 나열합니다.$ libwacom-list-local-devices
장치가 출력에서 인식되었는지 확인합니다.
장치가 나열되지 않으면
libwacom
데이터베이스에서 장치가 누락됩니다. 그러나 장치는/proc/bus/input/devices
아래의 커널에서 이벤트 장치로 계속 표시될 수 있으며xinput
목록의 X11 세션에서 X.Org 디스플레이 서버를 사용하는 경우입니다.
절차
태블릿 정의 파일을 제공하는 패키지를 설치합니다.
# dnf install libwacom-data
패키지는 태블릿 정의를
/usr/share/libwacom/
디렉터리에 설치합니다./usr/share/libwacom/
디렉토리에서 정의 파일을 사용할 수 있는지 확인합니다.화면 매핑을 올바르게 사용하려면 태블릿 지원이
libwacom
데이터베이스와udev
규칙 파일에 포함되어야 합니다.중요일반적으로 장치가
libwacom
에서 지원되지 않음은 GNOME 세션에서 정상적으로 작동하지만 장치가 화면에 올바르게 매핑되지 않음을 나타냅니다.장치의 정의 파일이
/usr/share/libwacom/
에서 사용할 수 없는 경우 다음 옵션이 있습니다.- 필요한 정의 파일은 linuxwacom/libwacom 업스트림 리포지토리에서 이미 사용할 수 있습니다. 여기에서 정의 파일을 찾을 수 있습니다. 목록에서 태블릿 모델을 찾으면 파일을 로컬 머신에 복사합니다.
새 태블릿 정의 파일을 만들 수 있습니다. 아래
data/wacom.example
파일을 사용하고 장치의 특성에 따라 특정 행을 편집합니다.예 16.1. 태블릿에 대한 모델 파일 설명 예
[Device] # The product is the product name announced by the kernel Product=Intuos 4 WL 6x9 # Vendor name of this tablet Vendor=Wacom # DeviceMatch includes the bus (usb, serial), the vendor ID and the actual # product ID DeviceMatch=usb:056a:00bc # Class of the tablet. Valid classes include Intuos3, Intuos4, Graphire, Bamboo, Cintiq Class=Intuos4 # Exact model of the tablet, not including the size. Model=Intuos 4 Wireless # Width in inches, as advertised by the manufacturer Width=9 # Height in inches, as advertised by the manufacturer Height=6 # Optional features that this tablet supports # Some features are dependent on the actual tool used, e.g. not all styli # have an eraser and some styli have additional custom axes (e.g. the # airbrush pen). These features describe those available on the tablet. # # Features not set in a file default to false/0 [Features] # This tablet supports styli (and erasers, if present on the actual stylus) Stylus=true # This tablet supports touch. Touch=false # This tablet has a touch ring (Intuos4 and Cintiq 24HD) Ring=true # This tablet has a second touch ring (Cintiq 24HD) Ring2=false # This tablet has a vertical/horizontal scroll strip VStrip=false HStrip=false # Number of buttons on the tablet Buttons=9 # This tablet is built-in (most serial tablets, Cintiqs) BuiltIn=false