Sponsored Content
Operating Systems Linux Remap Mouse Buttons with Xmodmap Post 302592587 by ab52 on Tuesday 24th of January 2012 10:08:24 AM
Old 01-24-2012
it did nothing, but if i do this
Code:
pointer = 1 10 3 4 5 6 7 8 9 2 11 12

it makes button 10 middle mouse, but it does mean the middle mouse button does not work. is there is a way to get both working as middle click
 

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
MOUSEEMU(8)						      System Manager's Manual						       MOUSEEMU(8)

NAME
mouseemu - Emulate mouse buttons and mouse wheel SYNOPSIS
mouseemu [options] DESCRIPTION
Mouseemu is a daemon to emulate mouse buttons on trackpads with only one button. It lets you: - emulate middle and right click - emulate mouse wheel - block trackpad while typing It was initially developed for Apple PowerBooks and iBooks, but it may be useful on other architectures as well. This program only works when booting a 2.6 kernel because it uses the new uinput interface to emulate the mouse. OPTIONS
-middle B2_MOD B2_KEY Modifier and key for the middle (second) mouse button. Defaults to F10 and no modifier on PowerPC and Intel Macs, and to none on all other architectures. -right B3_MOD B3_KEY Modifier and key for the right (third) mouse button. Defaults to F11 and no modifier on PowerPC and Intel Macs, and to none on all other architectures. -scroll SCROLL_MOD Modifier for the scrolling function. Defaults to Alt. -typing-block DELAY Time in milliseconds for which the trackpad will be blocked while typing on the keyboard. Defaults to 300ms. -device UINPUT Device node for the uinput device. Defaults to /dev/uinput. If this device is not read and writeable the following devices are also tried: /dev/uinput, /dev/input/uinput and /dev/misc/uinput. -nofork don't run in the background -autorescan Automatically scan every 5s for new devices. This is normally not need, as udev should inform mouseemu about new devices. -debug print debugging messages about device scans -help show usage message The key codes for the buttons and modifiers are key scancodes. They can be found in include/linux/input.h in the kernel headers or by using `showkey` in a console. The keycodes must be given as decimal values (`showkey` displays hex values!). Mouseemu does normally not automatically scan for new devices. An udev rule is used to trigger a rescan when new devices are connected. You can also trigger a rescan manually by sending a HUP signal to the mouseemu process. EXAMPLES
To have the same behaviour as in MacOS X (CTRL-click for right mouse button and no emulation for the middle button): mouseemu -middle 0 0 -right 29 272 The code for the (left) mouse button is 272 (0x110 in hex). The code for CTRL is 29. Trigger a rescan for newly attached devices: kill -HUP `cat /var/run/mouseemu.pid` AUTHOR
Mouseemu was written by Colin Leroy <colin@colino.net>. This manpage was originally written by Gaudenz Steinlin <gaudenz@debian.org> for the Debian Project, but may be used by others under the terms of the GNU General Public License. 2005-03-29 MOUSEEMU(8)
All times are GMT -4. The time now is 05:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy