?
Solved

Copy/Paste under Xwindows

Posted on 2003-10-21
6
Medium Priority
?
417 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 600 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 20

Assisted Solution

by:Gns
Gns earned 400 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

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will giveā€¦
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.
Suggested Courses
Course of the Month11 days, 9 hours left to enroll

752 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