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
mousetweaks(1)						      General Commands Manual						    mousetweaks(1)

NAME
mousetweaks - Accessibility enhancements for the mouse SYNOPSIS
mousetweaks [--enable-dwell] [--enable-secondary] [--dwell-time=FLOAT] [--secondary-time=FLOAT] [-m|--dwell-mode=STRING] [-c|--show-ctw] [-x|--ctw-x=INT] [-y|--ctw-y=INT] [-t|--threshold=INT] [-s|--shutdown] [--disable-animations] [--daemonize] [-?|--help] DESCRIPTION
mousetweaks is a daemon that provides various mouse features for the GNOME desktop. It depends on the Assistive Technology Service Provider Interface (AT-SPI). OPTIONS
--enable-dwell Automatically perform mouse clicks without using a physical button. --enable-secondary Trigger the secondary mouse button when the primary mouse button is held down for a specified amount of time. --dwell-time=FLOAT Time to keep the pointer motionless before a dwell click is performed. Range: 0.2 - 3.0 seconds. --secondary-time=FLOAT Time to hold the primary mouse button before a simulated secondary click is performed. Range: 0.5 - 3.0 seconds. -m, --dwell-mode=STRING Select a dwelling mode. Available arguments are: window, gesture WINDOW Select the active click type from a window or a panel applet. GESTURE Perform clicks by moving in different directions after the cursor changes its shape. -c, --show-ctw Show the click-type window. Only useful in combination with dwell-mode=window. -x, --ctw-x=INT X Position of the click-type window on screen. -y, --ctw-y=INT Y Position of the click-type window on screen. -t, --threshold=INT Ignore small pointer movements. Range 0 - 30 pixels. -s, --shutdown Stop the mousetweaks daemon. --disable-animation Disable cursor animations. The animation shows the timer progress for dwell clicks and secondary clicks as cursor overlay. --daemonize Start mousetweaks in the background, ie. spawn a child process. --login Start mousetweaks in login mode. In login mode, mousetweaks does not check whether AT-SPI is running. FILES
~/.mousetweaks.pid The daemon creates a lock file in the users home directory to keep track of its status. BUGS
Report bugs to <http://bugzilla.gnome.org/> <http://bugzilla.gnome.org/> AUTHORS
mousetweaks was written by Gerd Kohlberger LICENSE
Licenced under the GNU General Public License v3 or later. SEE ALSO
dwell-click-applet(1), pointer-capture-applet(1), Assistive Technology Service Provider Interface (AT-SPI) mousetweaks(1)
All times are GMT -4. The time now is 09:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy