Solved

Copy/Paste under Xwindows

Posted on 2003-10-21
6
394 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why VNC doesn't work in Redhat? 11 61
Anything Suspicious in this Report Email on Linux Server 4 47
Choosing CentOS 16 81
Run Secure WMI query from CentOS 5 33
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

778 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