[original senders' name removed by previous poster]
        [Robert:  Please don't cite someone else without including
         their name.] 
> Hi,
>
> I am trying to configure the buttons on my Microsoft serial mouse (2
> button) to do copy and paste functions when in the XFree86
> environment. When I first boot up RH5.0 and before entering startx 
> the mouse buttons work the way I would like, with the left mouse
> button highlighting text I want to copy and then the right mouse
> button pasting that highlighted text.
> After going to X Windows  the left mouse button highlights text but
> when I click the right mouse button the whole line of text is highlighted
> instead of getting pasted at an insertion point.  If it matters I am
> using fvwm as the windows manager.
>
> If someone could give me some ideas or point me to a HOW TO I would
> appreciate it.
>

        This is because the gpm daemon, which controls your mouse
under a text console, is configured properly while the Xserver grabs
the mouse directly and is (mis)configured via a separate config file.
You want to edit the config file to support 'Emulate 3 button mice,'
this will allow you to press both buttons at once to emulate the third
button.  Uncomment out the appropriate lines and restart X.

        see: man gpm(1), man XF86Config(5)

[root@marquez /root]# cd /etc/X11
[root@marquez X11]# grep mouse XF86Config
# (mouse and keyboard) settings. 
# change the keyboard or mouse settings (currently only xset).
    Device      "/dev/mouse"
#        Port "/dev/mouse2"
[root@marquez X11]# less XF86config

[...]

# Pointer section
#
# **********************************************************************

Section "Pointer"
    Protocol    "MouseSystems"
    Device      "/dev/mouse"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Protocol   "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice

#    BaudRate   9600
#    SampleRate 150

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Emulate3Buttons
#    Emulate3Timeout    50

# ChordMiddle is an option for some 3-button Logitech mice

#    ChordMiddle

EndSection



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to