Solved

Copy/Paste under Xwindows

Posted on 2003-10-21
6
387 Views
Last Modified: 2010-04-21
Hi ,

All the users in our lab are using the middle mouse button to copy/paste
sometime the middle mouse button stop functioning to some people

can someone explain how to reconfigure the middle button ?

Thanks

Victor
0
Comment
Question by:victorbx
6 Comments
 
LVL 3

Expert Comment

by:dschwartzer
ID: 9593738
as a workaround: when the middle button stop functioning, give a left+right button click a try.
0
 
LVL 4

Author Comment

by:victorbx
ID: 9594960
Well,
i succeeded to paste using left+right only because i edited /etc/X11/XFREE86.config-4
and enabled middle mouse emulation...

But this is not what i am looking for, i need the middle button to work

Thanks
Victor
0
 
LVL 12

Accepted Solution

by:
paullamhkg earned 300 total points
ID: 9595814
For 3 buttons mouse try to make change in /etc/X11/XF86Config or the /etc/X11/Xconfig as below

MouseSystems Three Button Serial Mouse

XF86config:
Section "Pointer"
    Protocol "mousesystems"
    Device "/dev/mouse"
    ClearDTR            #  These two lines probably won't be needed,
    ClearRTS            #  try without first and then just the DTR
EndSection

Xconfig:
#
# Mouse definition and related parameters
#
MouseSystems    "/dev/mouse"
ClearDTR                #  These two lines probably won't be needed,
ClearRTS                #  try without first and then just the DTR

Microsoft Serial Mouse with gpm -R

XF86config:
Section "Pointer"
    Protocol "MouseSystems"
    Device "/dev/gpmdata"
EndSection

Xconfig:
#
# Mouse definition and related parameters
#
MouseSystems      "/dev/gpmdata"

0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 20

Assisted Solution

by:Gns
Gns earned 200 total points
ID: 9597234
That's for serial threebutton mice (of which the vast majority use either mousesystems protocol... or some logitech protocol) Paul (not that you didn't know, just to be clear).
Are these serial mice?

A "relatively modern" mouse usually can operate in several "modes" (well, often at least two)... For for eaxmple ps2 mice, this is usually some form of "enhanced" protocol, like the intellimouse (IMPS/2)  or mousemanplus (MouseManPlusPS/2) that support stuff like three buttons and perhaps a wheel or so, and a plain (microsoft) PS/2 twobutton mode.
Degradation from the "enhanced protocol" to the "plain protocol" during operation usually means that you get erratic mouse behaviour (since the data from the mouse is still interpreted like something else). Do the users experience something like this? Or is it just a sudden loss of the middle button?
Are the users able to fiddle with the settings themself (implying root privs and a restart of X and/or console mouse service (gpm or similar))?

-- Glenn
0
 
LVL 4

Author Comment

by:victorbx
ID: 9597395
Well The issue is that we are working in a lab
and the users move the computers from one table to another ,
and not all the tables have the same type of mouse ,
all of them are ps/2 mouses but some of them are with 3 buttons and
some are with 2 buttons
0
 
LVL 20

Expert Comment

by:Gns
ID: 9597451
Then the only viable option is implied above:
Use protocol "Auto" (with fingers crossed:-) ... and perhaps emulate3buttons too (if it works, I've no time to test unfortunately)...

Or live with it that you need reconfigure the mouzse every time you change it.

-- Glenn
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux Mint 18 31 76
Linux  Script File Attributes 5 52
Check if a filw is immutable for a certain amount of time 6 48
Error Message during CentOS 7 Minimal Install 3 34
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now