Changing the right mouse click to do something else
This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.
This is a read-only list on gimpusers.com so this discussion thread is read-only, too.
Changing the right mouse click to do something else | Josh Bialkowski | 17 Aug 19:14 |
Changing the right mouse click to do something else | GSR - FR | 18 Aug 01:00 |
Changing the right mouse click to do something else | Josh Bialkowski | 18 Aug 16:46 |
Changing the right mouse click to do something else | GSR - FR | 18 Aug 20:13 |
Changing the right mouse click to do something else
I've looked through the manual and done plenty of googling... but I can't quite figure out what to do here. I use a wacom bamboo tablet and I would like the right mouse click (the upper button on the shaft of the stylus) to switch to eraser, instead of displaying the menu. I tried mapping the "keys" field in the "configure input devices" to various things but it seems to have no affect. I tried all the numbers 1-10 in case the key numbers were unusual but still the "middle click" button does the grabber, and the "right click" button opens the context menu. I also tried with a mouse at the same time to see if there was any difference.
Anyone know if this is (or isn't) possible... and how to do it?
Thanks
Josh
Changing the right mouse click to do something else
Hi,
jbialk@MIT.EDU (2010-08-17 at 1314.54 -0400):
I've looked through the manual and done plenty of googling... but I can't quite figure out what to do here. I use a wacom bamboo tablet and I would like the right mouse click (the upper button on the shaft of the stylus) to switch to eraser, instead of displaying the menu. I tried mapping the "keys" field in the "configure input devices" to various things but it seems to have no affect. I tried all the numbers 1-10 in case the key numbers were unusual but still the "middle click" button does the grabber, and the "right click" button opens the context menu. I also tried with a mouse at the same time to see if there was any difference.
Anyone know if this is (or isn't) possible... and how to do it?
This is a special case, and it is possible, at least with Intuos (no idea about Bamboos) the pen will report different devices for the "lead" and the "eraser". So all you have to make sure is that your driver is reporting each tip as separate devices, and then enable the different devices in preferences.
GSR
Changing the right mouse click to do something else
I've looked through the manual and done plenty of googling... but I can't quite figure out what to do here. I use a wacom bamboo tablet and I would like the right mouse click (the upper button on the shaft of the stylus) to switch to eraser, instead of displaying the menu. I tried mapping the "keys" field in the "configure input devices" to various things but it seems to have no affect. I tried all the numbers 1-10 in case the key numbers were unusual but still the "middle click" button does the grabber, and the "right click" button opens the context menu. I also tried with a mouse at the same time to see if there was any difference.
Anyone know if this is (or isn't) possible... and how to do it?
This is a special case, and it is possible, at least with Intuos (no idea about Bamboos) the pen will report different devices for the "lead" and the "eraser". So all you have to make sure is that your driver is reporting each tip as separate devices, and then enable the different devices in preferences.
Thanks for the reply, but that's not quite what I'm looking for. Flipping the pen around is actually very cumbersome for me. Yes, if I turn the pen around and use the "eraser" then the previous tool selected by the "eraser" will be activated again. However, I need the "eraser tool" far more often than I would use a normal eraser, and so I would like a quicker way to change tools. In particular, I would like to do like in Xournal, where the "right mouse click" event activates the eraser. Also, maybe I'm just tremendously uncoordinated, but I drop the pen half of the time when I'm trying to flip around to use the eraser.
GSR
Changing the right mouse click to do something else
Hi,
jbialk@MIT.EDU (2010-08-18 at 1046.30 -0400):
Thanks for the reply, but that's not quite what I'm looking for. Flipping the pen around is actually very cumbersome for me. Yes, if I turn the pen around and use the "eraser" then the previous tool selected by the "eraser" will be activated again. However, I need the "eraser tool" far more often than I would use a normal eraser, and so I would like a quicker way to change tools. In particular, I would like to do like in Xournal, where the "right mouse click" event activates the eraser. Also, maybe I'm just tremendously uncoordinated, but I drop the pen half of the time when I'm trying to flip around to use the eraser.
Ooh, sorry, I misread it thinking you wanted the eraser tip to work as eraser.
No, no way to change bindings in that sense, you can tell the driver to swap the side buttons (or do it via xmodmap or xinput) and even to fake keyboard presses with the tablet keys; but making GIMP use a button as toggle or even a selector of a given tool is not possible (or very well hidden). The only single swapper I can remember now is the swap FB/BG. Ohh... and space for move tool (or pan or nothing), but that one is hardcoded (to 3 options, pick one), so you would had to edit the source and recompile, assuming keeping the space key down is acceptable (if you have to press alt, shift, control for other eraser options... not so nice to also need space).
As crutch you can use the keyboard and maybe rearrange the bindings so eraser is Ekey instead of Shift+E, to make it faster to access. Then you could use the fake keypresses feature with the tablet keys, but you should also bind some other tools to be able to go back to whatever you use. If you use a handful tools, forget the tablet keys, just keep one hand over the keyboard.
GSR