Sponsored Content
Operating Systems Linux Remap Mouse Buttons with Xmodmap Post 302592536 by ab52 on Tuesday 24th of January 2012 07:04:37 AM
Old 01-24-2012
Remap Mouse Buttons with Xmodmap

Hi Guys

I am having an issue with remapping a mouse i have a thumb button that i want to remap to be middle click
i used xev to find out that it is button 10 and and that middle click is button 6 and so i tired this but it did not work

Code:
  
xmodmap -e "pointer = 1 2 3 4 5 6 10  7 8 9 6 "

any help would be great
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Building a better mouse trap, or How many lines of code does it take to trap a mouse?

Hello all, I'm hoping to get a little insight from some of the wily veterans amongst you. I've written a script to check for new outgoing files to our vendors located on our ssl server. It seems to be working ok, but the final question here, will be one of logic, and/or a better way to... (4 Replies)
Discussion started by: mph
4 Replies

2. UNIX for Dummies Questions & Answers

Changing middle mouse button for pasting to right mouse button in cygwin rxvt

Hi, I'm using rxvt in Cygwin and I'm wondering how to change my mouse bindings from the middle button for pasting to the right button. The main reason why I want to do this is because my laptop doesn't have a middle mouse button. Thanks for any help! (2 Replies)
Discussion started by: sayeo
2 Replies

3. UNIX Desktop Questions & Answers

Buttons and menues like win95

I'v got some question about x managers. I'm using FreeBSD7 + Gnome + fluxbox. when i'm trying to apply some themes, it doesn't look like it should be. All my buttons and menus are look like win95). Whaat kind of lib i should install... what should i do? Here is two printscreens. For ex. My... (1 Reply)
Discussion started by: Levenson
1 Replies

4. Shell Programming and Scripting

Tar extract: remap uid gid ?

OK, so simple question here: Is there anyway to REMAP, while extracting with tar, specific uid's and gid's on extracted files ? Background: The usual transfer between two servers with same literals username's names, but with different gid and uid. I would like, for example, files owned by... (6 Replies)
Discussion started by: fidodido
6 Replies

5. Solaris

Sol10 + XDMCP + Xmodmap problems

Hi everyone, I have a Sun T5120 with Sol10-1/13 installed with JDS. XDMCP is enabled. I connect to this machine with a laptop (Debian 8 and Xephyr). I can log in remotely with XDMCP and JDS works fine, except for xmodmap. This is what my .xmodmaprc file looks like: $ cat .xmodmaprc... (0 Replies)
Discussion started by: toguro123
0 Replies
WSP(4)							   BSD Kernel Interfaces Manual 						    WSP(4)

NAME
wsp -- Wellspring touchpad driver SYNOPSIS
To compile this driver into the kernel, place the following lines into your kernel configuration file: device wsp device usb Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): wsp_load="YES" DESCRIPTION
The wsp driver provides support for the Apple Internal Trackpad device found in many Apple laptops. The driver simulates a three-button mouse using multi-finger tap detection. A single-finger press generates a left button click. A two-fin- ger tap maps to the right button; whereas a three-finger tap gets treated as a middle button click. wsp supports dynamic reconfiguration using sysctl(8) through nodes under hw.usb.wsp. Pointer sensitivity can be controlled using the sysctl tunable hw.usb.wsp.scale_factor. FILES
wsp creates a blocking pseudo-device file, /dev/wsp0, which presents the mouse as a sysmouse or mousesystems type device--see moused(8) for an explanation of these mouse types. SEE ALSO
sysmouse(4), usb(4), loader.conf(5), xorg.conf(5) (ports/x11/xorg), moused(8), sysctl(8) AUTHORS
The wsp driver was written by Huang Wen Hui <huanghwh@gmail.com>. BSD
February 7, 2014 BSD
All times are GMT -4. The time now is 08:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy