Guest User

Untitled

a guest
Dec 18th, 2017
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Settings for tablet on the right side of the main monitor.
  4. # Tablet dimensions are 1920x1080, main monitor is 2880x1620
  5. xsetwacom set "Wacom Cintiq 13HD Pen stylus" MapToOutput "1920x1080+2880+0"
  6. xsetwacom set "Wacom Cintiq 13HD Pen eraser" MapToOutput "1920x1080+2880+0"
  7. xsetwacom set "Wacom Cintiq 13HD Pad pad" MapToOutput "1920x1080+2880+0"
  8.  
  9. # Settings for buttons
  10. # Note that the buttons numbers 4-7 are reserved by XInput
  11. # (source: http://linuxwacom.sourceforge.net/wiki/index.php/Tablet_Configuration Tip in "Pad" section)
  12. # so the buttons just up to 13.
  13. # This is the mapping for the Cintiq 13HD
  14. #
  15. # +----+
  16. # | 2 |
  17. # +----+
  18. # | 3 |
  19. # +--+----+--+
  20. # | 11 |
  21. #+-+--+----+--+-+
  22. #| 12 | 1 | 10 |
  23. #+-+--+----+--+-+
  24. # | 13 |
  25. # +--+----+--+
  26. # | 8 |
  27. # +----+
  28. # | 9 |
  29. # +----+
  30.  
  31. # shift and control
  32. xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 2 "key Shift_L"
  33. xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 3 "key Control_L"
  34.  
  35. # brush sizes and zoom and mirroring
  36. xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 1 "key m" # mirror canvas in krita
  37. xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 10 "key +ctrl +shift + -shift -ctrl" # Custom key for [increase brush size] (krita)
  38. xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 11 "key +"
  39. xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 12 "key +ctrl +shift - -shift -ctrl" # Custom key for [decrease brush size] (krita)
  40. xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 13 "key -"
  41.  
  42. # undo and redo
  43. xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 8 "key +ctrl z -ctrl"
  44. xsetwacom set "Wacom Cintiq 13HD Pad pad" Button 9 "key +ctrl +shift z -shift -ctrl"
Add Comment
Please, Sign In to add comment