お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2014-12-17 09:34:14

takuma0217
メンバ
登録日: 2014-11-05

キャリブレーションの反映させかたについて

Ubuntu14.04でwacomのタッチパネルDTH2242を使っております。
タッチには反応しているのですが、キャリブレーションがずれているのでキャリブレーションをしたいです。
システム設定に「ワコムタブレット」という項が既に存在しており、「キャリブレート」というボタンはあるのですが、グレーアウトしており押せません。
そこでxinput_calibratorをインストールし、キャリブレーションをしているのですが、その結果を反映させる方法がわかりません。

xinput_calibrator --device "9" --geometry 1280x1024を実行した結果表示される内容が以下です。

Calibrating standard Xorg driver "Wacom DTH2242 Finger touch"
    current calibration values: min_x=0, max_x=4752 and min_y=0, max_y=2673
    If these values are estimated wrong, either supply it manually with the --precalib option, or run the 'get_precalib.sh' script to automatically get it (through HAL).
    --> Making the calibration permanent <--
  copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf' (/usr/share/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
    Identifier    "calibration"
    MatchProduct    "!!Name_Of_TouchScreen!!"
    Option    "MinX"    "32"
    Option    "MaxX"    "9412"
    Option    "MinY"    "7"
    Option    "MaxY"    "2690"
    Option    "SwapXY"    "0" # unless it was already set to 1
    Option    "InvertX"    "0"  # unless it was already set
    Option    "InvertY"    "0"  # unless it was already set
EndSection

Change '!!Name_Of_TouchScreen!!' to your device's name in the config above.

/etc/X11/xorg.conf.d/に99-calibration.confというファイルを用意し、
Section "InputClass"からEndSectionまでをコピーした上で、
"!!Name_Of_TouchScreen!!"を正しい名前に書き換えれば良いと思うのですが、
この名前はどこに書かれているのでしょうか。
/var/log/Xorg.0.logには"Wacom DTH2242 Finger"などの文字列があったので書き込みましたが違うようでした。
わかる方いらっしゃいましたら教えていただきたいです。
宜しくお願いいたします。

オフライン

 

Board footer

Powered by FluxBB