EnglishFrenchSpanish

OnWorks favicon

mdetect - Online in the Cloud

Run mdetect in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mdetect that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


mdetect - mouse device autodetection tool

SYNOPSIS


mdetect [option ...]

OPTIONS


mdetect may be run without arguments.

-h display a help message and exit

-n do not search for PnP (Plug 'n' Play) mice

-r [not yet implemented]

-v be verbose; this option may be specified multiple times for increasing levels of
verbosity

-o produce output appropriate for XFree86 3.x configuration

-x produce output appropriate for XFree86 4.x configuration

DESCRIPTION


mdetect is a tool for autoconfiguring mice and compatible pointing devices; it is
typically used as the backend to some user-friendly frontend code that, for example, asks
the user to move the mouse for a moment. mdetect is then run while user is producing
input on the mouse device. While mouse motion during detection is sometimes unnecessary,
it is seldom problematic.

mdetect writes the autodetected mouse device and protocol to standard output. Unless
either of the -o or -x options is given, mdetect produces output appropriate for
configuring the gpm(1) program. Alternatively, output appropriate for an XFree86 X server
configuration file is produced. If the -v option is given, some information about the
program's status is also written to standard output, but this is largely unimplemented at
this writing.

If mdetect is unable to find a mouse device, it exits after a few seconds of searching.

NOTES


Detection of serial and PS/2 devices is often aided by moving the mouse while mdetect
runs.

Terminals connected to serial ports may display a small amount of garbage to the screen
while mdetect probes them, but this a harmless side-effect; the terminal's line settings
are restored after the port has been probed.

DIAGNOSTICS


mdetect's exit status is used to communicate information.

0 mdetect found a mouse and exited normally.

1 An error occurred while attempting to read from the mouse device.

2 mdetect timed out and gave up searching for a mouse device; this indicates either
that no mouse device is attached to the computer, or that a mouse device exists
which mdetect knows nothing about. This also happens if your only mouse device(s)
are already open and in use; for instance, by gpm or an X Window System server.

3 An error occurred while trying to set up mdetect's signal handler.

Use mdetect online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    xCAT
    xCAT
    Extreme Cluster Administration Toolkit.
    xCAT is a scalable cluster management
    and provisioning tool that provides
    hardware control, discovery, and OS
    diskful/di...
    Download xCAT
  • 2
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 3
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 4
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 5
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 6
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • More »

Linux commands

Ad