136 lines
2.9 KiB
HTML
136 lines
2.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
|
<TITLE>The 3 Button Serial Mouse mini-HOWTO: XF86Config and Xconfig file examples </TITLE>
|
|
<LINK HREF="3-Button-Mouse-11.html" REL=next>
|
|
<LINK HREF="3-Button-Mouse-9.html" REL=previous>
|
|
<LINK HREF="3-Button-Mouse.html#toc10" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="3-Button-Mouse-11.html">Next</A>
|
|
<A HREF="3-Button-Mouse-9.html">Previous</A>
|
|
<A HREF="3-Button-Mouse.html#toc10">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="config"></A> <A NAME="s10">10. XF86Config and Xconfig file examples </A></H2>
|
|
|
|
<P>The location of your configuration file for X depends on the particular
|
|
release and distribution you have. It will probably be either <CODE>/etc/Xconfig,
|
|
/etc/XF86Config</CODE> or <CODE>/usr/X11/lib/X11/XF86Config.</CODE> You should see which
|
|
one it is when you start X - it will be echoed to the screen before all
|
|
the options are displayed. The syntax is slightly different between the
|
|
XF86Config and Xconfig files, so both are given.
|
|
<P>
|
|
<P><B>Microsoft Serial Mouse</B>
|
|
<P>
|
|
<UL>
|
|
<LI>XF86config:
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
Section "Pointer"
|
|
Protocol "microsoft"
|
|
Device "/dev/mouse"
|
|
EndSection
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
</LI>
|
|
<LI>Xconfig:
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
#
|
|
# Mouse definition and related parameters
|
|
#
|
|
Microsoft "/dev/mouse"
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
</LI>
|
|
</UL>
|
|
<P>
|
|
<P><B>Microsoft Serial Mouse with Three Button Emulation</B>
|
|
<P>
|
|
<UL>
|
|
<LI>XF86config:
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
Section "Pointer"
|
|
Protocol "microsoft"
|
|
Device "/dev/mouse"
|
|
Emulate3Buttons
|
|
EndSection
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
</LI>
|
|
<LI>Xconfig:
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
#
|
|
# Mouse definition and related parameters
|
|
#
|
|
Microsoft "/dev/mouse"
|
|
Emulate3Buttons
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
</LI>
|
|
</UL>
|
|
<P>
|
|
<P><B>MouseSystems Three Button Serial Mouse</B>
|
|
<P>
|
|
<UL>
|
|
<LI>XF86config:
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
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
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
</LI>
|
|
<LI>Xconfig:
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
#
|
|
# 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
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
</LI>
|
|
</UL>
|
|
<P>
|
|
<P><B>Microsoft Serial Mouse with gpm -R</B>
|
|
<P>
|
|
<UL>
|
|
<LI>XF86config:
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
Section "Pointer"
|
|
Protocol "MouseSystems"
|
|
Device "/dev/gpmdata"
|
|
EndSection
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
</LI>
|
|
<LI>Xconfig:
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
#
|
|
# Mouse definition and related parameters
|
|
#
|
|
MouseSystems "/dev/gpmdata"
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
</LI>
|
|
</UL>
|
|
<P>
|
|
<HR>
|
|
<A HREF="3-Button-Mouse-11.html">Next</A>
|
|
<A HREF="3-Button-Mouse-9.html">Previous</A>
|
|
<A HREF="3-Button-Mouse.html#toc10">Contents</A>
|
|
</BODY>
|
|
</HTML>
|