Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/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"
Add Comment
Please, Sign In to add comment