Re: enable usb mouse copy and paste from console

2008-09-12 Thread Polytropon
On Fri, 12 Sep 2008 21:27:07 +0800, "ace wittman" <[EMAIL PROTECTED]> wrote:
> Hi i have a usb a4tech mini mouse, but i cant enable the copy paste
> from the console, below is my xorg.conf; please give some tips thanks
> 
> Section "InputDevice"
> Identifier"Mouse1"
> Driver"mouse"
> Option "Protocol""Auto"   # Auto detect
> Option "Device"  "/dev/sysmouse"
> Option "ZAxisMapping"   "4 5 6 7"
> Option "Emulate3Buttons"
> EndSection

Your mouse is one with a wheel, right? YOu have set "Emulate3Buttons",
so you need to press the left and the right button at one in order
to emulate the pressing of the middle mouse button. You should be
able to press down the weel for the same purpose, just comment out
the "Emulate3Buttons" line. I don't have a xorg.conf at hand to
look how I did this, I'm using a standard three button mouse where
the middle key works as you intend it, and furthermore emulates the
wheel, much more healthy than a real mouse wheel. :-)

Maybe this section can help you:

Section "InputDevice"
Identifier  "Mouse0"
Driver  "mouse"
Option  "Protocol"  "auto"
Option  "Device""/dev/sysmouse"
Option  "ZAxisMapping"  "4 5"
Option  "Emulate3Buttons"   "true"
Option  "EmulateWheel"  "true"
Option  "EmulateWheelButton""2"
EndSection

Note that you won't need the last three lines, if I remember
correctly.


-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


enable usb mouse copy and paste from console

2008-09-12 Thread ace wittman
Hi i have a usb a4tech mini mouse, but i cant enable the copy paste
from the console, below is my xorg.conf; please give some tips thanks

protocol : auto
device:   /dev/sysmouse

from kernel conf:

device ums
device uhci
device ohci
device usb


# File generated by xorgconfig.

#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#

# **
# Refer to the xorg.conf(5) man page for details about the format of
# this file.
# **

# **
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **
#
Section "Module"

# This loads the DBE extension module.

Load"dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection  "extmod"
  Option"omit xfree86-dga"   # don't initialise the DGA extension
EndSubSection

# This loads the font modules
#Load"type1"
Load"freetype"
#Load"xtt"

# This loads the GLX module
#Load   "glx"
# This loads the DRI module
#Load   "dri"

EndSection

# **
# Files section.  This allows default font and rgb paths to be set
# **

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

#RgbPath"/usr/local/share/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#

FontPath   "/usr/local/lib/X11/fonts/misc/"
FontPath   "/usr/local/lib/X11/fonts/TTF/"
FontPath   "/usr/local/lib/X11/fonts/OTF"
FontPath   "/usr/local/lib/X11/fonts/Type1/"
FontPath   "/usr/local/lib/X11/fonts/100dpi/"
FontPath   "/usr/local/lib/X11/fonts/75dpi/"
FontPath   "/usr/local/lib/X11/fonts/local/"
#FontPath   "/usr/local/lib/X11/fonts/Speedo/"
#FontPath   "/usr/local/lib/X11/fonts/TrueType/"
#FontPath   "/usr/local/lib/X11/fonts/freefont/"

# The module search path.  The default path is shown here.

#ModulePath "/usr/local/lib/modules"

EndSection

# **
# Server flags section.
# **

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#Option "NoTrapSignals"

# Uncomment this to disable the  VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#Option "DontVTSwitch"

# Uncomment this to disable the  server abort sequence
# This allows clients to receive this key event.

#Option "DontZap"

# Uncomment this to disable the / mode switching
# sequences.  This allows clients to receive these key events.

#Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protoc