Re: Remapping mouse buttons

  • From: <tpgww@xxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Sat, 23 Aug 2008 18:39:31 +1000

On Fri, 22 Aug 2008 11:27:04 -0500
Adam Krolnik <adam.krolnik@xxxxxxxxxxxxxxx> wrote:

> I've got a trackman trackball with buttons that function as forward/back 
> on Firefox.
> Can we get some options to remap some of the button actions ?

I've occasionally thought about this, but never got sufficiently motivated to 
figure out a suitable configuration UI. Key-bindings configuration was quite a 
pain to get working, and that can borrow heavily from gtk, while button-config 
can't, so it would be worse.

Last time I checked, gdk supports 5 buttons, but one of them is always going to 
be reserved for your basic select/activate/drag. I suppose combinations are 
feasible, in which case button-presses can't be acted upon immediately. And 
there are mouse "gestures". Handling all this gets quite messy.

 I tried to 
> add a button
> click to the key bindings, but it wouldn't take the button click.
Indeed.

IIRC there's some X-related button-mapping process. You may be able to map 
buttons to a keypress there, and then setup a keypress-bound action in e2.

> 
> For example, I'd like to move up directory off of button-2 to the back 
> button.
> I'd also like to remove 'hide output pane' from button-2 and put in its 
> place
> 'paste' the highlighted string into the command window (if there is a 
> command for that.)
For output pane string - no. Must manually <Ctrl>C then <Ctrl>V


> I also might map shift-button-2 in the output pane to file.open so I 
> could open filenames
> quickly based on output.
Any filepath (not just name, but maybe that should be relaxed) listed in output 
pane can be double-clicked, or right-clicked to show a menu including assigned 
commands for that file, if any.

Regards
Tom


-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: