(K)Ubuntu 14.04でタブレット(Wacom Cintiq 13HD)を使用しました。そこでは、[システム設定]→[入力デバイス]→[Wacomタブレット]で素晴らしいダイアログが表示されました。これにより、コマンドをタブレットのボタンにマップし、コマンドのさまざまなプロファイルを作成し、スタイラスがマップするモニターを特定することができました。ただし、16.04では、このオプションはなくなりました。それを取り戻す方法はありますか?
元に戻せない場合でも、グラフィックタブレットを構成するにはどうすればよいですか。つまり、コマンドをボタンにマップしたり、画面領域(カーソル用)をマップしたりできますか?
スクリプトを使用して、Wacom Cintiq13HDのボタンと画面領域をマッピングしています。基本的に、これはxsetwacom
タブレットに固有の呼び出しのコレクションです。
これは~/.local/bin/wacomagic.sh
私が使用しているスクリプト()です:
#!/bin/bash
# Settings for tablet on the right side of the main monitor.
# Tablet dimensions are 1920x1080, main monitor is 2880x1620
xsetwacom set "Wacom Cintiq 13HD Pen stylus" MapToOutput "1920x1080+2880+0"
xsetwacom set "Wacom Cintiq 13HD Pen eraser" MapToOutput "1920x1080+2880+0"
xsetwacom set "Wacom Cintiq 13HD Pad pad" MapToOutput "1920x1080+2880+0"
# Settings for buttons
# Note that the buttons numbers 4-7 are reserved by XInput
# (source: http://linuxwacom.sourceforge.net/wiki/index.php/Tablet_Configuration Tip in "Pad" section)
# so the buttons just up to 13.
# This is the mapping for the Cintiq 13HD
#
# +----+
# | 2 |
# +----+
# | 3 |
# +--+----+--+
# | 11 |
#+-+--+----+--+-+
#| 12 | 1 | 10 |
#+-+--+----+--+-+
# | 13 |
# +--+----+--+
# | 8 |
# +----+
# | 9 |
# +----+
# shift and control
xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 2 "key Shift_L"
xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 3 "key Control_L"
# brush sizes and zoom and mirroring
xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 1 "key m" # mirror canvas in krita
xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 10 "key +ctrl +shift + -shift -ctrl" # Custom key for [increase brush size] (krita)
xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 11 "key +"
xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 12 "key +ctrl +shift - -shift -ctrl" # Custom key for [decrease brush size] (krita)
xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 13 "key -"
# undo and redo
xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 8 "key +ctrl z -ctrl"
xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 9 "key +ctrl +shift z -shift -ctrl"
wacomagicスクリプトを実行するアプリケーションランチャーを作成し、タブレットの右側の最上部にあるパネルに追加しました。これにより、(ファイルの上にある)マッピングコマンドが実行される前でも、スタイラスを使用してクリックできるようになります。
ボタンにマップするコマンドは、個人的なワークフロー用です。異なる(セットの)コマンドをマップしたい場合は、セットごとに1つのスクリプトを作成するだけです。
編集:(K)ubuntuの新しいバージョンの場合、これは不要であり、そのまま使用できます。デビッドレボイの素晴らしいガイドを参照してください。
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加